Skip to content

Instantly share code, notes, and snippets.

@blockedby
Created December 12, 2021 12:01
Show Gist options
  • Save blockedby/7e69e8503e5523f39cf2e1ea94f693ed to your computer and use it in GitHub Desktop.
Save blockedby/7e69e8503e5523f39cf2e1ea94f693ed to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract.
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required).
Scripts have full access to the web3.js and ethers.js libraries.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_128": {
"entryPoint": null,
"id": 128,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061044a806100606000396000f3fe6080604052600436106100385760003560e01c806305b1137b1461004457806312065fe0146100815780638da5cb5b146100ac5761003f565b3661003f57005b600080fd5b34801561005057600080fd5b5061006b60048036038101906100669190610226565b6100d7565b60405161007891906102d1565b60405180910390f35b34801561008d57600080fd5b506100966101d0565b6040516100a3919061030c565b60405180910390f35b3480156100b857600080fd5b506100c16101d8565b6040516100ce91906102b6565b60405180910390f35b60003373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e906102ec565b60405180910390fd5b61016f6101d0565b82116101c5578273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156101bb573d6000803e3d6000fd5b50600190506101ca565b600090505b92915050565b600047905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008135905061020b816103e6565b92915050565b600081359050610220816103fd565b92915050565b6000806040838503121561023d5761023c610392565b5b600061024b858286016101fc565b925050602061025c85828601610211565b9150509250929050565b61026f81610338565b82525050565b61027e8161035c565b82525050565b6000610291602883610327565b915061029c82610397565b604082019050919050565b6102b081610388565b82525050565b60006020820190506102cb6000830184610266565b92915050565b60006020820190506102e66000830184610275565b92915050565b6000602082019050818103600083015261030581610284565b9050919050565b600060208201905061032160008301846102a7565b92915050565b600082825260208201905092915050565b600061034382610368565b9050919050565b600061035582610368565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b7f5472616e73666572206661696c65642c20796f7520617265206e6f742074686560008201527f206f776e65722121000000000000000000000000000000000000000000000000602082015250565b6103ef8161034a565b81146103fa57600080fd5b50565b61040681610388565b811461041157600080fd5b5056fea26469706673582212209a2e598a2885aabbc45608acbff0d42611b24d1969786daeeea4df53d97ebf2864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x44A DUP1 PUSH2 0x60 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x38 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5B1137B EQ PUSH2 0x44 JUMPI DUP1 PUSH4 0x12065FE0 EQ PUSH2 0x81 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xAC JUMPI PUSH2 0x3F JUMP JUMPDEST CALLDATASIZE PUSH2 0x3F JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x50 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x6B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x226 JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x78 SWAP2 SWAP1 PUSH2 0x2D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x8D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x96 PUSH2 0x1D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA3 SWAP2 SWAP1 PUSH2 0x30C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC1 PUSH2 0x1D8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xCE SWAP2 SWAP1 PUSH2 0x2B6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x2EC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x16F PUSH2 0x1D0 JUMP JUMPDEST DUP3 GT PUSH2 0x1C5 JUMPI DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP4 SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x1BB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 SWAP1 POP PUSH2 0x1CA JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x20B DUP2 PUSH2 0x3E6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x220 DUP2 PUSH2 0x3FD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x23D JUMPI PUSH2 0x23C PUSH2 0x392 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x24B DUP6 DUP3 DUP7 ADD PUSH2 0x1FC JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x25C DUP6 DUP3 DUP7 ADD PUSH2 0x211 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x26F DUP2 PUSH2 0x338 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x27E DUP2 PUSH2 0x35C JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x291 PUSH1 0x28 DUP4 PUSH2 0x327 JUMP JUMPDEST SWAP2 POP PUSH2 0x29C DUP3 PUSH2 0x397 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2B0 DUP2 PUSH2 0x388 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2CB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x266 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2E6 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x275 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x305 DUP2 PUSH2 0x284 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x321 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x2A7 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x343 DUP3 PUSH2 0x368 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x355 DUP3 PUSH2 0x368 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x5472616E73666572206661696C65642C20796F7520617265206E6F7420746865 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x206F776E65722121000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x3EF DUP2 PUSH2 0x34A JUMP JUMPDEST DUP2 EQ PUSH2 0x3FA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x406 DUP2 PUSH2 0x388 JUMP JUMPDEST DUP2 EQ PUSH2 0x411 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP11 0x2E MSIZE DUP11 0x28 DUP6 0xAA 0xBB 0xC4 JUMP ADDMOD 0xAC 0xBF CREATE 0xD4 0x26 GT 0xB2 0x4D NOT PUSH10 0x786DAEEEA4DF53D97EBF 0x28 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "2258:1009:0:-:0;;;2317:55;;;;;;;;;;2349:10;2341:5;;:18;;;;;;;;;;;;;;;;;;2258:1009;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_132": {
"entryPoint": null,
"id": 132,
"parameterSlots": 0,
"returnSlots": 0
},
"@getBalance_144": {
"entryPoint": 464,
"id": 144,
"parameterSlots": 0,
"returnSlots": 1
},
"@owner_119": {
"entryPoint": 472,
"id": 119,
"parameterSlots": 0,
"returnSlots": 0
},
"@transferEther_179": {
"entryPoint": 215,
"id": 179,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_address_payable": {
"entryPoint": 508,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 529,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_payablet_uint256": {
"entryPoint": 550,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 614,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 629,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a_to_t_string_memory_ptr_fromStack": {
"entryPoint": 644,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 679,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 694,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 721,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 748,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 780,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 807,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 824,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_address_payable": {
"entryPoint": 842,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 860,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 872,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 904,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 914,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a": {
"entryPoint": 919,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address_payable": {
"entryPoint": 998,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 1021,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:4168:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "67:95:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "99:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "86:12:1"
},
"nodeType": "YulFunctionCall",
"src": "86:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "77:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "150:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address_payable",
"nodeType": "YulIdentifier",
"src": "115:34:1"
},
"nodeType": "YulFunctionCall",
"src": "115:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "115:41:1"
}
]
},
"name": "abi_decode_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "45:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "53:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "61:5:1",
"type": ""
}
],
"src": "7:155:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "220:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "230:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "252:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "239:12:1"
},
"nodeType": "YulFunctionCall",
"src": "239:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "230:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "295:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "268:26:1"
},
"nodeType": "YulFunctionCall",
"src": "268:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "268:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "198:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "206:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "214:5:1",
"type": ""
}
],
"src": "168:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "404:399:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "450:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "452:77:1"
},
"nodeType": "YulFunctionCall",
"src": "452:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "452:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "425:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "434:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "421:3:1"
},
"nodeType": "YulFunctionCall",
"src": "421:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "446:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "417:3:1"
},
"nodeType": "YulFunctionCall",
"src": "417:32:1"
},
"nodeType": "YulIf",
"src": "414:119:1"
},
{
"nodeType": "YulBlock",
"src": "543:125:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "558:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "572:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "562:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "587:71:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "630:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "641:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "626:3:1"
},
"nodeType": "YulFunctionCall",
"src": "626:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "650:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address_payable",
"nodeType": "YulIdentifier",
"src": "597:28:1"
},
"nodeType": "YulFunctionCall",
"src": "597:61:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "587:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "678:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "693:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "707:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "697:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "723:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "758:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "769:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "754:3:1"
},
"nodeType": "YulFunctionCall",
"src": "754:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "778:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "733:20:1"
},
"nodeType": "YulFunctionCall",
"src": "733:53:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "723:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_payablet_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "366:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "377:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "389:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "397:6:1",
"type": ""
}
],
"src": "313:490:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "874:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "891:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "914:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "896:17:1"
},
"nodeType": "YulFunctionCall",
"src": "896:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "884:6:1"
},
"nodeType": "YulFunctionCall",
"src": "884:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "884:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "862:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "869:3:1",
"type": ""
}
],
"src": "809:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "992:50:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1009:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1029:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "1014:14:1"
},
"nodeType": "YulFunctionCall",
"src": "1014:21:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1002:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1002:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1002:34:1"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "980:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "987:3:1",
"type": ""
}
],
"src": "933:109:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1194:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1204:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1270:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1275:2:1",
"type": "",
"value": "40"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1211:58:1"
},
"nodeType": "YulFunctionCall",
"src": "1211:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1204:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1376:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a",
"nodeType": "YulIdentifier",
"src": "1287:88:1"
},
"nodeType": "YulFunctionCall",
"src": "1287:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "1287:93:1"
},
{
"nodeType": "YulAssignment",
"src": "1389:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1400:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1405:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1396:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1396:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1389:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1182:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1190:3:1",
"type": ""
}
],
"src": "1048:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1485:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1502:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1525:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1507:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1507:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1495:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1495:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "1495:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1473:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1480:3:1",
"type": ""
}
],
"src": "1420:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1642:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1652:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1664:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1675:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1660:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1660:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1652:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1732:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1745:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1756:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1741:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1741:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "1688:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1688:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1688:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1614:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1626:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1637:4:1",
"type": ""
}
],
"src": "1544:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1864:118:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1874:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1886:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1897:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1882:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1882:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1874:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1948:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1961:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1972:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1957:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1957:17:1"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "1910:37:1"
},
"nodeType": "YulFunctionCall",
"src": "1910:65:1"
},
"nodeType": "YulExpressionStatement",
"src": "1910:65:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1836:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1848:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1859:4:1",
"type": ""
}
],
"src": "1772:210:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2159:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2169:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2181:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2192:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2177:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2177:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2169:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2216:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2227:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2212:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2212:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2235:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2241:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2231:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2231:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2205:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "2205:47:1"
},
{
"nodeType": "YulAssignment",
"src": "2261:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2395:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2269:124:1"
},
"nodeType": "YulFunctionCall",
"src": "2269:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2261:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2139:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2154:4:1",
"type": ""
}
],
"src": "1988:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2511:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2521:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2533:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2544:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2529:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2529:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2521:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2601:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2614:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2625:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2610:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2610:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "2557:43:1"
},
"nodeType": "YulFunctionCall",
"src": "2557:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "2557:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2483:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2495:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2506:4:1",
"type": ""
}
],
"src": "2413:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2681:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2691:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2707:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2701:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2701:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2691:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2674:6:1",
"type": ""
}
],
"src": "2641:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2818:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2835:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2840:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2828:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2828:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2828:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2856:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2875:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2880:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2871:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2871:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2856:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2790:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2795:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2806:11:1",
"type": ""
}
],
"src": "2722:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2942:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2952:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2981:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2963:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2963:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2952:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2924:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2934:7:1",
"type": ""
}
],
"src": "2897:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3052:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3062:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3091:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "3073:17:1"
},
"nodeType": "YulFunctionCall",
"src": "3073:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3062:7:1"
}
]
}
]
},
"name": "cleanup_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3034:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3044:7:1",
"type": ""
}
],
"src": "2999:104:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3151:48:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3161:32:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3186:5:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3179:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3179:13:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3172:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3172:21:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3161:7:1"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3133:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3143:7:1",
"type": ""
}
],
"src": "3109:90:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3250:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3260:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3275:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3282:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3271:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3271:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3260:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3232:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3242:7:1",
"type": ""
}
],
"src": "3205:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3382:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3392:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3403:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3392:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3364:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3374:7:1",
"type": ""
}
],
"src": "3337:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3509:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3526:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3529:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3519:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3519:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3519:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "3420:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3632:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3649:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3652:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3642:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3642:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3642:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "3543:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3772:121:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3794:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3802:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3790:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3790:14:1"
},
{
"hexValue": "5472616e73666572206661696c65642c20796f7520617265206e6f7420746865",
"kind": "string",
"nodeType": "YulLiteral",
"src": "3806:34:1",
"type": "",
"value": "Transfer failed, you are not the"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3783:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3783:58:1"
},
"nodeType": "YulExpressionStatement",
"src": "3783:58:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3862:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3870:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3858:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3858:15:1"
},
{
"hexValue": "206f776e65722121",
"kind": "string",
"nodeType": "YulLiteral",
"src": "3875:10:1",
"type": "",
"value": " owner!!"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3851:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3851:35:1"
},
"nodeType": "YulExpressionStatement",
"src": "3851:35:1"
}
]
},
"name": "store_literal_in_memory_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3764:6:1",
"type": ""
}
],
"src": "3666:227:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3950:87:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4015:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4024:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4027:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4017:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4017:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4017:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3973:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4006:5:1"
}
],
"functionName": {
"name": "cleanup_t_address_payable",
"nodeType": "YulIdentifier",
"src": "3980:25:1"
},
"nodeType": "YulFunctionCall",
"src": "3980:32:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3970:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3970:43:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3963:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3963:51:1"
},
"nodeType": "YulIf",
"src": "3960:71:1"
}
]
},
"name": "validator_revert_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3943:5:1",
"type": ""
}
],
"src": "3899:138:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4086:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4143:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4152:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4155:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4145:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4145:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4145:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4109:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4134:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "4116:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4116:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4106:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4106:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4099:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4099:43:1"
},
"nodeType": "YulIf",
"src": "4096:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4079:5:1",
"type": ""
}
],
"src": "4043:122:1"
}
]
},
"contents": "{\n\n function abi_decode_t_address_payable(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address_payable(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_address_payablet_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_payable(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 40)\n store_literal_in_memory_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function store_literal_in_memory_157712ddbda75725b5567cf3719630f48443d4ffcdb876dea376902e6887315a(memPtr) {\n\n mstore(add(memPtr, 0), \"Transfer failed, you are not the\")\n\n mstore(add(memPtr, 32), \" owner!!\")\n\n }\n\n function validator_revert_t_address_payable(value) {\n if iszero(eq(value, cleanup_t_address_payable(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100385760003560e01c806305b1137b1461004457806312065fe0146100815780638da5cb5b146100ac5761003f565b3661003f57005b600080fd5b34801561005057600080fd5b5061006b60048036038101906100669190610226565b6100d7565b60405161007891906102d1565b60405180910390f35b34801561008d57600080fd5b506100966101d0565b6040516100a3919061030c565b60405180910390f35b3480156100b857600080fd5b506100c16101d8565b6040516100ce91906102b6565b60405180910390f35b60003373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e906102ec565b60405180910390fd5b61016f6101d0565b82116101c5578273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156101bb573d6000803e3d6000fd5b50600190506101ca565b600090505b92915050565b600047905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008135905061020b816103e6565b92915050565b600081359050610220816103fd565b92915050565b6000806040838503121561023d5761023c610392565b5b600061024b858286016101fc565b925050602061025c85828601610211565b9150509250929050565b61026f81610338565b82525050565b61027e8161035c565b82525050565b6000610291602883610327565b915061029c82610397565b604082019050919050565b6102b081610388565b82525050565b60006020820190506102cb6000830184610266565b92915050565b60006020820190506102e66000830184610275565b92915050565b6000602082019050818103600083015261030581610284565b9050919050565b600060208201905061032160008301846102a7565b92915050565b600082825260208201905092915050565b600061034382610368565b9050919050565b600061035582610368565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b7f5472616e73666572206661696c65642c20796f7520617265206e6f742074686560008201527f206f776e65722121000000000000000000000000000000000000000000000000602082015250565b6103ef8161034a565b81146103fa57600080fd5b50565b61040681610388565b811461041157600080fd5b5056fea26469706673582212209a2e598a2885aabbc45608acbff0d42611b24d1969786daeeea4df53d97ebf2864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x38 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5B1137B EQ PUSH2 0x44 JUMPI DUP1 PUSH4 0x12065FE0 EQ PUSH2 0x81 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xAC JUMPI PUSH2 0x3F JUMP JUMPDEST CALLDATASIZE PUSH2 0x3F JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x50 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x6B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x226 JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x78 SWAP2 SWAP1 PUSH2 0x2D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x8D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x96 PUSH2 0x1D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA3 SWAP2 SWAP1 PUSH2 0x30C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC1 PUSH2 0x1D8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xCE SWAP2 SWAP1 PUSH2 0x2B6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x2EC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x16F PUSH2 0x1D0 JUMP JUMPDEST DUP3 GT PUSH2 0x1C5 JUMPI DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP4 SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x1BB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 SWAP1 POP PUSH2 0x1CA JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x20B DUP2 PUSH2 0x3E6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x220 DUP2 PUSH2 0x3FD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x23D JUMPI PUSH2 0x23C PUSH2 0x392 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x24B DUP6 DUP3 DUP7 ADD PUSH2 0x1FC JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x25C DUP6 DUP3 DUP7 ADD PUSH2 0x211 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x26F DUP2 PUSH2 0x338 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x27E DUP2 PUSH2 0x35C JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x291 PUSH1 0x28 DUP4 PUSH2 0x327 JUMP JUMPDEST SWAP2 POP PUSH2 0x29C DUP3 PUSH2 0x397 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2B0 DUP2 PUSH2 0x388 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2CB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x266 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2E6 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x275 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x305 DUP2 PUSH2 0x284 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x321 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x2A7 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x343 DUP3 PUSH2 0x368 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x355 DUP3 PUSH2 0x368 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x5472616E73666572206661696C65642C20796F7520617265206E6F7420746865 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x206F776E65722121000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x3EF DUP2 PUSH2 0x34A JUMP JUMPDEST DUP2 EQ PUSH2 0x3FA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x406 DUP2 PUSH2 0x388 JUMP JUMPDEST DUP2 EQ PUSH2 0x411 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP11 0x2E MSIZE DUP11 0x28 DUP6 0xAA 0xBB 0xC4 JUMP ADDMOD 0xAC 0xBF CREATE 0xD4 0x26 GT 0xB2 0x4D NOT PUSH10 0x786DAEEEA4DF53D97EBF 0x28 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "2258:1009:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2630:628;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2442:96;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2282:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2630:628;2708:4;2841:10;2832:19;;:5;;;;;;;;;;:19;;;2824:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;2933:12;:10;:12::i;:::-;2923:6;:22;2919:331;;3139:9;:18;;:26;3158:6;3139:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3188:4;3181:11;;;;2919:331;3232:5;3225:12;;2630:628;;;;;:::o;2442:96::-;2484:4;2508:21;2501:28;;2442:96;:::o;2282:20::-;;;;;;;;;;;;:::o;7:155:1:-;61:5;99:6;86:20;77:29;;115:41;150:5;115:41;:::i;:::-;7:155;;;;:::o;168:139::-;214:5;252:6;239:20;230:29;;268:33;295:5;268:33;:::i;:::-;168:139;;;;:::o;313:490::-;389:6;397;446:2;434:9;425:7;421:23;417:32;414:119;;;452:79;;:::i;:::-;414:119;572:1;597:61;650:7;641:6;630:9;626:22;597:61;:::i;:::-;587:71;;543:125;707:2;733:53;778:7;769:6;758:9;754:22;733:53;:::i;:::-;723:63;;678:118;313:490;;;;;:::o;809:118::-;896:24;914:5;896:24;:::i;:::-;891:3;884:37;809:118;;:::o;933:109::-;1014:21;1029:5;1014:21;:::i;:::-;1009:3;1002:34;933:109;;:::o;1048:366::-;1190:3;1211:67;1275:2;1270:3;1211:67;:::i;:::-;1204:74;;1287:93;1376:3;1287:93;:::i;:::-;1405:2;1400:3;1396:12;1389:19;;1048:366;;;:::o;1420:118::-;1507:24;1525:5;1507:24;:::i;:::-;1502:3;1495:37;1420:118;;:::o;1544:222::-;1637:4;1675:2;1664:9;1660:18;1652:26;;1688:71;1756:1;1745:9;1741:17;1732:6;1688:71;:::i;:::-;1544:222;;;;:::o;1772:210::-;1859:4;1897:2;1886:9;1882:18;1874:26;;1910:65;1972:1;1961:9;1957:17;1948:6;1910:65;:::i;:::-;1772:210;;;;:::o;1988:419::-;2154:4;2192:2;2181:9;2177:18;2169:26;;2241:9;2235:4;2231:20;2227:1;2216:9;2212:17;2205:47;2269:131;2395:4;2269:131;:::i;:::-;2261:139;;1988:419;;;:::o;2413:222::-;2506:4;2544:2;2533:9;2529:18;2521:26;;2557:71;2625:1;2614:9;2610:17;2601:6;2557:71;:::i;:::-;2413:222;;;;:::o;2722:169::-;2806:11;2840:6;2835:3;2828:19;2880:4;2875:3;2871:14;2856:29;;2722:169;;;;:::o;2897:96::-;2934:7;2963:24;2981:5;2963:24;:::i;:::-;2952:35;;2897:96;;;:::o;2999:104::-;3044:7;3073:24;3091:5;3073:24;:::i;:::-;3062:35;;2999:104;;;:::o;3109:90::-;3143:7;3186:5;3179:13;3172:21;3161:32;;3109:90;;;:::o;3205:126::-;3242:7;3282:42;3275:5;3271:54;3260:65;;3205:126;;;:::o;3337:77::-;3374:7;3403:5;3392:16;;3337:77;;;:::o;3543:117::-;3652:1;3649;3642:12;3666:227;3806:34;3802:1;3794:6;3790:14;3783:58;3875:10;3870:2;3862:6;3858:15;3851:35;3666:227;:::o;3899:138::-;3980:32;4006:5;3980:32;:::i;:::-;3973:5;3970:43;3960:71;;4027:1;4024;4017:12;3960:71;3899:138;:::o;4043:122::-;4116:24;4134:5;4116:24;:::i;:::-;4109:5;4106:35;4096:63;;4155:1;4152;4145:12;4096:63;4043:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "219600",
"executionCost": "24529",
"totalCost": "244129"
},
"external": {
"getBalance()": "339",
"owner()": "2533",
"transferEther(address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"getBalance()": "12065fe0",
"owner()": "8da5cb5b",
"transferEther(address,uint256)": "05b1137b"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getBalance",
"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": "address payable",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferEther",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getBalance",
"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": "address payable",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferEther",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"send_example.sol": "Deposit"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"send_example.sol": {
"keccak256": "0x4c1e16f9b52f622a05fb165a2906cf0121afca7fec76a21d5711e5bc8e69c743",
"license": "MIT",
"urls": [
"bzz-raw://6731a557c23d3da5afbbd05bafae3aa757a25ab8c287d5c769ab3c87c231db55",
"dweb:/ipfs/QmSviw6e1W58RjBtEc3pg4dUvrBLMSyyhhmxS1zGLPo7uE"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "6080604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015604f57600080fd5b50603f80605d6000396000f3fe6080604052600080fdfea264697066735822122048a6fb12da9801ed9ba3e8e57e67863ec5382715dedf1a4b5f1ef12fc6f90e5064736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP CALLVALUE DUP1 ISZERO PUSH1 0x4F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3F DUP1 PUSH1 0x5D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BASEFEE 0xA6 0xFB SLT 0xDA SWAP9 ADD 0xED SWAP12 LOG3 0xE8 0xE5 PUSH31 0x67863EC5382715DEDF1A4B5F1EF12FC6F90E5064736F6C6343000807003300 ",
"sourceMap": "76:94:0:-:0;;;145:10;128:27;;;;;;;;;;;;;;;;;;;;76:94;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600080fdfea264697066735822122048a6fb12da9801ed9ba3e8e57e67863ec5382715dedf1a4b5f1ef12fc6f90e5064736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BASEFEE 0xA6 0xFB SLT 0xDA SWAP9 ADD 0xED SWAP12 LOG3 0xE8 0xE5 PUSH31 0x67863EC5382715DEDF1A4B5F1EF12FC6F90E5064736F6C6343000807003300 ",
"sourceMap": "76:94:0:-:0;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "12600",
"executionCost": "24332",
"totalCost": "36932"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"templates.sol": "Ex"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"templates.sol": {
"keccak256": "0x5cfb3562bd242e27128ff08fc557b589f91bd9dc8268ce803061a0dce0676431",
"license": "GPL-3.0",
"urls": [
"bzz-raw://d159a4d93cf02ed76c7679078eb319ff2080dcbffffe02dd3e93e102bcfd03b0",
"dweb:/ipfs/QmRFAXSsW84GfPZ8kiusBJe5DiSpc4Z6MoUkChmBnKnwkt"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"send_example.sol": "IERC20"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"send_example.sol": {
"keccak256": "0x6ee17288ba9b5c5f45621358909396cccd6690effe8d0beeb83377daed1b3e95",
"license": "MIT",
"urls": [
"bzz-raw://57d7e102bfb51388f6b89c58061497eb06ed90caf5b2f1655f6adda5851cebee",
"dweb:/ipfs/QmfQbvUT2UUQfgnWDazGxgtWuFavLXAMoyfHREdvkoUwCx"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_34": {
"entryPoint": null,
"id": 34,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr_fromMemory": {
"entryPoint": 353,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr_fromMemory": {
"entryPoint": 428,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256_fromMemory": {
"entryPoint": 479,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256t_string_memory_ptr_fromMemory": {
"entryPoint": 502,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"allocate_memory": {
"entryPoint": 604,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 635,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 645,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 699,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory": {
"entryPoint": 709,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 763,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 817,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 871,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 918,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 965,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 970,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 975,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 980,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 985,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 1002,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:4280:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "102:326:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "112:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "179:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "137:41:1"
},
"nodeType": "YulFunctionCall",
"src": "137:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "121:15:1"
},
"nodeType": "YulFunctionCall",
"src": "121:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "203:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "210:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "196:6:1"
},
"nodeType": "YulFunctionCall",
"src": "196:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "196:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "226:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "241:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "248:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "237:3:1"
},
"nodeType": "YulFunctionCall",
"src": "237:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "230:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "291:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "293:77:1"
},
"nodeType": "YulFunctionCall",
"src": "293:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "272:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "277:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "268:3:1"
},
"nodeType": "YulFunctionCall",
"src": "268:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "286:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "265:2:1"
},
"nodeType": "YulFunctionCall",
"src": "265:25:1"
},
"nodeType": "YulIf",
"src": "262:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "405:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "410:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "415:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "383:21:1"
},
"nodeType": "YulFunctionCall",
"src": "383:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "383:39:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "75:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "80:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "88:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "96:5:1",
"type": ""
}
],
"src": "7:421:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "521:282:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "570:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "572:77:1"
},
"nodeType": "YulFunctionCall",
"src": "572:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "572:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "549:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "557:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "545:3:1"
},
"nodeType": "YulFunctionCall",
"src": "545:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "564:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "541:3:1"
},
"nodeType": "YulFunctionCall",
"src": "541:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "534:6:1"
},
"nodeType": "YulFunctionCall",
"src": "534:35:1"
},
"nodeType": "YulIf",
"src": "531:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "662:27:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "682:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "676:5:1"
},
"nodeType": "YulFunctionCall",
"src": "676:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "666:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "698:99:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "770:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "778:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "766:3:1"
},
"nodeType": "YulFunctionCall",
"src": "766:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "785:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "793:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "707:58:1"
},
"nodeType": "YulFunctionCall",
"src": "707:90:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "698:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "499:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "507:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "515:5:1",
"type": ""
}
],
"src": "448:355:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "872:80:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "882:22:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "897:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "891:5:1"
},
"nodeType": "YulFunctionCall",
"src": "891:13:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "882:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "940:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "913:26:1"
},
"nodeType": "YulFunctionCall",
"src": "913:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "913:33:1"
}
]
},
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "850:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "858:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "866:5:1",
"type": ""
}
],
"src": "809:143:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1062:576:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1108:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1110:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1110:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1110:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1083:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1092:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1079:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1079:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1104:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1075:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1075:32:1"
},
"nodeType": "YulIf",
"src": "1072:119:1"
},
{
"nodeType": "YulBlock",
"src": "1201:128:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1216:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1230:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1220:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1245:74:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1291:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1302:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1287:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1287:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1311:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulIdentifier",
"src": "1255:31:1"
},
"nodeType": "YulFunctionCall",
"src": "1255:64:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1245:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1339:292:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1354:39:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1378:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1389:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1374:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1374:18:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1368:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1368:25:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1358:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1440:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1442:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1442:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1442:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1412:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1420:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1409:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1409:30:1"
},
"nodeType": "YulIf",
"src": "1406:117:1"
},
{
"nodeType": "YulAssignment",
"src": "1537:84:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1593:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1604:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1589:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1589:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1613:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "1547:41:1"
},
"nodeType": "YulFunctionCall",
"src": "1547:74:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1537:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1024:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1035:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1047:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1055:6:1",
"type": ""
}
],
"src": "958:680:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1685:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1695:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "1705:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1705:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1695:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1754:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "1762:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "1734:19:1"
},
"nodeType": "YulFunctionCall",
"src": "1734:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "1734:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1669:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1678:6:1",
"type": ""
}
],
"src": "1644:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1819:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1829:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1845:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1839:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1839:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1829:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1812:6:1",
"type": ""
}
],
"src": "1779:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1927:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2032:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2034:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2034:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2034:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2004:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2012:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2001:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2001:30:1"
},
"nodeType": "YulIf",
"src": "1998:56:1"
},
{
"nodeType": "YulAssignment",
"src": "2064:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2094:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2072:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2072:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2064:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2138:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2150:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2156:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2146:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2146:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2138:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1911:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1922:4:1",
"type": ""
}
],
"src": "1860:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2219:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2229:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2240:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2229:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2201:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2211:7:1",
"type": ""
}
],
"src": "2174:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2306:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2316:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2325:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "2320:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2385:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2410:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2415:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2406:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2406:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2429:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2434:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2425:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2425:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2419:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2419:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2399:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2399:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "2399:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2346:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2349:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2343:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2343:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "2357:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2359:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2368:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2371:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2364:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2364:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2359:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "2339:3:1",
"statements": []
},
"src": "2335:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2482:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2532:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2537:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2528:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2528:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2546:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2521:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2521:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "2521:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2463:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2466:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2460:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2460:13:1"
},
"nodeType": "YulIf",
"src": "2457:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2288:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2293:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2298:6:1",
"type": ""
}
],
"src": "2257:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2621:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2631:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2645:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2651:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2641:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2641:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2631:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2662:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2692:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2698:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2688:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2688:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2666:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2739:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2753:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2767:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2775:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2763:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2763:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2753:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2719:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2712:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2712:26:1"
},
"nodeType": "YulIf",
"src": "2709:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2842:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "2856:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2856:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2856:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2806:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2829:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2837:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2826:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2826:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2803:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2803:38:1"
},
"nodeType": "YulIf",
"src": "2800:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2605:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2614:6:1",
"type": ""
}
],
"src": "2570:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2939:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2949:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2971:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3001:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2979:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2979:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2967:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2967:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "2953:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3118:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3120:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3120:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3120:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3061:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3073:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3058:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3058:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3097:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3109:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3094:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3094:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "3055:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3055:62:1"
},
"nodeType": "YulIf",
"src": "3052:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3156:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3160:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3149:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "3149:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2925:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2933:4:1",
"type": ""
}
],
"src": "2896:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3211:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3228:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3231:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3221:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3221:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3221:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3325:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3328:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3318:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3318:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3318:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3349:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3352:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3342:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3342:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3342:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "3183:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3397:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3414:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3417:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3407:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3407:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3407:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3511:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3514:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3504:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3504:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3504:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3535:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3538:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3528:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3528:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3528:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "3369:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3644:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3661:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3664:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3654:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3654:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3654:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "3555:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3767:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3784:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3787:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3777:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3777:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3777:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "3678:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3890:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3907:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3910:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3900:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3900:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3900:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "3801:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4013:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4030:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4033:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4023:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4023:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4023:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "3924:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4095:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4105:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4123:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4130:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4119:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4119:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4139:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4135:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4135:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4115:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4115:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "4105:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4078:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "4088:6:1",
"type": ""
}
],
"src": "4047:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4198:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4255:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4264:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4267:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4257:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4257:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4257:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4221:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4246:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "4228:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4228:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4218:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4218:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4211:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4211:43:1"
},
"nodeType": "YulIf",
"src": "4208:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4191:5:1",
"type": ""
}
],
"src": "4155:122:1"
}
]
},
"contents": "{\n\n function abi_decode_available_length_t_string_memory_ptr_fromMemory(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_memory_to_memory(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr_fromMemory(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := mload(offset)\n array := abi_decode_available_length_t_string_memory_ptr_fromMemory(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256t_string_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := mload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1 := abi_decode_t_string_memory_ptr_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60a06040526000600260006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162000ad938038062000ad98339818101604052810190620000529190620001f6565b81600081905550806001908051906020019062000071929190620000b1565b503373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505062000404565b828054620000bf90620002fb565b90600052602060002090601f016020900481019282620000e357600085556200012f565b82601f10620000fe57805160ff19168380011785556200012f565b828001600101855582156200012f579182015b828111156200012e57825182559160200191906001019062000111565b5b5090506200013e919062000142565b5090565b5b808211156200015d57600081600090555060010162000143565b5090565b600062000178620001728462000285565b6200025c565b905082815260208101848484011115620001975762000196620003ca565b5b620001a4848285620002c5565b509392505050565b600082601f830112620001c457620001c3620003c5565b5b8151620001d684826020860162000161565b91505092915050565b600081519050620001f081620003ea565b92915050565b6000806040838503121562000210576200020f620003d4565b5b60006200022085828601620001df565b925050602083015167ffffffffffffffff811115620002445762000243620003cf565b5b6200025285828601620001ac565b9150509250929050565b6000620002686200027b565b905062000276828262000331565b919050565b6000604051905090565b600067ffffffffffffffff821115620002a357620002a262000396565b5b620002ae82620003d9565b9050602081019050919050565b6000819050919050565b60005b83811015620002e5578082015181840152602081019050620002c8565b83811115620002f5576000848401525b50505050565b600060028204905060018216806200031457607f821691505b602082108114156200032b576200032a62000367565b5b50919050565b6200033c82620003d9565b810181811067ffffffffffffffff821117156200035e576200035d62000396565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620003f581620002bb565b81146200040157600080fd5b50565b60805160601c6106b66200042360003960006101d401526106b66000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806302c7e7af14610067578063516f279e14610085578063827bfbdf146100a35780638da5cb5b146100bf57806391b7f5ed146100dd57806398d5fdca146100f9575b600080fd5b61006f610117565b60405161007c919061042f565b60405180910390f35b61008d61012a565b60405161009a919061044a565b60405180910390f35b6100bd60048036038101906100b89190610338565b6101b8565b005b6100c76101d2565b6040516100d49190610414565b60405180910390f35b6100f760048036038101906100f29190610381565b6101f6565b005b610101610207565b60405161010e919061046c565b60405180910390f35b600260009054906101000a900460ff1681565b6001805461013790610583565b80601f016020809104026020016040519081016040528092919081815260200182805461016390610583565b80156101b05780601f10610185576101008083540402835291602001916101b0565b820191906000526020600020905b81548152906001019060200180831161019357829003601f168201915b505050505081565b80600190805190602001906101ce929190610210565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600a9050816000819055505050565b60008054905090565b82805461021c90610583565b90600052602060002090601f01602090048101928261023e5760008555610285565b82601f1061025757805160ff1916838001178555610285565b82800160010185558215610285579182015b82811115610284578251825591602001919060010190610269565b5b5090506102929190610296565b5090565b5b808211156102af576000816000905550600101610297565b5090565b60006102c66102c1846104ac565b610487565b9050828152602081018484840111156102e2576102e1610649565b5b6102ed848285610541565b509392505050565b600082601f83011261030a57610309610644565b5b813561031a8482602086016102b3565b91505092915050565b60008135905061033281610669565b92915050565b60006020828403121561034e5761034d610653565b5b600082013567ffffffffffffffff81111561036c5761036b61064e565b5b610378848285016102f5565b91505092915050565b60006020828403121561039757610396610653565b5b60006103a584828501610323565b91505092915050565b6103b7816104f9565b82525050565b6103c68161050b565b82525050565b60006103d7826104dd565b6103e181856104e8565b93506103f1818560208601610550565b6103fa81610658565b840191505092915050565b61040e81610537565b82525050565b600060208201905061042960008301846103ae565b92915050565b600060208201905061044460008301846103bd565b92915050565b6000602082019050818103600083015261046481846103cc565b905092915050565b60006020820190506104816000830184610405565b92915050565b60006104916104a2565b905061049d82826105b5565b919050565b6000604051905090565b600067ffffffffffffffff8211156104c7576104c6610615565b5b6104d082610658565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600061050482610517565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561056e578082015181840152602081019050610553565b8381111561057d576000848401525b50505050565b6000600282049050600182168061059b57607f821691505b602082108114156105af576105ae6105e6565b5b50919050565b6105be82610658565b810181811067ffffffffffffffff821117156105dd576105dc610615565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61067281610537565b811461067d57600080fd5b5056fea264697066735822122007536ced70317dc2b97ad6a825ab751860e540ee3755a62f786aa1dd8ac499a064736f6c63430008070033",
"opcodes": "PUSH1 0xA0 PUSH1 0x40 MSTORE PUSH1 0x0 PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP CALLVALUE DUP1 ISZERO PUSH3 0x2C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0xAD9 CODESIZE SUB DUP1 PUSH3 0xAD9 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH3 0x52 SWAP2 SWAP1 PUSH3 0x1F6 JUMP JUMPDEST DUP2 PUSH1 0x0 DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x71 SWAP3 SWAP2 SWAP1 PUSH3 0xB1 JUMP JUMPDEST POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x80 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x60 SHL DUP2 MSTORE POP POP POP POP PUSH3 0x404 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0xBF SWAP1 PUSH3 0x2FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0xE3 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0x12F JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0xFE JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0x12F JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0x12F JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x12E JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x111 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x13E SWAP2 SWAP1 PUSH3 0x142 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x15D JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH3 0x143 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x178 PUSH3 0x172 DUP5 PUSH3 0x285 JUMP JUMPDEST PUSH3 0x25C JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH3 0x197 JUMPI PUSH3 0x196 PUSH3 0x3CA JUMP JUMPDEST JUMPDEST PUSH3 0x1A4 DUP5 DUP3 DUP6 PUSH3 0x2C5 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x1C4 JUMPI PUSH3 0x1C3 PUSH3 0x3C5 JUMP JUMPDEST JUMPDEST DUP2 MLOAD PUSH3 0x1D6 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH3 0x161 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x1F0 DUP2 PUSH3 0x3EA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0x210 JUMPI PUSH3 0x20F PUSH3 0x3D4 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH3 0x220 DUP6 DUP3 DUP7 ADD PUSH3 0x1DF JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x244 JUMPI PUSH3 0x243 PUSH3 0x3CF JUMP JUMPDEST JUMPDEST PUSH3 0x252 DUP6 DUP3 DUP7 ADD PUSH3 0x1AC JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x268 PUSH3 0x27B JUMP JUMPDEST SWAP1 POP PUSH3 0x276 DUP3 DUP3 PUSH3 0x331 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH3 0x2A3 JUMPI PUSH3 0x2A2 PUSH3 0x396 JUMP JUMPDEST JUMPDEST PUSH3 0x2AE DUP3 PUSH3 0x3D9 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x2E5 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH3 0x2C8 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH3 0x2F5 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x314 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x32B JUMPI PUSH3 0x32A PUSH3 0x367 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x33C DUP3 PUSH3 0x3D9 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH3 0x35E JUMPI PUSH3 0x35D PUSH3 0x396 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x3F5 DUP2 PUSH3 0x2BB JUMP JUMPDEST DUP2 EQ PUSH3 0x401 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH1 0x60 SHR PUSH2 0x6B6 PUSH3 0x423 PUSH1 0x0 CODECOPY PUSH1 0x0 PUSH2 0x1D4 ADD MSTORE PUSH2 0x6B6 PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x62 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2C7E7AF EQ PUSH2 0x67 JUMPI DUP1 PUSH4 0x516F279E EQ PUSH2 0x85 JUMPI DUP1 PUSH4 0x827BFBDF EQ PUSH2 0xA3 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xBF JUMPI DUP1 PUSH4 0x91B7F5ED EQ PUSH2 0xDD JUMPI DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0xF9 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6F PUSH2 0x117 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7C SWAP2 SWAP1 PUSH2 0x42F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8D PUSH2 0x12A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9A SWAP2 SWAP1 PUSH2 0x44A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xBD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xB8 SWAP2 SWAP1 PUSH2 0x338 JUMP JUMPDEST PUSH2 0x1B8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xC7 PUSH2 0x1D2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD4 SWAP2 SWAP1 PUSH2 0x414 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xF7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF2 SWAP2 SWAP1 PUSH2 0x381 JUMP JUMPDEST PUSH2 0x1F6 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x101 PUSH2 0x207 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10E SWAP2 SWAP1 PUSH2 0x46C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x137 SWAP1 PUSH2 0x583 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x163 SWAP1 PUSH2 0x583 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1B0 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x185 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1B0 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x193 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP1 PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x1CE SWAP3 SWAP2 SWAP1 PUSH2 0x210 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA SWAP1 POP DUP2 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x21C SWAP1 PUSH2 0x583 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x23E JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x285 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x257 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x285 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x285 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x284 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x269 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x292 SWAP2 SWAP1 PUSH2 0x296 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x2AF JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x297 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2C6 PUSH2 0x2C1 DUP5 PUSH2 0x4AC JUMP JUMPDEST PUSH2 0x487 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x2E2 JUMPI PUSH2 0x2E1 PUSH2 0x649 JUMP JUMPDEST JUMPDEST PUSH2 0x2ED DUP5 DUP3 DUP6 PUSH2 0x541 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x30A JUMPI PUSH2 0x309 PUSH2 0x644 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x31A DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x2B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x332 DUP2 PUSH2 0x669 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x34E JUMPI PUSH2 0x34D PUSH2 0x653 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x36C JUMPI PUSH2 0x36B PUSH2 0x64E JUMP JUMPDEST JUMPDEST PUSH2 0x378 DUP5 DUP3 DUP6 ADD PUSH2 0x2F5 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x397 JUMPI PUSH2 0x396 PUSH2 0x653 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3A5 DUP5 DUP3 DUP6 ADD PUSH2 0x323 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x3B7 DUP2 PUSH2 0x4F9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x3C6 DUP2 PUSH2 0x50B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D7 DUP3 PUSH2 0x4DD JUMP JUMPDEST PUSH2 0x3E1 DUP2 DUP6 PUSH2 0x4E8 JUMP JUMPDEST SWAP4 POP PUSH2 0x3F1 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x550 JUMP JUMPDEST PUSH2 0x3FA DUP2 PUSH2 0x658 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x40E DUP2 PUSH2 0x537 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x429 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3AE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x444 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3BD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x464 DUP2 DUP5 PUSH2 0x3CC JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x481 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x405 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x491 PUSH2 0x4A2 JUMP JUMPDEST SWAP1 POP PUSH2 0x49D DUP3 DUP3 PUSH2 0x5B5 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x4C7 JUMPI PUSH2 0x4C6 PUSH2 0x615 JUMP JUMPDEST JUMPDEST PUSH2 0x4D0 DUP3 PUSH2 0x658 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x504 DUP3 PUSH2 0x517 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x56E JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x553 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x57D JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x59B JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x5AF JUMPI PUSH2 0x5AE PUSH2 0x5E6 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x5BE DUP3 PUSH2 0x658 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x5DD JUMPI PUSH2 0x5DC PUSH2 0x615 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x672 DUP2 PUSH2 0x537 JUMP JUMPDEST DUP2 EQ PUSH2 0x67D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SMOD MSTORE8 PUSH13 0xED70317DC2B97AD6A825AB7518 PUSH1 0xE5 BLOCKHASH 0xEE CALLDATACOPY SSTORE 0xA6 0x2F PUSH25 0x6AA1DD8AC499A064736F6C6343000807003300000000000000 ",
"sourceMap": "75:1254:0:-:0;;;429:5;410:24;;;;;;;;;;;;;;;;;;;;530:216;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;598:6;590:5;:14;;;;626:9;615:8;:20;;;;;;;;;;;;:::i;:::-;;654:10;646:18;;;;;;;;;;;;530:216;;75:1254;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:421:1:-;96:5;121:66;137:49;179:6;137:49;:::i;:::-;121:66;:::i;:::-;112:75;;210:6;203:5;196:21;248:4;241:5;237:16;286:3;277:6;272:3;268:16;265:25;262:112;;;293:79;;:::i;:::-;262:112;383:39;415:6;410:3;405;383:39;:::i;:::-;102:326;7:421;;;;;:::o;448:355::-;515:5;564:3;557:4;549:6;545:17;541:27;531:122;;572:79;;:::i;:::-;531:122;682:6;676:13;707:90;793:3;785:6;778:4;770:6;766:17;707:90;:::i;:::-;698:99;;521:282;448:355;;;;:::o;809:143::-;866:5;897:6;891:13;882:22;;913:33;940:5;913:33;:::i;:::-;809:143;;;;:::o;958:680::-;1047:6;1055;1104:2;1092:9;1083:7;1079:23;1075:32;1072:119;;;1110:79;;:::i;:::-;1072:119;1230:1;1255:64;1311:7;1302:6;1291:9;1287:22;1255:64;:::i;:::-;1245:74;;1201:128;1389:2;1378:9;1374:18;1368:25;1420:18;1412:6;1409:30;1406:117;;;1442:79;;:::i;:::-;1406:117;1547:74;1613:7;1604:6;1593:9;1589:22;1547:74;:::i;:::-;1537:84;;1339:292;958:680;;;;;:::o;1644:129::-;1678:6;1705:20;;:::i;:::-;1695:30;;1734:33;1762:4;1754:6;1734:33;:::i;:::-;1644:129;;;:::o;1779:75::-;1812:6;1845:2;1839:9;1829:19;;1779:75;:::o;1860:308::-;1922:4;2012:18;2004:6;2001:30;1998:56;;;2034:18;;:::i;:::-;1998:56;2072:29;2094:6;2072:29;:::i;:::-;2064:37;;2156:4;2150;2146:15;2138:23;;1860:308;;;:::o;2174:77::-;2211:7;2240:5;2229:16;;2174:77;;;:::o;2257:307::-;2325:1;2335:113;2349:6;2346:1;2343:13;2335:113;;;2434:1;2429:3;2425:11;2419:18;2415:1;2410:3;2406:11;2399:39;2371:2;2368:1;2364:10;2359:15;;2335:113;;;2466:6;2463:1;2460:13;2457:101;;;2546:1;2537:6;2532:3;2528:16;2521:27;2457:101;2306:258;2257:307;;;:::o;2570:320::-;2614:6;2651:1;2645:4;2641:12;2631:22;;2698:1;2692:4;2688:12;2719:18;2709:81;;2775:4;2767:6;2763:17;2753:27;;2709:81;2837:2;2829:6;2826:14;2806:18;2803:38;2800:84;;;2856:18;;:::i;:::-;2800:84;2621:269;2570:320;;;:::o;2896:281::-;2979:27;3001:4;2979:27;:::i;:::-;2971:6;2967:40;3109:6;3097:10;3094:22;3073:18;3061:10;3058:34;3055:62;3052:88;;;3120:18;;:::i;:::-;3052:88;3160:10;3156:2;3149:22;2939:238;2896:281;;:::o;3183:180::-;3231:77;3228:1;3221:88;3328:4;3325:1;3318:15;3352:4;3349:1;3342:15;3369:180;3417:77;3414:1;3407:88;3514:4;3511:1;3504:15;3538:4;3535:1;3528:15;3555:117;3664:1;3661;3654:12;3678:117;3787:1;3784;3777:12;3801:117;3910:1;3907;3900:12;3924:117;4033:1;4030;4023:12;4047:102;4088:6;4139:2;4135:7;4130:2;4123:5;4119:14;4115:28;4105:38;;4047:102;;;:::o;4155:122::-;4228:24;4246:5;4228:24;:::i;:::-;4221:5;4218:35;4208:63;;4267:1;4264;4257:12;4208:63;4155:122;:::o;75:1254:0:-;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@getPrice_59": {
"entryPoint": 519,
"id": 59,
"parameterSlots": 0,
"returnSlots": 1
},
"@location_5": {
"entryPoint": 298,
"id": 5,
"parameterSlots": 0,
"returnSlots": 0
},
"@owner_7": {
"entryPoint": 466,
"id": 7,
"parameterSlots": 0,
"returnSlots": 0
},
"@setLocation_69": {
"entryPoint": 440,
"id": 69,
"parameterSlots": 1,
"returnSlots": 0
},
"@setPrice_51": {
"entryPoint": 502,
"id": 51,
"parameterSlots": 1,
"returnSlots": 0
},
"@sold_13": {
"entryPoint": 279,
"id": 13,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 691,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 757,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 803,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 824,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 897,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 942,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 957,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 972,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 1029,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 1044,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 1071,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1098,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 1132,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1159,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 1186,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 1196,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 1245,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1256,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 1273,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 1291,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 1303,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 1335,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 1345,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory": {
"entryPoint": 1360,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 1411,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 1461,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 1510,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1557,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 1604,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 1609,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 1614,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1619,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1624,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 1641,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:6910:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:328:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "101:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "168:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "126:41:1"
},
"nodeType": "YulFunctionCall",
"src": "126:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "110:15:1"
},
"nodeType": "YulFunctionCall",
"src": "110:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "101:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "192:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "199:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "185:6:1"
},
"nodeType": "YulFunctionCall",
"src": "185:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "185:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "215:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "230:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "237:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "226:3:1"
},
"nodeType": "YulFunctionCall",
"src": "226:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "219:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "280:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "282:77:1"
},
"nodeType": "YulFunctionCall",
"src": "282:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "257:3:1"
},
"nodeType": "YulFunctionCall",
"src": "257:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "275:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "254:2:1"
},
"nodeType": "YulFunctionCall",
"src": "254:25:1"
},
"nodeType": "YulIf",
"src": "251:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "396:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "401:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "406:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "372:23:1"
},
"nodeType": "YulFunctionCall",
"src": "372:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "372:41:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "64:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "69:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "77:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "85:5:1",
"type": ""
}
],
"src": "7:412:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "501:278:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "550:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "552:77:1"
},
"nodeType": "YulFunctionCall",
"src": "552:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "552:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "529:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "537:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "525:3:1"
},
"nodeType": "YulFunctionCall",
"src": "525:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "544:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "521:3:1"
},
"nodeType": "YulFunctionCall",
"src": "521:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "514:6:1"
},
"nodeType": "YulFunctionCall",
"src": "514:35:1"
},
"nodeType": "YulIf",
"src": "511:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "642:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "669:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "656:12:1"
},
"nodeType": "YulFunctionCall",
"src": "656:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "646:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "685:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "746:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "754:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "742:3:1"
},
"nodeType": "YulFunctionCall",
"src": "742:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "761:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "769:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "694:47:1"
},
"nodeType": "YulFunctionCall",
"src": "694:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "685:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "479:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "487:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "495:5:1",
"type": ""
}
],
"src": "439:340:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "837:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "847:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "869:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "856:12:1"
},
"nodeType": "YulFunctionCall",
"src": "856:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "847:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "912:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "885:26:1"
},
"nodeType": "YulFunctionCall",
"src": "885:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "885:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "815:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "823:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "831:5:1",
"type": ""
}
],
"src": "785:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1006:433:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1052:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1054:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1054:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1054:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1027:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1036:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1023:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1023:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1048:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1019:32:1"
},
"nodeType": "YulIf",
"src": "1016:119:1"
},
{
"nodeType": "YulBlock",
"src": "1145:287:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1160:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1191:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1202:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1187:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1187:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1174:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1174:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1164:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1252:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1254:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1254:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1254:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1224:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1232:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1221:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1221:30:1"
},
"nodeType": "YulIf",
"src": "1218:117:1"
},
{
"nodeType": "YulAssignment",
"src": "1349:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1394:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1405:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1390:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1390:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1414:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1359:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1359:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1349:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "976:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "987:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "999:6:1",
"type": ""
}
],
"src": "930:509:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1511:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1557:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1559:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1559:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1559:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1532:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1541:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1528:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1528:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1553:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1524:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1524:32:1"
},
"nodeType": "YulIf",
"src": "1521:119:1"
},
{
"nodeType": "YulBlock",
"src": "1650:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1665:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1679:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1669:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1694:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1729:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1740:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1725:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1725:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1749:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1704:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1704:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1694:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1481:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1492:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1504:6:1",
"type": ""
}
],
"src": "1445:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1845:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1862:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1885:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1867:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1867:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1855:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1855:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "1855:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1833:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1840:3:1",
"type": ""
}
],
"src": "1780:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1963:50:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1980:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2000:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "1985:14:1"
},
"nodeType": "YulFunctionCall",
"src": "1985:21:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1973:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1973:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1973:34:1"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1951:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1958:3:1",
"type": ""
}
],
"src": "1904:109:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2111:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2121:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2168:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2135:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2135:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2125:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2183:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2249:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2254:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2190:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2190:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2183:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2296:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2303:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2292:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2292:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2310:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2315:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2270:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2270:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2270:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2331:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2342:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2369:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2347:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2347:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2338:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2338:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2331:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2092:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2099:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2107:3:1",
"type": ""
}
],
"src": "2019:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2454:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2471:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2494:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2476:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2476:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2464:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2464:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "2464:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2442:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2449:3:1",
"type": ""
}
],
"src": "2389:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2611:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2621:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2633:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2644:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2629:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2629:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2621:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2701:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2714:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2725:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2710:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2710:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "2657:43:1"
},
"nodeType": "YulFunctionCall",
"src": "2657:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "2657:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2583:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2595:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2606:4:1",
"type": ""
}
],
"src": "2513:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2833:118:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2843:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2855:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2866:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2851:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2851:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2843:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2917:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2930:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2941:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2926:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2926:17:1"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "2879:37:1"
},
"nodeType": "YulFunctionCall",
"src": "2879:65:1"
},
"nodeType": "YulExpressionStatement",
"src": "2879:65:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2805:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2817:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2828:4:1",
"type": ""
}
],
"src": "2741:210:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3075:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3085:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3097:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3108:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3093:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3093:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3085:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3132:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3143:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3128:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3128:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3151:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3157:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3147:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3147:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3121:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3121:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "3121:47:1"
},
{
"nodeType": "YulAssignment",
"src": "3177:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3249:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3258:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3185:63:1"
},
"nodeType": "YulFunctionCall",
"src": "3185:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3177:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3047:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3059:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3070:4:1",
"type": ""
}
],
"src": "2957:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3374:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3384:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3396:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3407:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3392:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3392:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3384:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3464:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3477:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3488:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3473:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3473:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3420:43:1"
},
"nodeType": "YulFunctionCall",
"src": "3420:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "3420:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3346:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3358:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3369:4:1",
"type": ""
}
],
"src": "3276:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3545:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3555:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "3565:18:1"
},
"nodeType": "YulFunctionCall",
"src": "3565:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3555:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3614:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3622:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "3594:19:1"
},
"nodeType": "YulFunctionCall",
"src": "3594:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "3594:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3529:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3538:6:1",
"type": ""
}
],
"src": "3504:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3679:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3689:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3705:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3699:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3699:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3689:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3672:6:1",
"type": ""
}
],
"src": "3639:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3787:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3892:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3894:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3894:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3894:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3864:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3872:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3861:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3861:30:1"
},
"nodeType": "YulIf",
"src": "3858:56:1"
},
{
"nodeType": "YulAssignment",
"src": "3924:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3954:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3932:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3932:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3924:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3998:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4010:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4016:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4006:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4006:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3998:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3771:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3782:4:1",
"type": ""
}
],
"src": "3720:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4093:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4104:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4120:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4114:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4114:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4104:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4076:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4086:6:1",
"type": ""
}
],
"src": "4034:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4235:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4252:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4257:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4245:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4245:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4245:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4273:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4292:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4297:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4288:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4288:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4273:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4207:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4212:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4223:11:1",
"type": ""
}
],
"src": "4139:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4359:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4369:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4398:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "4380:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4380:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4369:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4341:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4351:7:1",
"type": ""
}
],
"src": "4314:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4458:48:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4468:32:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4493:5:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4486:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4486:13:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4479:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4479:21:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4468:7:1"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4440:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4450:7:1",
"type": ""
}
],
"src": "4416:90:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4557:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4567:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4582:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4589:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4578:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4578:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4567:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4539:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4549:7:1",
"type": ""
}
],
"src": "4512:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4689:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4699:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "4710:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4699:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4671:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4681:7:1",
"type": ""
}
],
"src": "4644:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4778:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4801:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4806:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4811:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "4788:12:1"
},
"nodeType": "YulFunctionCall",
"src": "4788:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "4788:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4859:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4864:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4855:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4855:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4873:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4848:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4848:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4848:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4760:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4765:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4770:6:1",
"type": ""
}
],
"src": "4727:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4936:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4946:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4955:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "4950:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5015:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5040:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5045:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5036:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5036:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5059:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5064:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5055:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5055:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5049:5:1"
},
"nodeType": "YulFunctionCall",
"src": "5049:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5029:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5029:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "5029:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4976:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4979:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4973:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4973:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "4987:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4989:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4998:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5001:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4994:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4994:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4989:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "4969:3:1",
"statements": []
},
"src": "4965:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5112:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5162:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5167:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5158:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5158:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5176:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5151:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5151:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "5151:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5093:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5096:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5090:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5090:13:1"
},
"nodeType": "YulIf",
"src": "5087:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4918:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4923:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4928:6:1",
"type": ""
}
],
"src": "4887:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5251:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5261:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5275:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5281:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "5271:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5271:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5261:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "5292:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5322:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5328:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5318:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5318:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "5296:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5369:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5383:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5397:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5405:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5393:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5393:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5383:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5349:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5342:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5342:26:1"
},
"nodeType": "YulIf",
"src": "5339:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5472:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "5486:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5486:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5486:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5436:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5459:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5467:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5456:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5456:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5433:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5433:38:1"
},
"nodeType": "YulIf",
"src": "5430:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5235:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5244:6:1",
"type": ""
}
],
"src": "5200:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5569:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5579:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5601:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5631:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5609:21:1"
},
"nodeType": "YulFunctionCall",
"src": "5609:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5597:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5597:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "5583:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5748:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5750:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5750:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5750:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5691:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5703:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5688:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5688:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5727:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5739:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5724:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5724:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "5685:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5685:62:1"
},
"nodeType": "YulIf",
"src": "5682:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5786:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5790:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5779:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5779:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "5779:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5555:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5563:4:1",
"type": ""
}
],
"src": "5526:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5841:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5858:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5861:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5851:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5851:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5851:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5955:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5958:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5948:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5948:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5948:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5979:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5982:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5972:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5972:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5972:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "5813:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6027:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6044:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6047:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6037:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6037:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6037:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6141:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6144:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6134:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6134:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6134:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6165:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6168:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6158:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6158:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6158:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "5999:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6274:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6291:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6294:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6284:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6284:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6284:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "6185:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6397:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6414:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6417:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6407:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6407:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6407:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "6308:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6520:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6537:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6540:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6530:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6530:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6530:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "6431:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6643:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6660:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6663:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6653:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6653:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6653:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "6554:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6725:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6735:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6753:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6760:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6749:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6749:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6769:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "6765:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6765:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6745:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6745:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "6735:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6708:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "6718:6:1",
"type": ""
}
],
"src": "6677:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6828:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6885:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6894:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6897:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6887:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6887:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6887:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6851:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6876:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6858:17:1"
},
"nodeType": "YulFunctionCall",
"src": "6858:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6848:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6848:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6841:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6841:43:1"
},
"nodeType": "YulIf",
"src": "6838:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6821:5:1",
"type": ""
}
],
"src": "6785:122:1"
}
]
},
"contents": "{\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\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_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {
"7": [
{
"length": 32,
"start": 468
}
]
},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100625760003560e01c806302c7e7af14610067578063516f279e14610085578063827bfbdf146100a35780638da5cb5b146100bf57806391b7f5ed146100dd57806398d5fdca146100f9575b600080fd5b61006f610117565b60405161007c919061042f565b60405180910390f35b61008d61012a565b60405161009a919061044a565b60405180910390f35b6100bd60048036038101906100b89190610338565b6101b8565b005b6100c76101d2565b6040516100d49190610414565b60405180910390f35b6100f760048036038101906100f29190610381565b6101f6565b005b610101610207565b60405161010e919061046c565b60405180910390f35b600260009054906101000a900460ff1681565b6001805461013790610583565b80601f016020809104026020016040519081016040528092919081815260200182805461016390610583565b80156101b05780601f10610185576101008083540402835291602001916101b0565b820191906000526020600020905b81548152906001019060200180831161019357829003601f168201915b505050505081565b80600190805190602001906101ce929190610210565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600a9050816000819055505050565b60008054905090565b82805461021c90610583565b90600052602060002090601f01602090048101928261023e5760008555610285565b82601f1061025757805160ff1916838001178555610285565b82800160010185558215610285579182015b82811115610284578251825591602001919060010190610269565b5b5090506102929190610296565b5090565b5b808211156102af576000816000905550600101610297565b5090565b60006102c66102c1846104ac565b610487565b9050828152602081018484840111156102e2576102e1610649565b5b6102ed848285610541565b509392505050565b600082601f83011261030a57610309610644565b5b813561031a8482602086016102b3565b91505092915050565b60008135905061033281610669565b92915050565b60006020828403121561034e5761034d610653565b5b600082013567ffffffffffffffff81111561036c5761036b61064e565b5b610378848285016102f5565b91505092915050565b60006020828403121561039757610396610653565b5b60006103a584828501610323565b91505092915050565b6103b7816104f9565b82525050565b6103c68161050b565b82525050565b60006103d7826104dd565b6103e181856104e8565b93506103f1818560208601610550565b6103fa81610658565b840191505092915050565b61040e81610537565b82525050565b600060208201905061042960008301846103ae565b92915050565b600060208201905061044460008301846103bd565b92915050565b6000602082019050818103600083015261046481846103cc565b905092915050565b60006020820190506104816000830184610405565b92915050565b60006104916104a2565b905061049d82826105b5565b919050565b6000604051905090565b600067ffffffffffffffff8211156104c7576104c6610615565b5b6104d082610658565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600061050482610517565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561056e578082015181840152602081019050610553565b8381111561057d576000848401525b50505050565b6000600282049050600182168061059b57607f821691505b602082108114156105af576105ae6105e6565b5b50919050565b6105be82610658565b810181811067ffffffffffffffff821117156105dd576105dc610615565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61067281610537565b811461067d57600080fd5b5056fea264697066735822122007536ced70317dc2b97ad6a825ab751860e540ee3755a62f786aa1dd8ac499a064736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x62 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2C7E7AF EQ PUSH2 0x67 JUMPI DUP1 PUSH4 0x516F279E EQ PUSH2 0x85 JUMPI DUP1 PUSH4 0x827BFBDF EQ PUSH2 0xA3 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xBF JUMPI DUP1 PUSH4 0x91B7F5ED EQ PUSH2 0xDD JUMPI DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0xF9 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6F PUSH2 0x117 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7C SWAP2 SWAP1 PUSH2 0x42F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8D PUSH2 0x12A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9A SWAP2 SWAP1 PUSH2 0x44A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xBD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xB8 SWAP2 SWAP1 PUSH2 0x338 JUMP JUMPDEST PUSH2 0x1B8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xC7 PUSH2 0x1D2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD4 SWAP2 SWAP1 PUSH2 0x414 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xF7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF2 SWAP2 SWAP1 PUSH2 0x381 JUMP JUMPDEST PUSH2 0x1F6 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x101 PUSH2 0x207 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10E SWAP2 SWAP1 PUSH2 0x46C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x137 SWAP1 PUSH2 0x583 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x163 SWAP1 PUSH2 0x583 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1B0 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x185 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1B0 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x193 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP1 PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x1CE SWAP3 SWAP2 SWAP1 PUSH2 0x210 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA SWAP1 POP DUP2 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x21C SWAP1 PUSH2 0x583 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x23E JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x285 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x257 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x285 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x285 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x284 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x269 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x292 SWAP2 SWAP1 PUSH2 0x296 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x2AF JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x297 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2C6 PUSH2 0x2C1 DUP5 PUSH2 0x4AC JUMP JUMPDEST PUSH2 0x487 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x2E2 JUMPI PUSH2 0x2E1 PUSH2 0x649 JUMP JUMPDEST JUMPDEST PUSH2 0x2ED DUP5 DUP3 DUP6 PUSH2 0x541 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x30A JUMPI PUSH2 0x309 PUSH2 0x644 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x31A DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x2B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x332 DUP2 PUSH2 0x669 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x34E JUMPI PUSH2 0x34D PUSH2 0x653 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x36C JUMPI PUSH2 0x36B PUSH2 0x64E JUMP JUMPDEST JUMPDEST PUSH2 0x378 DUP5 DUP3 DUP6 ADD PUSH2 0x2F5 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x397 JUMPI PUSH2 0x396 PUSH2 0x653 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3A5 DUP5 DUP3 DUP6 ADD PUSH2 0x323 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x3B7 DUP2 PUSH2 0x4F9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x3C6 DUP2 PUSH2 0x50B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D7 DUP3 PUSH2 0x4DD JUMP JUMPDEST PUSH2 0x3E1 DUP2 DUP6 PUSH2 0x4E8 JUMP JUMPDEST SWAP4 POP PUSH2 0x3F1 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x550 JUMP JUMPDEST PUSH2 0x3FA DUP2 PUSH2 0x658 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x40E DUP2 PUSH2 0x537 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x429 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3AE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x444 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3BD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x464 DUP2 DUP5 PUSH2 0x3CC JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x481 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x405 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x491 PUSH2 0x4A2 JUMP JUMPDEST SWAP1 POP PUSH2 0x49D DUP3 DUP3 PUSH2 0x5B5 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x4C7 JUMPI PUSH2 0x4C6 PUSH2 0x615 JUMP JUMPDEST JUMPDEST PUSH2 0x4D0 DUP3 PUSH2 0x658 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x504 DUP3 PUSH2 0x517 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x56E JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x553 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x57D JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x59B JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x5AF JUMPI PUSH2 0x5AE PUSH2 0x5E6 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x5BE DUP3 PUSH2 0x658 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x5DD JUMPI PUSH2 0x5DC PUSH2 0x615 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x672 DUP2 PUSH2 0x537 JUMP JUMPDEST DUP2 EQ PUSH2 0x67D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SMOD MSTORE8 PUSH13 0xED70317DC2B97AD6A825AB7518 PUSH1 0xE5 BLOCKHASH 0xEE CALLDATACOPY SSTORE 0xA6 0x2F PUSH25 0x6AA1DD8AC499A064736F6C6343000807003300000000000000 ",
"sourceMap": "75:1254:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;410:24;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;203:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1179:141;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;307:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;817:136;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1081:86;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;410:24;;;;;;;;;;;;;:::o;203:22::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1179:141::-;1303:9;1292:8;:20;;;;;;;;;;;;:::i;:::-;;1179:141;:::o;307:30::-;;;:::o;817:136::-;865:5;918:2;914:6;;939;931:5;:14;;;;854:99;817:136;:::o;1081:86::-;1121:4;1144:5;;1137:12;;1081:86;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:412:1:-;85:5;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:112;;;282:79;;:::i;:::-;251:112;372:41;406:6;401:3;396;372:41;:::i;:::-;91:328;7:412;;;;;:::o;439:340::-;495:5;544:3;537:4;529:6;525:17;521:27;511:122;;552:79;;:::i;:::-;511:122;669:6;656:20;694:79;769:3;761:6;754:4;746:6;742:17;694:79;:::i;:::-;685:88;;501:278;439:340;;;;:::o;785:139::-;831:5;869:6;856:20;847:29;;885:33;912:5;885:33;:::i;:::-;785:139;;;;:::o;930:509::-;999:6;1048:2;1036:9;1027:7;1023:23;1019:32;1016:119;;;1054:79;;:::i;:::-;1016:119;1202:1;1191:9;1187:17;1174:31;1232:18;1224:6;1221:30;1218:117;;;1254:79;;:::i;:::-;1218:117;1359:63;1414:7;1405:6;1394:9;1390:22;1359:63;:::i;:::-;1349:73;;1145:287;930:509;;;;:::o;1445:329::-;1504:6;1553:2;1541:9;1532:7;1528:23;1524:32;1521:119;;;1559:79;;:::i;:::-;1521:119;1679:1;1704:53;1749:7;1740:6;1729:9;1725:22;1704:53;:::i;:::-;1694:63;;1650:117;1445:329;;;;:::o;1780:118::-;1867:24;1885:5;1867:24;:::i;:::-;1862:3;1855:37;1780:118;;:::o;1904:109::-;1985:21;2000:5;1985:21;:::i;:::-;1980:3;1973:34;1904:109;;:::o;2019:364::-;2107:3;2135:39;2168:5;2135:39;:::i;:::-;2190:71;2254:6;2249:3;2190:71;:::i;:::-;2183:78;;2270:52;2315:6;2310:3;2303:4;2296:5;2292:16;2270:52;:::i;:::-;2347:29;2369:6;2347:29;:::i;:::-;2342:3;2338:39;2331:46;;2111:272;2019:364;;;;:::o;2389:118::-;2476:24;2494:5;2476:24;:::i;:::-;2471:3;2464:37;2389:118;;:::o;2513:222::-;2606:4;2644:2;2633:9;2629:18;2621:26;;2657:71;2725:1;2714:9;2710:17;2701:6;2657:71;:::i;:::-;2513:222;;;;:::o;2741:210::-;2828:4;2866:2;2855:9;2851:18;2843:26;;2879:65;2941:1;2930:9;2926:17;2917:6;2879:65;:::i;:::-;2741:210;;;;:::o;2957:313::-;3070:4;3108:2;3097:9;3093:18;3085:26;;3157:9;3151:4;3147:20;3143:1;3132:9;3128:17;3121:47;3185:78;3258:4;3249:6;3185:78;:::i;:::-;3177:86;;2957:313;;;;:::o;3276:222::-;3369:4;3407:2;3396:9;3392:18;3384:26;;3420:71;3488:1;3477:9;3473:17;3464:6;3420:71;:::i;:::-;3276:222;;;;:::o;3504:129::-;3538:6;3565:20;;:::i;:::-;3555:30;;3594:33;3622:4;3614:6;3594:33;:::i;:::-;3504:129;;;:::o;3639:75::-;3672:6;3705:2;3699:9;3689:19;;3639:75;:::o;3720:308::-;3782:4;3872:18;3864:6;3861:30;3858:56;;;3894:18;;:::i;:::-;3858:56;3932:29;3954:6;3932:29;:::i;:::-;3924:37;;4016:4;4010;4006:15;3998:23;;3720:308;;;:::o;4034:99::-;4086:6;4120:5;4114:12;4104:22;;4034:99;;;:::o;4139:169::-;4223:11;4257:6;4252:3;4245:19;4297:4;4292:3;4288:14;4273:29;;4139:169;;;;:::o;4314:96::-;4351:7;4380:24;4398:5;4380:24;:::i;:::-;4369:35;;4314:96;;;:::o;4416:90::-;4450:7;4493:5;4486:13;4479:21;4468:32;;4416:90;;;:::o;4512:126::-;4549:7;4589:42;4582:5;4578:54;4567:65;;4512:126;;;:::o;4644:77::-;4681:7;4710:5;4699:16;;4644:77;;;:::o;4727:154::-;4811:6;4806:3;4801;4788:30;4873:1;4864:6;4859:3;4855:16;4848:27;4727:154;;;:::o;4887:307::-;4955:1;4965:113;4979:6;4976:1;4973:13;4965:113;;;5064:1;5059:3;5055:11;5049:18;5045:1;5040:3;5036:11;5029:39;5001:2;4998:1;4994:10;4989:15;;4965:113;;;5096:6;5093:1;5090:13;5087:101;;;5176:1;5167:6;5162:3;5158:16;5151:27;5087:101;4936:258;4887:307;;;:::o;5200:320::-;5244:6;5281:1;5275:4;5271:12;5261:22;;5328:1;5322:4;5318:12;5349:18;5339:81;;5405:4;5397:6;5393:17;5383:27;;5339:81;5467:2;5459:6;5456:14;5436:18;5433:38;5430:84;;;5486:18;;:::i;:::-;5430:84;5251:269;5200:320;;;:::o;5526:281::-;5609:27;5631:4;5609:27;:::i;:::-;5601:6;5597:40;5739:6;5727:10;5724:22;5703:18;5691:10;5688:34;5685:62;5682:88;;;5750:18;;:::i;:::-;5682:88;5790:10;5786:2;5779:22;5569:238;5526:281;;:::o;5813:180::-;5861:77;5858:1;5851:88;5958:4;5955:1;5948:15;5982:4;5979:1;5972:15;5999:180;6047:77;6044:1;6037:88;6144:4;6141:1;6134:15;6168:4;6165:1;6158:15;6185:117;6294:1;6291;6284:12;6308:117;6417:1;6414;6407:12;6431:117;6540:1;6537;6530:12;6554:117;6663:1;6660;6653:12;6677:102;6718:6;6769:2;6765:7;6760:2;6753:5;6749:14;6745:28;6735:38;;6677:102;;;:::o;6785:122::-;6858:24;6876:5;6858:24;:::i;:::-;6851:5;6848:35;6838:63;;6897:1;6894;6887:12;6838:63;6785:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "343600",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"getPrice()": "2525",
"location()": "infinite",
"owner()": "infinite",
"setLocation(string)": "infinite",
"setPrice(uint256)": "22599",
"sold()": "2449"
}
},
"methodIdentifiers": {
"getPrice()": "98d5fdca",
"location()": "516f279e",
"owner()": "8da5cb5b",
"setLocation(string)": "827bfbdf",
"setPrice(uint256)": "91b7f5ed",
"sold()": "02c7e7af"
}
},
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
},
{
"internalType": "string",
"name": "_location",
"type": "string"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "location",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_location",
"type": "string"
}
],
"name": "setLocation",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
}
],
"name": "setPrice",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "sold",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
},
{
"internalType": "string",
"name": "_location",
"type": "string"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "location",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_location",
"type": "string"
}
],
"name": "setLocation",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_price",
"type": "uint256"
}
],
"name": "setPrice",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "sold",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"names_and_variables.sol": "Property"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"names_and_variables.sol": {
"keccak256": "0xd1d35754d9d2f32c8a2036a403be1a44704aba315c901171d7bc441d883828ba",
"license": "GPL-3.0",
"urls": [
"bzz-raw://cd35b7852e2def0c55a5f13535c8d3727a12d06a0ae2c8ae9f9a57796f423ab6",
"dweb:/ipfs/QmVsSK3bbsSuThNzTgAeWJ8QTTfB5pWpwRrEDHFJeAPdqt"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_12": {
"entryPoint": null,
"id": 12,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506105f6806100606000396000f3fe6080604052600436106100595760003560e01c806305b1137b1461006257806312065fe01461009f578063636e082b146100ca57806374be4806146100e65780638da5cb5b14610102578063e4dc4f551461012d57610060565b3661006057005b005b34801561006e57600080fd5b50610089600480360381019061008491906103b2565b610149565b6040516100969190610495565b60405180910390f35b3480156100ab57600080fd5b506100b46101b4565b6040516100c191906104d0565b60405180910390f35b6100e460048036038101906100df9190610385565b6101bc565b005b61010060048036038101906100fb9190610385565b610206565b005b34801561010e57600080fd5b50610117610283565b604051610124919061047a565b60405180910390f35b610147600480360381019061014291906103b2565b6102a7565b005b60006101536101b4565b82116101a9578273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561019f573d6000803e3d6000fd5b50600190506101ae565b600090505b92915050565b600047905090565b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610202573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505090508061027f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610276906104b0565b60405180910390fd5b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808373ffffffffffffffffffffffffffffffffffffffff16836040516102ce90610465565b60006040518083038185875af1925050503d806000811461030b576040519150601f19603f3d011682016040523d82523d6000602084013e610310565b606091505b509150915081610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c906104b0565b60405180910390fd5b50505050565b60008135905061036a81610592565b92915050565b60008135905061037f816105a9565b92915050565b60006020828403121561039b5761039a610561565b5b60006103a98482850161035b565b91505092915050565b600080604083850312156103c9576103c8610561565b5b60006103d78582860161035b565b92505060206103e885828601610370565b9150509250929050565b6103fb81610507565b82525050565b61040a8161052b565b82525050565b600061041d6014836104f6565b915061042882610566565b602082019050919050565b60006104406000836104eb565b915061044b8261058f565b600082019050919050565b61045f81610557565b82525050565b600061047082610433565b9150819050919050565b600060208201905061048f60008301846103f2565b92915050565b60006020820190506104aa6000830184610401565b92915050565b600060208201905081810360008301526104c981610410565b9050919050565b60006020820190506104e56000830184610456565b92915050565b600081905092915050565b600082825260208201905092915050565b600061051282610537565b9050919050565b600061052482610537565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61059b81610519565b81146105a657600080fd5b50565b6105b281610557565b81146105bd57600080fd5b5056fea264697066735822122012504eee02e8dbaedfa7a90b35baeb182ab03ac3be5312cc70933c9112bd0aec64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x5F6 DUP1 PUSH2 0x60 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x59 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5B1137B EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x12065FE0 EQ PUSH2 0x9F JUMPI DUP1 PUSH4 0x636E082B EQ PUSH2 0xCA JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0xE6 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x102 JUMPI DUP1 PUSH4 0xE4DC4F55 EQ PUSH2 0x12D JUMPI PUSH2 0x60 JUMP JUMPDEST CALLDATASIZE PUSH2 0x60 JUMPI STOP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x6E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x89 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x84 SWAP2 SWAP1 PUSH2 0x3B2 JUMP JUMPDEST PUSH2 0x149 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x96 SWAP2 SWAP1 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xAB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB4 PUSH2 0x1B4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC1 SWAP2 SWAP1 PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDF SWAP2 SWAP1 PUSH2 0x385 JUMP JUMPDEST PUSH2 0x1BC JUMP JUMPDEST STOP JUMPDEST PUSH2 0x100 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFB SWAP2 SWAP1 PUSH2 0x385 JUMP JUMPDEST PUSH2 0x206 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x117 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x124 SWAP2 SWAP1 PUSH2 0x47A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x147 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x142 SWAP2 SWAP1 PUSH2 0x3B2 JUMP JUMPDEST PUSH2 0x2A7 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0x153 PUSH2 0x1B4 JUMP JUMPDEST DUP3 GT PUSH2 0x1A9 JUMPI DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP4 SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x19F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 SWAP1 POP PUSH2 0x1AE JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x202 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x27F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x276 SWAP1 PUSH2 0x4B0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0x2CE SWAP1 PUSH2 0x465 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x30B JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x310 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x355 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x34C SWAP1 PUSH2 0x4B0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x36A DUP2 PUSH2 0x592 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x37F DUP2 PUSH2 0x5A9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x39B JUMPI PUSH2 0x39A PUSH2 0x561 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3A9 DUP5 DUP3 DUP6 ADD PUSH2 0x35B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x3C9 JUMPI PUSH2 0x3C8 PUSH2 0x561 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3D7 DUP6 DUP3 DUP7 ADD PUSH2 0x35B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x3E8 DUP6 DUP3 DUP7 ADD PUSH2 0x370 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x3FB DUP2 PUSH2 0x507 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x40A DUP2 PUSH2 0x52B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x41D PUSH1 0x14 DUP4 PUSH2 0x4F6 JUMP JUMPDEST SWAP2 POP PUSH2 0x428 DUP3 PUSH2 0x566 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x440 PUSH1 0x0 DUP4 PUSH2 0x4EB JUMP JUMPDEST SWAP2 POP PUSH2 0x44B DUP3 PUSH2 0x58F JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x45F DUP2 PUSH2 0x557 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x470 DUP3 PUSH2 0x433 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x48F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3F2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x4AA PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x401 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x4C9 DUP2 PUSH2 0x410 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x4E5 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x456 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x512 DUP3 PUSH2 0x537 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x524 DUP3 PUSH2 0x537 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x59B DUP2 PUSH2 0x519 JUMP JUMPDEST DUP2 EQ PUSH2 0x5A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x5B2 DUP2 PUSH2 0x557 JUMP JUMPDEST DUP2 EQ PUSH2 0x5BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SLT POP 0x4E 0xEE MUL 0xE8 0xDB 0xAE 0xDF 0xA7 0xA9 SIGNEXTEND CALLDATALOAD 0xBA 0xEB XOR 0x2A 0xB0 GASPRICE 0xC3 0xBE MSTORE8 SLT 0xCC PUSH17 0x933C9112BD0AEC64736F6C634300080700 CALLER ",
"sourceMap": "60:2267:0:-:0;;;438:54;;;;;;;;;;470:10;462:5;;:18;;;;;;;;;;;;;;;;;;60:2267;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_16": {
"entryPoint": null,
"id": 16,
"parameterSlots": 0,
"returnSlots": 0
},
"@_20": {
"entryPoint": null,
"id": 20,
"parameterSlots": 0,
"returnSlots": 0
},
"@getBalance_59": {
"entryPoint": 436,
"id": 59,
"parameterSlots": 0,
"returnSlots": 1
},
"@owner_3": {
"entryPoint": 643,
"id": 3,
"parameterSlots": 0,
"returnSlots": 0
},
"@sendViaCall_115": {
"entryPoint": 679,
"id": 115,
"parameterSlots": 2,
"returnSlots": 0
},
"@sendViaSend_91": {
"entryPoint": 518,
"id": 91,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendViaTransfer_72": {
"entryPoint": 444,
"id": 72,
"parameterSlots": 1,
"returnSlots": 0
},
"@transferEther_47": {
"entryPoint": 329,
"id": 47,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_address_payable": {
"entryPoint": 859,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 880,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_payable": {
"entryPoint": 901,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_payablet_uint256": {
"entryPoint": 946,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 1010,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 1025,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1040,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 1075,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 1110,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 1125,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 1146,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 1173,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1200,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 1232,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 1259,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1270,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 1287,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_address_payable": {
"entryPoint": 1305,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 1323,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 1335,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 1367,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1377,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb": {
"entryPoint": 1382,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470": {
"entryPoint": 1423,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address_payable": {
"entryPoint": 1426,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 1449,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:5524:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "67:95:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "99:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "86:12:1"
},
"nodeType": "YulFunctionCall",
"src": "86:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "77:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "150:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address_payable",
"nodeType": "YulIdentifier",
"src": "115:34:1"
},
"nodeType": "YulFunctionCall",
"src": "115:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "115:41:1"
}
]
},
"name": "abi_decode_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "45:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "53:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "61:5:1",
"type": ""
}
],
"src": "7:155:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "220:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "230:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "252:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "239:12:1"
},
"nodeType": "YulFunctionCall",
"src": "239:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "230:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "295:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "268:26:1"
},
"nodeType": "YulFunctionCall",
"src": "268:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "268:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "198:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "206:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "214:5:1",
"type": ""
}
],
"src": "168:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "387:271:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "433:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "435:77:1"
},
"nodeType": "YulFunctionCall",
"src": "435:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "435:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "408:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "417:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "404:3:1"
},
"nodeType": "YulFunctionCall",
"src": "404:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "429:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "400:3:1"
},
"nodeType": "YulFunctionCall",
"src": "400:32:1"
},
"nodeType": "YulIf",
"src": "397:119:1"
},
{
"nodeType": "YulBlock",
"src": "526:125:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "541:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "555:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "545:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "570:71:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "613:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "624:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "609:3:1"
},
"nodeType": "YulFunctionCall",
"src": "609:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "633:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address_payable",
"nodeType": "YulIdentifier",
"src": "580:28:1"
},
"nodeType": "YulFunctionCall",
"src": "580:61:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "570:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "357:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "368:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "380:6:1",
"type": ""
}
],
"src": "313:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "755:399:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "801:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "803:77:1"
},
"nodeType": "YulFunctionCall",
"src": "803:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "803:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "776:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "785:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "772:3:1"
},
"nodeType": "YulFunctionCall",
"src": "772:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "797:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "768:3:1"
},
"nodeType": "YulFunctionCall",
"src": "768:32:1"
},
"nodeType": "YulIf",
"src": "765:119:1"
},
{
"nodeType": "YulBlock",
"src": "894:125:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "909:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "923:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "913:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "938:71:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "981:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "992:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "977:3:1"
},
"nodeType": "YulFunctionCall",
"src": "977:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1001:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address_payable",
"nodeType": "YulIdentifier",
"src": "948:28:1"
},
"nodeType": "YulFunctionCall",
"src": "948:61:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "938:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1029:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1044:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1058:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1048:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1074:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1109:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1120:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1105:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1105:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1129:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1084:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1084:53:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1074:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_payablet_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "717:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "728:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "740:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "748:6:1",
"type": ""
}
],
"src": "664:490:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1225:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1242:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1265:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1247:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1247:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1235:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1235:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "1235:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1213:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1220:3:1",
"type": ""
}
],
"src": "1160:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1343:50:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1360:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1380:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "1365:14:1"
},
"nodeType": "YulFunctionCall",
"src": "1365:21:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1353:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1353:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1353:34:1"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1331:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1338:3:1",
"type": ""
}
],
"src": "1284:109:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1545:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1555:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1621:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1626:2:1",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1562:58:1"
},
"nodeType": "YulFunctionCall",
"src": "1562:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1555:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1727:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulIdentifier",
"src": "1638:88:1"
},
"nodeType": "YulFunctionCall",
"src": "1638:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "1638:93:1"
},
{
"nodeType": "YulAssignment",
"src": "1740:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1751:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1756:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1747:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1747:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1740:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1533:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1541:3:1",
"type": ""
}
],
"src": "1399:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1934:235:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1944:90:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2027:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2032:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1951:75:1"
},
"nodeType": "YulFunctionCall",
"src": "1951:83:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1944:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2132:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulIdentifier",
"src": "2043:88:1"
},
"nodeType": "YulFunctionCall",
"src": "2043:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "2043:93:1"
},
{
"nodeType": "YulAssignment",
"src": "2145:18:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2156:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2161:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2152:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2152:11:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2145:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1922:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1930:3:1",
"type": ""
}
],
"src": "1771:398:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2240:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2257:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2280:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2262:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2262:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2250:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2250:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "2250:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2228:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2235:3:1",
"type": ""
}
],
"src": "2175:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2487:191:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2498:154:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2648:3:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "2505:141:1"
},
"nodeType": "YulFunctionCall",
"src": "2505:147:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2498:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2662:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2669:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2662:3:1"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2474:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2483:3:1",
"type": ""
}
],
"src": "2299:379:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2782:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2792:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2804:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2815:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2800:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2800:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2792:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2872:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2885:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2896:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2881:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2881:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "2828:43:1"
},
"nodeType": "YulFunctionCall",
"src": "2828:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "2828:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2754:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2766:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2777:4:1",
"type": ""
}
],
"src": "2684:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3004:118:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3014:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3026:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3037:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3022:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3022:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3014:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3088:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3101:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3112:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3097:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3097:17:1"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "3050:37:1"
},
"nodeType": "YulFunctionCall",
"src": "3050:65:1"
},
"nodeType": "YulExpressionStatement",
"src": "3050:65:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2976:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2988:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2999:4:1",
"type": ""
}
],
"src": "2912:210:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3299:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3309:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3321:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3332:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3317:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3317:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3309:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3356:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3367:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3352:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3352:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3375:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3381:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3371:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3371:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3345:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3345:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "3345:47:1"
},
{
"nodeType": "YulAssignment",
"src": "3401:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3535:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3409:124:1"
},
"nodeType": "YulFunctionCall",
"src": "3409:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3401:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3279:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3294:4:1",
"type": ""
}
],
"src": "3128:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3651:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3661:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3673:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3684:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3669:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3669:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3661:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3741:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3754:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3765:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3750:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3750:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3697:43:1"
},
"nodeType": "YulFunctionCall",
"src": "3697:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "3697:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3623:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3635:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3646:4:1",
"type": ""
}
],
"src": "3553:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3821:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3831:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3847:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3841:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3841:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3831:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3814:6:1",
"type": ""
}
],
"src": "3781:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3975:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3985:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4000:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "3985:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3947:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3952:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "3963:11:1",
"type": ""
}
],
"src": "3862:147:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4111:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4128:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4133:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4121:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4121:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4121:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4149:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4168:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4173:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4164:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4164:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4149:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4083:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4088:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4099:11:1",
"type": ""
}
],
"src": "4015:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4235:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4245:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4274:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "4256:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4256:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4245:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4217:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4227:7:1",
"type": ""
}
],
"src": "4190:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4345:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4355:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4384:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "4366:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4366:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4355:7:1"
}
]
}
]
},
"name": "cleanup_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4327:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4337:7:1",
"type": ""
}
],
"src": "4292:104:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4444:48:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4454:32:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4479:5:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4472:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4472:13:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4465:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4465:21:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4454:7:1"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4426:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4436:7:1",
"type": ""
}
],
"src": "4402:90:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4543:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4553:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4568:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4575:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4564:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4564:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4553:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4525:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4535:7:1",
"type": ""
}
],
"src": "4498:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4675:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4685:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "4696:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4685:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4657:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4667:7:1",
"type": ""
}
],
"src": "4630:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4802:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4819:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4822:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4812:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4812:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4812:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "4713:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4925:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4942:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4945:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4935:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4935:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4935:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "4836:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5065:64:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5087:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5095:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5083:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5083:14:1"
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "5099:22:1",
"type": "",
"value": "Failed to send Ether"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5076:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5076:46:1"
},
"nodeType": "YulExpressionStatement",
"src": "5076:46:1"
}
]
},
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5057:6:1",
"type": ""
}
],
"src": "4959:170:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5241:8:1",
"statements": []
},
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5233:6:1",
"type": ""
}
],
"src": "5135:114:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5306:87:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5371:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5380:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5383:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5373:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5373:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5373:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5329:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5362:5:1"
}
],
"functionName": {
"name": "cleanup_t_address_payable",
"nodeType": "YulIdentifier",
"src": "5336:25:1"
},
"nodeType": "YulFunctionCall",
"src": "5336:32:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5326:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5326:43:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5319:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5319:51:1"
},
"nodeType": "YulIf",
"src": "5316:71:1"
}
]
},
"name": "validator_revert_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5299:5:1",
"type": ""
}
],
"src": "5255:138:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5442:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5499:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5508:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5511:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5501:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5501:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5501:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5465:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5490:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "5472:17:1"
},
"nodeType": "YulFunctionCall",
"src": "5472:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5462:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5462:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5455:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5455:43:1"
},
"nodeType": "YulIf",
"src": "5452:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5435:5:1",
"type": ""
}
],
"src": "5399:122:1"
}
]
},
"contents": "{\n\n function abi_decode_t_address_payable(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address_payable(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_address_payable(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_payable(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_address_payablet_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_payable(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, 0)\n store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(pos)\n end := add(pos, 0)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos ) -> end {\n\n pos := abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(memPtr) {\n\n mstore(add(memPtr, 0), \"Failed to send Ether\")\n\n }\n\n function store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(memPtr) {\n\n }\n\n function validator_revert_t_address_payable(value) {\n if iszero(eq(value, cleanup_t_address_payable(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100595760003560e01c806305b1137b1461006257806312065fe01461009f578063636e082b146100ca57806374be4806146100e65780638da5cb5b14610102578063e4dc4f551461012d57610060565b3661006057005b005b34801561006e57600080fd5b50610089600480360381019061008491906103b2565b610149565b6040516100969190610495565b60405180910390f35b3480156100ab57600080fd5b506100b46101b4565b6040516100c191906104d0565b60405180910390f35b6100e460048036038101906100df9190610385565b6101bc565b005b61010060048036038101906100fb9190610385565b610206565b005b34801561010e57600080fd5b50610117610283565b604051610124919061047a565b60405180910390f35b610147600480360381019061014291906103b2565b6102a7565b005b60006101536101b4565b82116101a9578273ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561019f573d6000803e3d6000fd5b50600190506101ae565b600090505b92915050565b600047905090565b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610202573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505090508061027f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610276906104b0565b60405180910390fd5b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808373ffffffffffffffffffffffffffffffffffffffff16836040516102ce90610465565b60006040518083038185875af1925050503d806000811461030b576040519150601f19603f3d011682016040523d82523d6000602084013e610310565b606091505b509150915081610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c906104b0565b60405180910390fd5b50505050565b60008135905061036a81610592565b92915050565b60008135905061037f816105a9565b92915050565b60006020828403121561039b5761039a610561565b5b60006103a98482850161035b565b91505092915050565b600080604083850312156103c9576103c8610561565b5b60006103d78582860161035b565b92505060206103e885828601610370565b9150509250929050565b6103fb81610507565b82525050565b61040a8161052b565b82525050565b600061041d6014836104f6565b915061042882610566565b602082019050919050565b60006104406000836104eb565b915061044b8261058f565b600082019050919050565b61045f81610557565b82525050565b600061047082610433565b9150819050919050565b600060208201905061048f60008301846103f2565b92915050565b60006020820190506104aa6000830184610401565b92915050565b600060208201905081810360008301526104c981610410565b9050919050565b60006020820190506104e56000830184610456565b92915050565b600081905092915050565b600082825260208201905092915050565b600061051282610537565b9050919050565b600061052482610537565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61059b81610519565b81146105a657600080fd5b50565b6105b281610557565b81146105bd57600080fd5b5056fea264697066735822122012504eee02e8dbaedfa7a90b35baeb182ab03ac3be5312cc70933c9112bd0aec64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x59 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5B1137B EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x12065FE0 EQ PUSH2 0x9F JUMPI DUP1 PUSH4 0x636E082B EQ PUSH2 0xCA JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0xE6 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x102 JUMPI DUP1 PUSH4 0xE4DC4F55 EQ PUSH2 0x12D JUMPI PUSH2 0x60 JUMP JUMPDEST CALLDATASIZE PUSH2 0x60 JUMPI STOP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x6E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x89 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x84 SWAP2 SWAP1 PUSH2 0x3B2 JUMP JUMPDEST PUSH2 0x149 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x96 SWAP2 SWAP1 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xAB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB4 PUSH2 0x1B4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC1 SWAP2 SWAP1 PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDF SWAP2 SWAP1 PUSH2 0x385 JUMP JUMPDEST PUSH2 0x1BC JUMP JUMPDEST STOP JUMPDEST PUSH2 0x100 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFB SWAP2 SWAP1 PUSH2 0x385 JUMP JUMPDEST PUSH2 0x206 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x10E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x117 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x124 SWAP2 SWAP1 PUSH2 0x47A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x147 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x142 SWAP2 SWAP1 PUSH2 0x3B2 JUMP JUMPDEST PUSH2 0x2A7 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0x153 PUSH2 0x1B4 JUMP JUMPDEST DUP3 GT PUSH2 0x1A9 JUMPI DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP4 SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x19F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 SWAP1 POP PUSH2 0x1AE JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x202 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x27F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x276 SWAP1 PUSH2 0x4B0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0x2CE SWAP1 PUSH2 0x465 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x30B JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x310 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x355 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x34C SWAP1 PUSH2 0x4B0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x36A DUP2 PUSH2 0x592 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x37F DUP2 PUSH2 0x5A9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x39B JUMPI PUSH2 0x39A PUSH2 0x561 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3A9 DUP5 DUP3 DUP6 ADD PUSH2 0x35B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x3C9 JUMPI PUSH2 0x3C8 PUSH2 0x561 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3D7 DUP6 DUP3 DUP7 ADD PUSH2 0x35B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x3E8 DUP6 DUP3 DUP7 ADD PUSH2 0x370 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x3FB DUP2 PUSH2 0x507 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x40A DUP2 PUSH2 0x52B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x41D PUSH1 0x14 DUP4 PUSH2 0x4F6 JUMP JUMPDEST SWAP2 POP PUSH2 0x428 DUP3 PUSH2 0x566 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x440 PUSH1 0x0 DUP4 PUSH2 0x4EB JUMP JUMPDEST SWAP2 POP PUSH2 0x44B DUP3 PUSH2 0x58F JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x45F DUP2 PUSH2 0x557 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x470 DUP3 PUSH2 0x433 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x48F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3F2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x4AA PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x401 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x4C9 DUP2 PUSH2 0x410 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x4E5 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x456 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x512 DUP3 PUSH2 0x537 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x524 DUP3 PUSH2 0x537 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x59B DUP2 PUSH2 0x519 JUMP JUMPDEST DUP2 EQ PUSH2 0x5A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x5B2 DUP2 PUSH2 0x557 JUMP JUMPDEST DUP2 EQ PUSH2 0x5BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SLT POP 0x4E 0xEE MUL 0xE8 0xDB 0xAE 0xDF 0xA7 0xA9 SIGNEXTEND CALLDATALOAD 0xBA 0xEB XOR 0x2A 0xB0 GASPRICE 0xC3 0xBE MSTORE8 SLT 0xCC PUSH17 0x933C9112BD0AEC64736F6C634300080700 CALLER ",
"sourceMap": "60:2267:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;702:647;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1359:96;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1461:173;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1642:303;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;89:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1953:371;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;702:647;780:4;1032:12;:10;:12::i;:::-;1022:6;:22;1018:324;;1235:9;:18;;:26;1254:6;1235:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1283:4;1276:11;;;;1018:324;1325:5;1318:12;;702:647;;;;;:::o;1359:96::-;1402:4;1426:21;1419:28;;1359:96;:::o;1461:173::-;1603:3;:12;;:23;1616:9;1603:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1461:173;:::o;1642:303::-;1846:9;1858:3;:8;;:19;1867:9;1858:19;;;;;;;;;;;;;;;;;;;;;;;1846:31;;1896:4;1888:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;1699:246;1642:303;:::o;89:20::-;;;;;;;;;;;;:::o;1953:371::-;2208:9;2219:17;2240:3;:8;;2256:7;2240:28;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2207:61;;;;2287:4;2279:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;2024:300;;1953:371;;:::o;7:155:1:-;61:5;99:6;86:20;77:29;;115:41;150:5;115:41;:::i;:::-;7:155;;;;:::o;168:139::-;214:5;252:6;239:20;230:29;;268:33;295:5;268:33;:::i;:::-;168:139;;;;:::o;313:345::-;380:6;429:2;417:9;408:7;404:23;400:32;397:119;;;435:79;;:::i;:::-;397:119;555:1;580:61;633:7;624:6;613:9;609:22;580:61;:::i;:::-;570:71;;526:125;313:345;;;;:::o;664:490::-;740:6;748;797:2;785:9;776:7;772:23;768:32;765:119;;;803:79;;:::i;:::-;765:119;923:1;948:61;1001:7;992:6;981:9;977:22;948:61;:::i;:::-;938:71;;894:125;1058:2;1084:53;1129:7;1120:6;1109:9;1105:22;1084:53;:::i;:::-;1074:63;;1029:118;664:490;;;;;:::o;1160:118::-;1247:24;1265:5;1247:24;:::i;:::-;1242:3;1235:37;1160:118;;:::o;1284:109::-;1365:21;1380:5;1365:21;:::i;:::-;1360:3;1353:34;1284:109;;:::o;1399:366::-;1541:3;1562:67;1626:2;1621:3;1562:67;:::i;:::-;1555:74;;1638:93;1727:3;1638:93;:::i;:::-;1756:2;1751:3;1747:12;1740:19;;1399:366;;;:::o;1771:398::-;1930:3;1951:83;2032:1;2027:3;1951:83;:::i;:::-;1944:90;;2043:93;2132:3;2043:93;:::i;:::-;2161:1;2156:3;2152:11;2145:18;;1771:398;;;:::o;2175:118::-;2262:24;2280:5;2262:24;:::i;:::-;2257:3;2250:37;2175:118;;:::o;2299:379::-;2483:3;2505:147;2648:3;2505:147;:::i;:::-;2498:154;;2669:3;2662:10;;2299:379;;;:::o;2684:222::-;2777:4;2815:2;2804:9;2800:18;2792:26;;2828:71;2896:1;2885:9;2881:17;2872:6;2828:71;:::i;:::-;2684:222;;;;:::o;2912:210::-;2999:4;3037:2;3026:9;3022:18;3014:26;;3050:65;3112:1;3101:9;3097:17;3088:6;3050:65;:::i;:::-;2912:210;;;;:::o;3128:419::-;3294:4;3332:2;3321:9;3317:18;3309:26;;3381:9;3375:4;3371:20;3367:1;3356:9;3352:17;3345:47;3409:131;3535:4;3409:131;:::i;:::-;3401:139;;3128:419;;;:::o;3553:222::-;3646:4;3684:2;3673:9;3669:18;3661:26;;3697:71;3765:1;3754:9;3750:17;3741:6;3697:71;:::i;:::-;3553:222;;;;:::o;3862:147::-;3963:11;4000:3;3985:18;;3862:147;;;;:::o;4015:169::-;4099:11;4133:6;4128:3;4121:19;4173:4;4168:3;4164:14;4149:29;;4015:169;;;;:::o;4190:96::-;4227:7;4256:24;4274:5;4256:24;:::i;:::-;4245:35;;4190:96;;;:::o;4292:104::-;4337:7;4366:24;4384:5;4366:24;:::i;:::-;4355:35;;4292:104;;;:::o;4402:90::-;4436:7;4479:5;4472:13;4465:21;4454:32;;4402:90;;;:::o;4498:126::-;4535:7;4575:42;4568:5;4564:54;4553:65;;4498:126;;;:::o;4630:77::-;4667:7;4696:5;4685:16;;4630:77;;;:::o;4836:117::-;4945:1;4942;4935:12;4959:170;5099:22;5095:1;5087:6;5083:14;5076:46;4959:170;:::o;5135:114::-;;:::o;5255:138::-;5336:32;5362:5;5336:32;:::i;:::-;5329:5;5326:43;5316:71;;5383:1;5380;5373:12;5316:71;5255:138;:::o;5399:122::-;5472:24;5490:5;5472:24;:::i;:::-;5465:5;5462:35;5452:63;;5511:1;5508;5501:12;5452:63;5399:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "305200",
"executionCost": "24609",
"totalCost": "329809"
},
"external": {
"": "195",
"getBalance()": "339",
"owner()": "2577",
"sendViaCall(address,uint256)": "infinite",
"sendViaSend(address)": "infinite",
"sendViaTransfer(address)": "infinite",
"transferEther(address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"getBalance()": "12065fe0",
"owner()": "8da5cb5b",
"sendViaCall(address,uint256)": "e4dc4f55",
"sendViaSend(address)": "74be4806",
"sendViaTransfer(address)": "636e082b",
"transferEther(address,uint256)": "05b1137b"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "getBalance",
"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": "address payable",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "sendViaCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaSend",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaTransfer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferEther",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "getBalance",
"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": "address payable",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "sendViaCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaSend",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaTransfer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferEther",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"send_example.sol": "ReceiveEther"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"send_example.sol": {
"keccak256": "0xde11276d3f503f910b1433ce043ece1b874e2e45d776df4d1bb2a8f9b4a053b9",
"license": "MIT",
"urls": [
"bzz-raw://8275762dba9468bcdd1bf850aca1f02ddc4ea6c11a6847d2210921ee3c291009",
"dweb:/ipfs/QmdWbT2MCh6UHYm6LQkhKP3svjLdP5x8zoLZ1xy4jwGyfK"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610390806100206000396000f3fe6080604052600436106100345760003560e01c8063636e082b1461003957806374be480614610055578063830c29ae14610071575b600080fd5b610053600480360381019061004e919061021c565b61008d565b005b61006f600480360381019061006a919061021c565b6100d7565b005b61008b6004803603810190610086919061021c565b610154565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156100d3573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050905080610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906102a4565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163460405161017b9061028f565b60006040518083038185875af1925050503d80600081146101b8576040519150601f19603f3d011682016040523d82523d6000602084013e6101bd565b606091505b509150915081610202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f9906102a4565b60405180910390fd5b505050565b60008135905061021681610343565b92915050565b60006020828403121561023257610231610312565b5b600061024084828501610207565b91505092915050565b60006102566014836102cf565b915061026182610317565b602082019050919050565b60006102796000836102c4565b915061028482610340565b600082019050919050565b600061029a8261026c565b9150819050919050565b600060208201905081810360008301526102bd81610249565b9050919050565b600081905092915050565b600082825260208201905092915050565b60006102eb826102f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61034c816102e0565b811461035757600080fd5b5056fea2646970667358221220e455102d8b97272eedd5609e2ad7ad6f562a869baccb7c9f310f8e38cf0ed3f464736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x390 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x636E082B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0x55 JUMPI DUP1 PUSH4 0x830C29AE EQ PUSH2 0x71 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x53 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4E SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x8D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x8B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x154 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xD3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLVALUE PUSH1 0x40 MLOAD PUSH2 0x17B SWAP1 PUSH2 0x28F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1B8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x202 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1F9 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x216 DUP2 PUSH2 0x343 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x232 JUMPI PUSH2 0x231 PUSH2 0x312 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x240 DUP5 DUP3 DUP6 ADD PUSH2 0x207 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x256 PUSH1 0x14 DUP4 PUSH2 0x2CF JUMP JUMPDEST SWAP2 POP PUSH2 0x261 DUP3 PUSH2 0x317 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x279 PUSH1 0x0 DUP4 PUSH2 0x2C4 JUMP JUMPDEST SWAP2 POP PUSH2 0x284 DUP3 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29A DUP3 PUSH2 0x26C JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BD DUP2 PUSH2 0x249 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2EB DUP3 PUSH2 0x2F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x34C DUP2 PUSH2 0x2E0 JUMP JUMPDEST DUP2 EQ PUSH2 0x357 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE4 SSTORE LT 0x2D DUP12 SWAP8 0x27 0x2E 0xED 0xD5 PUSH1 0x9E 0x2A 0xD7 0xAD PUSH16 0x562A869BACCB7C9F310F8E38CF0ED3F4 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "706:827:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@sendViaCall_77": {
"entryPoint": 340,
"id": 77,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendViaSend_54": {
"entryPoint": 215,
"id": 54,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendViaTransfer_35": {
"entryPoint": 141,
"id": 35,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_address_payable": {
"entryPoint": 519,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_payable": {
"entryPoint": 540,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 585,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 620,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 655,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 676,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 708,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 719,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address_payable": {
"entryPoint": 736,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 754,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 786,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb": {
"entryPoint": 791,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470": {
"entryPoint": 832,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address_payable": {
"entryPoint": 835,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3439:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "67:95:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "99:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "86:12:1"
},
"nodeType": "YulFunctionCall",
"src": "86:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "77:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "150:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address_payable",
"nodeType": "YulIdentifier",
"src": "115:34:1"
},
"nodeType": "YulFunctionCall",
"src": "115:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "115:41:1"
}
]
},
"name": "abi_decode_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "45:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "53:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "61:5:1",
"type": ""
}
],
"src": "7:155:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "242:271:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "288:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "290:77:1"
},
"nodeType": "YulFunctionCall",
"src": "290:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "290:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "263:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "272:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "259:3:1"
},
"nodeType": "YulFunctionCall",
"src": "259:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "284:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "255:3:1"
},
"nodeType": "YulFunctionCall",
"src": "255:32:1"
},
"nodeType": "YulIf",
"src": "252:119:1"
},
{
"nodeType": "YulBlock",
"src": "381:125:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "396:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "410:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "400:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "425:71:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "468:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "479:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "464:3:1"
},
"nodeType": "YulFunctionCall",
"src": "464:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "488:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address_payable",
"nodeType": "YulIdentifier",
"src": "435:28:1"
},
"nodeType": "YulFunctionCall",
"src": "435:61:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "425:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "212:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "223:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "235:6:1",
"type": ""
}
],
"src": "168:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "665:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "675:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "741:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "746:2:1",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "682:58:1"
},
"nodeType": "YulFunctionCall",
"src": "682:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "675:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "847:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulIdentifier",
"src": "758:88:1"
},
"nodeType": "YulFunctionCall",
"src": "758:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "758:93:1"
},
{
"nodeType": "YulAssignment",
"src": "860:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "871:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "876:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "867:3:1"
},
"nodeType": "YulFunctionCall",
"src": "867:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "860:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "653:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "661:3:1",
"type": ""
}
],
"src": "519:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1054:235:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1064:90:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1147:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1152:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1071:75:1"
},
"nodeType": "YulFunctionCall",
"src": "1071:83:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1064:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1252:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulIdentifier",
"src": "1163:88:1"
},
"nodeType": "YulFunctionCall",
"src": "1163:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "1163:93:1"
},
{
"nodeType": "YulAssignment",
"src": "1265:18:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1276:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1281:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1272:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1272:11:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1265:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1042:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1050:3:1",
"type": ""
}
],
"src": "891:398:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1483:191:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1494:154:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1644:3:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1501:141:1"
},
"nodeType": "YulFunctionCall",
"src": "1501:147:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1494:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1658:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1665:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1658:3:1"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1470:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1479:3:1",
"type": ""
}
],
"src": "1295:379:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1851:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1861:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1873:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1884:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1869:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1869:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1861:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1908:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1919:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1904:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1904:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1927:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1933:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1923:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1923:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1897:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1897:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "1897:47:1"
},
{
"nodeType": "YulAssignment",
"src": "1953:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2087:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1961:124:1"
},
"nodeType": "YulFunctionCall",
"src": "1961:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1953:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1831:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1846:4:1",
"type": ""
}
],
"src": "1680:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2145:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2155:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2171:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2165:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2165:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2155:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2138:6:1",
"type": ""
}
],
"src": "2105:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2299:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2309:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2324:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2309:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2271:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2276:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2287:11:1",
"type": ""
}
],
"src": "2186:147:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2435:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2452:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2457:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2445:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2445:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2473:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2492:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2497:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2488:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2488:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2473:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2407:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2412:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2423:11:1",
"type": ""
}
],
"src": "2339:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2567:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2577:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2606:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2588:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2588:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2577:7:1"
}
]
}
]
},
"name": "cleanup_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2549:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2559:7:1",
"type": ""
}
],
"src": "2514:104:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2669:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2679:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2694:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2701:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2690:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2690:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2679:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2651:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2661:7:1",
"type": ""
}
],
"src": "2624:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2845:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2862:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2865:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2855:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2855:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "2855:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "2756:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2968:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2985:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2988:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2978:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2978:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "2978:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "2879:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3108:64:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3130:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3138:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3126:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3126:14:1"
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "3142:22:1",
"type": "",
"value": "Failed to send Ether"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3119:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3119:46:1"
},
"nodeType": "YulExpressionStatement",
"src": "3119:46:1"
}
]
},
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3100:6:1",
"type": ""
}
],
"src": "3002:170:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3284:8:1",
"statements": []
},
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3276:6:1",
"type": ""
}
],
"src": "3178:114:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3349:87:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3414:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3423:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3426:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3416:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3416:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3416:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3372:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3405:5:1"
}
],
"functionName": {
"name": "cleanup_t_address_payable",
"nodeType": "YulIdentifier",
"src": "3379:25:1"
},
"nodeType": "YulFunctionCall",
"src": "3379:32:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3369:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3369:43:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3362:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3362:51:1"
},
"nodeType": "YulIf",
"src": "3359:71:1"
}
]
},
"name": "validator_revert_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3342:5:1",
"type": ""
}
],
"src": "3298:138:1"
}
]
},
"contents": "{\n\n function abi_decode_t_address_payable(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address_payable(value)\n }\n\n function abi_decode_tuple_t_address_payable(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_payable(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, 0)\n store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(pos)\n end := add(pos, 0)\n }\n\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos ) -> end {\n\n pos := abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(memPtr) {\n\n mstore(add(memPtr, 0), \"Failed to send Ether\")\n\n }\n\n function store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(memPtr) {\n\n }\n\n function validator_revert_t_address_payable(value) {\n if iszero(eq(value, cleanup_t_address_payable(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100345760003560e01c8063636e082b1461003957806374be480614610055578063830c29ae14610071575b600080fd5b610053600480360381019061004e919061021c565b61008d565b005b61006f600480360381019061006a919061021c565b6100d7565b005b61008b6004803603810190610086919061021c565b610154565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156100d3573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050905080610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906102a4565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163460405161017b9061028f565b60006040518083038185875af1925050503d80600081146101b8576040519150601f19603f3d011682016040523d82523d6000602084013e6101bd565b606091505b509150915081610202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f9906102a4565b60405180910390fd5b505050565b60008135905061021681610343565b92915050565b60006020828403121561023257610231610312565b5b600061024084828501610207565b91505092915050565b60006102566014836102cf565b915061026182610317565b602082019050919050565b60006102796000836102c4565b915061028482610340565b600082019050919050565b600061029a8261026c565b9150819050919050565b600060208201905081810360008301526102bd81610249565b9050919050565b600081905092915050565b600082825260208201905092915050565b60006102eb826102f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61034c816102e0565b811461035757600080fd5b5056fea2646970667358221220e455102d8b97272eedd5609e2ad7ad6f562a869baccb7c9f310f8e38cf0ed3f464736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x636E082B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0x55 JUMPI DUP1 PUSH4 0x830C29AE EQ PUSH2 0x71 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x53 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4E SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x8D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x8B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x154 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xD3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLVALUE PUSH1 0x40 MLOAD PUSH2 0x17B SWAP1 PUSH2 0x28F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1B8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x202 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1F9 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x216 DUP2 PUSH2 0x343 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x232 JUMPI PUSH2 0x231 PUSH2 0x312 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x240 DUP5 DUP3 DUP6 ADD PUSH2 0x207 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x256 PUSH1 0x14 DUP4 PUSH2 0x2CF JUMP JUMPDEST SWAP2 POP PUSH2 0x261 DUP3 PUSH2 0x317 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x279 PUSH1 0x0 DUP4 PUSH2 0x2C4 JUMP JUMPDEST SWAP2 POP PUSH2 0x284 DUP3 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29A DUP3 PUSH2 0x26C JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BD DUP2 PUSH2 0x249 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2EB DUP3 PUSH2 0x2F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x34C DUP2 PUSH2 0x2E0 JUMP JUMPDEST DUP2 EQ PUSH2 0x357 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE4 SSTORE LT 0x2D DUP12 SWAP8 0x27 0x2E 0xED 0xD5 PUSH1 0x9E 0x2A 0xD7 0xAD PUSH16 0x562A869BACCB7C9F310F8E38CF0ED3F4 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "706:827:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;732:173;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;913:291;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1212:318;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;732:173;874:3;:12;;:23;887:9;874:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;732:173;:::o;913:291::-;1117:9;1129:3;:8;;:19;1138:9;1129:19;;;;;;;;;;;;;;;;;;;;;;;1117:31;;1167:4;1159:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;970:234;913:291;:::o;1212:318::-;1412:9;1423:17;1444:3;:8;;1460:9;1444:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1411:63;;;;1493:4;1485:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;1269:261;;1212:318;:::o;7:155:1:-;61:5;99:6;86:20;77:29;;115:41;150:5;115:41;:::i;:::-;7:155;;;;:::o;168:345::-;235:6;284:2;272:9;263:7;259:23;255:32;252:119;;;290:79;;:::i;:::-;252:119;410:1;435:61;488:7;479:6;468:9;464:22;435:61;:::i;:::-;425:71;;381:125;168:345;;;;:::o;519:366::-;661:3;682:67;746:2;741:3;682:67;:::i;:::-;675:74;;758:93;847:3;758:93;:::i;:::-;876:2;871:3;867:12;860:19;;519:366;;;:::o;891:398::-;1050:3;1071:83;1152:1;1147:3;1071:83;:::i;:::-;1064:90;;1163:93;1252:3;1163:93;:::i;:::-;1281:1;1276:3;1272:11;1265:18;;891:398;;;:::o;1295:379::-;1479:3;1501:147;1644:3;1501:147;:::i;:::-;1494:154;;1665:3;1658:10;;1295:379;;;:::o;1680:419::-;1846:4;1884:2;1873:9;1869:18;1861:26;;1933:9;1927:4;1923:20;1919:1;1908:9;1904:17;1897:47;1961:131;2087:4;1961:131;:::i;:::-;1953:139;;1680:419;;;:::o;2186:147::-;2287:11;2324:3;2309:18;;2186:147;;;;:::o;2339:169::-;2423:11;2457:6;2452:3;2445:19;2497:4;2492:3;2488:14;2473:29;;2339:169;;;;:::o;2514:104::-;2559:7;2588:24;2606:5;2588:24;:::i;:::-;2577:35;;2514:104;;;:::o;2624:126::-;2661:7;2701:42;2694:5;2690:54;2679:65;;2624:126;;;:::o;2879:117::-;2988:1;2985;2978:12;3002:170;3142:22;3138:1;3130:6;3126:14;3119:46;3002:170;:::o;3178:114::-;;:::o;3298:138::-;3379:32;3405:5;3379:32;:::i;:::-;3372:5;3369:43;3359:71;;3426:1;3423;3416:12;3359:71;3298:138;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "182400",
"executionCost": "226",
"totalCost": "182626"
},
"external": {
"sendViaCall(address)": "infinite",
"sendViaSend(address)": "infinite",
"sendViaTransfer(address)": "infinite"
}
},
"methodIdentifiers": {
"sendViaCall(address)": "830c29ae",
"sendViaSend(address)": "74be4806",
"sendViaTransfer(address)": "636e082b"
}
},
"abi": [
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaSend",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaTransfer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaSend",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaTransfer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"send_example.sol": "SendEther"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"send_example.sol": {
"keccak256": "0x5b6df1c1bb094a8e6a9e9019b3d871547726b9f6925b4f6f27cf1a33d679eb43",
"license": "MIT",
"urls": [
"bzz-raw://249a32c27458158376d910467cb3bf17e94d2e1cfae6e59adeed25b269d6305c",
"dweb:/ipfs/QmYxLGVYtsuvnEvn6yeAzmNxfiBYkCz59f5JFL1sWcTMq2"
]
}
},
"version": 1
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7;
contract Property {
int public value;
function setValue(int _value) public{
value = _value;
}
}
// 0xd9145CCE52D386f254917e481eB44e9943F39138
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7;
contract Property{
int public price;
string public location;
address immutable public owner;
int immutable area = 100;
constructor(int _price, string memory _location){
price = _price;
location = _location;
owner = msg.sender;
}
function setPrice(int _price) public {
price = _price;
}
function getPrice() public view returns(int){
return price;
}
function setLocation(string memory _location) public {
location = _location;
}
}
//SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0 <0.9.0;
contract Property{
// declaring state variables saved in contract's storage
uint price; // by default is private
string public location;
// can be initialized at declaration or in the constructor only
address immutable public owner;
// declaring a constant
int constant area = 100;
bool public sold = false;
// declaring the constructor
// is executed only once at contract's deployment
constructor(uint _price, string memory _location){
price = _price;
location = _location;
owner = msg.sender; // initializing owner to the account's address that deploys the contract
}
// setter function, sets a state variable
function setPrice(uint _price) public{
int a; // local variable saved on stack
a = 10;
price = _price;
}
// getter function, returns a state variable
// a function declared `view` does not alter the blockchain
function getPrice() public view returns(uint){
return price;
}
function setLocation(string memory _location) public{ //string types must be declared memory or storage
location = _location;
}
}
// Right click on the script name and hit "Run" to execute
(async () => {
try {
console.log('Running deployWithEthers script...')
const contractName = 'Storage' // Change this for other contract
const constructorArgs = [] // Put constructor args (if any) here for your contract
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
// 'web3Provider' is a remix global variable object
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner()
let factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer);
let contract = await factory.deploy(...constructorArgs);
console.log('Contract Address: ', contract.address);
// The contract is NOT deployed yet; we must wait until it is mined
await contract.deployed()
console.log('Deployment successful.')
} catch (e) {
console.log(e.message)
}
})()
// Right click on the script name and hit "Run" to execute
(async () => {
try {
console.log('Running deployWithWeb3 script...')
const contractName = 'Storage' // Change this for other contract
const constructorArgs = [] // Put constructor args (if any) here for your contract
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
const accounts = await web3.eth.getAccounts()
let contract = new web3.eth.Contract(metadata.abi)
contract = contract.deploy({
data: metadata.data.bytecode.object,
arguments: constructorArgs
})
const newContractInstance = await contract.send({
from: accounts[0],
gas: 1500000,
gasPrice: '30000000000'
})
console.log('Contract deployed at address: ', newContractInstance.options.address)
} catch (e) {
console.log(e.message)
}
})()
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7;
contract Property{
uint private price;
address public owner;
// initial, runs only one time, when created
constructor(){
price = 0;
owner = msg.sender;
}
modifier onlyOwner(){
require(msg.sender == owner);
_;
}
// setter functions
function changeOwner(address _owner) public onlyOwner{
owner = _owner;
}
function changePrice(uint _price) public{
price = _price;
}
// getter functions
function getPrice() view public returns (uint) {
return price;
}
// event function (logging like)
event OwnerChanged (address owner);
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract ReceiveEther {
address public owner;
/*
Which function is called, fallback() or receive()?
send Ether
|
msg.data is empty?
/ \
yes no
/ \
receive() exists? fallback()
/ \
yes no
/ \
receive() fallback()
*/
constructor(){
owner = msg.sender;
}
// Function to receive Ether. msg.data must be empty
receive() external payable {}
// Fallback function is called when msg.data is not empty
fallback() external payable {}
function transferEther(address payable recipient, uint amount) public returns(bool){
// checking that only contract owner can send ether from the contract to another address
// i don't need it
// require(owner == msg.sender, "Transfer failed, you are not the owner!!");
if (amount <= getBalance()){
// transfering the amount of wei from the contract to the recipient address
// anyone who can call this function have access to the contract's funds
recipient.transfer(amount);
return true;
}else{
return false;
}
}
function getBalance() public view returns (uint) {
return address(this).balance;
}
function sendViaTransfer(address payable _to) public payable {
// This function is no longer recommended for sending Ether.
_to.transfer(msg.value);
}
function sendViaSend(address payable _to) public payable {
// Send returns a boolean value indicating success or failure.
// This function is not recommended for sending Ether.
bool sent = _to.send(msg.value);
require(sent, "Failed to send Ether");
}
function sendViaCall(address payable _to, uint _amount) public payable {
// Call returns a boolean value indicating success or failure.
// This is the current recommended method to use.
// address.call.value().gas()()
(bool sent, bytes memory data) = _to.call{value: _amount}("");
require(sent, "Failed to send Ether");
}
}
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.0/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract ReceiveEther {
address public owner;
constructor(){
owner = msg.sender;
}
// Function to receive Ether. msg.data must be empty
receive() external payable {}
// Fallback function is called when msg.data is not empty
fallback() external payable {}
function getBalance() public view returns (uint) {
return address(this).balance;
function sendViaCall(address payable _to, uint _amount) public payable {
// Call returns a boolean value indicating success or failure.
// This is the current recommended method to use.
// address.call.value().gas()()
(bool sent, bytes memory data) = _to.call{value: _amount}("");
require(sent, "Failed to send Ether");
}
}
//SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0 <0.9.0;
contract Ex{
// msg global variables
address sender = msg.sender;
int value = msg.value;
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "../contracts/3_Ballot.sol";
contract BallotTest {
bytes32[] proposalNames;
Ballot ballotToTest;
function beforeAll () public {
proposalNames.push(bytes32("candidate1"));
ballotToTest = new Ballot(proposalNames);
}
function checkWinningProposal () public {
ballotToTest.vote(0);
Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal");
Assert.equal(ballotToTest.winnerName(), bytes32("candidate1"), "candidate1 should be the winner name");
}
function checkWinninProposalWithReturnValue () public view returns (bool) {
return ballotToTest.winningProposal() == 0;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7;
contract Property{
int public price;
// Constant should have value
string constant public location = "SPB";
function f1() public pure returns (int) {
int x = 5;
x = x*2;
string memory s1 = "abc";
return x;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment