Skip to main content

ContractConstructorResult

Midnight.js API Reference v3.1.0


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.Any

Properties

nextContractState

readonly nextContractState: ContractState

The public state resulting from executing the contract constructor.


nextPrivateState

readonly nextPrivateState: Contract.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.