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