Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

vm package

Function

NewTestRealmObject

func NewTestRealmObject() *TestRealmObject

NewTestRealmObject returns a fresh heap-allocated TestRealmObject. Non-crossing — relies on borrow rule #1 to set m.Realm = /r/tests/vm inside the body so the composite literal passes checkConstructionTime.

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/tests/vm.NewTestRealmObject()"

Result