@midnight-ntwrk/midnight-js-contracts v0.1.15 • API
Midnight.js API Reference v0.1.15 / @midnight-ntwrk/midnight-js-contracts / DeployTxData
Interface: DeployTxData<PSS, PSK>
Data for a deploy transaction, submitted or unsubmitted.
Extends
TxData
<PSK
>
Type parameters
• PSS extends PrivateStateSchema
• PSK extends keyof PSS
Properties
contractAddress
readonly
contractAddress:string
The ledger address of the contract.
Inherited from
initialContractState
readonly
initialContractState:ContractState
The initial state of the public oracle deployed to the blockchain.
initialPrivateState
readonly
initialPrivateState:PSS
[PSK
]
The initial state of the private oracle to be persisted.
privateStateKey
readonly
privateStateKey:PSK
The address of the contract's private state.