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