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​
readonlynextContractState:ContractState
The public state resulting from executing the contract constructor.
nextPrivateState​
readonlynextPrivateState:PrivateState<C>
The private state resulting from executing the contract constructor.
nextZswapLocalState​
readonlynextZswapLocalState:ZswapLocalState
The Zswap local state resulting from executing the contract constructor.