public static bool GetCurrentContext(ExecutionEngine engine) { var storage = engine.GetStorage(); var context = new Neo.VM.Types.InteropInterface(storage); engine.EvaluationStack.Push(context); //returns StorageContext return(true); }
public InteropStackItem(T value) : base(value) { _item = new Neo.VM.Types.InteropInterface <T>(value); }
public InteropStackItem(Neo.VM.Types.InteropInterface <T> item) : base((T)item) { _item = item; }