ChargedState
@midnight-ntwrk/onchain-runtime v2.0.1
@midnight-ntwrk/onchain-runtime / ChargedState
Class: ChargedState
Represents a StateValue with storage annotations.
These track the state usage that has been charged for so far.
Constructors
new ChargedState()
new ChargedState(state): ChargedState
Parameters
state
Returns
Properties
state
readonly state: StateValue;
Methods
toString()
toString(compact?): string
Parameters
compact?
boolean
Returns
string