Skip to main content

SmartContractLib

scrypt-ts / SmartContractLib

Class: SmartContractLib

The contract library class. To write a contract library, extend this class as such:

Example

class YourSmartContractLib extends SmartContractLib {
// your library functions code here
}

Table of contents

Constructors

Properties

Constructors

constructor

new SmartContractLib(...args)

Parameters

NameType
...argsany[]

Defined in

dist/smart-contract/library.d.ts:15

Properties

args

args: any[]

Defined in

dist/smart-contract/library.d.ts:14