public void Current()
        {
            EvmStack stack = new EvmStack(stackBytes.AsSpan(), 0, _tracer);

            stack.PushSignedInt256(in Value);
            stack.PopLimbo();
        }
Exemplo n.º 2
0
        public void Current()
        {
            EvmStack stack = new EvmStack(stackBytes.AsSpan(), 0, _tracer);

            stack.PushUInt(ref value);
            stack.PopLimbo();
        }
Exemplo n.º 3
0
        public (BigInteger, BigInteger, BigInteger)  Current()
        {
            EvmStack stack = new EvmStack(stackBytes.AsSpan(), 3, _tracer);

            stack.PopInt(out BigInteger result1);
            stack.PopInt(out BigInteger result2);
            stack.PopInt(out BigInteger result3);

            return(result1, result2, result3);
        }
Exemplo n.º 4
0
        public void GlobalSetup()
        {
            stackBytes = new byte[(EvmStack.MaxStackSize + EvmStack.RegisterLength) * 1024];
            EvmStack stack = new EvmStack(stackBytes, 0, _tracer);

            foreach (BigInteger bigInteger in ValueSource)
            {
                stack.PushSignedInt(in bigInteger);
            }
        }
Exemplo n.º 5
0
        public (UInt256, UInt256, UInt256)  Current()
        {
            EvmStack stack = new EvmStack(stackBytes.AsSpan(), 3, _tracer);

            stack.PopUInt256(out UInt256 result1);
            stack.PopUInt256(out UInt256 result2);
            stack.PopUInt256(out UInt256 result3);

            return(result1, result2, result3);
        }