Documentation

EvmYul.Operations

Stop and Arithmetic Operations

Instances For

    Comparison & Bitwise Logic Operations

    Instances For

      Keccak operation.

      • KECCAK256 {τ : OperationType} : KOp τ

        KECCAK256: compute KECCAK256 hash δ:2 ; α: 1

      Instances For

        Environment Information.

        • ADDRESS {τ : OperationType} : EOp τ

          ADDRESS: get the address of current executing account δ:0 ; α: 1

        • BALANCE {τ : OperationType} : EOp τ

          BALANCE: get the balance of an input account δ:1 ; α: 1

        • ORIGIN {τ : OperationType} : EOp τ

          ORIGIN: get execution origination address δ:0 ; α: 1

        • CALLER {τ : OperationType} : EOp τ

          CALLER: returns the caller address δ: 0 ; α: 1

        • CALLVALUE {τ : OperationType} : EOp τ

          CALLVALUE: get deposited value by the instruction / transaction responsible for this execution. δ: 0 ; α: 1

        • CALLDATALOAD {τ : OperationType} : EOp τ

          CALLDATALOAD: get input data of current environment δ: 1 ; α: 1

        • CALLDATASIZE {τ : OperationType} : EOp τ

          CALLDATASIZE: get size of input data in current environment δ: 0 ; α: 1

        • CALLDATACOPY {τ : OperationType} : EOp τ

          CALLDATACOPY: copy input data from environment to memory δ: 3 ; α: 0

        • GASPRICE {τ : OperationType} : EOp τ

          CODESIZE: get the size of code running in current environment δ:0 ; α: 1

        • CODESIZE {τ : OperationType} : EOp τ

          CODECOPY: Copy code running in current environment to memory δ: 3 ; α: 0

        • CODECOPY {τ : OperationType} : EOp τ

          GASPRICE: Gas price in current execution environment δ: 0 ; α: 1

        • EXTCODESIZE {τ : OperationType} : EOp τ

          EXTCODESIZE: get the size of an account's code δ:1 ; α: 1

        • EXTCODECOPY {τ : OperationType} : EOp τ

          EXTCODECOPY: copy an account's code to memory δ: 4 ; α: 0

        • RETURNDATASIZE {τ : OperationType} : EOp τ

          RETURNDATASIZE: get the size of output data from the previous call from the current environment. δ: 0 ; α: 1

        • RETURNDATACOPY {τ : OperationType} : EOp τ

          RETURNDATACOPY: copy output data from previous call to memory δ: 3 ; α: 0

        • EXTCODEHASH {τ : OperationType} : EOp τ

          EXTCODEHASH: get hash of an account's code δ: 1 ; α: 1

        Instances For

          Block Information.

          Instances For

            Stack, Memory, Storage and Flow Operations

            Instances For

              Push operations.

              PUSH0 : pushes 0 to stack. δ: 0 ; α: 1

              PUSHn : pushes n bytes to stack. δ: 0 ; α: 1

              Instances For

                Duplicate Operations.

                DUPn: duplicates the nth item on the stack. δ: n ; α: n + 1

                Instances For

                  Exchange Operations.

                  SWAPn: swaps the 1st and nth element of the stack. δ: n + 1 ; α: n + 1

                  Instances For

                    Logging Operations.

                    LOGn: append log record with n topics. δ: n + 2 ; α : 0

                    Instances For

                      System Operations.

                      • CREATE {τ : OperationType} : SOp τ

                        CREATE: create a new account with associated code δ: 3 ; α: 1

                      • CALL {τ : OperationType} : SOp τ

                        CALL: message call into an account δ: 7 ; α: 1

                      • CALLCODE {τ : OperationType} : SOp τ

                        CALLCODE: message call into this account with an alternative account's code δ: 7 ; α: 1

                      • RETURN {τ : OperationType} : SOp τ

                        RETURN: Halt execution returning output data δ: 2 ; α: 0

                      • DELEGATECALL {τ : OperationType} : SOp τ

                        DELEGATECALL: message call into this account with an alternative account's code but persisting the current values for sender and value δ: 6 ; α: 1

                      • CREATE2 {τ : OperationType} : SOp τ

                        CREATE2: create a new account with associated code δ: 4 ; α: 1

                      • STATICCALL {τ : OperationType} : SOp τ

                        STATICCALL: static message call into an account δ: 6 ; α: 1

                      • REVERT {τ : OperationType} : SOp τ

                        REVERT: halt execution reverting state changes but returning data and remaining gas δ: 2 ; α: 0

                      • INVALID {τ : OperationType} : SOp τ

                        INVALID: invalid opcode δ: ∅ ; α: ∅

                      • SELFDESTRUCT {τ : OperationType} : SOp τ

                        SELFDESTRUCT: halt and send entire balance to target. Deprecated; see EIP-6780 δ: 1 ; α: 0

                      Instances For
                        Instances For
                          Equations
                          Instances For
                            @[reducible, inline]
                            Equations
                            Instances For
                              Equations
                              Instances For
                                Equations
                                Instances For
                                  Equations
                                  Instances For