Skip to main content

@midnight/ledger v2.0.8Readme | API


@midnight/ledger v2.0.8 / ContractCallsPrototype

Class: ContractCallsPrototype

An atomic collection of ContractCallPrototypes and ContractDeploys, 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


toString()

toString(compact?): string

Parameters

compact?: boolean

Returns

string