FunctionCall
scrypt-ts / FunctionCall
Class: FunctionCall
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new FunctionCall(methodName
, binding
)
Parameters
Name | Type |
---|---|
methodName | string |
binding | Object |
binding.args | Arguments |
binding.contract | AbstractContract |
binding.lockingScript? | Script |
binding.unlockingScript? | Script |
Defined in
node_modules/scryptlib/dist/abi.d.ts:41
Properties
_lockingScript
• Private
Optional
_lockingScript: any
Defined in
node_modules/scryptlib/dist/abi.d.ts:37
_unlockingScript
• Private
Optional
_unlockingScript: any
Defined in
node_modules/scryptlib/dist/abi.d.ts:36
args
• Readonly
args: Arguments
Defined in
node_modules/scryptlib/dist/abi.d.ts:35
contract
• Readonly
contract: AbstractContract
Defined in
node_modules/scryptlib/dist/abi.d.ts:34
methodName
• methodName: string
Defined in
node_modules/scryptlib/dist/abi.d.ts:33
Accessors
lockingScript
• get
lockingScript(): Script
Returns
Defined in
node_modules/scryptlib/dist/abi.d.ts:39
• set
lockingScript(s
): void
Parameters
Name | Type |
---|---|
s | Script |
Returns
void
Defined in
node_modules/scryptlib/dist/abi.d.ts:40
unlockingScript
• get
unlockingScript(): Script
Returns
Defined in
node_modules/scryptlib/dist/abi.d.ts:38
Methods
genLaunchConfig
▸ genLaunchConfig(txContext?
): string
Parameters
Name | Type |
---|---|
txContext? | TxContext |
Returns
string
Defined in
node_modules/scryptlib/dist/abi.d.ts:51
toASM
▸ toASM(): string
Returns
string
Defined in
node_modules/scryptlib/dist/abi.d.ts:47
toHex
▸ toHex(): string
Returns
string
Defined in
node_modules/scryptlib/dist/abi.d.ts:50
toScript
▸ toScript(): Script
Returns
Defined in
node_modules/scryptlib/dist/abi.d.ts:49
toString
▸ toString(): string
Returns
string
Defined in
node_modules/scryptlib/dist/abi.d.ts:48
verify
▸ verify(txContext?
): VerifyResult
Parameters
Name | Type |
---|---|
txContext? | TxContext |
Returns
Defined in
node_modules/scryptlib/dist/abi.d.ts:52