ConstructorResult
@midnight-ntwrk/compact-runtime v0.14.0
@midnight-ntwrk/compact-runtime / ConstructorResult
Interface: ConstructorResult<PS>
The result of executing a contract constructor.
Type Parameters
PS
PS = any
Properties
currentContractState
currentContractState: ContractState;
The contract's initial ledger (public state).
currentPrivateState
currentPrivateState: PS;
The contract's initial private state. Potentially different from the private state passed in ConstructorContext.
currentZswapLocalState
currentZswapLocalState: EncodedZswapLocalState;
The contract's initial Zswap local state. Potentially includes outputs created in the contract's constructor.