Skip to main content

@midnight/ledger v3.0.2Readme | API


@midnight/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