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