Skip to content

Instantly share code, notes, and snippets.

@mdip226
Created October 19, 2021 23:37
Show Gist options
  • Save mdip226/6e026a31439ccc61d4a957b07e1c904d to your computer and use it in GitHub Desktop.
Save mdip226/6e026a31439ccc61d4a957b07e1c904d 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=
{
"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": {
"@_40": {
"entryPoint": null,
"id": 40,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5060006001819055506000808190555033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061082d806100706000396000f3fe60806040526004361061004e5760003560e01c80634717f97c146100ea5780634900a285146101155780639a0e7d661461013e578063d55ec9c114610169578063d8bff5a514610192576100e5565b366100e557600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146100e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da906104f6565b60405180910390fd5b005b600080fd5b3480156100f657600080fd5b506100ff6101cf565b60405161010c9190610516565b60405180910390f35b34801561012157600080fd5b5061013c60048036038101906101379190610497565b6101d8565b005b34801561014a57600080fd5b5061015361020b565b6040516101609190610516565b60405180910390f35b34801561017557600080fd5b50610190600480360381019061018b919061044e565b610215565b005b34801561019e57600080fd5b506101b960048036038101906101b49190610421565b61032c565b6040516101c69190610516565b60405180910390f35b60008054905090565b806000808282546101e99190610593565b925050819055506001600081548092919061020390610668565b919050555050565b6000600154905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029c906104f6565b60405180910390fd5b60005b8151811015610328578181815181106102c4576102c36106e0565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166108fc629896809081150290604051600060405180830381858888f19350505050158015610314573d6000803e3d6000fd5b50808061032090610668565b9150506102a8565b5050565b60036020528060005260406000206000915090505481565b600061035761035284610556565b610531565b9050808382526020820190508285602086028201111561037a57610379610743565b5b60005b858110156103aa578161039088826103c9565b84526020840193506020830192505060018101905061037d565b5050509392505050565b6000813590506103c3816107b2565b92915050565b6000813590506103d8816107c9565b92915050565b600082601f8301126103f3576103f261073e565b5b8135610403848260208601610344565b91505092915050565b60008135905061041b816107e0565b92915050565b6000602082840312156104375761043661074d565b5b6000610445848285016103b4565b91505092915050565b6000602082840312156104645761046361074d565b5b600082013567ffffffffffffffff81111561048257610481610748565b5b61048e848285016103de565b91505092915050565b6000602082840312156104ad576104ac61074d565b5b60006104bb8482850161040c565b91505092915050565b60006104d1602483610582565b91506104dc82610763565b604082019050919050565b6104f08161062d565b82525050565b6000602082019050818103600083015261050f816104c4565b9050919050565b600060208201905061052b60008301846104e7565b92915050565b600061053b61054c565b90506105478282610637565b919050565b6000604051905090565b600067ffffffffffffffff8211156105715761057061070f565b5b602082029050602081019050919050565b600082825260208201905092915050565b600061059e8261062d565b91506105a98361062d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156105de576105dd6106b1565b5b828201905092915050565b60006105f48261060d565b9050919050565b60006106068261060d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b61064082610752565b810181811067ffffffffffffffff8211171561065f5761065e61070f565b5b80604052505050565b60006106738261062d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156106a6576106a56106b1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a20596f7520617265206e6f7420746865206f776e65722c2060008201527f4279652e00000000000000000000000000000000000000000000000000000000602082015250565b6107bb816105e9565b81146107c657600080fd5b50565b6107d2816105fb565b81146107dd57600080fd5b50565b6107e98161062d565b81146107f457600080fd5b5056fea2646970667358221220976e262dc2a2184cca1ab67e6b7a793ccdf8c8c2ee539672beed3f30813062c264736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 PUSH1 0x1 DUP2 SWAP1 SSTORE POP PUSH1 0x0 DUP1 DUP2 SWAP1 SSTORE POP CALLER PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x82D DUP1 PUSH2 0x70 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4E JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x4717F97C EQ PUSH2 0xEA JUMPI DUP1 PUSH4 0x4900A285 EQ PUSH2 0x115 JUMPI DUP1 PUSH4 0x9A0E7D66 EQ PUSH2 0x13E JUMPI DUP1 PUSH4 0xD55EC9C1 EQ PUSH2 0x169 JUMPI DUP1 PUSH4 0xD8BFF5A5 EQ PUSH2 0x192 JUMPI PUSH2 0xE5 JUMP JUMPDEST CALLDATASIZE PUSH2 0xE5 JUMPI PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xE3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP1 PUSH2 0x4F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xF6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0x1CF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10C SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x121 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x13C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x137 SWAP2 SWAP1 PUSH2 0x497 JUMP JUMPDEST PUSH2 0x1D8 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x14A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x153 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x160 SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x175 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x190 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x18B SWAP2 SWAP1 PUSH2 0x44E JUMP JUMPDEST PUSH2 0x215 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x19E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1B9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1B4 SWAP2 SWAP1 PUSH2 0x421 JUMP JUMPDEST PUSH2 0x32C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1C6 SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP1 DUP3 DUP3 SLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x593 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH1 0x1 PUSH1 0x0 DUP2 SLOAD DUP1 SWAP3 SWAP2 SWAP1 PUSH2 0x203 SWAP1 PUSH2 0x668 JUMP JUMPDEST SWAP2 SWAP1 POP SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x2A5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x29C SWAP1 PUSH2 0x4F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 MLOAD DUP2 LT ISZERO PUSH2 0x328 JUMPI DUP2 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x2C4 JUMPI PUSH2 0x2C3 PUSH2 0x6E0 JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC PUSH3 0x989680 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 0x314 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP DUP1 DUP1 PUSH2 0x320 SWAP1 PUSH2 0x668 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x2A8 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x357 PUSH2 0x352 DUP5 PUSH2 0x556 JUMP JUMPDEST PUSH2 0x531 JUMP JUMPDEST SWAP1 POP DUP1 DUP4 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP DUP3 DUP6 PUSH1 0x20 DUP7 MUL DUP3 ADD GT ISZERO PUSH2 0x37A JUMPI PUSH2 0x379 PUSH2 0x743 JUMP JUMPDEST JUMPDEST PUSH1 0x0 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0x3AA JUMPI DUP2 PUSH2 0x390 DUP9 DUP3 PUSH2 0x3C9 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP4 POP PUSH1 0x20 DUP4 ADD SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x37D JUMP JUMPDEST POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3C3 DUP2 PUSH2 0x7B2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3D8 DUP2 PUSH2 0x7C9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x3F3 JUMPI PUSH2 0x3F2 PUSH2 0x73E JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x403 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x344 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x41B DUP2 PUSH2 0x7E0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x437 JUMPI PUSH2 0x436 PUSH2 0x74D JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x445 DUP5 DUP3 DUP6 ADD PUSH2 0x3B4 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x464 JUMPI PUSH2 0x463 PUSH2 0x74D JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x482 JUMPI PUSH2 0x481 PUSH2 0x748 JUMP JUMPDEST JUMPDEST PUSH2 0x48E DUP5 DUP3 DUP6 ADD PUSH2 0x3DE JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4AD JUMPI PUSH2 0x4AC PUSH2 0x74D JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x4BB DUP5 DUP3 DUP6 ADD PUSH2 0x40C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4D1 PUSH1 0x24 DUP4 PUSH2 0x582 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DC DUP3 PUSH2 0x763 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4F0 DUP2 PUSH2 0x62D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x50F DUP2 PUSH2 0x4C4 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x52B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x4E7 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x53B PUSH2 0x54C JUMP JUMPDEST SWAP1 POP PUSH2 0x547 DUP3 DUP3 PUSH2 0x637 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 0x571 JUMPI PUSH2 0x570 PUSH2 0x70F JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP3 MUL SWAP1 POP PUSH1 0x20 DUP2 ADD 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 0x59E DUP3 PUSH2 0x62D JUMP JUMPDEST SWAP2 POP PUSH2 0x5A9 DUP4 PUSH2 0x62D JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x5DE JUMPI PUSH2 0x5DD PUSH2 0x6B1 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5F4 DUP3 PUSH2 0x60D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x606 DUP3 PUSH2 0x60D JUMP JUMPDEST 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 PUSH2 0x640 DUP3 PUSH2 0x752 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x65F JUMPI PUSH2 0x65E PUSH2 0x70F JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x673 DUP3 PUSH2 0x62D JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x6A6 JUMPI PUSH2 0x6A5 PUSH2 0x6B1 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 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 PUSH32 0x4F776E61626C653A20596F7520617265206E6F7420746865206F776E65722C20 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x4279652E00000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x7BB DUP2 PUSH2 0x5E9 JUMP JUMPDEST DUP2 EQ PUSH2 0x7C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x7D2 DUP2 PUSH2 0x5FB JUMP JUMPDEST DUP2 EQ PUSH2 0x7DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x7E9 DUP2 PUSH2 0x62D JUMP JUMPDEST DUP2 EQ PUSH2 0x7F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP8 PUSH15 0x262DC2A2184CCA1AB67E6B7A793CCD 0xF8 0xC8 0xC2 0xEE MSTORE8 SWAP7 PUSH19 0xBEED3F30813062C264736F6C63430008070033 ",
"sourceMap": "26:968:0:-:0;;;303:89;;;;;;;;;;339:1;326:10;:14;;;;358:1;348:7;:11;;;;375:10;367:5;;:18;;;;;;;;;;;;;;;;;;26:968;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_46": {
"entryPoint": null,
"id": 46,
"parameterSlots": 0,
"returnSlots": 0
},
"@getResults_54": {
"entryPoint": 463,
"id": 54,
"parameterSlots": 0,
"returnSlots": 1
},
"@getTotalVotes_62": {
"entryPoint": 523,
"id": 62,
"parameterSlots": 0,
"returnSlots": 1
},
"@registerVoters_104": {
"entryPoint": 533,
"id": 104,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendBallot_75": {
"entryPoint": 472,
"id": 75,
"parameterSlots": 1,
"returnSlots": 0
},
"@votes_11": {
"entryPoint": 812,
"id": 11,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_decode_available_length_t_array$_t_address_payable_$dyn_memory_ptr": {
"entryPoint": 836,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_address": {
"entryPoint": 948,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_address_payable": {
"entryPoint": 969,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_array$_t_address_payable_$dyn_memory_ptr": {
"entryPoint": 990,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 1036,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 1057,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_array$_t_address_payable_$dyn_memory_ptr": {
"entryPoint": 1102,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 1175,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1220,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 1255,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_stringliteral_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1270,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 1302,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1329,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 1356,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_array$_t_address_payable_$dyn_memory_ptr": {
"entryPoint": 1366,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1410,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 1427,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 1513,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_address_payable": {
"entryPoint": 1531,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 1549,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 1581,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 1591,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"increment_t_uint256": {
"entryPoint": 1640,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 1713,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 1760,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1807,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 1854,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef": {
"entryPoint": 1859,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 1864,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1869,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1874,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"store_literal_in_memory_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38": {
"entryPoint": 1891,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 1970,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address_payable": {
"entryPoint": 1993,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 2016,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:7796:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "142:636:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "152:98:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "242:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_array$_t_address_payable_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "177:64:1"
},
"nodeType": "YulFunctionCall",
"src": "177:72:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "161:15:1"
},
"nodeType": "YulFunctionCall",
"src": "161:89:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "152:5:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "259:16:1",
"value": {
"name": "array",
"nodeType": "YulIdentifier",
"src": "270:5:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "263:3:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "292:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "299:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "285:6:1"
},
"nodeType": "YulFunctionCall",
"src": "285:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "285:21:1"
},
{
"nodeType": "YulAssignment",
"src": "315:23:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "326:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "333:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "322:3:1"
},
"nodeType": "YulFunctionCall",
"src": "322:16:1"
},
"variableNames": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "315:3:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "348:17:1",
"value": {
"name": "offset",
"nodeType": "YulIdentifier",
"src": "359:6:1"
},
"variables": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "352:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "414:103:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
"nodeType": "YulIdentifier",
"src": "428:77:1"
},
"nodeType": "YulFunctionCall",
"src": "428:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "428:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "384:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "393:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "401:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "389:3:1"
},
"nodeType": "YulFunctionCall",
"src": "389:17:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "380:3:1"
},
"nodeType": "YulFunctionCall",
"src": "380:27:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "409:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "377:2:1"
},
"nodeType": "YulFunctionCall",
"src": "377:36:1"
},
"nodeType": "YulIf",
"src": "374:143:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "586:186:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "601:21:1",
"value": {
"name": "src",
"nodeType": "YulIdentifier",
"src": "619:3:1"
},
"variables": [
{
"name": "elementPos",
"nodeType": "YulTypedName",
"src": "605:10:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "643:3:1"
},
{
"arguments": [
{
"name": "elementPos",
"nodeType": "YulIdentifier",
"src": "677:10:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "689:3:1"
}
],
"functionName": {
"name": "abi_decode_t_address_payable",
"nodeType": "YulIdentifier",
"src": "648:28:1"
},
"nodeType": "YulFunctionCall",
"src": "648:45:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "636:6:1"
},
"nodeType": "YulFunctionCall",
"src": "636:58:1"
},
"nodeType": "YulExpressionStatement",
"src": "636:58:1"
},
{
"nodeType": "YulAssignment",
"src": "707:21:1",
"value": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "718:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "723:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "714:3:1"
},
"nodeType": "YulFunctionCall",
"src": "714:14:1"
},
"variableNames": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "707:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "741:21:1",
"value": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "752:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "757:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "748:3:1"
},
"nodeType": "YulFunctionCall",
"src": "748:14:1"
},
"variableNames": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "741:3:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "548:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "551:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "545:2:1"
},
"nodeType": "YulFunctionCall",
"src": "545:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "559:18:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "561:14:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "570:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "573:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "566:3:1"
},
"nodeType": "YulFunctionCall",
"src": "566:9:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "561:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "530:14:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "532:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "541:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "536:1:1",
"type": ""
}
]
}
]
},
"src": "526:246:1"
}
]
},
"name": "abi_decode_available_length_t_array$_t_address_payable_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "112:6:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "120:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "128:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "136:5:1",
"type": ""
}
],
"src": "32:746:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "836:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "846:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "868:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "855:12:1"
},
"nodeType": "YulFunctionCall",
"src": "855:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "846:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "911:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "884:26:1"
},
"nodeType": "YulFunctionCall",
"src": "884:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "884:33:1"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "814:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "822:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "830:5:1",
"type": ""
}
],
"src": "784:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "989:95:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "999:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1021:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1008:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1008:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "999:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1072:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address_payable",
"nodeType": "YulIdentifier",
"src": "1037:34:1"
},
"nodeType": "YulFunctionCall",
"src": "1037:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "1037:41:1"
}
]
},
"name": "abi_decode_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "967:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "975:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "983:5:1",
"type": ""
}
],
"src": "929:155:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1200:301:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1249:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "1251:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1251:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1251:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1228:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1236:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1224:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1224:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1243:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1220:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1220:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1213:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1213:35:1"
},
"nodeType": "YulIf",
"src": "1210:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1341:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1368:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1355:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1355:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1345:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1384:111:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1468:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1476:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1464:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1464:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1483:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1491:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_array$_t_address_payable_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1393:70:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:102:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "1384:5:1"
}
]
}
]
},
"name": "abi_decode_t_array$_t_address_payable_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1178:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1186:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "1194:5:1",
"type": ""
}
],
"src": "1115:386:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1559:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1569:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1591:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1578:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1578:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1569:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1634:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "1607:26:1"
},
"nodeType": "YulFunctionCall",
"src": "1607:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "1607:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1537:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1545:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1553:5:1",
"type": ""
}
],
"src": "1507:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1718:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1764:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1766:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1766:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1766:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1739:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1748:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1735:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1735:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1760:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1731:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1731:32:1"
},
"nodeType": "YulIf",
"src": "1728:119:1"
},
{
"nodeType": "YulBlock",
"src": "1857:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1872:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1886:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1876:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1901:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1936:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1947:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1932:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1932:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1956:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "1911:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1911:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1901:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1688:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1699:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1711:6:1",
"type": ""
}
],
"src": "1652:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2086:456:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2132:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2134:77:1"
},
"nodeType": "YulFunctionCall",
"src": "2134:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "2134:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2107:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2116:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2103:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2103:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2128:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2099:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2099:32:1"
},
"nodeType": "YulIf",
"src": "2096:119:1"
},
{
"nodeType": "YulBlock",
"src": "2225:310:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2240:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2271:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2282:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2267:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2267:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2254:12:1"
},
"nodeType": "YulFunctionCall",
"src": "2254:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2244:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2332:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "2334:77:1"
},
"nodeType": "YulFunctionCall",
"src": "2334:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "2334:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2304:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2312:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2301:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2301:30:1"
},
"nodeType": "YulIf",
"src": "2298:117:1"
},
{
"nodeType": "YulAssignment",
"src": "2429:96:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2497:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2508:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2493:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2493:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2517:7:1"
}
],
"functionName": {
"name": "abi_decode_t_array$_t_address_payable_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2439:53:1"
},
"nodeType": "YulFunctionCall",
"src": "2439:86:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2429:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_array$_t_address_payable_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2056:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2067:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2079:6:1",
"type": ""
}
],
"src": "1987:555:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2614:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2660:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2662:77:1"
},
"nodeType": "YulFunctionCall",
"src": "2662:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "2662:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2635:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2644:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2631:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2631:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2656:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2627:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2627:32:1"
},
"nodeType": "YulIf",
"src": "2624:119:1"
},
{
"nodeType": "YulBlock",
"src": "2753:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2768:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2782:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2772:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2797:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2832:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2843:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2828:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2828:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2852:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2807:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2807:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2797:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2584:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2595:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2607:6:1",
"type": ""
}
],
"src": "2548:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3029:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3039:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3105:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3110:2:1",
"type": "",
"value": "36"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3046:58:1"
},
"nodeType": "YulFunctionCall",
"src": "3046:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3039:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3211:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38",
"nodeType": "YulIdentifier",
"src": "3122:88:1"
},
"nodeType": "YulFunctionCall",
"src": "3122:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "3122:93:1"
},
{
"nodeType": "YulAssignment",
"src": "3224:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3235:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3240:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3231:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3231:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3224:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3017:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3025:3:1",
"type": ""
}
],
"src": "2883:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3320:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3337:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3360:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3342:17:1"
},
"nodeType": "YulFunctionCall",
"src": "3342:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3330:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3330:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "3330:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3308:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3315:3:1",
"type": ""
}
],
"src": "3255:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3550:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3560:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3572:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3583:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3568:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3568:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3560:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3607:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3618:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3603:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3603:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3626:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3632:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3622:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3622:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3596:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3596:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "3596:47:1"
},
{
"nodeType": "YulAssignment",
"src": "3652:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3786:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3660:124:1"
},
"nodeType": "YulFunctionCall",
"src": "3660:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3652:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3530:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3545:4:1",
"type": ""
}
],
"src": "3379:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3902:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3912:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3924:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3935:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3920:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3920:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3912:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3992:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4005:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4016:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4001:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4001:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3948:43:1"
},
"nodeType": "YulFunctionCall",
"src": "3948:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "3948:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3874:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3886:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3897:4:1",
"type": ""
}
],
"src": "3804:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4073:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4083:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "4093:18:1"
},
"nodeType": "YulFunctionCall",
"src": "4093:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4083:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4142:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4150:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "4122:19:1"
},
"nodeType": "YulFunctionCall",
"src": "4122:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "4122:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4057:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4066:6:1",
"type": ""
}
],
"src": "4032:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4207:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4217:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4233:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4227:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4227:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4217:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4200:6:1",
"type": ""
}
],
"src": "4167:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4338:229:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4443:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4445:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4445:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4445:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4415:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4423:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4412:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4412:30:1"
},
"nodeType": "YulIf",
"src": "4409:56:1"
},
{
"nodeType": "YulAssignment",
"src": "4475:25:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4487:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4495:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "4483:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4483:17:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4475:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4537:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4549:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4555:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4545:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4545:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4537:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_array$_t_address_payable_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4322:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4333:4:1",
"type": ""
}
],
"src": "4248:319:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4669:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4686:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4691:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4679:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4679:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4679:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4707:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4726:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4731:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4722:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4722:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4707:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4641:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4646:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4657:11:1",
"type": ""
}
],
"src": "4573:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4792:261:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4802:25:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4825:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "4807:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4807:20:1"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4802:1:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4836:25:1",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4859:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "4841:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4841:20:1"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4836:1:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4999:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "5001:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5001:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5001:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4920:1:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4927:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4995:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4923:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4923:74:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4917:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4917:81:1"
},
"nodeType": "YulIf",
"src": "4914:107:1"
},
{
"nodeType": "YulAssignment",
"src": "5031:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "5042:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "5045:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5038:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5038:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "5031:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "4779:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "4782:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "4788:3:1",
"type": ""
}
],
"src": "4748:305:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5104:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5114:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5143:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "5125:17:1"
},
"nodeType": "YulFunctionCall",
"src": "5125:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5114:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5086:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5096:7:1",
"type": ""
}
],
"src": "5059:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5214:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5224:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5253:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "5235:17:1"
},
"nodeType": "YulFunctionCall",
"src": "5235:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5224:7:1"
}
]
}
]
},
"name": "cleanup_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5196:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5206:7:1",
"type": ""
}
],
"src": "5161:104:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5316:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5326:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5341:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5348:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5337:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5337:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5326:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5298:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5308:7:1",
"type": ""
}
],
"src": "5271:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5448:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5458:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "5469:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5458:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5430:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5440:7:1",
"type": ""
}
],
"src": "5403:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5529:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5539:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5561:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5591:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5569:21:1"
},
"nodeType": "YulFunctionCall",
"src": "5569:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5557:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5557:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "5543:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5708:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5710:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5710:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5710:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5651:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5663:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5648:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5648:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5687:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5699:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5684:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5684:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "5645:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5645:62:1"
},
"nodeType": "YulIf",
"src": "5642:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5746:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5750:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5739:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5739:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "5739:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5515:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5523:4:1",
"type": ""
}
],
"src": "5486:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5816:190:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5826:33:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5853:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "5835:17:1"
},
"nodeType": "YulFunctionCall",
"src": "5835:24:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5826:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5949:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "5951:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5951:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5951:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5874:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5881:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5871:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5871:77:1"
},
"nodeType": "YulIf",
"src": "5868:103:1"
},
{
"nodeType": "YulAssignment",
"src": "5980:20:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5991:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5998:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5987:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5987:13:1"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "5980:3:1"
}
]
}
]
},
"name": "increment_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5802:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "5812:3:1",
"type": ""
}
],
"src": "5773:233:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6040:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6057:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6060:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6050:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6050:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6050:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6154:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6157:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6147:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6147:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6147:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6178:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6181:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6171:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6171:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6171:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "6012:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6226:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6243:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6246:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6236:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6236:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6236:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6340:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6343:4:1",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6333:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6333:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6333:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6364:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6367:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6357:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6357:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6357:15:1"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "6198:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6412:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6429:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6432:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6422:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6422:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6422:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6526:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6529:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6519:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6519:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6519:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6550:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6553:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6543:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6543:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6543:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "6384:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6659:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6676:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6679:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6669:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6669:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6669:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "6570:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6782:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6799:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6802:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6792:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6792:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6792:12:1"
}
]
},
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
"nodeType": "YulFunctionDefinition",
"src": "6693:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6905:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6922:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6925:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6915:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6915:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6915:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "6816:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7028:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7045:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7048:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7038:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7038:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7038:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "6939:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7110:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7120:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7138:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7145:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7134:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7134:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7154:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "7150:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7150:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7130:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7130:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "7120:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7093:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "7103:6:1",
"type": ""
}
],
"src": "7062:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7276:117:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7298:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7306:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7294:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7294:14:1"
},
{
"hexValue": "4f776e61626c653a20596f7520617265206e6f7420746865206f776e65722c20",
"kind": "string",
"nodeType": "YulLiteral",
"src": "7310:34:1",
"type": "",
"value": "Ownable: You are not the owner, "
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7287:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7287:58:1"
},
"nodeType": "YulExpressionStatement",
"src": "7287:58:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7366:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7374:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7362:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7362:15:1"
},
{
"hexValue": "4279652e",
"kind": "string",
"nodeType": "YulLiteral",
"src": "7379:6:1",
"type": "",
"value": "Bye."
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7355:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7355:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "7355:31:1"
}
]
},
"name": "store_literal_in_memory_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "7268:6:1",
"type": ""
}
],
"src": "7170:223:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7442:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7499:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7508:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7511:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7501:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7501:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7501:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7465:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7490:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "7472:17:1"
},
"nodeType": "YulFunctionCall",
"src": "7472:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7462:2:1"
},
"nodeType": "YulFunctionCall",
"src": "7462:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7455:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7455:43:1"
},
"nodeType": "YulIf",
"src": "7452:63:1"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7435:5:1",
"type": ""
}
],
"src": "7399:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7578:87:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7643:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7652:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7655:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7645:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7645:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7645:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7601:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7634:5:1"
}
],
"functionName": {
"name": "cleanup_t_address_payable",
"nodeType": "YulIdentifier",
"src": "7608:25:1"
},
"nodeType": "YulFunctionCall",
"src": "7608:32:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7598:2:1"
},
"nodeType": "YulFunctionCall",
"src": "7598:43:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7591:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7591:51:1"
},
"nodeType": "YulIf",
"src": "7588:71:1"
}
]
},
"name": "validator_revert_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7571:5:1",
"type": ""
}
],
"src": "7527:138:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7714:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7771:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7780:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7783:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7773:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7773:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7773:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7737:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7762:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7744:17:1"
},
"nodeType": "YulFunctionCall",
"src": "7744:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7734:2:1"
},
"nodeType": "YulFunctionCall",
"src": "7734:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7727:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7727:43:1"
},
"nodeType": "YulIf",
"src": "7724:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7707:5:1",
"type": ""
}
],
"src": "7671:122:1"
}
]
},
"contents": "{\n\n // address payable[]\n function abi_decode_available_length_t_array$_t_address_payable_$dyn_memory_ptr(offset, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_array$_t_address_payable_$dyn_memory_ptr(length))\n let dst := array\n\n mstore(array, length)\n dst := add(array, 0x20)\n\n let src := offset\n if gt(add(src, mul(length, 0x20)), end) {\n revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef()\n }\n for { let i := 0 } lt(i, length) { i := add(i, 1) }\n {\n\n let elementPos := src\n\n mstore(dst, abi_decode_t_address_payable(elementPos, end))\n dst := add(dst, 0x20)\n src := add(src, 0x20)\n }\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_t_address_payable(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address_payable(value)\n }\n\n // address payable[]\n function abi_decode_t_array$_t_address_payable_$dyn_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_array$_t_address_payable_$dyn_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_address(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(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_array$_t_address_payable_$dyn_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_array$_t_address_payable_$dyn_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_stringliteral_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 36)\n store_literal_in_memory_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38(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_stringliteral_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38__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_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38_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_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_array$_t_address_payable_$dyn_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := mul(length, 0x20)\n\n // add length slot\n size := add(size, 0x20)\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 checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\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_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\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 increment_t_uint256(value) -> ret {\n value := cleanup_t_uint256(value)\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\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_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() {\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 store_literal_in_memory_96bf9f53224ed4d52ee21711cc998a0fc7706c40ad7d4c7ec601bbd824cf6d38(memPtr) {\n\n mstore(add(memPtr, 0), \"Ownable: You are not the owner, \")\n\n mstore(add(memPtr, 32), \"Bye.\")\n\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\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": "60806040526004361061004e5760003560e01c80634717f97c146100ea5780634900a285146101155780639a0e7d661461013e578063d55ec9c114610169578063d8bff5a514610192576100e5565b366100e557600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146100e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100da906104f6565b60405180910390fd5b005b600080fd5b3480156100f657600080fd5b506100ff6101cf565b60405161010c9190610516565b60405180910390f35b34801561012157600080fd5b5061013c60048036038101906101379190610497565b6101d8565b005b34801561014a57600080fd5b5061015361020b565b6040516101609190610516565b60405180910390f35b34801561017557600080fd5b50610190600480360381019061018b919061044e565b610215565b005b34801561019e57600080fd5b506101b960048036038101906101b49190610421565b61032c565b6040516101c69190610516565b60405180910390f35b60008054905090565b806000808282546101e99190610593565b925050819055506001600081548092919061020390610668565b919050555050565b6000600154905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029c906104f6565b60405180910390fd5b60005b8151811015610328578181815181106102c4576102c36106e0565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166108fc629896809081150290604051600060405180830381858888f19350505050158015610314573d6000803e3d6000fd5b50808061032090610668565b9150506102a8565b5050565b60036020528060005260406000206000915090505481565b600061035761035284610556565b610531565b9050808382526020820190508285602086028201111561037a57610379610743565b5b60005b858110156103aa578161039088826103c9565b84526020840193506020830192505060018101905061037d565b5050509392505050565b6000813590506103c3816107b2565b92915050565b6000813590506103d8816107c9565b92915050565b600082601f8301126103f3576103f261073e565b5b8135610403848260208601610344565b91505092915050565b60008135905061041b816107e0565b92915050565b6000602082840312156104375761043661074d565b5b6000610445848285016103b4565b91505092915050565b6000602082840312156104645761046361074d565b5b600082013567ffffffffffffffff81111561048257610481610748565b5b61048e848285016103de565b91505092915050565b6000602082840312156104ad576104ac61074d565b5b60006104bb8482850161040c565b91505092915050565b60006104d1602483610582565b91506104dc82610763565b604082019050919050565b6104f08161062d565b82525050565b6000602082019050818103600083015261050f816104c4565b9050919050565b600060208201905061052b60008301846104e7565b92915050565b600061053b61054c565b90506105478282610637565b919050565b6000604051905090565b600067ffffffffffffffff8211156105715761057061070f565b5b602082029050602081019050919050565b600082825260208201905092915050565b600061059e8261062d565b91506105a98361062d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156105de576105dd6106b1565b5b828201905092915050565b60006105f48261060d565b9050919050565b60006106068261060d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b61064082610752565b810181811067ffffffffffffffff8211171561065f5761065e61070f565b5b80604052505050565b60006106738261062d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156106a6576106a56106b1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a20596f7520617265206e6f7420746865206f776e65722c2060008201527f4279652e00000000000000000000000000000000000000000000000000000000602082015250565b6107bb816105e9565b81146107c657600080fd5b50565b6107d2816105fb565b81146107dd57600080fd5b50565b6107e98161062d565b81146107f457600080fd5b5056fea2646970667358221220976e262dc2a2184cca1ab67e6b7a793ccdf8c8c2ee539672beed3f30813062c264736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4E JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x4717F97C EQ PUSH2 0xEA JUMPI DUP1 PUSH4 0x4900A285 EQ PUSH2 0x115 JUMPI DUP1 PUSH4 0x9A0E7D66 EQ PUSH2 0x13E JUMPI DUP1 PUSH4 0xD55EC9C1 EQ PUSH2 0x169 JUMPI DUP1 PUSH4 0xD8BFF5A5 EQ PUSH2 0x192 JUMPI PUSH2 0xE5 JUMP JUMPDEST CALLDATASIZE PUSH2 0xE5 JUMPI PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xE3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDA SWAP1 PUSH2 0x4F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xF6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0x1CF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10C SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x121 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x13C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x137 SWAP2 SWAP1 PUSH2 0x497 JUMP JUMPDEST PUSH2 0x1D8 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x14A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x153 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x160 SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x175 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x190 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x18B SWAP2 SWAP1 PUSH2 0x44E JUMP JUMPDEST PUSH2 0x215 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x19E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1B9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1B4 SWAP2 SWAP1 PUSH2 0x421 JUMP JUMPDEST PUSH2 0x32C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1C6 SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP1 DUP3 DUP3 SLOAD PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x593 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH1 0x1 PUSH1 0x0 DUP2 SLOAD DUP1 SWAP3 SWAP2 SWAP1 PUSH2 0x203 SWAP1 PUSH2 0x668 JUMP JUMPDEST SWAP2 SWAP1 POP SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x2A5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x29C SWAP1 PUSH2 0x4F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 MLOAD DUP2 LT ISZERO PUSH2 0x328 JUMPI DUP2 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x2C4 JUMPI PUSH2 0x2C3 PUSH2 0x6E0 JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC PUSH3 0x989680 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 0x314 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP DUP1 DUP1 PUSH2 0x320 SWAP1 PUSH2 0x668 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x2A8 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x357 PUSH2 0x352 DUP5 PUSH2 0x556 JUMP JUMPDEST PUSH2 0x531 JUMP JUMPDEST SWAP1 POP DUP1 DUP4 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP DUP3 DUP6 PUSH1 0x20 DUP7 MUL DUP3 ADD GT ISZERO PUSH2 0x37A JUMPI PUSH2 0x379 PUSH2 0x743 JUMP JUMPDEST JUMPDEST PUSH1 0x0 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0x3AA JUMPI DUP2 PUSH2 0x390 DUP9 DUP3 PUSH2 0x3C9 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP4 POP PUSH1 0x20 DUP4 ADD SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x37D JUMP JUMPDEST POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3C3 DUP2 PUSH2 0x7B2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3D8 DUP2 PUSH2 0x7C9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x3F3 JUMPI PUSH2 0x3F2 PUSH2 0x73E JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x403 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x344 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x41B DUP2 PUSH2 0x7E0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x437 JUMPI PUSH2 0x436 PUSH2 0x74D JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x445 DUP5 DUP3 DUP6 ADD PUSH2 0x3B4 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x464 JUMPI PUSH2 0x463 PUSH2 0x74D JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x482 JUMPI PUSH2 0x481 PUSH2 0x748 JUMP JUMPDEST JUMPDEST PUSH2 0x48E DUP5 DUP3 DUP6 ADD PUSH2 0x3DE JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4AD JUMPI PUSH2 0x4AC PUSH2 0x74D JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x4BB DUP5 DUP3 DUP6 ADD PUSH2 0x40C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4D1 PUSH1 0x24 DUP4 PUSH2 0x582 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DC DUP3 PUSH2 0x763 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4F0 DUP2 PUSH2 0x62D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x50F DUP2 PUSH2 0x4C4 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x52B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x4E7 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x53B PUSH2 0x54C JUMP JUMPDEST SWAP1 POP PUSH2 0x547 DUP3 DUP3 PUSH2 0x637 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 0x571 JUMPI PUSH2 0x570 PUSH2 0x70F JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP3 MUL SWAP1 POP PUSH1 0x20 DUP2 ADD 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 0x59E DUP3 PUSH2 0x62D JUMP JUMPDEST SWAP2 POP PUSH2 0x5A9 DUP4 PUSH2 0x62D JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x5DE JUMPI PUSH2 0x5DD PUSH2 0x6B1 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5F4 DUP3 PUSH2 0x60D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x606 DUP3 PUSH2 0x60D JUMP JUMPDEST 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 PUSH2 0x640 DUP3 PUSH2 0x752 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x65F JUMPI PUSH2 0x65E PUSH2 0x70F JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x673 DUP3 PUSH2 0x62D JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0x6A6 JUMPI PUSH2 0x6A5 PUSH2 0x6B1 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 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 PUSH32 0x4F776E61626C653A20596F7520617265206E6F7420746865206F776E65722C20 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x4279652E00000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x7BB DUP2 PUSH2 0x5E9 JUMP JUMPDEST DUP2 EQ PUSH2 0x7C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x7D2 DUP2 PUSH2 0x5FB JUMP JUMPDEST DUP2 EQ PUSH2 0x7DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x7E9 DUP2 PUSH2 0x62D JUMP JUMPDEST DUP2 EQ PUSH2 0x7F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP8 PUSH15 0x262DC2A2184CCA1AB67E6B7A793CCD 0xF8 0xC8 0xC2 0xEE MSTORE8 SWAP7 PUSH19 0xBEED3F30813062C264736F6C63430008070033 ",
"sourceMap": "26:968:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;235:5;;;;;;;;;;;221:19;;:10;:19;;;213:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;26:968;;;;;450:82;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;641:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;542:88;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;749:193;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;144:35;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;450:82;492:7;518;;511:14;;450:82;:::o;641:98::-;704:6;693:7;;:17;;;;;;;:::i;:::-;;;;;;;;720:10;;:12;;;;;;;;;:::i;:::-;;;;;;641:98;:::o;542:88::-;587:7;613:10;;606:17;;542:88;:::o;749:193::-;235:5;;;;;;;;;;;221:19;;:10;:19;;;213:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;838:6:::1;833:103;854:7;:14;850:1;:18;833:103;;;889:7;897:1;889:10;;;;;;;;:::i;:::-;;;;;;;;:19;;:29;909:8;889:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;870:3;;;;;:::i;:::-;;;;833:103;;;;749:193:::0;:::o;144:35::-;;;;;;;;;;;;;;;;;:::o;32:746:1:-;136:5;161:89;177:72;242:6;177:72;:::i;:::-;161:89;:::i;:::-;152:98;;270:5;299:6;292:5;285:21;333:4;326:5;322:16;315:23;;359:6;409:3;401:4;393:6;389:17;384:3;380:27;377:36;374:143;;;428:79;;:::i;:::-;374:143;541:1;526:246;551:6;548:1;545:13;526:246;;;619:3;648:45;689:3;677:10;648:45;:::i;:::-;643:3;636:58;723:4;718:3;714:14;707:21;;757:4;752:3;748:14;741:21;;586:186;573:1;570;566:9;561:14;;526:246;;;530:14;142:636;;32:746;;;;;:::o;784:139::-;830:5;868:6;855:20;846:29;;884:33;911:5;884:33;:::i;:::-;784:139;;;;:::o;929:155::-;983:5;1021:6;1008:20;999:29;;1037:41;1072:5;1037:41;:::i;:::-;929:155;;;;:::o;1115:386::-;1194:5;1243:3;1236:4;1228:6;1224:17;1220:27;1210:122;;1251:79;;:::i;:::-;1210:122;1368:6;1355:20;1393:102;1491:3;1483:6;1476:4;1468:6;1464:17;1393:102;:::i;:::-;1384:111;;1200:301;1115:386;;;;:::o;1507:139::-;1553:5;1591:6;1578:20;1569:29;;1607:33;1634:5;1607:33;:::i;:::-;1507:139;;;;:::o;1652:329::-;1711:6;1760:2;1748:9;1739:7;1735:23;1731:32;1728:119;;;1766:79;;:::i;:::-;1728:119;1886:1;1911:53;1956:7;1947:6;1936:9;1932:22;1911:53;:::i;:::-;1901:63;;1857:117;1652:329;;;;:::o;1987:555::-;2079:6;2128:2;2116:9;2107:7;2103:23;2099:32;2096:119;;;2134:79;;:::i;:::-;2096:119;2282:1;2271:9;2267:17;2254:31;2312:18;2304:6;2301:30;2298:117;;;2334:79;;:::i;:::-;2298:117;2439:86;2517:7;2508:6;2497:9;2493:22;2439:86;:::i;:::-;2429:96;;2225:310;1987:555;;;;:::o;2548:329::-;2607:6;2656:2;2644:9;2635:7;2631:23;2627:32;2624:119;;;2662:79;;:::i;:::-;2624:119;2782:1;2807:53;2852:7;2843:6;2832:9;2828:22;2807:53;:::i;:::-;2797:63;;2753:117;2548:329;;;;:::o;2883:366::-;3025:3;3046:67;3110:2;3105:3;3046:67;:::i;:::-;3039:74;;3122:93;3211:3;3122:93;:::i;:::-;3240:2;3235:3;3231:12;3224:19;;2883:366;;;:::o;3255:118::-;3342:24;3360:5;3342:24;:::i;:::-;3337:3;3330:37;3255:118;;:::o;3379:419::-;3545:4;3583:2;3572:9;3568:18;3560:26;;3632:9;3626:4;3622:20;3618:1;3607:9;3603:17;3596:47;3660:131;3786:4;3660:131;:::i;:::-;3652:139;;3379:419;;;:::o;3804:222::-;3897:4;3935:2;3924:9;3920:18;3912:26;;3948:71;4016:1;4005:9;4001:17;3992:6;3948:71;:::i;:::-;3804:222;;;;:::o;4032:129::-;4066:6;4093:20;;:::i;:::-;4083:30;;4122:33;4150:4;4142:6;4122:33;:::i;:::-;4032:129;;;:::o;4167:75::-;4200:6;4233:2;4227:9;4217:19;;4167:75;:::o;4248:319::-;4333:4;4423:18;4415:6;4412:30;4409:56;;;4445:18;;:::i;:::-;4409:56;4495:4;4487:6;4483:17;4475:25;;4555:4;4549;4545:15;4537:23;;4248:319;;;:::o;4573:169::-;4657:11;4691:6;4686:3;4679:19;4731:4;4726:3;4722:14;4707:29;;4573:169;;;;:::o;4748:305::-;4788:3;4807:20;4825:1;4807:20;:::i;:::-;4802:25;;4841:20;4859:1;4841:20;:::i;:::-;4836:25;;4995:1;4927:66;4923:74;4920:1;4917:81;4914:107;;;5001:18;;:::i;:::-;4914:107;5045:1;5042;5038:9;5031:16;;4748:305;;;;:::o;5059:96::-;5096:7;5125:24;5143:5;5125:24;:::i;:::-;5114:35;;5059:96;;;:::o;5161:104::-;5206:7;5235:24;5253:5;5235:24;:::i;:::-;5224:35;;5161:104;;;:::o;5271:126::-;5308:7;5348:42;5341:5;5337:54;5326:65;;5271:126;;;:::o;5403:77::-;5440:7;5469:5;5458:16;;5403:77;;;:::o;5486:281::-;5569:27;5591:4;5569:27;:::i;:::-;5561:6;5557:40;5699:6;5687:10;5684:22;5663:18;5651:10;5648:34;5645:62;5642:88;;;5710:18;;:::i;:::-;5642:88;5750:10;5746:2;5739:22;5529:238;5486:281;;:::o;5773:233::-;5812:3;5835:24;5853:5;5835:24;:::i;:::-;5826:33;;5881:66;5874:5;5871:77;5868:103;;;5951:18;;:::i;:::-;5868:103;5998:1;5991:5;5987:13;5980:20;;5773:233;;;:::o;6012:180::-;6060:77;6057:1;6050:88;6157:4;6154:1;6147:15;6181:4;6178:1;6171:15;6198:180;6246:77;6243:1;6236:88;6343:4;6340:1;6333:15;6367:4;6364:1;6357:15;6384:180;6432:77;6429:1;6422:88;6529:4;6526:1;6519:15;6553:4;6550:1;6543:15;6570:117;6679:1;6676;6669:12;6693:117;6802:1;6799;6792:12;6816:117;6925:1;6922;6915:12;6939:117;7048:1;7045;7038:12;7062:102;7103:6;7154:2;7150:7;7145:2;7138:5;7134:14;7130:28;7120:38;;7062:102;;;:::o;7170:223::-;7310:34;7306:1;7298:6;7294:14;7287:58;7379:6;7374:2;7366:6;7362:15;7355:31;7170:223;:::o;7399:122::-;7472:24;7490:5;7472:24;:::i;:::-;7465:5;7462:35;7452:63;;7511:1;7508;7501:12;7452:63;7399:122;:::o;7527:138::-;7608:32;7634:5;7608:32;:::i;:::-;7601:5;7598:43;7588:71;;7655:1;7652;7645:12;7588:71;7527:138;:::o;7671:122::-;7744:24;7762:5;7744:24;:::i;:::-;7737:5;7734:35;7724:63;;7783:1;7780;7773:12;7724:63;7671:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "418600",
"executionCost": "34749",
"totalCost": "453349"
},
"external": {
"getResults()": "2415",
"getTotalVotes()": "2459",
"registerVoters(address[])": "infinite",
"sendBallot(uint256)": "infinite",
"votes(address)": "2880"
}
},
"methodIdentifiers": {
"getResults()": "4717f97c",
"getTotalVotes()": "9a0e7d66",
"registerVoters(address[])": "d55ec9c1",
"sendBallot(uint256)": "4900a285",
"votes(address)": "d8bff5a5"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getResults",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTotalVotes",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable[]",
"name": "_voters",
"type": "address[]"
}
],
"name": "registerVoters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "ballot",
"type": "uint256"
}
],
"name": "sendBallot",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "votes",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getResults",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTotalVotes",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable[]",
"name": "_voters",
"type": "address[]"
}
],
"name": "registerVoters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "ballot",
"type": "uint256"
}
],
"name": "sendBallot",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "votes",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"gist-29806d9f4dbe24ed27ae6855965ff87b/Democracy.sol": "Democracy"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"gist-29806d9f4dbe24ed27ae6855965ff87b/Democracy.sol": {
"keccak256": "0x2addb3d4d772af49b4e416f405778f2528fa2c22e279a70a3b03b69635aa154d",
"urls": [
"bzz-raw://ae72d13d0a65d08d23ad9893b9aa6da9a2b7e7fc5d9d4047d1de6ee705bfd2ce",
"dweb:/ipfs/QmbxTZufYfDaHdgbNz6rJPh8Fb2ZawZLCUP649H7LZYniP"
]
}
},
"version": 1
}
pragma solidity '0.8.7';
contract Democracy {
// int tallyYes = 0;
uint results;
uint totalVotes;
address owner;
mapping(address=>uint) public votes;
modifier onlyOwner {
require(msg.sender == owner, "Ownable: You are not the owner, Bye.");
_;
}
constructor () {
totalVotes = 0;
results = 0;
owner = msg.sender;
}
receive() external payable onlyOwner {}
function getResults() view public returns(uint256) {
return results;
}
function getTotalVotes() view public returns(uint256) {
return totalVotes;
}
function sendBallot(uint256 ballot) public{
results += ballot;
totalVotes++;
}
function registerVoters(address payable[] memory _voters) public onlyOwner{
for (uint i = 0; i < _voters.length; i++) {
_voters[i].transfer(1, finney); // ??
}
}
// selfdestruct to return ether to owner
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment