DeployContractOptionsWithPrivateState
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / DeployContractOptionsWithPrivateState
Type Alias: DeployContractOptionsWithPrivateState<C>
DeployContractOptionsWithPrivateState<
C> =DeployContractOptionsBase<C> &object
deployContract base options with information needed to store private states; only used if the contract being deployed has a private state.
Type declaration
initialPrivateState
readonlyinitialPrivateState:PrivateState<C>
The private state to run the circuit against.
privateStateId
readonlyprivateStateId:PrivateStateId
An identifier for the private state of the contract being found.
Type Parameters
C
C extends Contract