@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / VmResults
Class: VmResults
Represents the results of a VM call
Constructors
new VmResults()
private new VmResults(): VmResults
Returns
Properties
events
readonly events: GatherResult[];
The events that got emitted by this VM invocation
gasCost
readonly gasCost: bigint;
The computed gas cost of running this VM invocation
stack
readonly stack: VmStack;
The VM stack at the end of the VM invocation
Methods
toString()
toString(compact?): string
Parameters
• compact?: boolean
Returns
string