示例#1
0
        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);
        }
示例#2
0
 public InteropStackItem(T value) : base(value)
 {
     _item = new Neo.VM.Types.InteropInterface <T>(value);
 }
示例#3
0
 public InteropStackItem(Neo.VM.Types.InteropInterface <T> item) : base((T)item)
 {
     _item = item;
 }