Skip to main content

ContractConstructorResult

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


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.