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,277 lines 102 kB
{ "contractName": "Controllable", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "controller", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "enabled", "type": "bool" } ], "name": "ControllerChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "controllers", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "isOwner", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "controller", "type": "address" }, { "internalType": "bool", "name": "enabled", "type": "bool" } ], "name": "setController", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.8.3+commit.8d00100c\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"ControllerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"controllers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"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/Controllable.sol\":\"Controllable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/arachnid/Dropbox/projects/ensroot/contracts/Controllable.sol\":{\"keccak256\":\"0x7831ef51f75e27af50364373a90b7647f5269821e5734320dba761c724283507\",\"urls\":[\"bzz-raw://9f4f444ec804c0fbc91fc28461896dc5c06e304acc88f57eedb84a2583f8ad31\",\"dweb:/ipfs/Qmc4JdaVBoPTyzijtDz4Zte94Zx86PrdMt9WsxNdiPVEwe\"]},\"/home/arachnid/Dropbox/projects/ensroot/contracts/Ownable.sol\":{\"keccak256\":\"0xa39db48420aa699761dd40f5cc98480f508f6a3d92588d7dc8350df0e4a9bae3\",\"urls\":[\"bzz-raw://8d934467f5bfd41b0109db0bff22d177bb9d3d117074a08f399dbe5d8f9013a2\",\"dweb:/ipfs/Qme3nbeWp3FxfHvr54RYA96xANS95GaXpPr8z96XUK1o5r\"]}},\"version\":1}", "bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506104bd806100606000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80632f54bf6e1461005c5780638da5cb5b1461008c578063da8c229e146100aa578063e0dba60f146100da578063f2fde38b146100f6575b600080fd5b61007660048036038101906100719190610362565b610112565b6040516100839190610400565b60405180910390f35b61009461016a565b6040516100a191906103e5565b60405180910390f35b6100c460048036038101906100bf9190610362565b61018e565b6040516100d19190610400565b60405180910390f35b6100f460048036038101906100ef919061038b565b6101ae565b005b610110600480360381019061010b9190610362565b610269565b005b60008173ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915054906101000a900460ff1681565b6101b733610112565b6101c057600080fd5b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f4c97694570a07277810af7e5669ffd5f6a2d6b74b6e9a274b8b870fd5114cf878260405161025d9190610400565b60405180910390a25050565b61027233610112565b61027b57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008135905061034781610459565b92915050565b60008135905061035c81610470565b92915050565b60006020828403121561037457600080fd5b600061038284828501610338565b91505092915050565b6000806040838503121561039e57600080fd5b60006103ac85828601610338565b92505060206103bd8582860161034d565b9150509250929050565b6103d08161041b565b82525050565b6103df8161042d565b82525050565b60006020820190506103fa60008301846103c7565b92915050565b600060208201905061041560008301846103d6565b92915050565b600061042682610439565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6104628161041b565b811461046d57600080fd5b50565b6104798161042d565b811461048457600080fd5b5056fea2646970667358221220ffa1b30aaaf75cc1d647327cb544e788efde7a89a30c36283261e221884f1da964736f6c63430008030033", "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80632f54bf6e1461005c5780638da5cb5b1461008c578063da8c229e146100aa578063e0dba60f146100da578063f2fde38b146100f6575b600080fd5b61007660048036038101906100719190610362565b610112565b6040516100839190610400565b60405180910390f35b61009461016a565b6040516100a191906103e5565b60405180910390f35b6100c460048036038101906100bf9190610362565b61018e565b6040516100d19190610400565b60405180910390f35b6100f460048036038101906100ef919061038b565b6101ae565b005b610110600480360381019061010b9190610362565b610269565b005b60008173ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915054906101000a900460ff1681565b6101b733610112565b6101c057600080fd5b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f4c97694570a07277810af7e5669ffd5f6a2d6b74b6e9a274b8b870fd5114cf878260405161025d9190610400565b60405180910390a25050565b61027233610112565b61027b57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008135905061034781610459565b92915050565b60008135905061035c81610470565b92915050565b60006020828403121561037457600080fd5b600061038284828501610338565b91505092915050565b6000806040838503121561039e57600080fd5b60006103ac85828601610338565b92505060206103bd8582860161034d565b9150509250929050565b6103d08161041b565b82525050565b6103df8161042d565b82525050565b60006020820190506103fa60008301846103c7565b92915050565b600060208201905061041560008301846103d6565b92915050565b600061042682610439565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6104628161041b565b811461046d57600080fd5b50565b6104798161042d565b811461048457600080fd5b5056fea2646970667358221220ffa1b30aaaf75cc1d647327cb544e788efde7a89a30c36283261e221884f1da964736f6c63430008030033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [ { "ast": { "nodeType": "YulBlock", "src": "0:2226: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": "201:84:7", "statements": [ { "nodeType": "YulAssignment", "src": "211:29:7", "value": { "arguments": [ { "name": "offset", "nodeType": "YulIdentifier", "src": "233:6:7" } ], "functionName": { "name": "calldataload", "nodeType": "YulIdentifier", "src": "220:12:7" }, "nodeType": "YulFunctionCall", "src": "220:20:7" }, "variableNames": [ { "name": "value", "nodeType": "YulIdentifier", "src": "211:5:7" } ] }, { "expression": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "273:5:7" } ], "functionName": { "name": "validator_revert_t_bool", "nodeType": "YulIdentifier", "src": "249:23:7" }, "nodeType": "YulFunctionCall", "src": "249:30:7" }, "nodeType": "YulExpressionStatement", "src": "249:30:7" } ] }, "name": "abi_decode_t_bool", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "offset", "nodeType": "YulTypedName", "src": "179:6:7", "type": "" }, { "name": "end", "nodeType": "YulTypedName", "src": "187:3:7", "type": "" } ], "returnVariables": [ { "name": "value", "nodeType": "YulTypedName", "src": "195:5:7", "type": "" } ], "src": "152:133:7" }, { "body": { "nodeType": "YulBlock", "src": "357:196:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "403:16:7", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "412:1:7", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "415:1:7", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "405:6:7" }, "nodeType": "YulFunctionCall", "src": "405:12:7" }, "nodeType": "YulExpressionStatement", "src": "405:12:7" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "378:7:7" }, { "name": "headStart", "nodeType": "YulIdentifier", "src": "387:9:7" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", "src": "374:3:7" }, "nodeType": "YulFunctionCall", "src": "374:23:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "399:2:7", "type": "", "value": "32" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", "src": "370:3:7" }, "nodeType": "YulFunctionCall", "src": "370:32:7" }, "nodeType": "YulIf", "src": "367:2:7" }, { "nodeType": "YulBlock", "src": "429:117:7", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "444:15:7", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "458:1:7", "type": "", "value": "0" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", "src": "448:6:7", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "473:63:7", "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "508:9:7" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "519:6:7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "504:3:7" }, "nodeType": "YulFunctionCall", "src": "504:22:7" }, { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "528:7:7" } ], "functionName": { "name": "abi_decode_t_address", "nodeType": "YulIdentifier", "src": "483:20:7" }, "nodeType": "YulFunctionCall", "src": "483:53:7" }, "variableNames": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "473:6:7" } ] } ] } ] }, "name": "abi_decode_tuple_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "327:9:7", "type": "" }, { "name": "dataEnd", "nodeType": "YulTypedName", "src": "338:7:7", "type": "" } ], "returnVariables": [ { "name": "value0", "nodeType": "YulTypedName", "src": "350:6:7", "type": "" } ], "src": "291:262:7" }, { "body": { "nodeType": "YulBlock", "src": "639:321:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "685:16:7", "statements": [ { "expression": { "arguments": [ { "kind": "number", "nodeType": "YulLiteral", "src": "694:1:7", "type": "", "value": "0" }, { "kind": "number", "nodeType": "YulLiteral", "src": "697:1:7", "type": "", "value": "0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", "src": "687:6:7" }, "nodeType": "YulFunctionCall", "src": "687:12:7" }, "nodeType": "YulExpressionStatement", "src": "687:12:7" } ] }, "condition": { "arguments": [ { "arguments": [ { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "660:7:7" }, { "name": "headStart", "nodeType": "YulIdentifier", "src": "669:9:7" } ], "functionName": { "name": "sub", "nodeType": "YulIdentifier", "src": "656:3:7" }, "nodeType": "YulFunctionCall", "src": "656:23:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "681:2:7", "type": "", "value": "64" } ], "functionName": { "name": "slt", "nodeType": "YulIdentifier", "src": "652:3:7" }, "nodeType": "YulFunctionCall", "src": "652:32:7" }, "nodeType": "YulIf", "src": "649:2:7" }, { "nodeType": "YulBlock", "src": "711:117:7", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "726:15:7", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "740:1:7", "type": "", "value": "0" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", "src": "730:6:7", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "755:63:7", "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "790:9:7" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "801:6:7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "786:3:7" }, "nodeType": "YulFunctionCall", "src": "786:22:7" }, { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "810:7:7" } ], "functionName": { "name": "abi_decode_t_address", "nodeType": "YulIdentifier", "src": "765:20:7" }, "nodeType": "YulFunctionCall", "src": "765:53:7" }, "variableNames": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "755:6:7" } ] } ] }, { "nodeType": "YulBlock", "src": "838:115:7", "statements": [ { "nodeType": "YulVariableDeclaration", "src": "853:16:7", "value": { "kind": "number", "nodeType": "YulLiteral", "src": "867:2:7", "type": "", "value": "32" }, "variables": [ { "name": "offset", "nodeType": "YulTypedName", "src": "857:6:7", "type": "" } ] }, { "nodeType": "YulAssignment", "src": "883:60:7", "value": { "arguments": [ { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "915:9:7" }, { "name": "offset", "nodeType": "YulIdentifier", "src": "926:6:7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "911:3:7" }, "nodeType": "YulFunctionCall", "src": "911:22:7" }, { "name": "dataEnd", "nodeType": "YulIdentifier", "src": "935:7:7" } ], "functionName": { "name": "abi_decode_t_bool", "nodeType": "YulIdentifier", "src": "893:17:7" }, "nodeType": "YulFunctionCall", "src": "893:50:7" }, "variableNames": [ { "name": "value1", "nodeType": "YulIdentifier", "src": "883:6:7" } ] } ] } ] }, "name": "abi_decode_tuple_t_addresst_bool", "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": "" }, { "name": "value1", "nodeType": "YulTypedName", "src": "632:6:7", "type": "" } ], "src": "559:401:7" }, { "body": { "nodeType": "YulBlock", "src": "1031:53:7", "statements": [ { "expression": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "1048:3:7" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1071:5:7" } ], "functionName": { "name": "cleanup_t_address", "nodeType": "YulIdentifier", "src": "1053:17:7" }, "nodeType": "YulFunctionCall", "src": "1053:24:7" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "1041:6:7" }, "nodeType": "YulFunctionCall", "src": "1041:37:7" }, "nodeType": "YulExpressionStatement", "src": "1041:37:7" } ] }, "name": "abi_encode_t_address_to_t_address_fromStack", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1019:5:7", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", "src": "1026:3:7", "type": "" } ], "src": "966:118:7" }, { "body": { "nodeType": "YulBlock", "src": "1149:50:7", "statements": [ { "expression": { "arguments": [ { "name": "pos", "nodeType": "YulIdentifier", "src": "1166:3:7" }, { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1186:5:7" } ], "functionName": { "name": "cleanup_t_bool", "nodeType": "YulIdentifier", "src": "1171:14:7" }, "nodeType": "YulFunctionCall", "src": "1171:21:7" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", "src": "1159:6:7" }, "nodeType": "YulFunctionCall", "src": "1159:34:7" }, "nodeType": "YulExpressionStatement", "src": "1159:34:7" } ] }, "name": "abi_encode_t_bool_to_t_bool_fromStack", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1137:5:7", "type": "" }, { "name": "pos", "nodeType": "YulTypedName", "src": "1144:3:7", "type": "" } ], "src": "1090:109:7" }, { "body": { "nodeType": "YulBlock", "src": "1303:124:7", "statements": [ { "nodeType": "YulAssignment", "src": "1313:26:7", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1325:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1336:2:7", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1321:3:7" }, "nodeType": "YulFunctionCall", "src": "1321:18:7" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "1313:4:7" } ] }, { "expression": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "1393:6:7" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1406:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1417:1:7", "type": "", "value": "0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1402:3:7" }, "nodeType": "YulFunctionCall", "src": "1402:17:7" } ], "functionName": { "name": "abi_encode_t_address_to_t_address_fromStack", "nodeType": "YulIdentifier", "src": "1349:43:7" }, "nodeType": "YulFunctionCall", "src": "1349:71:7" }, "nodeType": "YulExpressionStatement", "src": "1349:71:7" } ] }, "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "1275:9:7", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", "src": "1287:6:7", "type": "" } ], "returnVariables": [ { "name": "tail", "nodeType": "YulTypedName", "src": "1298:4:7", "type": "" } ], "src": "1205:222:7" }, { "body": { "nodeType": "YulBlock", "src": "1525:118:7", "statements": [ { "nodeType": "YulAssignment", "src": "1535:26:7", "value": { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1547:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1558:2:7", "type": "", "value": "32" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1543:3:7" }, "nodeType": "YulFunctionCall", "src": "1543:18:7" }, "variableNames": [ { "name": "tail", "nodeType": "YulIdentifier", "src": "1535:4:7" } ] }, { "expression": { "arguments": [ { "name": "value0", "nodeType": "YulIdentifier", "src": "1609:6:7" }, { "arguments": [ { "name": "headStart", "nodeType": "YulIdentifier", "src": "1622:9:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1633:1:7", "type": "", "value": "0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", "src": "1618:3:7" }, "nodeType": "YulFunctionCall", "src": "1618:17:7" } ], "functionName": { "name": "abi_encode_t_bool_to_t_bool_fromStack", "nodeType": "YulIdentifier", "src": "1571:37:7" }, "nodeType": "YulFunctionCall", "src": "1571:65:7" }, "nodeType": "YulExpressionStatement", "src": "1571:65:7" } ] }, "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "headStart", "nodeType": "YulTypedName", "src": "1497:9:7", "type": "" }, { "name": "value0", "nodeType": "YulTypedName", "src": "1509:6:7", "type": "" } ], "returnVariables": [ { "name": "tail", "nodeType": "YulTypedName", "src": "1520:4:7", "type": "" } ], "src": "1433:210:7" }, { "body": { "nodeType": "YulBlock", "src": "1694:51:7", "statements": [ { "nodeType": "YulAssignment", "src": "1704:35:7", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1733:5:7" } ], "functionName": { "name": "cleanup_t_uint160", "nodeType": "YulIdentifier", "src": "1715:17:7" }, "nodeType": "YulFunctionCall", "src": "1715:24:7" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "1704:7:7" } ] } ] }, "name": "cleanup_t_address", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1676:5:7", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "1686:7:7", "type": "" } ], "src": "1649:96:7" }, { "body": { "nodeType": "YulBlock", "src": "1793:48:7", "statements": [ { "nodeType": "YulAssignment", "src": "1803:32:7", "value": { "arguments": [ { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1828:5:7" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", "src": "1821:6:7" }, "nodeType": "YulFunctionCall", "src": "1821:13:7" } ], "functionName": { "name": "iszero", "nodeType": "YulIdentifier", "src": "1814:6:7" }, "nodeType": "YulFunctionCall", "src": "1814:21:7" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "1803:7:7" } ] } ] }, "name": "cleanup_t_bool", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1775:5:7", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "1785:7:7", "type": "" } ], "src": "1751:90:7" }, { "body": { "nodeType": "YulBlock", "src": "1892:81:7", "statements": [ { "nodeType": "YulAssignment", "src": "1902:65:7", "value": { "arguments": [ { "name": "value", "nodeType": "YulIdentifier", "src": "1917:5:7" }, { "kind": "number", "nodeType": "YulLiteral", "src": "1924:42:7", "type": "", "value": "0xffffffffffffffffffffffffffffffffffffffff" } ], "functionName": { "name": "and", "nodeType": "YulIdentifier", "src": "1913:3:7" }, "nodeType": "YulFunctionCall", "src": "1913:54:7" }, "variableNames": [ { "name": "cleaned", "nodeType": "YulIdentifier", "src": "1902:7:7" } ] } ] }, "name": "cleanup_t_uint160", "nodeType": "YulFunctionDefinition", "parameters": [ { "name": "value", "nodeType": "YulTypedName", "src": "1874:5:7", "type": "" } ], "returnVariables": [ { "name": "cleaned", "nodeType": "YulTypedName", "src": "1884:7:7", "type": "" } ], "src": "1847:126:7" }, { "body": { "nodeType": "YulBlock", "src": "2022:79:7", "statements": [ { "body": { "nodeType": "YulBlock", "src": "2079:16:7", "statements": [ { "expression": { "argument