UNPKG

@ensdomains/root

Version:

[![Build Status](https://travis-ci.com/ensdomains/root.svg?branch=master)](https://travis-ci.com/ensdomains/root) [![License](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](LICENSE)

1,305 lines 99.9 kB
{ "contractName": "Migrations", "abi": [ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "last_completed_migration", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "completed", "type": "uint256" } ], "name": "setCompleted", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAddress", "type": "address" } ], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.8.3+commit.8d00100c\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/arachnid/Dropbox/projects/ensroot/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/arachnid/Dropbox/projects/ensroot/contracts/Migrations.sol\":{\"keccak256\":\"0x30457555963f8f8c3f7f142769275d5acd2d4965d07464b59baf08faca96310b\",\"urls\":[\"bzz-raw://009f7884d70c6e51622b68cc4bff64d34b9049636dc4274ecbfd4a5c2bdf3a24\",\"dweb:/ipfs/QmQ8wZJpLcetx2sijbbvKD46U6KmTuidkkzgv1XGrXm156\"]}},\"version\":1}", "bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610389806100606000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac1461006d5780638da5cb5b1461008b578063fdacd576146100a9575b600080fd5b61006b60048036038101906100669190610243565b6100c5565b005b610075610190565b60405161008291906102ce565b60405180910390f35b610093610196565b6040516100a091906102b3565b60405180910390f35b6100c360048036038101906100be919061026c565b6101ba565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561018d5760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040161015991906102ce565b600060405180830381600087803b15801561017357600080fd5b505af1158015610187573d6000803e3d6000fd5b50505050505b50565b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561021657806001819055505b50565b60008135905061022881610325565b92915050565b60008135905061023d8161033c565b92915050565b60006020828403121561025557600080fd5b600061026384828501610219565b91505092915050565b60006020828403121561027e57600080fd5b600061028c8482850161022e565b91505092915050565b61029e816102e9565b82525050565b6102ad8161031b565b82525050565b60006020820190506102c86000830184610295565b92915050565b60006020820190506102e360008301846102a4565b92915050565b60006102f4826102fb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b61032e816102e9565b811461033957600080fd5b50565b6103458161031b565b811461035057600080fd5b5056fea264697066735822122037c271a6331d4dd5c44ba6974f684f844474e5d87095eb65f513987e9e6a2fde64736f6c63430008030033", "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac1461006d5780638da5cb5b1461008b578063fdacd576146100a9575b600080fd5b61006b60048036038101906100669190610243565b6100c5565b005b610075610190565b60405161008291906102ce565b60405180910390f35b610093610196565b6040516100a091906102b3565b60405180910390f35b6100c360048036038101906100be919061026c565b6101ba565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561018d5760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040161015991906102ce565b600060405180830381600087803b15801561017357600080fd5b505af1158015610187573d6000803e3d6000fd5b50505050505b50565b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561021657806001819055505b50565b60008135905061022881610325565b92915050565b60008135905061023d8161033c565b92915050565b60006020828403121561025557600080fd5b600061026384828501610219565b91505092915050565b60006020828403121561027e57600080fd5b600061028c8482850161022e565b91505092915050565b61029e816102e9565b82525050565b6102ad8161031b565b82525050565b60006020820190506102c86000830184610295565b92915050565b60006020820190506102e360008301846102a4565b92915050565b60006102f4826102fb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b61032e816102e9565b811461033957600080fd5b50565b6103458161031b565b811461035057600080fd5b5056fea264697066735822122037c271a6331d4dd5c44ba6974f684f844474e5d87095eb65f513987e9e6a2fde64736f6c63430008030033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [ { "ast": { "nodeType": "YulBlock", "src": "0:2107:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "59:87:7", "statements": [ { "nodeType": "YulAssignment", "src": "69:29:7", "value": { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", "src": "91:6:7" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", "src": "78:12:7" }, "nodeType": "YulFunctionCall", "src": "78:20:7" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", "src": "69:5:7" } ] }, { "expression": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "134:5:7" } ], "functionName": { "name": "validator_revert_t_address", "nodeType": "YulIdentifier", "src": "107:26:7" }, "nodeType": "YulFunctionCall", "src": "107:33:7" }, "nodeType": "YulExpressionStatement", "src": "107:33:7" } ] }, "name": "abi_decode_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "offset", "nodeType": "YulTypedName", "src": "37:6:7", "type": "" }, { "name": "end", "nodeType": "YulTypedName", "src": "45:3:7", "type": "" } ], "returnVariables": [ { "name": "value", "nodeType": "YulTypedName", "src": "53:5:7", "type": "" } ], "src": "7:139:7" }, { "body": { "nodeType": "YulBlock", "src": "204:87:7", "statements": [ { "nodeType": "YulAssignment", "src": "214:29:7", "value": { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", "src": "236:6:7" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", "src": "223:12:7" }, "nodeType": "YulFunctionCall", "src": "223:20:7" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", "src": "214:5:7" } ] }, { "expression": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "279:5:7" } ], "functionName": { "name": "validator_revert_t_uint256", "nodeType": "YulIdentifier", "src": "252:26:7" }, "nodeType": "YulFunctionCall", "src": "252:33:7" }, "nodeType": "YulExpressionStatement", "src": "252:33:7" } ] }, "name": "abi_decode_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "offset", "nodeType": "YulTypedName", "src": "182:6:7", "type": "" }, { "name": "end", "nodeType": "YulTypedName", "src": "190:3:7", "type": "" } ], "returnVariables": [ { "name": "value", "nodeType": "YulTypedName", "src": "198:5:7", "type": "" } ], "src": "152:139:7" }, { "body": { "nodeType": "YulBlock", "src": "363:196:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "409:16:7", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "418:1:7", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "421:1:7", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "411:6:7" }, "nodeType": "YulFunctionCall", "src": "411:12:7" }, "nodeType": "YulExpressionStatement", "src": "411:12:7" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "384:7:7" }, { "name": "headStart", "nodeType": "YulIdentifier", "src": "393:9:7" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", "src": "380:3:7" }, "nodeType": "YulFunctionCall", "src": "380:23:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "405:2:7", "type": "", "value": "32" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", "src": "376:3:7" }, "nodeType": "YulFunctionCall", "src": "376:32:7" }, "nodeType": "YulIf", "src": "373:2:7" }, { "nodeType": "YulBlock", "src": "435:117:7", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "450:15:7", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "464:1:7", "type": "", "value": "0" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", "src": "454:6:7", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "479:63:7", "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "514:9:7" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "525:6:7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "510:3:7" }, "nodeType": "YulFunctionCall", "src": "510:22:7" }, { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "534:7:7" } ], "functionName": { "name": "abi_decode_t_address", "nodeType": "YulIdentifier", "src": "489:20:7" }, "nodeType": "YulFunctionCall", "src": "489:53:7" }, "variableNames": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "479:6:7" } ] } ] } ] }, "name": "abi_decode_tuple_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "333:9:7", "type": "" }, { "name": "dataEnd", "nodeType": "YulTypedName", "src": "344:7:7", "type": "" } ], "returnVariables": [ { "name": "value0", "nodeType": "YulTypedName", "src": "356:6:7", "type": "" } ], "src": "297:262:7" }, { "body": { "nodeType": "YulBlock", "src": "631:196:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "677:16:7", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "686:1:7", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "689:1:7", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "679:6:7" }, "nodeType": "YulFunctionCall", "src": "679:12:7" }, "nodeType": "YulExpressionStatement", "src": "679:12:7" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "652:7:7" }, { "name": "headStart", "nodeType": "YulIdentifier", "src": "661:9:7" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", "src": "648:3:7" }, "nodeType": "YulFunctionCall", "src": "648:23:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "673:2:7", "type": "", "value": "32" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", "src": "644:3:7" }, "nodeType": "YulFunctionCall", "src": "644:32:7" }, "nodeType": "YulIf", "src": "641:2:7" }, { "nodeType": "YulBlock", "src": "703:117:7", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "718:15:7", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "732:1:7", "type": "", "value": "0" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", "src": "722:6:7", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "747:63:7", "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "782:9:7" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "793:6:7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "778:3:7" }, "nodeType": "YulFunctionCall", "src": "778:22:7" }, { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "802:7:7" } ], "functionName": { "name": "abi_decode_t_uint256", "nodeType": "YulIdentifier", "src": "757:20:7" }, "nodeType": "YulFunctionCall", "src": "757:53:7" }, "variableNames": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "747:6:7" } ] } ] } ] }, "name": "abi_decode_tuple_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "601:9:7", "type": "" }, { "name": "dataEnd", "nodeType": "YulTypedName", "src": "612:7:7", "type": "" } ], "returnVariables": [ { "name": "value0", "nodeType": "YulTypedName", "src": "624:6:7", "type": "" } ], "src": "565:262:7" }, { "body": { "nodeType": "YulBlock", "src": "898:53:7", "statements": [ { "expression": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "915:3:7" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "938:5:7" } ], "functionName": { "name": "cleanup_t_address", "nodeType": "YulIdentifier", "src": "920:17:7" }, "nodeType": "YulFunctionCall", "src": "920:24:7" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "908:6:7" }, "nodeType": "YulFunctionCall", "src": "908:37:7" }, "nodeType": "YulExpressionStatement", "src": "908:37:7" } ] }, "name": "abi_encode_t_address_to_t_address_fromStack", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "886:5:7", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", "src": "893:3:7", "type": "" } ], "src": "833:118:7" }, { "body": { "nodeType": "YulBlock", "src": "1022:53:7", "statements": [ { "expression": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "1039:3:7" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1062:5:7" } ], "functionName": { "name": "cleanup_t_uint256", "nodeType": "YulIdentifier", "src": "1044:17:7" }, "nodeType": "YulFunctionCall", "src": "1044:24:7" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "1032:6:7" }, "nodeType": "YulFunctionCall", "src": "1032:37:7" }, "nodeType": "YulExpressionStatement", "src": "1032:37:7" } ] }, "name": "abi_encode_t_uint256_to_t_uint256_fromStack", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1010:5:7", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", "src": "1017:3:7", "type": "" } ], "src": "957:118:7" }, { "body": { "nodeType": "YulBlock", "src": "1179:124:7", "statements": [ { "nodeType": "YulAssignment", "src": "1189:26:7", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1201:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1212:2:7", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1197:3:7" }, "nodeType": "YulFunctionCall", "src": "1197:18:7" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "1189:4:7" } ] }, { "expression": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "1269:6:7" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1282:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1293:1:7", "type": "", "value": "0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1278:3:7" }, "nodeType": "YulFunctionCall", "src": "1278:17:7" } ], "functionName": { "name": "abi_encode_t_address_to_t_address_fromStack", "nodeType": "YulIdentifier", "src": "1225:43:7" }, "nodeType": "YulFunctionCall", "src": "1225:71:7" }, "nodeType": "YulExpressionStatement", "src": "1225:71:7" } ] }, "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "1151:9:7", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", "src": "1163:6:7", "type": "" } ], "returnVariables": [ { "name": "tail", "nodeType": "YulTypedName", "src": "1174:4:7", "type": "" } ], "src": "1081:222:7" }, { "body": { "nodeType": "YulBlock", "src": "1407:124:7", "statements": [ { "nodeType": "YulAssignment", "src": "1417:26:7", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1429:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1440:2:7", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1425:3:7" }, "nodeType": "YulFunctionCall", "src": "1425:18:7" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "1417:4:7" } ] }, { "expression": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "1497:6:7" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1510:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1521:1:7", "type": "", "value": "0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1506:3:7" }, "nodeType": "YulFunctionCall", "src": "1506:17:7" } ], "functionName": { "name": "abi_encode_t_uint256_to_t_uint256_fromStack", "nodeType": "YulIdentifier", "src": "1453:43:7" }, "nodeType": "YulFunctionCall", "src": "1453:71:7" }, "nodeType": "YulExpressionStatement", "src": "1453:71:7" } ] }, "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "1379:9:7", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", "src": "1391:6:7", "type": "" } ], "returnVariables": [ { "name": "tail", "nodeType": "YulTypedName", "src": "1402:4:7", "type": "" } ], "src": "1309:222:7" }, { "body": { "nodeType": "YulBlock", "src": "1582:51:7", "statements": [ { "nodeType": "YulAssignment", "src": "1592:35:7", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1621:5:7" } ], "functionName": { "name": "cleanup_t_uint160", "nodeType": "YulIdentifier", "src": "1603:17:7" }, "nodeType": "YulFunctionCall", "src": "1603:24:7" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "1592:7:7" } ] } ] }, "name": "cleanup_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1564:5:7", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "1574:7:7", "type": "" } ], "src": "1537:96:7" }, { "body": { "nodeType": "YulBlock", "src": "1684:81:7", "statements": [ { "nodeType": "YulAssignment", "src": "1694:65:7", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1709:5:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1716:42:7", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "1705:3:7" }, "nodeType": "YulFunctionCall", "src": "1705:54:7" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "1694:7:7" } ] } ] }, "name": "cleanup_t_uint160", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1666:5:7", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "1676:7:7", "type": "" } ], "src": "1639:126:7" }, { "body": { "nodeType": "YulBlock", "src": "1816:32:7", "statements": [ { "nodeType": "YulAssignment", "src": "1826:16:7", "value": { "name": "value", "nodeType": "YulIdentifier", "src": "1837:5:7" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "1826:7:7" } ] } ] }, "name": "cleanup_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1798:5:7", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "1808:7:7", "type": "" } ], "src": "1771:77:7" }, { "body": { "nodeType": "YulBlock", "src": "1897:79:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "1954:16:7", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "1963:1:7", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1966:1:7", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "1956:6:7" }, "nodeType": "YulFunctionCall", "src": "1956:12:7" }, "nodeType": "YulExpressionStatement", "src": "1956:12:7" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1920:5:7" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1945:5:7" } ], "functionName": { "name": "cleanup_t_address", "nodeType": "YulIdentifier", "src": "1927:17:7" }, "nodeType": "YulFunctionCall", "src": "1927:24:7" } ], "functionName": { "name": "eq", "nodeType": "YulIdentifier", "src": "1917:2:7" }, "nodeType": "YulFunctionCall", "src": "1917:35:7" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", "src": "1910:6:7" }, "nodeType": "YulFunctionCall", "src": "1910:43:7" }, "nodeType": "YulIf", "src": "1907:2:7" } ] }, "name": "validator_revert_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1890:5:7", "type": "" } ], "src": "1854:122:7" }, { "body": { "nodeType": "YulBlock", "src": "2025:79:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "2082:16:7", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "2091:1:7", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "2094:1:7", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "2084:6:7" }, "nodeType": "YulFunctionCall", "src": "2084:12:7" }, "nodeType": "YulExpressionStatement", "src": "2084:12:7" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "2048:5:7" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "2073:5:7" } ], "functionName": { "name": "cleanup_t_uint256", "nodeType": "YulIdentifier", "src": "2055:17:7" }, "nodeType": "YulFunctionCall", "src": "2055:24:7" } ], "functionName": { "name": "eq", "nodeType": "YulIdentifier", "src": "2045:2:7" }, "nodeType": "YulFunctionCall", "src": "2045:35:7" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", "src": "2038:6:7" }, "nodeType": "YulFunctionCall", "src": "2038:43:7" }, "nodeType": "YulIf", "src": "2035:2:7" } ] }, "name": "validator_revert_t_uint256", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "2018:5:7", "type": "" } ], "src": "1982:122:7" } ] }, "contents": "{\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_a