Skip to main content

FunctionCall

scrypt-ts / FunctionCall

Class: FunctionCall

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new FunctionCall(methodName, binding)

Parameters

NameType
methodNamestring
bindingObject
binding.argsArguments
binding.contractAbstractContract
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

Script

Defined in

node_modules/scryptlib/dist/abi.d.ts:39

set lockingScript(s): void

Parameters

NameType
sScript

Returns

void

Defined in

node_modules/scryptlib/dist/abi.d.ts:40


unlockingScript

get unlockingScript(): Script

Returns

Script

Defined in

node_modules/scryptlib/dist/abi.d.ts:38

Methods

genLaunchConfig

genLaunchConfig(txContext?): string

Parameters

NameType
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

Script

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

NameType
txContext?TxContext

Returns

VerifyResult

Defined in

node_modules/scryptlib/dist/abi.d.ts:52