/* Maps all opcodes to their hex equivalents */ export default { stop: "00", add: "01", mul: "02", sub: "03", div: "04", sdiv: "05", mod: "06", smod: "07", addmod: "08", mulmod: "09", exp: "0a", signextend: "0b", lt: "10", gt: "11", slt: "12", sgt: "13", eq: "14", iszero: "15", and: "16", or: "17", xor: "18", not: "19", byte: "1a", sha3: "20", keccak: "20", address: "30", balance: "31", origin: "32", caller: "33", callvalue: "34", calldataload: "35", calldatasize: "36", calldatacopy: "37", codesize: "38", codecopy: "39", gasprice: "3a", extcodesize: "3b", extcodecopy: "3c", returndatasize: "3d", returndatacopy: "3e", blockhash: "40", coinbase: "41", timestamp: "42", number: "43", difficulty: "44", gaslimit: "45", chainid: "46", selfbalance: "47", basefee: "48", pop: "50", mload: "51", mstore: "52", mstore8: "53", sload: "54", sstore: "55", jump: "56", jumpi: "57", getpc: "58", msize: "59", gas: "5a", jumpdest: "5b", push1: "60", push2: "61", push3: "62", push4: "63", push5: "64", push6: "65", push7: "66", push8: "67", push9: "68", push10: "69", push11: "6a", push12: "6b", push13: "6c", push14: "6d", push15: "6e", push16: "6f", push17: "70", push18: "71", push19: "72", push20: "73", push21: "74", push22: "75", push23: "76", push24: "77", push25: "78", push26: "79", push27: "7a", push28: "7b", push29: "7c", push30: "7d", push31: "7e", push32: "7f", dup1: "80", dup2: "81", dup3: "82", dup4: "83", dup5: "84", dup6: "85", dup7: "86", dup8: "87", dup9: "88", dup10: "89", dup11: "8a", dup12: "8b", dup13: "8c", dup14: "8d", dup15: "8e", dup16: "8f", swap1: "90", swap2: "91", swap3: "92", swap4: "93", swap5: "94", swap6: "95", swap7: "96", swap8: "97", swap9: "98", swap10: "99", swap11: "9a", swap12: "9b", swap13: "9c", swap14: "9d", swap15: "9e", swap16: "9f", shl: "1b", shr: "1c", sar: "1d", log0: "a0", log1: "a1", log2: "a2", log3: "a3", log4: "a4", create: "f0", call: "f1", callcode: "f2", return: "f3", delegatecall: "f4", create2: "f5", staticcall: "fa", revert: "fd", invalid: "fe", selfdestruct: "ff", };