Skip to main content

ContractConstructorResult

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / ContractConstructorResult

Type Alias: ContractConstructorResult<C>

ContractConstructorResult<C> = object

The updated states resulting from executing a contract constructor.

Type Parameters

C

C extends Contract

Properties

nextContractState

readonly nextContractState: ContractState

The public state resulting from executing the contract constructor.


nextPrivateState

readonly nextPrivateState: PrivateState<C>

The private state resulting from executing the contract constructor.


nextZswapLocalState

readonly nextZswapLocalState: ZswapLocalState

The Zswap local state resulting from executing the contract constructor.