Skip to main content

ContractCallsPrototype

@midnight-ntwrk/ledger v3.0.2 β€’ Readme | API


@midnight-ntwrk/ledger v3.0.2 / ContractCallsPrototype

Class: ContractCallsPrototype

An atomic collection of ContractActions, which may interact with each other

Constructors​

new ContractCallsPrototype()​

new ContractCallsPrototype(): ContractCallsPrototype

Returns​

ContractCallsPrototype

Methods​

addCall()​

addCall(call): ContractCallsPrototype

Parameters​

β€’ call: ContractCallPrototype

Returns​

ContractCallsPrototype


addDeploy()​

addDeploy(deploy): ContractCallsPrototype

Parameters​

β€’ deploy: ContractDeploy

Returns​

ContractCallsPrototype


addMaintenanceUpdate()​

addMaintenanceUpdate(upd): ContractCallsPrototype

Parameters​

β€’ upd: MaintenanceUpdate

Returns​

ContractCallsPrototype


toString()​

toString(compact?): string

Parameters​

β€’ compact?: boolean

Returns​

string