From 0de46a41a6b638a8c7948cff56765fc768b799f6 Mon Sep 17 00:00:00 2001 From: Julien Genestoux Date: Tue, 15 Oct 2024 17:31:54 -0400 Subject: [PATCH] upgraded hook --- ...dule#UnlockPrimeHookWithRecipient.dbg.json | 4 + ...ntModule#UnlockPrimeHookWithRecipient.json | 352 + ...dule#UnlockPrimeHookWithRecipient.dbg.json | 4 + ...deModule#UnlockPrimeHookWithRecipient.json | 352 + .../ed2f213592b117ebfa257bd4909a9364.json | 125117 +++++++++++++++ .../chain-8453/deployed_addresses.json | 4 +- ignition/deployments/chain-8453/journal.jsonl | 13 +- .../modules/UnlockPrimeHookWithRecipient.ts | 13 +- 8 files changed, 125853 insertions(+), 6 deletions(-) create mode 100644 ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.dbg.json create mode 100644 ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.json create mode 100644 ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.dbg.json create mode 100644 ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.json create mode 100644 ignition/deployments/chain-8453/build-info/ed2f213592b117ebfa257bd4909a9364.json diff --git a/ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.dbg.json b/ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.dbg.json new file mode 100644 index 0000000..f5329f1 --- /dev/null +++ b/ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../build-info/ed2f213592b117ebfa257bd4909a9364.json" +} \ No newline at end of file diff --git a/ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.json b/ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.json new file mode 100644 index 0000000..605550f --- /dev/null +++ b/ignition/deployments/chain-8453/artifacts/UnlockPrimeHookWithRecipientModule#UnlockPrimeHookWithRecipient.json @@ -0,0 +1,352 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "UnlockPrimeHookWithRecipient", + "sourceName": "contracts/UnlockPrimeHookWithRecipient.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "OracleSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundPaid", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "UnlockPrimeSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "WethSet", + "type": "event" + }, + { + "inputs": [], + "name": "claimRefund", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "keyPurchasePrice", + "outputs": [ + { + "internalType": "uint256", + "name": "minKeyPrice", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyExtend", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyPurchase", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "oracle", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "refunds", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oracle", + "type": "address" + } + ], + "name": "setOracle", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + } + ], + "name": "setUnlockPrime", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "setWeth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unlockPrime", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50604051611e75380380611e75833981810160405281019061003291906102a9565b61004383838361004b60201b60201c565b5050506103a3565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146100da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d190610359565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5836040516101499190610388565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa826040516101c19190610388565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf9816040516102399190610388565b60405180910390a1505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102768261024b565b9050919050565b6102868161026b565b811461029157600080fd5b50565b6000815190506102a38161027d565b92915050565b6000806000606084860312156102c2576102c1610246565b5b60006102d086828701610294565b93505060206102e186828701610294565b92505060406102f286828701610294565b9150509250925092565b600082825260208201905092915050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006103436013836102fc565b915061034e8261030d565b602082019050919050565b6000602082019050818103600083015261037281610336565b9050919050565b6103828161026b565b82525050565b600060208201905061039d6000830184610379565b92915050565b611ac3806103b26000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b863373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea26469706673582212204a659cb1b5bf6c871620c5499c80c0e1315804ef5373e0c5809e323bcd51a38c64736f6c634300081b0033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b863373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea26469706673582212204a659cb1b5bf6c871620c5499c80c0e1315804ef5373e0c5809e323bcd51a38c64736f6c634300081b0033", + "linkReferences": {}, + "deployedLinkReferences": {} +} \ No newline at end of file diff --git a/ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.dbg.json b/ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.dbg.json new file mode 100644 index 0000000..f5329f1 --- /dev/null +++ b/ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../build-info/ed2f213592b117ebfa257bd4909a9364.json" +} \ No newline at end of file diff --git a/ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.json b/ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.json new file mode 100644 index 0000000..605550f --- /dev/null +++ b/ignition/deployments/chain-8453/artifacts/UpgradeModule#UnlockPrimeHookWithRecipient.json @@ -0,0 +1,352 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "UnlockPrimeHookWithRecipient", + "sourceName": "contracts/UnlockPrimeHookWithRecipient.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "OracleSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundPaid", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "UnlockPrimeSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "WethSet", + "type": "event" + }, + { + "inputs": [], + "name": "claimRefund", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "keyPurchasePrice", + "outputs": [ + { + "internalType": "uint256", + "name": "minKeyPrice", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyExtend", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyPurchase", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "oracle", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "refunds", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oracle", + "type": "address" + } + ], + "name": "setOracle", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + } + ], + "name": "setUnlockPrime", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "setWeth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unlockPrime", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50604051611e75380380611e75833981810160405281019061003291906102a9565b61004383838361004b60201b60201c565b5050506103a3565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146100da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d190610359565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5836040516101499190610388565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa826040516101c19190610388565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf9816040516102399190610388565b60405180910390a1505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102768261024b565b9050919050565b6102868161026b565b811461029157600080fd5b50565b6000815190506102a38161027d565b92915050565b6000806000606084860312156102c2576102c1610246565b5b60006102d086828701610294565b93505060206102e186828701610294565b92505060406102f286828701610294565b9150509250925092565b600082825260208201905092915050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006103436013836102fc565b915061034e8261030d565b602082019050919050565b6000602082019050818103600083015261037281610336565b9050919050565b6103828161026b565b82525050565b600060208201905061039d6000830184610379565b92915050565b611ac3806103b26000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b863373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea26469706673582212204a659cb1b5bf6c871620c5499c80c0e1315804ef5373e0c5809e323bcd51a38c64736f6c634300081b0033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b863373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea26469706673582212204a659cb1b5bf6c871620c5499c80c0e1315804ef5373e0c5809e323bcd51a38c64736f6c634300081b0033", + "linkReferences": {}, + "deployedLinkReferences": {} +} \ No newline at end of file diff --git a/ignition/deployments/chain-8453/build-info/ed2f213592b117ebfa257bd4909a9364.json b/ignition/deployments/chain-8453/build-info/ed2f213592b117ebfa257bd4909a9364.json new file mode 100644 index 0000000..95eb101 --- /dev/null +++ b/ignition/deployments/chain-8453/build-info/ed2f213592b117ebfa257bd4909a9364.json @@ -0,0 +1,125117 @@ +{ + "id": "ed2f213592b117ebfa257bd4909a9364", + "_format": "hh-sol-build-info-1", + "solcVersion": "0.8.27", + "solcLongVersion": "0.8.27+commit.40a35a09", + "input": { + "language": "Solidity", + "sources": { + "@openzeppelin/contracts/access/Ownable.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n address private _owner;\n\n /**\n * @dev The caller account is not authorized to perform an operation.\n */\n error OwnableUnauthorizedAccount(address account);\n\n /**\n * @dev The owner is not a valid owner account. (eg. `address(0)`)\n */\n error OwnableInvalidOwner(address owner);\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n /**\n * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n */\n constructor(address initialOwner) {\n if (initialOwner == address(0)) {\n revert OwnableInvalidOwner(address(0));\n }\n _transferOwnership(initialOwner);\n }\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n _checkOwner();\n _;\n }\n\n /**\n * @dev Returns the address of the current owner.\n */\n function owner() public view virtual returns (address) {\n return _owner;\n }\n\n /**\n * @dev Throws if the sender is not the owner.\n */\n function _checkOwner() internal view virtual {\n if (owner() != _msgSender()) {\n revert OwnableUnauthorizedAccount(_msgSender());\n }\n }\n\n /**\n * @dev Leaves the contract without owner. It will not be possible to call\n * `onlyOwner` functions. Can only be called by the current owner.\n *\n * NOTE: Renouncing ownership will leave the contract without an owner,\n * thereby disabling any functionality that is only available to the owner.\n */\n function renounceOwnership() public virtual onlyOwner {\n _transferOwnership(address(0));\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Can only be called by the current owner.\n */\n function transferOwnership(address newOwner) public virtual onlyOwner {\n if (newOwner == address(0)) {\n revert OwnableInvalidOwner(address(0));\n }\n _transferOwnership(newOwner);\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Internal function without access restriction.\n */\n function _transferOwnership(address newOwner) internal virtual {\n address oldOwner = _owner;\n _owner = newOwner;\n emit OwnershipTransferred(oldOwner, newOwner);\n }\n}\n" + }, + "@openzeppelin/contracts/interfaces/IERC1967.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1967.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n */\ninterface IERC1967 {\n /**\n * @dev Emitted when the implementation is upgraded.\n */\n event Upgraded(address indexed implementation);\n\n /**\n * @dev Emitted when the admin account has changed.\n */\n event AdminChanged(address previousAdmin, address newAdmin);\n\n /**\n * @dev Emitted when the beacon is changed.\n */\n event BeaconUpgraded(address indexed beacon);\n}\n" + }, + "@openzeppelin/contracts/proxy/beacon/IBeacon.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n /**\n * @dev Must return an address that can be used as a delegate call target.\n *\n * {UpgradeableBeacon} will check that this address is a contract.\n */\n function implementation() external view returns (address);\n}\n" + }, + "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Proxy.sol)\n\npragma solidity ^0.8.20;\n\nimport {Proxy} from \"../Proxy.sol\";\nimport {ERC1967Utils} from \"./ERC1967Utils.sol\";\n\n/**\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\n * implementation address that can be changed. This address is stored in storage in the location specified by\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\n * implementation behind the proxy.\n */\ncontract ERC1967Proxy is Proxy {\n /**\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `implementation`.\n *\n * If `_data` is nonempty, it's used as data in a delegate call to `implementation`. This will typically be an\n * encoded function call, and allows initializing the storage of the proxy like a Solidity constructor.\n *\n * Requirements:\n *\n * - If `data` is empty, `msg.value` must be zero.\n */\n constructor(address implementation, bytes memory _data) payable {\n ERC1967Utils.upgradeToAndCall(implementation, _data);\n }\n\n /**\n * @dev Returns the current implementation address.\n *\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\n */\n function _implementation() internal view virtual override returns (address) {\n return ERC1967Utils.getImplementation();\n }\n}\n" + }, + "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n */\nlibrary ERC1967Utils {\n // We re-declare ERC-1967 events here because they can't be used directly from IERC1967.\n // This will be fixed in Solidity 0.8.21. At that point we should remove these events.\n /**\n * @dev Emitted when the implementation is upgraded.\n */\n event Upgraded(address indexed implementation);\n\n /**\n * @dev Emitted when the admin account has changed.\n */\n event AdminChanged(address previousAdmin, address newAdmin);\n\n /**\n * @dev Emitted when the beacon is changed.\n */\n event BeaconUpgraded(address indexed beacon);\n\n /**\n * @dev Storage slot with the address of the current implementation.\n * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n */\n // solhint-disable-next-line private-vars-leading-underscore\n bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n /**\n * @dev The `implementation` of the proxy is invalid.\n */\n error ERC1967InvalidImplementation(address implementation);\n\n /**\n * @dev The `admin` of the proxy is invalid.\n */\n error ERC1967InvalidAdmin(address admin);\n\n /**\n * @dev The `beacon` of the proxy is invalid.\n */\n error ERC1967InvalidBeacon(address beacon);\n\n /**\n * @dev An upgrade function sees `msg.value > 0` that may be lost.\n */\n error ERC1967NonPayable();\n\n /**\n * @dev Returns the current implementation address.\n */\n function getImplementation() internal view returns (address) {\n return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n }\n\n /**\n * @dev Stores a new address in the EIP1967 implementation slot.\n */\n function _setImplementation(address newImplementation) private {\n if (newImplementation.code.length == 0) {\n revert ERC1967InvalidImplementation(newImplementation);\n }\n StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n }\n\n /**\n * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n * to avoid stuck value in the contract.\n *\n * Emits an {IERC1967-Upgraded} event.\n */\n function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n _setImplementation(newImplementation);\n emit Upgraded(newImplementation);\n\n if (data.length > 0) {\n Address.functionDelegateCall(newImplementation, data);\n } else {\n _checkNonPayable();\n }\n }\n\n /**\n * @dev Storage slot with the admin of the contract.\n * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n */\n // solhint-disable-next-line private-vars-leading-underscore\n bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n /**\n * @dev Returns the current admin.\n *\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n */\n function getAdmin() internal view returns (address) {\n return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n }\n\n /**\n * @dev Stores a new address in the EIP1967 admin slot.\n */\n function _setAdmin(address newAdmin) private {\n if (newAdmin == address(0)) {\n revert ERC1967InvalidAdmin(address(0));\n }\n StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n }\n\n /**\n * @dev Changes the admin of the proxy.\n *\n * Emits an {IERC1967-AdminChanged} event.\n */\n function changeAdmin(address newAdmin) internal {\n emit AdminChanged(getAdmin(), newAdmin);\n _setAdmin(newAdmin);\n }\n\n /**\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n */\n // solhint-disable-next-line private-vars-leading-underscore\n bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n /**\n * @dev Returns the current beacon.\n */\n function getBeacon() internal view returns (address) {\n return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n }\n\n /**\n * @dev Stores a new beacon in the EIP1967 beacon slot.\n */\n function _setBeacon(address newBeacon) private {\n if (newBeacon.code.length == 0) {\n revert ERC1967InvalidBeacon(newBeacon);\n }\n\n StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n address beaconImplementation = IBeacon(newBeacon).implementation();\n if (beaconImplementation.code.length == 0) {\n revert ERC1967InvalidImplementation(beaconImplementation);\n }\n }\n\n /**\n * @dev Change the beacon and trigger a setup call if data is nonempty.\n * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n * to avoid stuck value in the contract.\n *\n * Emits an {IERC1967-BeaconUpgraded} event.\n *\n * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n * efficiency.\n */\n function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n _setBeacon(newBeacon);\n emit BeaconUpgraded(newBeacon);\n\n if (data.length > 0) {\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n } else {\n _checkNonPayable();\n }\n }\n\n /**\n * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n * if an upgrade doesn't perform an initialization call.\n */\n function _checkNonPayable() private {\n if (msg.value > 0) {\n revert ERC1967NonPayable();\n }\n }\n}\n" + }, + "@openzeppelin/contracts/proxy/Proxy.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/Proxy.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\n * be specified by overriding the virtual {_implementation} function.\n *\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\n * different contract through the {_delegate} function.\n *\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\n */\nabstract contract Proxy {\n /**\n * @dev Delegates the current call to `implementation`.\n *\n * This function does not return to its internal call site, it will return directly to the external caller.\n */\n function _delegate(address implementation) internal virtual {\n assembly {\n // Copy msg.data. We take full control of memory in this inline assembly\n // block because it will not return to Solidity code. We overwrite the\n // Solidity scratch pad at memory position 0.\n calldatacopy(0, 0, calldatasize())\n\n // Call the implementation.\n // out and outsize are 0 because we don't know the size yet.\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\n\n // Copy the returned data.\n returndatacopy(0, 0, returndatasize())\n\n switch result\n // delegatecall returns 0 on error.\n case 0 {\n revert(0, returndatasize())\n }\n default {\n return(0, returndatasize())\n }\n }\n }\n\n /**\n * @dev This is a virtual function that should be overridden so it returns the address to which the fallback\n * function and {_fallback} should delegate.\n */\n function _implementation() internal view virtual returns (address);\n\n /**\n * @dev Delegates the current call to the address returned by `_implementation()`.\n *\n * This function does not return to its internal call site, it will return directly to the external caller.\n */\n function _fallback() internal virtual {\n _delegate(_implementation());\n }\n\n /**\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\n * function in the contract matches the call data.\n */\n fallback() external payable virtual {\n _fallback();\n }\n}\n" + }, + "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/transparent/ProxyAdmin.sol)\n\npragma solidity ^0.8.20;\n\nimport {ITransparentUpgradeableProxy} from \"./TransparentUpgradeableProxy.sol\";\nimport {Ownable} from \"../../access/Ownable.sol\";\n\n/**\n * @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an\n * explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.\n */\ncontract ProxyAdmin is Ownable {\n /**\n * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgrade(address)`\n * and `upgradeAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n * while `upgradeAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n * If the getter returns `\"5.0.0\"`, only `upgradeAndCall(address,bytes)` is present, and the second argument must\n * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n * during an upgrade.\n */\n string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n /**\n * @dev Sets the initial owner who can perform upgrades.\n */\n constructor(address initialOwner) Ownable(initialOwner) {}\n\n /**\n * @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation.\n * See {TransparentUpgradeableProxy-_dispatchUpgradeToAndCall}.\n *\n * Requirements:\n *\n * - This contract must be the admin of `proxy`.\n * - If `data` is empty, `msg.value` must be zero.\n */\n function upgradeAndCall(\n ITransparentUpgradeableProxy proxy,\n address implementation,\n bytes memory data\n ) public payable virtual onlyOwner {\n proxy.upgradeToAndCall{value: msg.value}(implementation, data);\n }\n}\n" + }, + "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/transparent/TransparentUpgradeableProxy.sol)\n\npragma solidity ^0.8.20;\n\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\nimport {ERC1967Proxy} from \"../ERC1967/ERC1967Proxy.sol\";\nimport {IERC1967} from \"../../interfaces/IERC1967.sol\";\nimport {ProxyAdmin} from \"./ProxyAdmin.sol\";\n\n/**\n * @dev Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy}\n * does not implement this interface directly, and its upgradeability mechanism is implemented by an internal dispatch\n * mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not\n * include them in the ABI so this interface must be used to interact with it.\n */\ninterface ITransparentUpgradeableProxy is IERC1967 {\n function upgradeToAndCall(address, bytes calldata) external payable;\n}\n\n/**\n * @dev This contract implements a proxy that is upgradeable through an associated {ProxyAdmin} instance.\n *\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\n * clashing], which can potentially be used in an attack, this contract uses the\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\n * things that go hand in hand:\n *\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\n * that call matches the {ITransparentUpgradeableProxy-upgradeToAndCall} function exposed by the proxy itself.\n * 2. If the admin calls the proxy, it can call the `upgradeToAndCall` function but any other call won't be forwarded to\n * the implementation. If the admin tries to call a function on the implementation it will fail with an error indicating\n * the proxy admin cannot fallback to the target implementation.\n *\n * These properties mean that the admin account can only be used for upgrading the proxy, so it's best if it's a\n * dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to\n * call a function from the proxy implementation. For this reason, the proxy deploys an instance of {ProxyAdmin} and\n * allows upgrades only if they come through it. You should think of the `ProxyAdmin` instance as the administrative\n * interface of the proxy, including the ability to change who can trigger upgrades by transferring ownership.\n *\n * NOTE: The real interface of this proxy is that defined in `ITransparentUpgradeableProxy`. This contract does not\n * inherit from that interface, and instead `upgradeToAndCall` is implicitly implemented using a custom dispatch\n * mechanism in `_fallback`. Consequently, the compiler will not produce an ABI for this contract. This is necessary to\n * fully implement transparency without decoding reverts caused by selector clashes between the proxy and the\n * implementation.\n *\n * NOTE: This proxy does not inherit from {Context} deliberately. The {ProxyAdmin} of this contract won't send a\n * meta-transaction in any way, and any other meta-transaction setup should be made in the implementation contract.\n *\n * IMPORTANT: This contract avoids unnecessary storage reads by setting the admin only during construction as an\n * immutable variable, preventing any changes thereafter. However, the admin slot defined in ERC-1967 can still be\n * overwritten by the implementation logic pointed to by this proxy. In such cases, the contract may end up in an\n * undesirable state where the admin slot is different from the actual admin.\n *\n * WARNING: It is not recommended to extend this contract to add additional external functions. If you do so, the\n * compiler will not check that there are no selector conflicts, due to the note above. A selector clash between any new\n * function and the functions declared in {ITransparentUpgradeableProxy} will be resolved in favor of the new one. This\n * could render the `upgradeToAndCall` function inaccessible, preventing upgradeability and compromising transparency.\n */\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\n // An immutable address for the admin to avoid unnecessary SLOADs before each call\n // at the expense of removing the ability to change the admin once it's set.\n // This is acceptable if the admin is always a ProxyAdmin instance or similar contract\n // with its own ability to transfer the permissions to another account.\n address private immutable _admin;\n\n /**\n * @dev The proxy caller is the current admin, and can't fallback to the proxy target.\n */\n error ProxyDeniedAdminAccess();\n\n /**\n * @dev Initializes an upgradeable proxy managed by an instance of a {ProxyAdmin} with an `initialOwner`,\n * backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in\n * {ERC1967Proxy-constructor}.\n */\n constructor(address _logic, address initialOwner, bytes memory _data) payable ERC1967Proxy(_logic, _data) {\n _admin = address(new ProxyAdmin(initialOwner));\n // Set the storage value and emit an event for ERC-1967 compatibility\n ERC1967Utils.changeAdmin(_proxyAdmin());\n }\n\n /**\n * @dev Returns the admin of this proxy.\n */\n function _proxyAdmin() internal virtual returns (address) {\n return _admin;\n }\n\n /**\n * @dev If caller is the admin process the call internally, otherwise transparently fallback to the proxy behavior.\n */\n function _fallback() internal virtual override {\n if (msg.sender == _proxyAdmin()) {\n if (msg.sig != ITransparentUpgradeableProxy.upgradeToAndCall.selector) {\n revert ProxyDeniedAdminAccess();\n } else {\n _dispatchUpgradeToAndCall();\n }\n } else {\n super._fallback();\n }\n }\n\n /**\n * @dev Upgrade the implementation of the proxy. See {ERC1967Utils-upgradeToAndCall}.\n *\n * Requirements:\n *\n * - If `data` is empty, `msg.value` must be zero.\n */\n function _dispatchUpgradeToAndCall() private {\n (address newImplementation, bytes memory data) = abi.decode(msg.data[4:], (address, bytes));\n ERC1967Utils.upgradeToAndCall(newImplementation, data);\n }\n}\n" + }, + "@openzeppelin/contracts/utils/Address.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev The ETH balance of the account is not enough to perform the operation.\n */\n error AddressInsufficientBalance(address account);\n\n /**\n * @dev There's no code at `target` (it is not a contract).\n */\n error AddressEmptyCode(address target);\n\n /**\n * @dev A call to an address target failed. The target may have reverted.\n */\n error FailedInnerCall();\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n if (address(this).balance < amount) {\n revert AddressInsufficientBalance(address(this));\n }\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n if (!success) {\n revert FailedInnerCall();\n }\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason or custom error, it is bubbled\n * up by this function (like regular Solidity function calls). However, if\n * the call reverted with no returned reason, this function reverts with a\n * {FailedInnerCall} error.\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n if (address(this).balance < value) {\n revert AddressInsufficientBalance(address(this));\n }\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResultFromTarget(target, success, returndata);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResultFromTarget(target, success, returndata);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return verifyCallResultFromTarget(target, success, returndata);\n }\n\n /**\n * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\n * unsuccessful call.\n */\n function verifyCallResultFromTarget(\n address target,\n bool success,\n bytes memory returndata\n ) internal view returns (bytes memory) {\n if (!success) {\n _revert(returndata);\n } else {\n // only check if target is a contract if the call was successful and the return data is empty\n // otherwise we already know that it was a contract\n if (returndata.length == 0 && target.code.length == 0) {\n revert AddressEmptyCode(target);\n }\n return returndata;\n }\n }\n\n /**\n * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n * revert reason or with a default {FailedInnerCall} error.\n */\n function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n if (!success) {\n _revert(returndata);\n } else {\n return returndata;\n }\n }\n\n /**\n * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\n */\n function _revert(bytes memory returndata) private pure {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n /// @solidity memory-safe-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert FailedInnerCall();\n }\n }\n}\n" + }, + "@openzeppelin/contracts/utils/Base64.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.2) (utils/Base64.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides a set of functions to operate with Base64 strings.\n */\nlibrary Base64 {\n /**\n * @dev Base64 Encoding/Decoding Table\n */\n string internal constant _TABLE = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n\n /**\n * @dev Converts a `bytes` to its Bytes64 `string` representation.\n */\n function encode(bytes memory data) internal pure returns (string memory) {\n /**\n * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence\n * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol\n */\n if (data.length == 0) return \"\";\n\n // Loads the table into memory\n string memory table = _TABLE;\n\n // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter\n // and split into 4 numbers of 6 bits.\n // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up\n // - `data.length + 2` -> Round up\n // - `/ 3` -> Number of 3-bytes chunks\n // - `4 *` -> 4 characters for each chunk\n string memory result = new string(4 * ((data.length + 2) / 3));\n\n /// @solidity memory-safe-assembly\n assembly {\n // Prepare the lookup table (skip the first \"length\" byte)\n let tablePtr := add(table, 1)\n\n // Prepare result pointer, jump over length\n let resultPtr := add(result, 0x20)\n let dataPtr := data\n let endPtr := add(data, mload(data))\n\n // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and\n // set it to zero to make sure no dirty bytes are read in that section.\n let afterPtr := add(endPtr, 0x20)\n let afterCache := mload(afterPtr)\n mstore(afterPtr, 0x00)\n\n // Run over the input, 3 bytes at a time\n for {\n\n } lt(dataPtr, endPtr) {\n\n } {\n // Advance 3 bytes\n dataPtr := add(dataPtr, 3)\n let input := mload(dataPtr)\n\n // To write each character, shift the 3 byte (24 bits) chunk\n // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)\n // and apply logical AND with 0x3F to bitmask the least significant 6 bits.\n // Use this as an index into the lookup table, mload an entire word\n // so the desired character is in the least significant byte, and\n // mstore8 this least significant byte into the result and continue.\n\n mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))\n resultPtr := add(resultPtr, 1) // Advance\n\n mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))\n resultPtr := add(resultPtr, 1) // Advance\n\n mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))\n resultPtr := add(resultPtr, 1) // Advance\n\n mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))\n resultPtr := add(resultPtr, 1) // Advance\n }\n\n // Reset the value that was cached\n mstore(afterPtr, afterCache)\n\n // When data `bytes` is not exactly 3 bytes long\n // it is padded with `=` characters at the end\n switch mod(mload(data), 3)\n case 1 {\n mstore8(sub(resultPtr, 1), 0x3d)\n mstore8(sub(resultPtr, 2), 0x3d)\n }\n case 2 {\n mstore8(sub(resultPtr, 1), 0x3d)\n }\n }\n\n return result;\n }\n}\n" + }, + "@openzeppelin/contracts/utils/Context.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes calldata) {\n return msg.data;\n }\n\n function _contextSuffixLength() internal view virtual returns (uint256) {\n return 0;\n }\n}\n" + }, + "@openzeppelin/contracts/utils/math/Math.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n /**\n * @dev Muldiv operation overflow.\n */\n error MathOverflowedMulDiv();\n\n enum Rounding {\n Floor, // Toward negative infinity\n Ceil, // Toward positive infinity\n Trunc, // Toward zero\n Expand // Away from zero\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, with an overflow flag.\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n }\n\n /**\n * @dev Returns the largest of two numbers.\n */\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\n return a > b ? a : b;\n }\n\n /**\n * @dev Returns the smallest of two numbers.\n */\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\n return a < b ? a : b;\n }\n\n /**\n * @dev Returns the average of two numbers. The result is rounded towards\n * zero.\n */\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\n // (a + b) / 2 can overflow.\n return (a & b) + (a ^ b) / 2;\n }\n\n /**\n * @dev Returns the ceiling of the division of two numbers.\n *\n * This differs from standard division with `/` in that it rounds towards infinity instead\n * of rounding towards zero.\n */\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n if (b == 0) {\n // Guarantee the same behavior as in a regular Solidity division.\n return a / b;\n }\n\n // (a + b - 1) / b can overflow on addition, so we distribute.\n return a == 0 ? 0 : (a - 1) / b + 1;\n }\n\n /**\n * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n * denominator == 0.\n * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n * Uniswap Labs also under MIT license.\n */\n function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n unchecked {\n // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n // variables such that product = prod1 * 2^256 + prod0.\n uint256 prod0 = x * y; // Least significant 256 bits of the product\n uint256 prod1; // Most significant 256 bits of the product\n assembly {\n let mm := mulmod(x, y, not(0))\n prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n }\n\n // Handle non-overflow cases, 256 by 256 division.\n if (prod1 == 0) {\n // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n // The surrounding unchecked block does not change this fact.\n // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n return prod0 / denominator;\n }\n\n // Make sure the result is less than 2^256. Also prevents denominator == 0.\n if (denominator <= prod1) {\n revert MathOverflowedMulDiv();\n }\n\n ///////////////////////////////////////////////\n // 512 by 256 division.\n ///////////////////////////////////////////////\n\n // Make division exact by subtracting the remainder from [prod1 prod0].\n uint256 remainder;\n assembly {\n // Compute remainder using mulmod.\n remainder := mulmod(x, y, denominator)\n\n // Subtract 256 bit number from 512 bit number.\n prod1 := sub(prod1, gt(remainder, prod0))\n prod0 := sub(prod0, remainder)\n }\n\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n uint256 twos = denominator & (0 - denominator);\n assembly {\n // Divide denominator by twos.\n denominator := div(denominator, twos)\n\n // Divide [prod1 prod0] by twos.\n prod0 := div(prod0, twos)\n\n // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\n twos := add(div(sub(0, twos), twos), 1)\n }\n\n // Shift in bits from prod1 into prod0.\n prod0 |= prod1 * twos;\n\n // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n // four bits. That is, denominator * inv = 1 mod 2^4.\n uint256 inverse = (3 * denominator) ^ 2;\n\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n // works in modular arithmetic, doubling the correct bits in each step.\n inverse *= 2 - denominator * inverse; // inverse mod 2^8\n inverse *= 2 - denominator * inverse; // inverse mod 2^16\n inverse *= 2 - denominator * inverse; // inverse mod 2^32\n inverse *= 2 - denominator * inverse; // inverse mod 2^64\n inverse *= 2 - denominator * inverse; // inverse mod 2^128\n inverse *= 2 - denominator * inverse; // inverse mod 2^256\n\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\n // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\n // is no longer required.\n result = prod0 * inverse;\n return result;\n }\n }\n\n /**\n * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n */\n function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n uint256 result = mulDiv(x, y, denominator);\n if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\n result += 1;\n }\n return result;\n }\n\n /**\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n * towards zero.\n *\n * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n */\n function sqrt(uint256 a) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n\n // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n //\n // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n //\n // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n //\n // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n uint256 result = 1 << (log2(a) >> 1);\n\n // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n // into the expected uint128 result.\n unchecked {\n result = (result + a / result) >> 1;\n result = (result + a / result) >> 1;\n result = (result + a / result) >> 1;\n result = (result + a / result) >> 1;\n result = (result + a / result) >> 1;\n result = (result + a / result) >> 1;\n result = (result + a / result) >> 1;\n return min(result, a / result);\n }\n }\n\n /**\n * @notice Calculates sqrt(a), following the selected rounding direction.\n */\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = sqrt(a);\n return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\n }\n }\n\n /**\n * @dev Return the log in base 2 of a positive value rounded towards zero.\n * Returns 0 if given 0.\n */\n function log2(uint256 value) internal pure returns (uint256) {\n uint256 result = 0;\n unchecked {\n if (value >> 128 > 0) {\n value >>= 128;\n result += 128;\n }\n if (value >> 64 > 0) {\n value >>= 64;\n result += 64;\n }\n if (value >> 32 > 0) {\n value >>= 32;\n result += 32;\n }\n if (value >> 16 > 0) {\n value >>= 16;\n result += 16;\n }\n if (value >> 8 > 0) {\n value >>= 8;\n result += 8;\n }\n if (value >> 4 > 0) {\n value >>= 4;\n result += 4;\n }\n if (value >> 2 > 0) {\n value >>= 2;\n result += 2;\n }\n if (value >> 1 > 0) {\n result += 1;\n }\n }\n return result;\n }\n\n /**\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n * Returns 0 if given 0.\n */\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = log2(value);\n return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\n }\n }\n\n /**\n * @dev Return the log in base 10 of a positive value rounded towards zero.\n * Returns 0 if given 0.\n */\n function log10(uint256 value) internal pure returns (uint256) {\n uint256 result = 0;\n unchecked {\n if (value >= 10 ** 64) {\n value /= 10 ** 64;\n result += 64;\n }\n if (value >= 10 ** 32) {\n value /= 10 ** 32;\n result += 32;\n }\n if (value >= 10 ** 16) {\n value /= 10 ** 16;\n result += 16;\n }\n if (value >= 10 ** 8) {\n value /= 10 ** 8;\n result += 8;\n }\n if (value >= 10 ** 4) {\n value /= 10 ** 4;\n result += 4;\n }\n if (value >= 10 ** 2) {\n value /= 10 ** 2;\n result += 2;\n }\n if (value >= 10 ** 1) {\n result += 1;\n }\n }\n return result;\n }\n\n /**\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n * Returns 0 if given 0.\n */\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = log10(value);\n return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\n }\n }\n\n /**\n * @dev Return the log in base 256 of a positive value rounded towards zero.\n * Returns 0 if given 0.\n *\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n */\n function log256(uint256 value) internal pure returns (uint256) {\n uint256 result = 0;\n unchecked {\n if (value >> 128 > 0) {\n value >>= 128;\n result += 16;\n }\n if (value >> 64 > 0) {\n value >>= 64;\n result += 8;\n }\n if (value >> 32 > 0) {\n value >>= 32;\n result += 4;\n }\n if (value >> 16 > 0) {\n value >>= 16;\n result += 2;\n }\n if (value >> 8 > 0) {\n result += 1;\n }\n }\n return result;\n }\n\n /**\n * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n * Returns 0 if given 0.\n */\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = log256(value);\n return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\n }\n }\n\n /**\n * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n */\n function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n return uint8(rounding) % 2 == 1;\n }\n}\n" + }, + "@openzeppelin/contracts/utils/math/SignedMath.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n /**\n * @dev Returns the largest of two signed numbers.\n */\n function max(int256 a, int256 b) internal pure returns (int256) {\n return a > b ? a : b;\n }\n\n /**\n * @dev Returns the smallest of two signed numbers.\n */\n function min(int256 a, int256 b) internal pure returns (int256) {\n return a < b ? a : b;\n }\n\n /**\n * @dev Returns the average of two signed numbers without overflow.\n * The result is rounded towards zero.\n */\n function average(int256 a, int256 b) internal pure returns (int256) {\n // Formula from the book \"Hacker's Delight\"\n int256 x = (a & b) + ((a ^ b) >> 1);\n return x + (int256(uint256(x) >> 255) & (a ^ b));\n }\n\n /**\n * @dev Returns the absolute unsigned value of a signed value.\n */\n function abs(int256 n) internal pure returns (uint256) {\n unchecked {\n // must be unchecked in order to support `n = type(int256).min`\n return uint256(n >= 0 ? n : -n);\n }\n }\n}\n" + }, + "@openzeppelin/contracts/utils/StorageSlot.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n * function _getImplementation() internal view returns (address) {\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n * }\n *\n * function _setImplementation(address newImplementation) internal {\n * require(newImplementation.code.length > 0);\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n * }\n * }\n * ```\n */\nlibrary StorageSlot {\n struct AddressSlot {\n address value;\n }\n\n struct BooleanSlot {\n bool value;\n }\n\n struct Bytes32Slot {\n bytes32 value;\n }\n\n struct Uint256Slot {\n uint256 value;\n }\n\n struct StringSlot {\n string value;\n }\n\n struct BytesSlot {\n bytes value;\n }\n\n /**\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n */\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n */\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n */\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n */\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `StringSlot` with member `value` located at `slot`.\n */\n function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n */\n function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := store.slot\n }\n }\n\n /**\n * @dev Returns an `BytesSlot` with member `value` located at `slot`.\n */\n function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n */\n function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n /// @solidity memory-safe-assembly\n assembly {\n r.slot := store.slot\n }\n }\n}\n" + }, + "@openzeppelin/contracts/utils/Strings.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)\n\npragma solidity ^0.8.20;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n uint8 private constant ADDRESS_LENGTH = 20;\n\n /**\n * @dev The `value` string doesn't fit in the specified `length`.\n */\n error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n /**\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n unchecked {\n uint256 length = Math.log10(value) + 1;\n string memory buffer = new string(length);\n uint256 ptr;\n /// @solidity memory-safe-assembly\n assembly {\n ptr := add(buffer, add(32, length))\n }\n while (true) {\n ptr--;\n /// @solidity memory-safe-assembly\n assembly {\n mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n }\n value /= 10;\n if (value == 0) break;\n }\n return buffer;\n }\n }\n\n /**\n * @dev Converts a `int256` to its ASCII `string` decimal representation.\n */\n function toStringSigned(int256 value) internal pure returns (string memory) {\n return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n }\n\n /**\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n */\n function toHexString(uint256 value) internal pure returns (string memory) {\n unchecked {\n return toHexString(value, Math.log256(value) + 1);\n }\n }\n\n /**\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n */\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n uint256 localValue = value;\n bytes memory buffer = new bytes(2 * length + 2);\n buffer[0] = \"0\";\n buffer[1] = \"x\";\n for (uint256 i = 2 * length + 1; i > 1; --i) {\n buffer[i] = HEX_DIGITS[localValue & 0xf];\n localValue >>= 4;\n }\n if (localValue != 0) {\n revert StringsInsufficientHexLength(value, length);\n }\n return string(buffer);\n }\n\n /**\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n * representation.\n */\n function toHexString(address addr) internal pure returns (string memory) {\n return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n }\n\n /**\n * @dev Returns true if the two strings are equal.\n */\n function equal(string memory a, string memory b) internal pure returns (bool) {\n return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\n }\n}\n" + }, + "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity >=0.5.17 <0.9.0;\npragma experimental ABIEncoderV2;\n\n/**\n * @title The PublicLock Interface\n */\n\ninterface IPublicLockV13 {\n /// Functions\n function initialize(\n address _lockCreator,\n uint _expirationDuration,\n address _tokenAddress,\n uint _keyPrice,\n uint _maxNumberOfKeys,\n string calldata _lockName\n ) external;\n\n // default role from OpenZeppelin\n function DEFAULT_ADMIN_ROLE() external view returns (bytes32 role);\n\n /**\n * @notice The version number of the current implementation on this network.\n * @return The current version number.\n */\n function publicLockVersion() external pure returns (uint16);\n\n /**\n * @dev Called by lock manager to withdraw all funds from the lock\n * @param _tokenAddress specifies the token address to withdraw or 0 for ETH. This is usually\n * the same as `tokenAddress` in MixinFunds.\n * @param _recipient specifies the address that will receive the tokens\n * @param _amount specifies the max amount to withdraw, which may be reduced when\n * considering the available balance. Set to 0 or MAX_UINT to withdraw everything.\n * -- however be wary of draining funds as it breaks the `cancelAndRefund` and `expireAndRefundFor` use cases.\n */\n function withdraw(\n address _tokenAddress,\n address payable _recipient,\n uint _amount\n ) external;\n\n /**\n * A function which lets a Lock manager of the lock to change the price for future purchases.\n * @dev Throws if called by other than a Lock manager\n * @dev Throws if lock has been disabled\n * @dev Throws if _tokenAddress is not a valid token\n * @param _keyPrice The new price to set for keys\n * @param _tokenAddress The address of the erc20 token to use for pricing the keys,\n * or 0 to use ETH\n */\n function updateKeyPricing(uint _keyPrice, address _tokenAddress) external;\n\n /**\n * Update the main key properties for the entire lock:\n *\n * - default duration of each key\n * - the maximum number of keys the lock can edit\n * - the maximum number of keys a single address can hold\n *\n * @notice keys previously bought are unaffected by this changes in expiration duration (i.e.\n * existing keys timestamps are not recalculated/updated)\n * @param _newExpirationDuration the new amount of time for each key purchased or type(uint).max for a non-expiring key\n * @param _maxKeysPerAcccount the maximum amount of key a single user can own\n * @param _maxNumberOfKeys uint the maximum number of keys\n * @dev _maxNumberOfKeys Can't be smaller than the existing supply\n */\n function updateLockConfig(\n uint _newExpirationDuration,\n uint _maxNumberOfKeys,\n uint _maxKeysPerAcccount\n ) external;\n\n /**\n * Checks if the user has a non-expired key.\n * @param _user The address of the key owner\n */\n function getHasValidKey(address _user) external view returns (bool);\n\n /**\n * @dev Returns the key's ExpirationTimestamp field for a given owner.\n * @param _tokenId the id of the key\n * @dev Returns 0 if the owner has never owned a key for this lock\n */\n function keyExpirationTimestampFor(\n uint _tokenId\n ) external view returns (uint timestamp);\n\n /**\n * Public function which returns the total number of unique owners (both expired\n * and valid). This may be larger than totalSupply.\n */\n function numberOfOwners() external view returns (uint);\n\n /**\n * Allows the Lock owner to assign\n * @param _lockName a descriptive name for this Lock.\n * @param _lockSymbol a Symbol for this Lock (default to KEY).\n * @param _baseTokenURI the baseTokenURI for this Lock\n */\n function setLockMetadata(\n string calldata _lockName,\n string calldata _lockSymbol,\n string calldata _baseTokenURI\n ) external;\n\n /**\n * @dev Gets the token symbol\n * @return string representing the token symbol\n */\n function symbol() external view returns (string memory);\n\n /** @notice A distinct Uniform Resource Identifier (URI) for a given asset.\n * @dev Throws if `_tokenId` is not a valid NFT. URIs are defined in RFC\n * 3986. The URI may point to a JSON file that conforms to the \"ERC721\n * Metadata JSON Schema\".\n * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\n * @param _tokenId The tokenID we're inquiring about\n * @return String representing the URI for the requested token\n */\n function tokenURI(uint256 _tokenId) external view returns (string memory);\n\n /**\n * Allows a Lock manager to add or remove an event hook\n * @param _onKeyPurchaseHook Hook called when the `purchase` function is called\n * @param _onKeyCancelHook Hook called when the internal `_cancelAndRefund` function is called\n * @param _onValidKeyHook Hook called to determine if the contract should overide the status for a given address\n * @param _onTokenURIHook Hook called to generate a data URI used for NFT metadata\n * @param _onKeyTransferHook Hook called when a key is transfered\n * @param _onKeyExtendHook Hook called when a key is extended or renewed\n * @param _onKeyGrantHook Hook called when a key is granted\n */\n function setEventHooks(\n address _onKeyPurchaseHook,\n address _onKeyCancelHook,\n address _onValidKeyHook,\n address _onTokenURIHook,\n address _onKeyTransferHook,\n address _onKeyExtendHook,\n address _onKeyGrantHook\n ) external;\n\n /**\n * Allows a Lock manager to give a collection of users a key with no charge.\n * Each key may be assigned a different expiration date.\n * @dev Throws if called by other than a Lock manager\n * @param _recipients An array of receiving addresses\n * @param _expirationTimestamps An array of expiration Timestamps for the keys being granted\n * @return the ids of the granted tokens\n */\n function grantKeys(\n address[] calldata _recipients,\n uint[] calldata _expirationTimestamps,\n address[] calldata _keyManagers\n ) external returns (uint256[] memory);\n\n /**\n * Allows the Lock owner to extend an existing keys with no charge.\n * @param _tokenId The id of the token to extend\n * @param _duration The duration in secondes to add ot the key\n * @dev set `_duration` to 0 to use the default duration of the lock\n */\n function grantKeyExtension(uint _tokenId, uint _duration) external;\n\n /**\n * @dev Purchase function\n * @param _values array of tokens amount to pay for this purchase >= the current keyPrice - any applicable discount\n * (_values is ignored when using ETH)\n * @param _recipients array of addresses of the recipients of the purchased key\n * @param _referrers array of addresses of the users making the referral\n * @param _keyManagers optional array of addresses to grant managing rights to a specific address on creation\n * @param _data array of arbitrary data populated by the front-end which initiated the sale\n * @notice when called for an existing and non-expired key, the `_keyManager` param will be ignored\n * @dev Setting _value to keyPrice exactly doubles as a security feature. That way if the lock owner increases the\n * price while my transaction is pending I can't be charged more than I expected (only applicable to ERC-20 when more\n * than keyPrice is approved for spending).\n * @return tokenIds the ids of the created tokens\n */\n function purchase(\n uint256[] calldata _values,\n address[] calldata _recipients,\n address[] calldata _referrers,\n address[] calldata _keyManagers,\n bytes[] calldata _data\n ) external payable returns (uint256[] memory tokenIds);\n\n /**\n * @dev Extend function\n * @param _value the number of tokens to pay for this purchase >= the current keyPrice - any applicable discount\n * (_value is ignored when using ETH)\n * @param _tokenId the id of the key to extend\n * @param _referrer address of the user making the referral\n * @param _data arbitrary data populated by the front-end which initiated the sale\n * @dev Throws if lock is disabled or key does not exist for _recipient. Throws if _recipient == address(0).\n */\n function extend(\n uint _value,\n uint _tokenId,\n address _referrer,\n bytes calldata _data\n ) external payable;\n\n /**\n * Returns the percentage of the keyPrice to be sent to the referrer (in basis points)\n * @param _referrer the address of the referrer\n * @return referrerFee the percentage of the keyPrice to be sent to the referrer (in basis points)\n */\n function referrerFees(\n address _referrer\n ) external view returns (uint referrerFee);\n\n /**\n * Set a specific percentage of the keyPrice to be sent to the referrer while purchasing,\n * extending or renewing a key.\n * @param _referrer the address of the referrer\n * @param _feeBasisPoint the percentage of the price to be used for this\n * specific referrer (in basis points)\n * @dev To send a fixed percentage of the key price to all referrers, sett a percentage to `address(0)`\n */\n function setReferrerFee(address _referrer, uint _feeBasisPoint) external;\n\n /**\n * Merge existing keys\n * @param _tokenIdFrom the id of the token to substract time from\n * @param _tokenIdTo the id of the destination token to add time\n * @param _amount the amount of time to transfer (in seconds)\n */\n function mergeKeys(uint _tokenIdFrom, uint _tokenIdTo, uint _amount) external;\n\n /**\n * Deactivate an existing key\n * @param _tokenId the id of token to burn\n * @notice the key will be expired and ownership records will be destroyed\n */\n function burn(uint _tokenId) external;\n\n /**\n * @param _gasRefundValue price in wei or token in smallest price unit\n * @dev Set the value to be refunded to the sender on purchase\n */\n function setGasRefundValue(uint256 _gasRefundValue) external;\n\n /**\n * _gasRefundValue price in wei or token in smallest price unit\n * @dev Returns the value/price to be refunded to the sender on purchase\n */\n function gasRefundValue() external view returns (uint256 _gasRefundValue);\n\n /**\n * @notice returns the minimum price paid for a purchase with these params.\n * @dev this considers any discount from Unlock or the OnKeyPurchase hook.\n */\n function purchasePriceFor(\n address _recipient,\n address _referrer,\n bytes calldata _data\n ) external view returns (uint);\n\n /**\n * Allow a Lock manager to change the transfer fee.\n * @dev Throws if called by other than a Lock manager\n * @param _transferFeeBasisPoints The new transfer fee in basis-points(bps).\n * Ex: 200 bps = 2%\n */\n function updateTransferFee(uint _transferFeeBasisPoints) external;\n\n /**\n * Determines how much of a fee would need to be paid in order to\n * transfer to another account. This is pro-rated so the fee goes\n * down overtime.\n * @dev Throws if _tokenId does not have a valid key\n * @param _tokenId The id of the key check the transfer fee for.\n * @param _time The amount of time to calculate the fee for.\n * @return The transfer fee in seconds.\n */\n function getTransferFee(\n uint _tokenId,\n uint _time\n ) external view returns (uint);\n\n /**\n * @dev Invoked by a Lock manager to expire the user's key\n * and perform a refund and cancellation of the key\n * @param _tokenId The key id we wish to refund to\n * @param _amount The amount to refund to the key-owner\n * @dev Throws if called by other than a Lock manager\n * @dev Throws if _keyOwner does not have a valid key\n */\n function expireAndRefundFor(uint _tokenId, uint _amount) external;\n\n /**\n * @dev allows the key manager to expire a given tokenId\n * and send a refund to the keyOwner based on the amount of time remaining.\n * @param _tokenId The id of the key to cancel.\n * @notice cancel is enabled with a 10% penalty by default on all Locks.\n */\n function cancelAndRefund(uint _tokenId) external;\n\n /**\n * Allow a Lock manager to change the refund penalty.\n * @dev Throws if called by other than a Lock manager\n * @param _freeTrialLength The new duration of free trials for this lock\n * @param _refundPenaltyBasisPoints The new refund penaly in basis-points(bps)\n */\n function updateRefundPenalty(\n uint _freeTrialLength,\n uint _refundPenaltyBasisPoints\n ) external;\n\n /**\n * @dev Determines how much of a refund a key owner would receive if they issued\n * @param _tokenId the id of the token to get the refund value for.\n * @notice Due to the time required to mine a tx, the actual refund amount will be lower\n * than what the user reads from this call.\n * @return refund the amount of tokens refunded\n */\n function getCancelAndRefundValue(\n uint _tokenId\n ) external view returns (uint refund);\n\n function addLockManager(address account) external;\n\n function isLockManager(address account) external view returns (bool);\n\n /**\n * Returns the address of the `onKeyPurchaseHook` hook.\n * @return hookAddress address of the hook\n */\n function onKeyPurchaseHook() external view returns (address hookAddress);\n\n /**\n * Returns the address of the `onKeyCancelHook` hook.\n * @return hookAddress address of the hook\n */\n function onKeyCancelHook() external view returns (address hookAddress);\n\n /**\n * Returns the address of the `onValidKeyHook` hook.\n * @return hookAddress address of the hook\n */\n function onValidKeyHook() external view returns (address hookAddress);\n\n /**\n * Returns the address of the `onTokenURIHook` hook.\n * @return hookAddress address of the hook\n */\n function onTokenURIHook() external view returns (address hookAddress);\n\n /**\n * Returns the address of the `onKeyTransferHook` hook.\n * @return hookAddress address of the hook\n */\n function onKeyTransferHook() external view returns (address hookAddress);\n\n /**\n * Returns the address of the `onKeyExtendHook` hook.\n * @return hookAddress the address ok the hook\n */\n function onKeyExtendHook() external view returns (address hookAddress);\n\n /**\n * Returns the address of the `onKeyGrantHook` hook.\n * @return hookAddress the address ok the hook\n */\n function onKeyGrantHook() external view returns (address hookAddress);\n\n function renounceLockManager() external;\n\n /**\n * @return the maximum number of key allowed for a single address\n */\n function maxKeysPerAddress() external view returns (uint);\n\n function expirationDuration() external view returns (uint256);\n\n function freeTrialLength() external view returns (uint256);\n\n function keyPrice() external view returns (uint256);\n\n function maxNumberOfKeys() external view returns (uint256);\n\n function refundPenaltyBasisPoints() external view returns (uint256);\n\n function tokenAddress() external view returns (address);\n\n function transferFeeBasisPoints() external view returns (uint256);\n\n function unlockProtocol() external view returns (address);\n\n function keyManagerOf(uint) external view returns (address);\n\n ///===================================================================\n\n /**\n * @notice Allows the key owner to safely share their key (parent key) by\n * transferring a portion of the remaining time to a new key (child key).\n * @dev Throws if key is not valid.\n * @dev Throws if `_to` is the zero address\n * @param _to The recipient of the shared key\n * @param _tokenId the key to share\n * @param _timeShared The amount of time shared\n * checks if `_to` is a smart contract (code size > 0). If so, it calls\n * `onERC721Received` on `_to` and throws if the return value is not\n * `bytes4(keccak256('onERC721Received(address,address,uint,bytes)'))`.\n * @dev Emit Transfer event\n */\n function shareKey(address _to, uint _tokenId, uint _timeShared) external;\n\n /**\n * @notice Update transfer and cancel rights for a given key\n * @param _tokenId The id of the key to assign rights for\n * @param _keyManager The address to assign the rights to for the given key\n */\n function setKeyManagerOf(uint _tokenId, address _keyManager) external;\n\n /**\n * Check if a certain key is valid\n * @param _tokenId the id of the key to check validity\n * @notice this makes use of the onValidKeyHook if it is set\n */\n function isValidKey(uint _tokenId) external view returns (bool);\n\n /**\n * Returns the number of keys owned by `_keyOwner` (expired or not)\n * @param _keyOwner address for which we are retrieving the total number of keys\n * @return numberOfKeys total number of keys owned by the address\n */\n function totalKeys(\n address _keyOwner\n ) external view returns (uint numberOfKeys);\n\n /// @notice A descriptive name for a collection of NFTs in this contract\n function name() external view returns (string memory _name);\n\n ///===================================================================\n\n /// From ERC165.sol\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n\n ///===================================================================\n\n /// From ERC-721\n /**\n * In the specific case of a Lock, `balanceOf` returns only the tokens with a valid expiration timerange\n * @return balance The number of valid keys owned by `_keyOwner`\n */\n function balanceOf(address _owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the NFT specified by `tokenId`.\n */\n function ownerOf(uint256 tokenId) external view returns (address _owner);\n\n /**\n * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to\n * another (`to`).\n *\n * Requirements:\n * - `from`, `to` cannot be zero.\n * - `tokenId` must be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this\n * NFT by either `approve` or `setApprovalForAll`.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * an ERC721-like function to transfer a token from one account to another.\n * @param from the owner of token to transfer\n * @param to the address that will receive the token\n * @param tokenId the id of the token\n * @dev Requirements: if the caller is not `from`, it must be approved to move this token by\n * either `approve` or `setApprovalForAll`.\n * The key manager will be reset to address zero after the transfer\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * Lending a key allows you to transfer the token while retaining the\n * ownerships right by setting yourself as a key manager first.\n * @param from the owner of token to transfer\n * @param to the address that will receive the token\n * @param tokenId the id of the token\n * @notice This function can only be called by 1) the key owner when no key manager is set or 2) the key manager.\n * After calling the function, the `_recipent` will be the new owner, and the sender of the tx\n * will become the key manager.\n */\n function lendKey(address from, address to, uint tokenId) external;\n\n /**\n * Unlend is called when you have lent a key and want to claim its full ownership back.\n * @param _recipient the address that will receive the token ownership\n * @param _tokenId the id of the token\n * @dev Only the key manager of the token can call this function\n */\n function unlendKey(address _recipient, uint _tokenId) external;\n\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @notice Get the approved address for a single NFT\n * @dev Throws if `_tokenId` is not a valid NFT.\n * @param _tokenId The NFT to find the approved address for\n * @return operator The approved address for this NFT, or the zero address if there is none\n */\n function getApproved(\n uint256 _tokenId\n ) external view returns (address operator);\n\n /**\n * @dev Sets or unsets the approval of a given operator\n * An operator is allowed to transfer all tokens of the sender on their behalf\n * @param _operator operator address to set the approval\n * @param _approved representing the status of the approval to be set\n * @notice disabled when transfers are disabled\n */\n function setApprovalForAll(address _operator, bool _approved) external;\n\n /**\n * @dev Tells whether an operator is approved by a given keyManager\n * @param _owner owner address which you want to query the approval of\n * @param _operator operator address which you want to query the approval of\n * @return bool whether the given operator is approved by the given owner\n */\n function isApprovedForAll(\n address _owner,\n address _operator\n ) external view returns (bool);\n\n function safeTransferFrom(\n address from,\n address to,\n uint256 tokenId,\n bytes calldata data\n ) external;\n\n /**\n * Returns the total number of keys, including non-valid ones\n * @return _totalKeysCreated the total number of keys, valid or not\n */\n function totalSupply() external view returns (uint256 _totalKeysCreated);\n\n function tokenOfOwnerByIndex(\n address _owner,\n uint256 index\n ) external view returns (uint256 tokenId);\n\n function tokenByIndex(uint256 index) external view returns (uint256);\n\n /**\n * Innherited from Open Zeppelin AccessControl.sol\n */\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n function grantRole(bytes32 role, address account) external;\n\n function revokeRole(bytes32 role, address account) external;\n\n function renounceRole(bytes32 role, address account) external;\n\n function hasRole(bytes32 role, address account) external view returns (bool);\n\n /** `owner()` is provided as an helper to mimick the `Ownable` contract ABI.\n * The `Ownable` logic is used by many 3rd party services to determine\n * contract ownership - e.g. who is allowed to edit metadata on Opensea.\n *\n * @notice This logic is NOT used internally by the Unlock Protocol and is made\n * available only as a convenience helper.\n */\n function owner() external view returns (address owner);\n\n function setOwner(address account) external;\n\n function isOwner(address account) external view returns (bool isOwner);\n\n /**\n * Migrate data from the previous single owner => key mapping to\n * the new data structure w multiple tokens.\n * @param _calldata an ABI-encoded representation of the params (v10: the number of records to migrate as `uint`)\n * @dev when all record schemas are sucessfully upgraded, this function will update the `schemaVersion`\n * variable to the latest/current lock version\n */\n function migrate(bytes calldata _calldata) external;\n\n /**\n * Returns the version number of the data schema currently used by the lock\n * @notice if this is different from `publicLockVersion`, then the ability to purchase, grant\n * or extend keys is disabled.\n * @dev will return 0 if no ;igration has ever been run\n */\n function schemaVersion() external view returns (uint);\n\n /**\n * Set the schema version to the latest\n * @notice only lock manager call call this\n */\n function updateSchemaVersion() external;\n\n /**\n * Renew a given token\n * @notice only works for non-free, expiring, ERC20 locks\n * @param _tokenId the ID fo the token to renew\n * @param _referrer the address of the person to be granted UDT\n */\n function renewMembershipFor(uint _tokenId, address _referrer) external;\n\n /**\n * @dev helper to check if a key is currently renewable\n * it will revert if the pricing or duration of the lock have been modified\n * unfavorably since the key was bought(price increase or duration decrease).\n * It will also revert if a lock is not renewable or if the key is not ready for renewal yet\n * (at least 90% expired).\n * @param tokenId the id of the token to check\n * @param referrer the address where to send the referrer fee\n * @return true if the terms has changed\n */\n function isRenewable(\n uint256 tokenId,\n address referrer\n ) external view returns (bool);\n}\n" + }, + "contracts/Proxies.sol": { + "content": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.27;\n\nimport \"@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol\";\nimport \"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\";\n" + }, + "contracts/UnlockPrimeHook.sol": { + "content": "import \"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\";\n\n// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.27;\n\n// Uncomment this line to use console.log\n// import \"hardhat/console.sol\";\n\ninterface IUniswapOracleV3 {\n function PERIOD() external returns (uint256);\n\n function factory() external returns (address);\n\n function update(address _tokenIn, address _tokenOut) external;\n\n function consult(\n address _tokenIn,\n uint256 _amountIn,\n address _tokenOut\n ) external view returns (uint256 _amountOut);\n\n function updateAndConsult(\n address _tokenIn,\n uint256 _amountIn,\n address _tokenOut\n ) external returns (uint256 _amountOut);\n}\n\ncontract UnlockPrimeHook {\n address public unlockPrime;\n address public oracle;\n address public weth;\n mapping(address => uint[2]) public refunds; // [amount, time]\n\n event UnlockPrimeSet(address);\n event OracleSet(address);\n event WethSet(address);\n event RefundSet(address, uint256, uint256);\n event RefundPaid(address, uint256);\n\n constructor(address _unlockPrime, address _oracle, address _weth) {\n initialize(_unlockPrime, _oracle, _weth);\n }\n\n function initialize(\n address _unlockPrime,\n address _oracle,\n address _weth\n ) public {\n if (unlockPrime != address(0)) {\n revert(\"Already initialized\");\n }\n unlockPrime = _unlockPrime;\n emit UnlockPrimeSet(_unlockPrime);\n oracle = _oracle;\n emit OracleSet(_oracle);\n weth = _weth;\n emit WethSet(_weth);\n }\n\n // Set the unlock prime address, only callable by lock manager\n function setUnlockPrime(address _unlockPrime) public {\n if (!IPublicLockV13(unlockPrime).isLockManager(msg.sender)) {\n revert(\"Caller is not a lock manager\");\n }\n unlockPrime = _unlockPrime;\n emit UnlockPrimeSet(_unlockPrime);\n }\n\n // Set the oracle address, only callable by lock manager\n function setOracle(address _oracle) public {\n if (!IPublicLockV13(unlockPrime).isLockManager(msg.sender)) {\n revert(\"Caller is not a lock manager\");\n }\n oracle = _oracle;\n emit OracleSet(_oracle);\n }\n\n // Set the WETH address, only callable by lock manager\n function setWeth(address _weth) public {\n if (!IPublicLockV13(unlockPrime).isLockManager(msg.sender)) {\n revert(\"Caller is not a lock manager\");\n }\n weth = _weth;\n emit WethSet(_weth);\n }\n\n // Return the price of a key\n function keyPurchasePrice(\n address /* from */,\n address /* recipient */,\n address /* referrer */,\n bytes calldata /* data */\n ) external view returns (uint256 minKeyPrice) {\n return IPublicLockV13(msg.sender).keyPrice();\n }\n\n function recordRefund(address beneficiary, uint amount) private {\n address UPAddress = IPublicLockV13(unlockPrime).tokenAddress();\n // At this point, check the pricePaid and its value against Uniswap oracles\n uint valueInETH = IUniswapOracleV3(oracle).updateAndConsult(\n UPAddress,\n amount,\n weth\n );\n // Store the refund and the delay\n uint existingRefund = refunds[beneficiary][0];\n uint existingDelay = refunds[beneficiary][1];\n uint newRefund = (valueInETH * 11) / 10; // 10% bonus\n uint newDelay = block.timestamp + 60 * 60 * 24 * 14; // 2 weeks delay!\n\n if (existingDelay < block.timestamp) {\n refunds[beneficiary] = [existingRefund + newRefund, newDelay];\n } else {\n // One needs to wait for the delay to be able to increase their refund.\n refunds[beneficiary] = [newRefund, newDelay];\n }\n\n emit RefundSet(\n beneficiary,\n refunds[beneficiary][0],\n refunds[beneficiary][1]\n );\n }\n\n // This function is called by Unlock when a key is purchased\n function onKeyPurchase(\n uint256 /* tokenId */,\n address from,\n address /* recipient */,\n address /* referrer */,\n bytes calldata /* data */,\n uint256 /* minKeyPrice */,\n uint256 /* pricePaid */\n ) external {\n if (msg.sender == unlockPrime) {\n recordRefund(from, IPublicLockV13(msg.sender).keyPrice());\n }\n }\n\n // This function is called by Unlock when a key is extended\n function onKeyExtend(\n uint tokenId,\n address /* sender */,\n uint /* newTimestamp */,\n uint /* expirationTimestamp */\n ) external {\n IPublicLockV13 lock = IPublicLockV13(msg.sender);\n if (msg.sender == unlockPrime) {\n recordRefund(lock.ownerOf(tokenId), lock.keyPrice());\n }\n }\n\n // Claim the refund!\n function claimRefund() external {\n uint[2] memory refund = refunds[msg.sender];\n require(refund[0] > 0, \"No refund available\");\n require(refund[1] < block.timestamp, \"Refund not available yet\");\n refunds[msg.sender] = [0, 0];\n payable(msg.sender).transfer(refund[0]);\n emit RefundPaid(msg.sender, refund[0]);\n }\n}\n" + }, + "contracts/UnlockPrimeHookWithRecipient.sol": { + "content": "import \"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\";\n\n// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.27;\n\n// Uncomment this line to use console.log\n// import \"hardhat/console.sol\";\n\ninterface IUniswapOracleV3 {\n function PERIOD() external returns (uint256);\n\n function factory() external returns (address);\n\n function update(address _tokenIn, address _tokenOut) external;\n\n function consult(\n address _tokenIn,\n uint256 _amountIn,\n address _tokenOut\n ) external view returns (uint256 _amountOut);\n\n function updateAndConsult(\n address _tokenIn,\n uint256 _amountIn,\n address _tokenOut\n ) external returns (uint256 _amountOut);\n}\n\ncontract UnlockPrimeHookWithRecipient {\n address public unlockPrime;\n address public oracle;\n address public weth;\n mapping(address => uint[2]) public refunds; // [amount, time]\n\n event UnlockPrimeSet(address);\n event OracleSet(address);\n event WethSet(address);\n event RefundSet(address, uint256, uint256);\n event RefundPaid(address, uint256);\n\n constructor(address _unlockPrime, address _oracle, address _weth) {\n initialize(_unlockPrime, _oracle, _weth);\n }\n\n function initialize(\n address _unlockPrime,\n address _oracle,\n address _weth\n ) public {\n if (unlockPrime != address(0)) {\n revert(\"Already initialized\");\n }\n unlockPrime = _unlockPrime;\n emit UnlockPrimeSet(_unlockPrime);\n oracle = _oracle;\n emit OracleSet(_oracle);\n weth = _weth;\n emit WethSet(_weth);\n }\n\n // Set the unlock prime address, only callable by lock manager\n function setUnlockPrime(address _unlockPrime) public {\n if (!IPublicLockV13(unlockPrime).isLockManager(msg.sender)) {\n revert(\"Caller is not a lock manager\");\n }\n unlockPrime = _unlockPrime;\n emit UnlockPrimeSet(_unlockPrime);\n }\n\n // Set the oracle address, only callable by lock manager\n function setOracle(address _oracle) public {\n if (!IPublicLockV13(unlockPrime).isLockManager(msg.sender)) {\n revert(\"Caller is not a lock manager\");\n }\n oracle = _oracle;\n emit OracleSet(_oracle);\n }\n\n // Set the WETH address, only callable by lock manager\n function setWeth(address _weth) public {\n if (!IPublicLockV13(unlockPrime).isLockManager(msg.sender)) {\n revert(\"Caller is not a lock manager\");\n }\n weth = _weth;\n emit WethSet(_weth);\n }\n\n // Return the price of a key\n function keyPurchasePrice(\n address /* from */,\n address /* recipient */,\n address /* referrer */,\n bytes calldata /* data */\n ) external view returns (uint256 minKeyPrice) {\n return IPublicLockV13(msg.sender).keyPrice();\n }\n\n function recordRefund(address beneficiary, uint amount) private {\n address UPAddress = IPublicLockV13(unlockPrime).tokenAddress();\n // At this point, check the pricePaid and its value against Uniswap oracles\n uint valueInETH = IUniswapOracleV3(oracle).updateAndConsult(\n UPAddress,\n amount,\n weth\n );\n // Store the refund and the delay\n uint existingRefund = refunds[beneficiary][0];\n uint existingDelay = refunds[beneficiary][1];\n uint newRefund = (valueInETH * 11) / 10; // 10% bonus\n uint newDelay = block.timestamp + 60 * 60 * 24 * 14; // 2 weeks delay!\n\n if (existingDelay < block.timestamp) {\n refunds[beneficiary] = [existingRefund + newRefund, newDelay];\n } else {\n // One needs to wait for the delay to be able to increase their refund.\n refunds[beneficiary] = [newRefund, newDelay];\n }\n\n emit RefundSet(\n beneficiary,\n refunds[beneficiary][0],\n refunds[beneficiary][1]\n );\n }\n\n // This function is called by Unlock when a key is purchased\n function onKeyPurchase(\n uint256 /* tokenId */,\n address /* from */,\n address recipient,\n address /* referrer */,\n bytes calldata /* data */,\n uint256 /* minKeyPrice */,\n uint256 /* pricePaid */\n ) external {\n if (msg.sender == unlockPrime) {\n recordRefund(recipient, IPublicLockV13(msg.sender).keyPrice());\n }\n }\n\n // This function is called by Unlock when a key is extended\n function onKeyExtend(\n uint tokenId,\n address /* sender */,\n uint /* newTimestamp */,\n uint /* expirationTimestamp */\n ) external {\n IPublicLockV13 lock = IPublicLockV13(msg.sender);\n if (msg.sender == unlockPrime) {\n recordRefund(lock.ownerOf(tokenId), lock.keyPrice());\n }\n }\n\n // Claim the refund!\n function claimRefund() external {\n uint[2] memory refund = refunds[msg.sender];\n require(refund[0] > 0, \"No refund available\");\n require(refund[1] < block.timestamp, \"Refund not available yet\");\n refunds[msg.sender] = [0, 0];\n payable(msg.sender).transfer(refund[0]);\n emit RefundPaid(msg.sender, refund[0]);\n }\n}\n" + }, + "contracts/UnlockPrimeTokenURIHook.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity >=0.5.17 <0.9.0;\n\n/**\n * @title Token URI hook for Unlock Prime\n * @author Clement Renaud \n * @notice This adds a way for the token URI to return a dynamic svg containing info about the token (validity and owner)\n */\n\nimport \"@openzeppelin/contracts/utils/Base64.sol\";\nimport {Strings} from \"@openzeppelin/contracts/utils/Strings.sol\";\n\n// inspired by BokkyPooBah's Solidity DateTime Library\nlibrary Datetime {\n uint constant SECONDS_PER_DAY = 24 * 60 * 60;\n uint constant SECONDS_PER_HOUR = 60 * 60;\n uint constant SECONDS_PER_MINUTE = 60;\n int constant OFFSET19700101 = 2440588;\n\n // ------------------------------------------------------------------------\n // Calculate year/month/day from the number of days since 1970/01/01 using\n // the date conversion algorithm from\n // http://aa.usno.navy.mil/faq/docs/JD_Formula.php\n // and adding the offset 2440588 so that 1970/01/01 is day 0\n //\n // int L = days + 68569 + offset\n // int N = 4 * L / 146097\n // L = L - (146097 * N + 3) / 4\n // year = 4000 * (L + 1) / 1461001\n // L = L - 1461 * year / 4 + 31\n // month = 80 * L / 2447\n // dd = L - 2447 * month / 80\n // L = month / 11\n // month = month + 2 - 12 * L\n // year = 100 * (N - 49) + year + L\n // ------------------------------------------------------------------------\n function _daysToDate(\n uint _days\n ) internal pure returns (uint year, uint month, uint day) {\n int __days = int(_days);\n\n int L = __days + 68569 + OFFSET19700101;\n int N = (4 * L) / 146097;\n L = L - (146097 * N + 3) / 4;\n int _year = (4000 * (L + 1)) / 1461001;\n L = L - (1461 * _year) / 4 + 31;\n int _month = (80 * L) / 2447;\n int _day = L - (2447 * _month) / 80;\n L = _month / 11;\n _month = _month + 2 - 12 * L;\n _year = 100 * (N - 49) + _year + L;\n\n year = uint(_year);\n month = uint(_month);\n day = uint(_day);\n }\n\n function timestampToDate(\n uint timestamp\n ) internal pure returns (uint year, uint month, uint day) {\n (year, month, day) = _daysToDate(timestamp / SECONDS_PER_DAY);\n }\n}\n\n/**\n * @notice Functions to be implemented by a tokenURIHook.\n * @dev Lock hooks are configured by calling `setEventHooks` on the lock.\n */\ncontract UnlockPrimeTokenURIHook {\n string[] internal months = [\n \"\", // no month for index 0\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ];\n\n /**\n * @notice If the lock owner has registered an implementer\n * then this hook is called every time `tokenURI()` is called\n * @param lockAddress the address of the lock\n * @param operator the msg.sender issuing the call\n * @param owner the owner of the key for which we are retrieving the `tokenUri`\n * @param keyId the id (tokenId) of the key (if applicable)\n * @param expirationTimestamp the key expiration timestamp\n * @return the tokenURI\n */\n function tokenURI(\n address lockAddress,\n address operator,\n address owner,\n uint256 keyId,\n uint expirationTimestamp\n ) public view returns (string memory) {\n string memory memberId = string(\n abi.encodePacked(\n '',\n Strings.toHexString(owner),\n \"\"\n )\n );\n\n (uint year, uint month, uint day) = Datetime.timestampToDate(\n expirationTimestamp\n );\n string memory validDeadline = string(\n abi.encodePacked(\n '',\n months[month], //\n \" \",\n Strings.toString(day), //\n \", \",\n Strings.toString(year), //\n ' '\n )\n );\n\n // draw svg by combining all layers\n string memory svg = string(\n abi.encodePacked(\n '',\n '', // font\n ' by Unlock Labs UNLOCK PRIME My Unlock Prime Pass Member Address ',\n memberId,\n 'Valid Through ',\n validDeadline,\n ''\n )\n );\n\n // create the data uri for the image itself\n string memory image = string(\n abi.encodePacked(\n \"data:image/svg+xml;base64,\",\n Base64.encode(bytes(abi.encodePacked(svg)))\n )\n );\n\n // create the json that includes the image\n string memory json = string(\n abi.encodePacked(\n '{ \"name\" : \"Unlock Prime\", \"external_url\":\"https://app.unlock-protocol.com/prime\",\"description\":\"Unlock Prime offers enhanced features, monthly ETH rewards, unlimited events, and exclusive partner discounts for members. Bring your onchain experiences to the next level with a premium membership that works across all the apps from Unlock Labs\",\"image\":\"',\n image,\n '\"}'\n )\n );\n // render the base64 encoded json metadata\n return\n string(\n abi.encodePacked(\n \"data:application/json;base64,\",\n Base64.encode(bytes(abi.encodePacked(json)))\n )\n );\n }\n}\n" + } + }, + "settings": { + "evmVersion": "paris", + "optimizer": { + "enabled": false, + "runs": 200 + }, + "outputSelection": { + "*": { + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ], + "": [ + "ast" + ] + } + } + } + }, + "output": { + "errors": [ + { + "component": "general", + "errorCode": "5667", + "formattedMessage": "Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.\n --> contracts/UnlockPrimeTokenURIHook.sol:97:9:\n |\n97 | address lockAddress,\n | ^^^^^^^^^^^^^^^^^^^\n\n", + "message": "Unused function parameter. Remove or comment out the variable name to silence this warning.", + "severity": "warning", + "sourceLocation": { + "end": 3258, + "file": "contracts/UnlockPrimeTokenURIHook.sol", + "start": 3239 + }, + "type": "Warning" + }, + { + "component": "general", + "errorCode": "5667", + "formattedMessage": "Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.\n --> contracts/UnlockPrimeTokenURIHook.sol:98:9:\n |\n98 | address operator,\n | ^^^^^^^^^^^^^^^^\n\n", + "message": "Unused function parameter. Remove or comment out the variable name to silence this warning.", + "severity": "warning", + "sourceLocation": { + "end": 3284, + "file": "contracts/UnlockPrimeTokenURIHook.sol", + "start": 3268 + }, + "type": "Warning" + }, + { + "component": "general", + "errorCode": "5667", + "formattedMessage": "Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.\n --> contracts/UnlockPrimeTokenURIHook.sol:100:9:\n |\n100 | uint256 keyId,\n | ^^^^^^^^^^^^^\n\n", + "message": "Unused function parameter. Remove or comment out the variable name to silence this warning.", + "severity": "warning", + "sourceLocation": { + "end": 3330, + "file": "contracts/UnlockPrimeTokenURIHook.sol", + "start": 3317 + }, + "type": "Warning" + } + ], + "sources": { + "@openzeppelin/contracts/access/Ownable.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", + "exportedSymbols": { + "Context": [ + 1068 + ], + "Ownable": [ + 147 + ] + }, + "id": 148, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "102:24:0" + }, + { + "absolutePath": "@openzeppelin/contracts/utils/Context.sol", + "file": "../utils/Context.sol", + "id": 3, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 148, + "sourceUnit": 1069, + "src": "128:45:0", + "symbolAliases": [ + { + "foreign": { + "id": 2, + "name": "Context", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1068, + "src": "136:7:0", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 5, + "name": "Context", + "nameLocations": [ + "692:7:0" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1068, + "src": "692:7:0" + }, + "id": 6, + "nodeType": "InheritanceSpecifier", + "src": "692:7:0" + } + ], + "canonicalName": "Ownable", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 4, + "nodeType": "StructuredDocumentation", + "src": "175:487:0", + "text": " @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n The initial owner is set to the address provided by the deployer. This can\n later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner." + }, + "fullyImplemented": true, + "id": 147, + "linearizedBaseContracts": [ + 147, + 1068 + ], + "name": "Ownable", + "nameLocation": "681:7:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 8, + "mutability": "mutable", + "name": "_owner", + "nameLocation": "722:6:0", + "nodeType": "VariableDeclaration", + "scope": 147, + "src": "706:22:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 7, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "706:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "private" + }, + { + "documentation": { + "id": 9, + "nodeType": "StructuredDocumentation", + "src": "735:85:0", + "text": " @dev The caller account is not authorized to perform an operation." + }, + "errorSelector": "118cdaa7", + "id": 13, + "name": "OwnableUnauthorizedAccount", + "nameLocation": "831:26:0", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 12, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 11, + "mutability": "mutable", + "name": "account", + "nameLocation": "866:7:0", + "nodeType": "VariableDeclaration", + "scope": 13, + "src": "858:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 10, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "858:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "857:17:0" + }, + "src": "825:50:0" + }, + { + "documentation": { + "id": 14, + "nodeType": "StructuredDocumentation", + "src": "881:82:0", + "text": " @dev The owner is not a valid owner account. (eg. `address(0)`)" + }, + "errorSelector": "1e4fbdf7", + "id": 18, + "name": "OwnableInvalidOwner", + "nameLocation": "974:19:0", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 16, + "mutability": "mutable", + "name": "owner", + "nameLocation": "1002:5:0", + "nodeType": "VariableDeclaration", + "scope": 18, + "src": "994:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 15, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "994:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "993:15:0" + }, + "src": "968:41:0" + }, + { + "anonymous": false, + "eventSelector": "8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", + "id": 24, + "name": "OwnershipTransferred", + "nameLocation": "1021:20:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 23, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 20, + "indexed": true, + "mutability": "mutable", + "name": "previousOwner", + "nameLocation": "1058:13:0", + "nodeType": "VariableDeclaration", + "scope": 24, + "src": "1042:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 19, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1042:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 22, + "indexed": true, + "mutability": "mutable", + "name": "newOwner", + "nameLocation": "1089:8:0", + "nodeType": "VariableDeclaration", + "scope": 24, + "src": "1073:24:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 21, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1073:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1041:57:0" + }, + "src": "1015:84:0" + }, + { + "body": { + "id": 49, + "nodeType": "Block", + "src": "1259:153:0", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 35, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 30, + "name": "initialOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "1273:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 33, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1297:1:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 32, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1289:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 31, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1289:7:0", + "typeDescriptions": {} + } + }, + "id": 34, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1289:10:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1273:26:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 44, + "nodeType": "IfStatement", + "src": "1269:95:0", + "trueBody": { + "id": 43, + "nodeType": "Block", + "src": "1301:63:0", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "30", + "id": 39, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1350:1:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 38, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1342:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 37, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1342:7:0", + "typeDescriptions": {} + } + }, + "id": 40, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1342:10:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 36, + "name": "OwnableInvalidOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "1322:19:0", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 41, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1322:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 42, + "nodeType": "RevertStatement", + "src": "1315:38:0" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 46, + "name": "initialOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "1392:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 45, + "name": "_transferOwnership", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "1373:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 47, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1373:32:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 48, + "nodeType": "ExpressionStatement", + "src": "1373:32:0" + } + ] + }, + "documentation": { + "id": 25, + "nodeType": "StructuredDocumentation", + "src": "1105:115:0", + "text": " @dev Initializes the contract setting the address provided by the deployer as the initial owner." + }, + "id": 50, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 28, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 27, + "mutability": "mutable", + "name": "initialOwner", + "nameLocation": "1245:12:0", + "nodeType": "VariableDeclaration", + "scope": 50, + "src": "1237:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 26, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1237:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1236:22:0" + }, + "returnParameters": { + "id": 29, + "nodeType": "ParameterList", + "parameters": [], + "src": "1259:0:0" + }, + "scope": 147, + "src": "1225:187:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 57, + "nodeType": "Block", + "src": "1521:41:0", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 53, + "name": "_checkOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1531:11:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$__$", + "typeString": "function () view" + } + }, + "id": 54, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1531:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 55, + "nodeType": "ExpressionStatement", + "src": "1531:13:0" + }, + { + "id": 56, + "nodeType": "PlaceholderStatement", + "src": "1554:1:0" + } + ] + }, + "documentation": { + "id": 51, + "nodeType": "StructuredDocumentation", + "src": "1418:77:0", + "text": " @dev Throws if called by any account other than the owner." + }, + "id": 58, + "name": "onlyOwner", + "nameLocation": "1509:9:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 52, + "nodeType": "ParameterList", + "parameters": [], + "src": "1518:2:0" + }, + "src": "1500:62:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 66, + "nodeType": "Block", + "src": "1693:30:0", + "statements": [ + { + "expression": { + "id": 64, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "1710:6:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 63, + "id": 65, + "nodeType": "Return", + "src": "1703:13:0" + } + ] + }, + "documentation": { + "id": 59, + "nodeType": "StructuredDocumentation", + "src": "1568:65:0", + "text": " @dev Returns the address of the current owner." + }, + "functionSelector": "8da5cb5b", + "id": 67, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "owner", + "nameLocation": "1647:5:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 60, + "nodeType": "ParameterList", + "parameters": [], + "src": "1652:2:0" + }, + "returnParameters": { + "id": 63, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 62, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 67, + "src": "1684:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 61, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1684:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1683:9:0" + }, + "scope": 147, + "src": "1638:85:0", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 83, + "nodeType": "Block", + "src": "1841:117:0", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 75, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 71, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 67, + "src": "1855:5:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 72, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1855:7:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 73, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1050, + "src": "1866:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 74, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1866:12:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1855:23:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 82, + "nodeType": "IfStatement", + "src": "1851:101:0", + "trueBody": { + "id": 81, + "nodeType": "Block", + "src": "1880:72:0", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 77, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1050, + "src": "1928:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 78, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1928:12:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 76, + "name": "OwnableUnauthorizedAccount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 13, + "src": "1901:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 79, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1901:40:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 80, + "nodeType": "RevertStatement", + "src": "1894:47:0" + } + ] + } + } + ] + }, + "documentation": { + "id": 68, + "nodeType": "StructuredDocumentation", + "src": "1729:62:0", + "text": " @dev Throws if the sender is not the owner." + }, + "id": 84, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_checkOwner", + "nameLocation": "1805:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 69, + "nodeType": "ParameterList", + "parameters": [], + "src": "1816:2:0" + }, + "returnParameters": { + "id": 70, + "nodeType": "ParameterList", + "parameters": [], + "src": "1841:0:0" + }, + "scope": 147, + "src": "1796:162:0", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 97, + "nodeType": "Block", + "src": "2347:47:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "30", + "id": 93, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2384:1:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 92, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2376:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 91, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2376:7:0", + "typeDescriptions": {} + } + }, + "id": 94, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2376:10:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 90, + "name": "_transferOwnership", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2357:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 95, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2357:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 96, + "nodeType": "ExpressionStatement", + "src": "2357:30:0" + } + ] + }, + "documentation": { + "id": 85, + "nodeType": "StructuredDocumentation", + "src": "1964:324:0", + "text": " @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby disabling any functionality that is only available to the owner." + }, + "functionSelector": "715018a6", + "id": 98, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 88, + "kind": "modifierInvocation", + "modifierName": { + "id": 87, + "name": "onlyOwner", + "nameLocations": [ + "2337:9:0" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 58, + "src": "2337:9:0" + }, + "nodeType": "ModifierInvocation", + "src": "2337:9:0" + } + ], + "name": "renounceOwnership", + "nameLocation": "2302:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 86, + "nodeType": "ParameterList", + "parameters": [], + "src": "2319:2:0" + }, + "returnParameters": { + "id": 89, + "nodeType": "ParameterList", + "parameters": [], + "src": "2347:0:0" + }, + "scope": 147, + "src": "2293:101:0", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 125, + "nodeType": "Block", + "src": "2613:145:0", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 111, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 106, + "name": "newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 101, + "src": "2627:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2647:1:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 108, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2639:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 107, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2639:7:0", + "typeDescriptions": {} + } + }, + "id": 110, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2639:10:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2627:22:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 120, + "nodeType": "IfStatement", + "src": "2623:91:0", + "trueBody": { + "id": 119, + "nodeType": "Block", + "src": "2651:63:0", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "30", + "id": 115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2700:1:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 114, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2692:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 113, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2692:7:0", + "typeDescriptions": {} + } + }, + "id": 116, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2692:10:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 112, + "name": "OwnableInvalidOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2672:19:0", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 117, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2672:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 118, + "nodeType": "RevertStatement", + "src": "2665:38:0" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 122, + "name": "newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 101, + "src": "2742:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 121, + "name": "_transferOwnership", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2723:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2723:28:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 124, + "nodeType": "ExpressionStatement", + "src": "2723:28:0" + } + ] + }, + "documentation": { + "id": 99, + "nodeType": "StructuredDocumentation", + "src": "2400:138:0", + "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner." + }, + "functionSelector": "f2fde38b", + "id": 126, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 104, + "kind": "modifierInvocation", + "modifierName": { + "id": 103, + "name": "onlyOwner", + "nameLocations": [ + "2603:9:0" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 58, + "src": "2603:9:0" + }, + "nodeType": "ModifierInvocation", + "src": "2603:9:0" + } + ], + "name": "transferOwnership", + "nameLocation": "2552:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 102, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 101, + "mutability": "mutable", + "name": "newOwner", + "nameLocation": "2578:8:0", + "nodeType": "VariableDeclaration", + "scope": 126, + "src": "2570:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 100, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2570:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2569:18:0" + }, + "returnParameters": { + "id": 105, + "nodeType": "ParameterList", + "parameters": [], + "src": "2613:0:0" + }, + "scope": 147, + "src": "2543:215:0", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 145, + "nodeType": "Block", + "src": "2975:124:0", + "statements": [ + { + "assignments": [ + 133 + ], + "declarations": [ + { + "constant": false, + "id": 133, + "mutability": "mutable", + "name": "oldOwner", + "nameLocation": "2993:8:0", + "nodeType": "VariableDeclaration", + "scope": 145, + "src": "2985:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 132, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2985:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 135, + "initialValue": { + "id": 134, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3004:6:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2985:25:0" + }, + { + "expression": { + "id": 138, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 136, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3020:6:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 137, + "name": "newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 129, + "src": "3029:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "3020:17:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 139, + "nodeType": "ExpressionStatement", + "src": "3020:17:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 141, + "name": "oldOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 133, + "src": "3073:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 142, + "name": "newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 129, + "src": "3083:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 140, + "name": "OwnershipTransferred", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 24, + "src": "3052:20:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", + "typeString": "function (address,address)" + } + }, + "id": 143, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3052:40:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 144, + "nodeType": "EmitStatement", + "src": "3047:45:0" + } + ] + }, + "documentation": { + "id": 127, + "nodeType": "StructuredDocumentation", + "src": "2764:143:0", + "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction." + }, + "id": 146, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_transferOwnership", + "nameLocation": "2921:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 130, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 129, + "mutability": "mutable", + "name": "newOwner", + "nameLocation": "2948:8:0", + "nodeType": "VariableDeclaration", + "scope": 146, + "src": "2940:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 128, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2940:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2939:18:0" + }, + "returnParameters": { + "id": 131, + "nodeType": "ParameterList", + "parameters": [], + "src": "2975:0:0" + }, + "scope": 147, + "src": "2912:187:0", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 148, + "src": "663:2438:0", + "usedErrors": [ + 13, + 18 + ], + "usedEvents": [ + 24 + ] + } + ], + "src": "102:3000:0" + }, + "id": 0 + }, + "@openzeppelin/contracts/interfaces/IERC1967.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/interfaces/IERC1967.sol", + "exportedSymbols": { + "IERC1967": [ + 168 + ] + }, + "id": 169, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 149, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "107:24:1" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC1967", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 150, + "nodeType": "StructuredDocumentation", + "src": "133:101:1", + "text": " @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC." + }, + "fullyImplemented": true, + "id": 168, + "linearizedBaseContracts": [ + 168 + ], + "name": "IERC1967", + "nameLocation": "245:8:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "documentation": { + "id": 151, + "nodeType": "StructuredDocumentation", + "src": "260:68:1", + "text": " @dev Emitted when the implementation is upgraded." + }, + "eventSelector": "bc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "id": 155, + "name": "Upgraded", + "nameLocation": "339:8:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 154, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 153, + "indexed": true, + "mutability": "mutable", + "name": "implementation", + "nameLocation": "364:14:1", + "nodeType": "VariableDeclaration", + "scope": 155, + "src": "348:30:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 152, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "348:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "347:32:1" + }, + "src": "333:47:1" + }, + { + "anonymous": false, + "documentation": { + "id": 156, + "nodeType": "StructuredDocumentation", + "src": "386:67:1", + "text": " @dev Emitted when the admin account has changed." + }, + "eventSelector": "7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f", + "id": 162, + "name": "AdminChanged", + "nameLocation": "464:12:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 161, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 158, + "indexed": false, + "mutability": "mutable", + "name": "previousAdmin", + "nameLocation": "485:13:1", + "nodeType": "VariableDeclaration", + "scope": 162, + "src": "477:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 157, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "477:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 160, + "indexed": false, + "mutability": "mutable", + "name": "newAdmin", + "nameLocation": "508:8:1", + "nodeType": "VariableDeclaration", + "scope": 162, + "src": "500:16:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 159, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "500:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "476:41:1" + }, + "src": "458:60:1" + }, + { + "anonymous": false, + "documentation": { + "id": 163, + "nodeType": "StructuredDocumentation", + "src": "524:59:1", + "text": " @dev Emitted when the beacon is changed." + }, + "eventSelector": "1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e", + "id": 167, + "name": "BeaconUpgraded", + "nameLocation": "594:14:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 166, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 165, + "indexed": true, + "mutability": "mutable", + "name": "beacon", + "nameLocation": "625:6:1", + "nodeType": "VariableDeclaration", + "scope": 167, + "src": "609:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 164, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "609:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "608:24:1" + }, + "src": "588:45:1" + } + ], + "scope": 169, + "src": "235:400:1", + "usedErrors": [], + "usedEvents": [ + 155, + 162, + 167 + ] + } + ], + "src": "107:529:1" + }, + "id": 1 + }, + "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol", + "exportedSymbols": { + "ERC1967Proxy": [ + 206 + ], + "ERC1967Utils": [ + 509 + ], + "Proxy": [ + 545 + ] + }, + "id": 207, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 170, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "114:24:2" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/Proxy.sol", + "file": "../Proxy.sol", + "id": 172, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 207, + "sourceUnit": 546, + "src": "140:35:2", + "symbolAliases": [ + { + "foreign": { + "id": 171, + "name": "Proxy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 545, + "src": "148:5:2", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol", + "file": "./ERC1967Utils.sol", + "id": 174, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 207, + "sourceUnit": 510, + "src": "176:48:2", + "symbolAliases": [ + { + "foreign": { + "id": 173, + "name": "ERC1967Utils", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "184:12:2", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 176, + "name": "Proxy", + "nameLocations": [ + "624:5:2" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 545, + "src": "624:5:2" + }, + "id": 177, + "nodeType": "InheritanceSpecifier", + "src": "624:5:2" + } + ], + "canonicalName": "ERC1967Proxy", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 175, + "nodeType": "StructuredDocumentation", + "src": "226:372:2", + "text": " @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\n implementation address that can be changed. This address is stored in storage in the location specified by\n https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\n implementation behind the proxy." + }, + "fullyImplemented": true, + "id": 206, + "linearizedBaseContracts": [ + 206, + 545 + ], + "name": "ERC1967Proxy", + "nameLocation": "608:12:2", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 192, + "nodeType": "Block", + "src": "1144:69:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 188, + "name": "implementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 180, + "src": "1184:14:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 189, + "name": "_data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 182, + "src": "1200:5:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 185, + "name": "ERC1967Utils", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "1154:12:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ERC1967Utils_$509_$", + "typeString": "type(library ERC1967Utils)" + } + }, + "id": 187, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1167:16:2", + "memberName": "upgradeToAndCall", + "nodeType": "MemberAccess", + "referencedDeclaration": 328, + "src": "1154:29:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory)" + } + }, + "id": 190, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1154:52:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 191, + "nodeType": "ExpressionStatement", + "src": "1154:52:2" + } + ] + }, + "documentation": { + "id": 178, + "nodeType": "StructuredDocumentation", + "src": "636:439:2", + "text": " @dev Initializes the upgradeable proxy with an initial implementation specified by `implementation`.\n If `_data` is nonempty, it's used as data in a delegate call to `implementation`. This will typically be an\n encoded function call, and allows initializing the storage of the proxy like a Solidity constructor.\n Requirements:\n - If `data` is empty, `msg.value` must be zero." + }, + "id": 193, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 183, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 180, + "mutability": "mutable", + "name": "implementation", + "nameLocation": "1100:14:2", + "nodeType": "VariableDeclaration", + "scope": 193, + "src": "1092:22:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 179, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1092:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 182, + "mutability": "mutable", + "name": "_data", + "nameLocation": "1129:5:2", + "nodeType": "VariableDeclaration", + "scope": 193, + "src": "1116:18:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 181, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1116:5:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1091:44:2" + }, + "returnParameters": { + "id": 184, + "nodeType": "ParameterList", + "parameters": [], + "src": "1144:0:2" + }, + "scope": 206, + "src": "1080:133:2", + "stateMutability": "payable", + "virtual": false, + "visibility": "public" + }, + { + "baseFunctions": [ + 526 + ], + "body": { + "id": 204, + "nodeType": "Block", + "src": "1657:56:2", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 200, + "name": "ERC1967Utils", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "1674:12:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ERC1967Utils_$509_$", + "typeString": "type(library ERC1967Utils)" + } + }, + "id": 201, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1687:17:2", + "memberName": "getImplementation", + "nodeType": "MemberAccess", + "referencedDeclaration": 267, + "src": "1674:30:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1674:32:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 199, + "id": 203, + "nodeType": "Return", + "src": "1667:39:2" + } + ] + }, + "documentation": { + "id": 194, + "nodeType": "StructuredDocumentation", + "src": "1219:357:2", + "text": " @dev Returns the current implementation address.\n TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`" + }, + "id": 205, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_implementation", + "nameLocation": "1590:15:2", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 196, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1630:8:2" + }, + "parameters": { + "id": 195, + "nodeType": "ParameterList", + "parameters": [], + "src": "1605:2:2" + }, + "returnParameters": { + "id": 199, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 198, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 205, + "src": "1648:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 197, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1648:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1647:9:2" + }, + "scope": 206, + "src": "1581:132:2", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 207, + "src": "599:1116:2", + "usedErrors": [ + 241, + 254, + 751, + 754 + ], + "usedEvents": [ + 220 + ] + } + ], + "src": "114:1602:2" + }, + "id": 2 + }, + "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol", + "exportedSymbols": { + "Address": [ + 991 + ], + "ERC1967Utils": [ + 509 + ], + "IBeacon": [ + 555 + ], + "StorageSlot": [ + 1178 + ] + }, + "id": 510, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 208, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "114:24:3" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/beacon/IBeacon.sol", + "file": "../beacon/IBeacon.sol", + "id": 210, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 510, + "sourceUnit": 556, + "src": "140:46:3", + "symbolAliases": [ + { + "foreign": { + "id": 209, + "name": "IBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 555, + "src": "148:7:3", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/utils/Address.sol", + "file": "../../utils/Address.sol", + "id": 212, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 510, + "sourceUnit": 992, + "src": "187:48:3", + "symbolAliases": [ + { + "foreign": { + "id": 211, + "name": "Address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 991, + "src": "195:7:3", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/utils/StorageSlot.sol", + "file": "../../utils/StorageSlot.sol", + "id": 214, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 510, + "sourceUnit": 1179, + "src": "236:56:3", + "symbolAliases": [ + { + "foreign": { + "id": 213, + "name": "StorageSlot", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "244:11:3", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "ERC1967Utils", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 215, + "nodeType": "StructuredDocumentation", + "src": "294:154:3", + "text": " @dev This abstract contract provides getters and event emitting update functions for\n https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots." + }, + "fullyImplemented": true, + "id": 509, + "linearizedBaseContracts": [ + 509 + ], + "name": "ERC1967Utils", + "nameLocation": "457:12:3", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "documentation": { + "id": 216, + "nodeType": "StructuredDocumentation", + "src": "660:68:3", + "text": " @dev Emitted when the implementation is upgraded." + }, + "eventSelector": "bc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", + "id": 220, + "name": "Upgraded", + "nameLocation": "739:8:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 219, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 218, + "indexed": true, + "mutability": "mutable", + "name": "implementation", + "nameLocation": "764:14:3", + "nodeType": "VariableDeclaration", + "scope": 220, + "src": "748:30:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 217, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "748:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "747:32:3" + }, + "src": "733:47:3" + }, + { + "anonymous": false, + "documentation": { + "id": 221, + "nodeType": "StructuredDocumentation", + "src": "786:67:3", + "text": " @dev Emitted when the admin account has changed." + }, + "eventSelector": "7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f", + "id": 227, + "name": "AdminChanged", + "nameLocation": "864:12:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 226, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 223, + "indexed": false, + "mutability": "mutable", + "name": "previousAdmin", + "nameLocation": "885:13:3", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "877:21:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 222, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "877:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 225, + "indexed": false, + "mutability": "mutable", + "name": "newAdmin", + "nameLocation": "908:8:3", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "900:16:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 224, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "900:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "876:41:3" + }, + "src": "858:60:3" + }, + { + "anonymous": false, + "documentation": { + "id": 228, + "nodeType": "StructuredDocumentation", + "src": "924:59:3", + "text": " @dev Emitted when the beacon is changed." + }, + "eventSelector": "1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e", + "id": 232, + "name": "BeaconUpgraded", + "nameLocation": "994:14:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 231, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 230, + "indexed": true, + "mutability": "mutable", + "name": "beacon", + "nameLocation": "1025:6:3", + "nodeType": "VariableDeclaration", + "scope": 232, + "src": "1009:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 229, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1009:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1008:24:3" + }, + "src": "988:45:3" + }, + { + "constant": true, + "documentation": { + "id": 233, + "nodeType": "StructuredDocumentation", + "src": "1039:170:3", + "text": " @dev Storage slot with the address of the current implementation.\n This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1." + }, + "id": 236, + "mutability": "constant", + "name": "IMPLEMENTATION_SLOT", + "nameLocation": "1305:19:3", + "nodeType": "VariableDeclaration", + "scope": 509, + "src": "1279:114:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 234, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1279:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "307833363038393461313362613161333231303636376338323834393264623938646361336532303736636333373335613932306133636135303564333832626263", + "id": 235, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1327:66:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_24440054405305269366569402256811496959409073762505157381672968839269610695612_by_1", + "typeString": "int_const 2444...(69 digits omitted)...5612" + }, + "value": "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc" + }, + "visibility": "internal" + }, + { + "documentation": { + "id": 237, + "nodeType": "StructuredDocumentation", + "src": "1400:69:3", + "text": " @dev The `implementation` of the proxy is invalid." + }, + "errorSelector": "4c9c8ce3", + "id": 241, + "name": "ERC1967InvalidImplementation", + "nameLocation": "1480:28:3", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 240, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 239, + "mutability": "mutable", + "name": "implementation", + "nameLocation": "1517:14:3", + "nodeType": "VariableDeclaration", + "scope": 241, + "src": "1509:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 238, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1509:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1508:24:3" + }, + "src": "1474:59:3" + }, + { + "documentation": { + "id": 242, + "nodeType": "StructuredDocumentation", + "src": "1539:60:3", + "text": " @dev The `admin` of the proxy is invalid." + }, + "errorSelector": "62e77ba2", + "id": 246, + "name": "ERC1967InvalidAdmin", + "nameLocation": "1610:19:3", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 245, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 244, + "mutability": "mutable", + "name": "admin", + "nameLocation": "1638:5:3", + "nodeType": "VariableDeclaration", + "scope": 246, + "src": "1630:13:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 243, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1630:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1629:15:3" + }, + "src": "1604:41:3" + }, + { + "documentation": { + "id": 247, + "nodeType": "StructuredDocumentation", + "src": "1651:61:3", + "text": " @dev The `beacon` of the proxy is invalid." + }, + "errorSelector": "64ced0ec", + "id": 251, + "name": "ERC1967InvalidBeacon", + "nameLocation": "1723:20:3", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 250, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 249, + "mutability": "mutable", + "name": "beacon", + "nameLocation": "1752:6:3", + "nodeType": "VariableDeclaration", + "scope": 251, + "src": "1744:14:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 248, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1744:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1743:16:3" + }, + "src": "1717:43:3" + }, + { + "documentation": { + "id": 252, + "nodeType": "StructuredDocumentation", + "src": "1766:82:3", + "text": " @dev An upgrade function sees `msg.value > 0` that may be lost." + }, + "errorSelector": "b398979f", + "id": 254, + "name": "ERC1967NonPayable", + "nameLocation": "1859:17:3", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 253, + "nodeType": "ParameterList", + "parameters": [], + "src": "1876:2:3" + }, + "src": "1853:26:3" + }, + { + "body": { + "id": 266, + "nodeType": "Block", + "src": "2018:77:3", + "statements": [ + { + "expression": { + "expression": { + "arguments": [ + { + "id": 262, + "name": "IMPLEMENTATION_SLOT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 236, + "src": "2062:19:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 260, + "name": "StorageSlot", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "2035:11:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_StorageSlot_$1178_$", + "typeString": "type(library StorageSlot)" + } + }, + "id": 261, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2047:14:3", + "memberName": "getAddressSlot", + "nodeType": "MemberAccess", + "referencedDeclaration": 1100, + "src": "2035:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1074_storage_ptr_$", + "typeString": "function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)" + } + }, + "id": 263, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2035:47:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot storage pointer" + } + }, + "id": 264, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2083:5:3", + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": 1073, + "src": "2035:53:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 259, + "id": 265, + "nodeType": "Return", + "src": "2028:60:3" + } + ] + }, + "documentation": { + "id": 255, + "nodeType": "StructuredDocumentation", + "src": "1885:67:3", + "text": " @dev Returns the current implementation address." + }, + "id": 267, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getImplementation", + "nameLocation": "1966:17:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 256, + "nodeType": "ParameterList", + "parameters": [], + "src": "1983:2:3" + }, + "returnParameters": { + "id": 259, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 258, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "2009:7:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 257, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2009:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2008:9:3" + }, + "scope": 509, + "src": "1957:138:3", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 293, + "nodeType": "Block", + "src": "2249:218:3", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 277, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "expression": { + "id": 273, + "name": "newImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 270, + "src": "2263:17:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 274, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2281:4:3", + "memberName": "code", + "nodeType": "MemberAccess", + "src": "2263:22:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2286:6:3", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "2263:29:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 276, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2296:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2263:34:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 283, + "nodeType": "IfStatement", + "src": "2259:119:3", + "trueBody": { + "id": 282, + "nodeType": "Block", + "src": "2299:79:3", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 279, + "name": "newImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 270, + "src": "2349:17:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 278, + "name": "ERC1967InvalidImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 241, + "src": "2320:28:3", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 280, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2320:47:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 281, + "nodeType": "RevertStatement", + "src": "2313:54:3" + } + ] + } + }, + { + "expression": { + "id": 291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "arguments": [ + { + "id": 287, + "name": "IMPLEMENTATION_SLOT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 236, + "src": "2414:19:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 284, + "name": "StorageSlot", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "2387:11:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_StorageSlot_$1178_$", + "typeString": "type(library StorageSlot)" + } + }, + "id": 286, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2399:14:3", + "memberName": "getAddressSlot", + "nodeType": "MemberAccess", + "referencedDeclaration": 1100, + "src": "2387:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1074_storage_ptr_$", + "typeString": "function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)" + } + }, + "id": 288, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:47:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot storage pointer" + } + }, + "id": 289, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberLocation": "2435:5:3", + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": 1073, + "src": "2387:53:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 290, + "name": "newImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 270, + "src": "2443:17:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2387:73:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 292, + "nodeType": "ExpressionStatement", + "src": "2387:73:3" + } + ] + }, + "documentation": { + "id": 268, + "nodeType": "StructuredDocumentation", + "src": "2101:80:3", + "text": " @dev Stores a new address in the EIP1967 implementation slot." + }, + "id": 294, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setImplementation", + "nameLocation": "2195:18:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 271, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 270, + "mutability": "mutable", + "name": "newImplementation", + "nameLocation": "2222:17:3", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "2214:25:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 269, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2214:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2213:27:3" + }, + "returnParameters": { + "id": 272, + "nodeType": "ParameterList", + "parameters": [], + "src": "2249:0:3" + }, + "scope": 509, + "src": "2186:281:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 327, + "nodeType": "Block", + "src": "2860:254:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 303, + "name": "newImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 297, + "src": "2889:17:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 302, + "name": "_setImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 294, + "src": "2870:18:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2870:37:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 305, + "nodeType": "ExpressionStatement", + "src": "2870:37:3" + }, + { + "eventCall": { + "arguments": [ + { + "id": 307, + "name": "newImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 297, + "src": "2931:17:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 306, + "name": "Upgraded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 220, + "src": "2922:8:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 308, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2922:27:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 309, + "nodeType": "EmitStatement", + "src": "2917:32:3" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 313, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 310, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 299, + "src": "2964:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 311, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2969:6:3", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "2964:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 312, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2978:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2964:15:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 325, + "nodeType": "Block", + "src": "3065:43:3", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 322, + "name": "_checkNonPayable", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 508, + "src": "3079:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 323, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:18:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 324, + "nodeType": "ExpressionStatement", + "src": "3079:18:3" + } + ] + }, + "id": 326, + "nodeType": "IfStatement", + "src": "2960:148:3", + "trueBody": { + "id": 321, + "nodeType": "Block", + "src": "2981:78:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 317, + "name": "newImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 297, + "src": "3024:17:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 318, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 299, + "src": "3043:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 314, + "name": "Address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 991, + "src": "2995:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Address_$991_$", + "typeString": "type(library Address)" + } + }, + "id": 316, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3003:20:3", + "memberName": "functionDelegateCall", + "nodeType": "MemberAccess", + "referencedDeclaration": 910, + "src": "2995:28:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bytes memory) returns (bytes memory)" + } + }, + "id": 319, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2995:53:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 320, + "nodeType": "ExpressionStatement", + "src": "2995:53:3" + } + ] + } + } + ] + }, + "documentation": { + "id": 295, + "nodeType": "StructuredDocumentation", + "src": "2473:301:3", + "text": " @dev Performs implementation upgrade with additional setup call if data is nonempty.\n This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n to avoid stuck value in the contract.\n Emits an {IERC1967-Upgraded} event." + }, + "id": 328, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "upgradeToAndCall", + "nameLocation": "2788:16:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 300, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 297, + "mutability": "mutable", + "name": "newImplementation", + "nameLocation": "2813:17:3", + "nodeType": "VariableDeclaration", + "scope": 328, + "src": "2805:25:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 296, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2805:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 299, + "mutability": "mutable", + "name": "data", + "nameLocation": "2845:4:3", + "nodeType": "VariableDeclaration", + "scope": 328, + "src": "2832:17:3", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 298, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2832:5:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2804:46:3" + }, + "returnParameters": { + "id": 301, + "nodeType": "ParameterList", + "parameters": [], + "src": "2860:0:3" + }, + "scope": 509, + "src": "2779:335:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "constant": true, + "documentation": { + "id": 329, + "nodeType": "StructuredDocumentation", + "src": "3120:145:3", + "text": " @dev Storage slot with the admin of the contract.\n This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1." + }, + "id": 332, + "mutability": "constant", + "name": "ADMIN_SLOT", + "nameLocation": "3361:10:3", + "nodeType": "VariableDeclaration", + "scope": 509, + "src": "3335:105:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 330, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3335:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "307862353331323736383461353638623331373361653133623966386136303136653234336536336236653865653131373864366137313738353062356436313033", + "id": 331, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3374:66:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_81955473079516046949633743016697847541294818689821282749996681496272635257091_by_1", + "typeString": "int_const 8195...(69 digits omitted)...7091" + }, + "value": "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103" + }, + "visibility": "internal" + }, + { + "body": { + "id": 344, + "nodeType": "Block", + "src": "3844:68:3", + "statements": [ + { + "expression": { + "expression": { + "arguments": [ + { + "id": 340, + "name": "ADMIN_SLOT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 332, + "src": "3888:10:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 338, + "name": "StorageSlot", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "3861:11:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_StorageSlot_$1178_$", + "typeString": "type(library StorageSlot)" + } + }, + "id": 339, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3873:14:3", + "memberName": "getAddressSlot", + "nodeType": "MemberAccess", + "referencedDeclaration": 1100, + "src": "3861:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1074_storage_ptr_$", + "typeString": "function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)" + } + }, + "id": 341, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3861:38:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot storage pointer" + } + }, + "id": 342, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3900:5:3", + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": 1073, + "src": "3861:44:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 337, + "id": 343, + "nodeType": "Return", + "src": "3854:51:3" + } + ] + }, + "documentation": { + "id": 333, + "nodeType": "StructuredDocumentation", + "src": "3447:340:3", + "text": " @dev Returns the current admin.\n TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`" + }, + "id": 345, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getAdmin", + "nameLocation": "3801:8:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 334, + "nodeType": "ParameterList", + "parameters": [], + "src": "3809:2:3" + }, + "returnParameters": { + "id": 337, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 336, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 345, + "src": "3835:7:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 335, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3835:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3834:9:3" + }, + "scope": 509, + "src": "3792:120:3", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 375, + "nodeType": "Block", + "src": "4039:172:3", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 356, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 351, + "name": "newAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 348, + "src": "4053:8:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4073:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 353, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4065:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 352, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4065:7:3", + "typeDescriptions": {} + } + }, + "id": 355, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4065:10:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4053:22:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 365, + "nodeType": "IfStatement", + "src": "4049:91:3", + "trueBody": { + "id": 364, + "nodeType": "Block", + "src": "4077:63:3", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "30", + "id": 360, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4126:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 359, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4118:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 358, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4118:7:3", + "typeDescriptions": {} + } + }, + "id": 361, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4118:10:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 357, + "name": "ERC1967InvalidAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 246, + "src": "4098:19:3", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 362, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4098:31:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 363, + "nodeType": "RevertStatement", + "src": "4091:38:3" + } + ] + } + }, + { + "expression": { + "id": 373, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "arguments": [ + { + "id": 369, + "name": "ADMIN_SLOT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 332, + "src": "4176:10:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 366, + "name": "StorageSlot", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "4149:11:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_StorageSlot_$1178_$", + "typeString": "type(library StorageSlot)" + } + }, + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4161:14:3", + "memberName": "getAddressSlot", + "nodeType": "MemberAccess", + "referencedDeclaration": 1100, + "src": "4149:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1074_storage_ptr_$", + "typeString": "function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)" + } + }, + "id": 370, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4149:38:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot storage pointer" + } + }, + "id": 371, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberLocation": "4188:5:3", + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": 1073, + "src": "4149:44:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 372, + "name": "newAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 348, + "src": "4196:8:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4149:55:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 374, + "nodeType": "ExpressionStatement", + "src": "4149:55:3" + } + ] + }, + "documentation": { + "id": 346, + "nodeType": "StructuredDocumentation", + "src": "3918:71:3", + "text": " @dev Stores a new address in the EIP1967 admin slot." + }, + "id": 376, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setAdmin", + "nameLocation": "4003:9:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 349, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 348, + "mutability": "mutable", + "name": "newAdmin", + "nameLocation": "4021:8:3", + "nodeType": "VariableDeclaration", + "scope": 376, + "src": "4013:16:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 347, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4013:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4012:18:3" + }, + "returnParameters": { + "id": 350, + "nodeType": "ParameterList", + "parameters": [], + "src": "4039:0:3" + }, + "scope": 509, + "src": "3994:217:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 392, + "nodeType": "Block", + "src": "4379:85:3", + "statements": [ + { + "eventCall": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 383, + "name": "getAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 345, + "src": "4407:8:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 384, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4407:10:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 385, + "name": "newAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 379, + "src": "4419:8:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 382, + "name": "AdminChanged", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 227, + "src": "4394:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", + "typeString": "function (address,address)" + } + }, + "id": 386, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:34:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 387, + "nodeType": "EmitStatement", + "src": "4389:39:3" + }, + { + "expression": { + "arguments": [ + { + "id": 389, + "name": "newAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 379, + "src": "4448:8:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 388, + "name": "_setAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 376, + "src": "4438:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4438:19:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 391, + "nodeType": "ExpressionStatement", + "src": "4438:19:3" + } + ] + }, + "documentation": { + "id": 377, + "nodeType": "StructuredDocumentation", + "src": "4217:109:3", + "text": " @dev Changes the admin of the proxy.\n Emits an {IERC1967-AdminChanged} event." + }, + "id": 393, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "changeAdmin", + "nameLocation": "4340:11:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 380, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 379, + "mutability": "mutable", + "name": "newAdmin", + "nameLocation": "4360:8:3", + "nodeType": "VariableDeclaration", + "scope": 393, + "src": "4352:16:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 378, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4352:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4351:18:3" + }, + "returnParameters": { + "id": 381, + "nodeType": "ParameterList", + "parameters": [], + "src": "4379:0:3" + }, + "scope": 509, + "src": "4331:133:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "constant": true, + "documentation": { + "id": 394, + "nodeType": "StructuredDocumentation", + "src": "4470:201:3", + "text": " @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1." + }, + "id": 397, + "mutability": "constant", + "name": "BEACON_SLOT", + "nameLocation": "4767:11:3", + "nodeType": "VariableDeclaration", + "scope": 509, + "src": "4741:106:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 395, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4741:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "307861336630616437346535343233616562666438306433656634333436353738333335613961373261656165653539666636636233353832623335313333643530", + "id": 396, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4781:66:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_74152234768234802001998023604048924213078445070507226371336425913862612794704_by_1", + "typeString": "int_const 7415...(69 digits omitted)...4704" + }, + "value": "0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50" + }, + "visibility": "internal" + }, + { + "body": { + "id": 409, + "nodeType": "Block", + "src": "4963:69:3", + "statements": [ + { + "expression": { + "expression": { + "arguments": [ + { + "id": 405, + "name": "BEACON_SLOT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "5007:11:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 403, + "name": "StorageSlot", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "4980:11:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_StorageSlot_$1178_$", + "typeString": "type(library StorageSlot)" + } + }, + "id": 404, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4992:14:3", + "memberName": "getAddressSlot", + "nodeType": "MemberAccess", + "referencedDeclaration": 1100, + "src": "4980:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1074_storage_ptr_$", + "typeString": "function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)" + } + }, + "id": 406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4980:39:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot storage pointer" + } + }, + "id": 407, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5020:5:3", + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": 1073, + "src": "4980:45:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 402, + "id": 408, + "nodeType": "Return", + "src": "4973:52:3" + } + ] + }, + "documentation": { + "id": 398, + "nodeType": "StructuredDocumentation", + "src": "4854:51:3", + "text": " @dev Returns the current beacon." + }, + "id": 410, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getBeacon", + "nameLocation": "4919:9:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 399, + "nodeType": "ParameterList", + "parameters": [], + "src": "4928:2:3" + }, + "returnParameters": { + "id": 402, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 401, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 410, + "src": "4954:7:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 400, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4954:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4953:9:3" + }, + "scope": 509, + "src": "4910:122:3", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 455, + "nodeType": "Block", + "src": "5161:390:3", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 420, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "expression": { + "id": 416, + "name": "newBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 413, + "src": "5175:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 417, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5185:4:3", + "memberName": "code", + "nodeType": "MemberAccess", + "src": "5175:14:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 418, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5190:6:3", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5175:21:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 419, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5200:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "5175:26:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 426, + "nodeType": "IfStatement", + "src": "5171:95:3", + "trueBody": { + "id": 425, + "nodeType": "Block", + "src": "5203:63:3", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 422, + "name": "newBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 413, + "src": "5245:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 421, + "name": "ERC1967InvalidBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 251, + "src": "5224:20:3", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 423, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5224:31:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 424, + "nodeType": "RevertStatement", + "src": "5217:38:3" + } + ] + } + }, + { + "expression": { + "id": 434, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "arguments": [ + { + "id": 430, + "name": "BEACON_SLOT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "5303:11:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 427, + "name": "StorageSlot", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "5276:11:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_StorageSlot_$1178_$", + "typeString": "type(library StorageSlot)" + } + }, + "id": 429, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:14:3", + "memberName": "getAddressSlot", + "nodeType": "MemberAccess", + "referencedDeclaration": 1100, + "src": "5276:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$1074_storage_ptr_$", + "typeString": "function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)" + } + }, + "id": 431, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5276:39:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot storage pointer" + } + }, + "id": 432, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberLocation": "5316:5:3", + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": 1073, + "src": "5276:45:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 433, + "name": "newBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 413, + "src": "5324:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5276:57:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 435, + "nodeType": "ExpressionStatement", + "src": "5276:57:3" + }, + { + "assignments": [ + 437 + ], + "declarations": [ + { + "constant": false, + "id": 437, + "mutability": "mutable", + "name": "beaconImplementation", + "nameLocation": "5352:20:3", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "5344:28:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 436, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5344:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 443, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "id": 439, + "name": "newBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 413, + "src": "5383:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 438, + "name": "IBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 555, + "src": "5375:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IBeacon_$555_$", + "typeString": "type(contract IBeacon)" + } + }, + "id": 440, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5375:18:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IBeacon_$555", + "typeString": "contract IBeacon" + } + }, + "id": 441, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5394:14:3", + "memberName": "implementation", + "nodeType": "MemberAccess", + "referencedDeclaration": 554, + "src": "5375:33:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 442, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5375:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5344:66:3" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 448, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "expression": { + "id": 444, + "name": "beaconImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "5424:20:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5445:4:3", + "memberName": "code", + "nodeType": "MemberAccess", + "src": "5424:25:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 446, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5450:6:3", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5424:32:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 447, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5460:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "5424:37:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 454, + "nodeType": "IfStatement", + "src": "5420:125:3", + "trueBody": { + "id": 453, + "nodeType": "Block", + "src": "5463:82:3", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 450, + "name": "beaconImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "5513:20:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 449, + "name": "ERC1967InvalidImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 241, + "src": "5484:28:3", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 451, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5484:50:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 452, + "nodeType": "RevertStatement", + "src": "5477:57:3" + } + ] + } + } + ] + }, + "documentation": { + "id": 411, + "nodeType": "StructuredDocumentation", + "src": "5038:71:3", + "text": " @dev Stores a new beacon in the EIP1967 beacon slot." + }, + "id": 456, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setBeacon", + "nameLocation": "5123:10:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 414, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 413, + "mutability": "mutable", + "name": "newBeacon", + "nameLocation": "5142:9:3", + "nodeType": "VariableDeclaration", + "scope": 456, + "src": "5134:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 412, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5134:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5133:19:3" + }, + "returnParameters": { + "id": 415, + "nodeType": "ParameterList", + "parameters": [], + "src": "5161:0:3" + }, + "scope": 509, + "src": "5114:437:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 493, + "nodeType": "Block", + "src": "6155:254:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 465, + "name": "newBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 459, + "src": "6176:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 464, + "name": "_setBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 456, + "src": "6165:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 466, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6165:21:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 467, + "nodeType": "ExpressionStatement", + "src": "6165:21:3" + }, + { + "eventCall": { + "arguments": [ + { + "id": 469, + "name": "newBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 459, + "src": "6216:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 468, + "name": "BeaconUpgraded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 232, + "src": "6201:14:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 470, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6201:25:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 471, + "nodeType": "EmitStatement", + "src": "6196:30:3" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 472, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 461, + "src": "6241:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 473, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6246:6:3", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6241:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 474, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6255:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6241:15:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 491, + "nodeType": "Block", + "src": "6360:43:3", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 488, + "name": "_checkNonPayable", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 508, + "src": "6374:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 489, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6374:18:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 490, + "nodeType": "ExpressionStatement", + "src": "6374:18:3" + } + ] + }, + "id": 492, + "nodeType": "IfStatement", + "src": "6237:166:3", + "trueBody": { + "id": 487, + "nodeType": "Block", + "src": "6258:96:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "id": 480, + "name": "newBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 459, + "src": "6309:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 479, + "name": "IBeacon", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 555, + "src": "6301:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IBeacon_$555_$", + "typeString": "type(contract IBeacon)" + } + }, + "id": 481, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6301:18:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IBeacon_$555", + "typeString": "contract IBeacon" + } + }, + "id": 482, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6320:14:3", + "memberName": "implementation", + "nodeType": "MemberAccess", + "referencedDeclaration": 554, + "src": "6301:33:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 483, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6301:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 484, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 461, + "src": "6338:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 476, + "name": "Address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 991, + "src": "6272:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Address_$991_$", + "typeString": "type(library Address)" + } + }, + "id": 478, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6280:20:3", + "memberName": "functionDelegateCall", + "nodeType": "MemberAccess", + "referencedDeclaration": 910, + "src": "6272:28:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bytes memory) returns (bytes memory)" + } + }, + "id": 485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6272:71:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 486, + "nodeType": "ExpressionStatement", + "src": "6272:71:3" + } + ] + } + } + ] + }, + "documentation": { + "id": 457, + "nodeType": "StructuredDocumentation", + "src": "5557:514:3", + "text": " @dev Change the beacon and trigger a setup call if data is nonempty.\n This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n to avoid stuck value in the contract.\n Emits an {IERC1967-BeaconUpgraded} event.\n CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n efficiency." + }, + "id": 494, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "upgradeBeaconToAndCall", + "nameLocation": "6085:22:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 462, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 459, + "mutability": "mutable", + "name": "newBeacon", + "nameLocation": "6116:9:3", + "nodeType": "VariableDeclaration", + "scope": 494, + "src": "6108:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 458, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6108:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 461, + "mutability": "mutable", + "name": "data", + "nameLocation": "6140:4:3", + "nodeType": "VariableDeclaration", + "scope": 494, + "src": "6127:17:3", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 460, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6127:5:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6107:38:3" + }, + "returnParameters": { + "id": 463, + "nodeType": "ParameterList", + "parameters": [], + "src": "6155:0:3" + }, + "scope": 509, + "src": "6076:333:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 507, + "nodeType": "Block", + "src": "6634:86:3", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 501, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 498, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "6648:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 499, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6652:5:3", + "memberName": "value", + "nodeType": "MemberAccess", + "src": "6648:9:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6660:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6648:13:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 506, + "nodeType": "IfStatement", + "src": "6644:70:3", + "trueBody": { + "id": 505, + "nodeType": "Block", + "src": "6663:51:3", + "statements": [ + { + "errorCall": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 502, + "name": "ERC1967NonPayable", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 254, + "src": "6684:17:3", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$__$returns$_t_error_$", + "typeString": "function () pure returns (error)" + } + }, + "id": 503, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6684:19:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 504, + "nodeType": "RevertStatement", + "src": "6677:26:3" + } + ] + } + } + ] + }, + "documentation": { + "id": 495, + "nodeType": "StructuredDocumentation", + "src": "6415:178:3", + "text": " @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n if an upgrade doesn't perform an initialization call." + }, + "id": 508, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_checkNonPayable", + "nameLocation": "6607:16:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 496, + "nodeType": "ParameterList", + "parameters": [], + "src": "6623:2:3" + }, + "returnParameters": { + "id": 497, + "nodeType": "ParameterList", + "parameters": [], + "src": "6634:0:3" + }, + "scope": 509, + "src": "6598:122:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + } + ], + "scope": 510, + "src": "449:6273:3", + "usedErrors": [ + 241, + 246, + 251, + 254 + ], + "usedEvents": [ + 220, + 227, + 232 + ] + } + ], + "src": "114:6609:3" + }, + "id": 3 + }, + "@openzeppelin/contracts/proxy/Proxy.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/proxy/Proxy.sol", + "exportedSymbols": { + "Proxy": [ + 545 + ] + }, + "id": 546, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 511, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "99:24:4" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "Proxy", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 512, + "nodeType": "StructuredDocumentation", + "src": "125:598:4", + "text": " @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\n instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\n be specified by overriding the virtual {_implementation} function.\n Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\n different contract through the {_delegate} function.\n The success and return data of the delegated call will be returned back to the caller of the proxy." + }, + "fullyImplemented": false, + "id": 545, + "linearizedBaseContracts": [ + 545 + ], + "name": "Proxy", + "nameLocation": "742:5:4", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 519, + "nodeType": "Block", + "src": "1009:835:4", + "statements": [ + { + "AST": { + "nativeSrc": "1028:810:4", + "nodeType": "YulBlock", + "src": "1028:810:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1281:1:4", + "nodeType": "YulLiteral", + "src": "1281:1:4", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1284:1:4", + "nodeType": "YulLiteral", + "src": "1284:1:4", + "type": "", + "value": "0" + }, + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nativeSrc": "1287:12:4", + "nodeType": "YulIdentifier", + "src": "1287:12:4" + }, + "nativeSrc": "1287:14:4", + "nodeType": "YulFunctionCall", + "src": "1287:14:4" + } + ], + "functionName": { + "name": "calldatacopy", + "nativeSrc": "1268:12:4", + "nodeType": "YulIdentifier", + "src": "1268:12:4" + }, + "nativeSrc": "1268:34:4", + "nodeType": "YulFunctionCall", + "src": "1268:34:4" + }, + "nativeSrc": "1268:34:4", + "nodeType": "YulExpressionStatement", + "src": "1268:34:4" + }, + { + "nativeSrc": "1429:74:4", + "nodeType": "YulVariableDeclaration", + "src": "1429:74:4", + "value": { + "arguments": [ + { + "arguments": [], + "functionName": { + "name": "gas", + "nativeSrc": "1456:3:4", + "nodeType": "YulIdentifier", + "src": "1456:3:4" + }, + "nativeSrc": "1456:5:4", + "nodeType": "YulFunctionCall", + "src": "1456:5:4" + }, + { + "name": "implementation", + "nativeSrc": "1463:14:4", + "nodeType": "YulIdentifier", + "src": "1463:14:4" + }, + { + "kind": "number", + "nativeSrc": "1479:1:4", + "nodeType": "YulLiteral", + "src": "1479:1:4", + "type": "", + "value": "0" + }, + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nativeSrc": "1482:12:4", + "nodeType": "YulIdentifier", + "src": "1482:12:4" + }, + "nativeSrc": "1482:14:4", + "nodeType": "YulFunctionCall", + "src": "1482:14:4" + }, + { + "kind": "number", + "nativeSrc": "1498:1:4", + "nodeType": "YulLiteral", + "src": "1498:1:4", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1501:1:4", + "nodeType": "YulLiteral", + "src": "1501:1:4", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "delegatecall", + "nativeSrc": "1443:12:4", + "nodeType": "YulIdentifier", + "src": "1443:12:4" + }, + "nativeSrc": "1443:60:4", + "nodeType": "YulFunctionCall", + "src": "1443:60:4" + }, + "variables": [ + { + "name": "result", + "nativeSrc": "1433:6:4", + "nodeType": "YulTypedName", + "src": "1433:6:4", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1571:1:4", + "nodeType": "YulLiteral", + "src": "1571:1:4", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1574:1:4", + "nodeType": "YulLiteral", + "src": "1574:1:4", + "type": "", + "value": "0" + }, + { + "arguments": [], + "functionName": { + "name": "returndatasize", + "nativeSrc": "1577:14:4", + "nodeType": "YulIdentifier", + "src": "1577:14:4" + }, + "nativeSrc": "1577:16:4", + "nodeType": "YulFunctionCall", + "src": "1577:16:4" + } + ], + "functionName": { + "name": "returndatacopy", + "nativeSrc": "1556:14:4", + "nodeType": "YulIdentifier", + "src": "1556:14:4" + }, + "nativeSrc": "1556:38:4", + "nodeType": "YulFunctionCall", + "src": "1556:38:4" + }, + "nativeSrc": "1556:38:4", + "nodeType": "YulExpressionStatement", + "src": "1556:38:4" + }, + { + "cases": [ + { + "body": { + "nativeSrc": "1689:59:4", + "nodeType": "YulBlock", + "src": "1689:59:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1714:1:4", + "nodeType": "YulLiteral", + "src": "1714:1:4", + "type": "", + "value": "0" + }, + { + "arguments": [], + "functionName": { + "name": "returndatasize", + "nativeSrc": "1717:14:4", + "nodeType": "YulIdentifier", + "src": "1717:14:4" + }, + "nativeSrc": "1717:16:4", + "nodeType": "YulFunctionCall", + "src": "1717:16:4" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1707:6:4", + "nodeType": "YulIdentifier", + "src": "1707:6:4" + }, + "nativeSrc": "1707:27:4", + "nodeType": "YulFunctionCall", + "src": "1707:27:4" + }, + "nativeSrc": "1707:27:4", + "nodeType": "YulExpressionStatement", + "src": "1707:27:4" + } + ] + }, + "nativeSrc": "1682:66:4", + "nodeType": "YulCase", + "src": "1682:66:4", + "value": { + "kind": "number", + "nativeSrc": "1687:1:4", + "nodeType": "YulLiteral", + "src": "1687:1:4", + "type": "", + "value": "0" + } + }, + { + "body": { + "nativeSrc": "1769:59:4", + "nodeType": "YulBlock", + "src": "1769:59:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1794:1:4", + "nodeType": "YulLiteral", + "src": "1794:1:4", + "type": "", + "value": "0" + }, + { + "arguments": [], + "functionName": { + "name": "returndatasize", + "nativeSrc": "1797:14:4", + "nodeType": "YulIdentifier", + "src": "1797:14:4" + }, + "nativeSrc": "1797:16:4", + "nodeType": "YulFunctionCall", + "src": "1797:16:4" + } + ], + "functionName": { + "name": "return", + "nativeSrc": "1787:6:4", + "nodeType": "YulIdentifier", + "src": "1787:6:4" + }, + "nativeSrc": "1787:27:4", + "nodeType": "YulFunctionCall", + "src": "1787:27:4" + }, + "nativeSrc": "1787:27:4", + "nodeType": "YulExpressionStatement", + "src": "1787:27:4" + } + ] + }, + "nativeSrc": "1761:67:4", + "nodeType": "YulCase", + "src": "1761:67:4", + "value": "default" + } + ], + "expression": { + "name": "result", + "nativeSrc": "1615:6:4", + "nodeType": "YulIdentifier", + "src": "1615:6:4" + }, + "nativeSrc": "1608:220:4", + "nodeType": "YulSwitch", + "src": "1608:220:4" + } + ] + }, + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 515, + "isOffset": false, + "isSlot": false, + "src": "1463:14:4", + "valueSize": 1 + } + ], + "id": 518, + "nodeType": "InlineAssembly", + "src": "1019:819:4" + } + ] + }, + "documentation": { + "id": 513, + "nodeType": "StructuredDocumentation", + "src": "754:190:4", + "text": " @dev Delegates the current call to `implementation`.\n This function does not return to its internal call site, it will return directly to the external caller." + }, + "id": 520, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_delegate", + "nameLocation": "958:9:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 516, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 515, + "mutability": "mutable", + "name": "implementation", + "nameLocation": "976:14:4", + "nodeType": "VariableDeclaration", + "scope": 520, + "src": "968:22:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 514, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "968:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "967:24:4" + }, + "returnParameters": { + "id": 517, + "nodeType": "ParameterList", + "parameters": [], + "src": "1009:0:4" + }, + "scope": 545, + "src": "949:895:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "documentation": { + "id": 521, + "nodeType": "StructuredDocumentation", + "src": "1850:173:4", + "text": " @dev This is a virtual function that should be overridden so it returns the address to which the fallback\n function and {_fallback} should delegate." + }, + "id": 526, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "_implementation", + "nameLocation": "2037:15:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 522, + "nodeType": "ParameterList", + "parameters": [], + "src": "2052:2:4" + }, + "returnParameters": { + "id": 525, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 524, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 526, + "src": "2086:7:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 523, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2086:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2085:9:4" + }, + "scope": 545, + "src": "2028:67:4", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 535, + "nodeType": "Block", + "src": "2361:45:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 531, + "name": "_implementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 526, + "src": "2381:15:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 532, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2381:17:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 530, + "name": "_delegate", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 520, + "src": "2371:9:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 533, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2371:28:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 534, + "nodeType": "ExpressionStatement", + "src": "2371:28:4" + } + ] + }, + "documentation": { + "id": 527, + "nodeType": "StructuredDocumentation", + "src": "2101:217:4", + "text": " @dev Delegates the current call to the address returned by `_implementation()`.\n This function does not return to its internal call site, it will return directly to the external caller." + }, + "id": 536, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_fallback", + "nameLocation": "2332:9:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 528, + "nodeType": "ParameterList", + "parameters": [], + "src": "2341:2:4" + }, + "returnParameters": { + "id": 529, + "nodeType": "ParameterList", + "parameters": [], + "src": "2361:0:4" + }, + "scope": 545, + "src": "2323:83:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 543, + "nodeType": "Block", + "src": "2639:28:4", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 540, + "name": "_fallback", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 536, + "src": "2649:9:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 541, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2649:11:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 542, + "nodeType": "ExpressionStatement", + "src": "2649:11:4" + } + ] + }, + "documentation": { + "id": 537, + "nodeType": "StructuredDocumentation", + "src": "2412:186:4", + "text": " @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\n function in the contract matches the call data." + }, + "id": 544, + "implemented": true, + "kind": "fallback", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 538, + "nodeType": "ParameterList", + "parameters": [], + "src": "2611:2:4" + }, + "returnParameters": { + "id": 539, + "nodeType": "ParameterList", + "parameters": [], + "src": "2639:0:4" + }, + "scope": 545, + "src": "2603:64:4", + "stateMutability": "payable", + "virtual": true, + "visibility": "external" + } + ], + "scope": 546, + "src": "724:1945:4", + "usedErrors": [], + "usedEvents": [] + } + ], + "src": "99:2571:4" + }, + "id": 4 + }, + "@openzeppelin/contracts/proxy/beacon/IBeacon.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/proxy/beacon/IBeacon.sol", + "exportedSymbols": { + "IBeacon": [ + 555 + ] + }, + "id": 556, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 547, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "108:24:5" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IBeacon", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 548, + "nodeType": "StructuredDocumentation", + "src": "134:79:5", + "text": " @dev This is the interface that {BeaconProxy} expects of its beacon." + }, + "fullyImplemented": false, + "id": 555, + "linearizedBaseContracts": [ + 555 + ], + "name": "IBeacon", + "nameLocation": "224:7:5", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 549, + "nodeType": "StructuredDocumentation", + "src": "238:168:5", + "text": " @dev Must return an address that can be used as a delegate call target.\n {UpgradeableBeacon} will check that this address is a contract." + }, + "functionSelector": "5c60da1b", + "id": 554, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "implementation", + "nameLocation": "420:14:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 550, + "nodeType": "ParameterList", + "parameters": [], + "src": "434:2:5" + }, + "returnParameters": { + "id": 553, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 552, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 554, + "src": "460:7:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 551, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "460:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "459:9:5" + }, + "scope": 555, + "src": "411:58:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 556, + "src": "214:257:5", + "usedErrors": [], + "usedEvents": [] + } + ], + "src": "108:364:5" + }, + "id": 5 + }, + "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol", + "exportedSymbols": { + "ITransparentUpgradeableProxy": [ + 624 + ], + "Ownable": [ + 147 + ], + "ProxyAdmin": [ + 603 + ] + }, + "id": 604, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 557, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "116:24:6" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol", + "file": "./TransparentUpgradeableProxy.sol", + "id": 559, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 604, + "sourceUnit": 739, + "src": "142:79:6", + "symbolAliases": [ + { + "foreign": { + "id": 558, + "name": "ITransparentUpgradeableProxy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 624, + "src": "150:28:6", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/access/Ownable.sol", + "file": "../../access/Ownable.sol", + "id": 561, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 604, + "sourceUnit": 148, + "src": "222:49:6", + "symbolAliases": [ + { + "foreign": { + "id": 560, + "name": "Ownable", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 147, + "src": "230:7:6", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 563, + "name": "Ownable", + "nameLocations": [ + "525:7:6" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 147, + "src": "525:7:6" + }, + "id": 564, + "nodeType": "InheritanceSpecifier", + "src": "525:7:6" + } + ], + "canonicalName": "ProxyAdmin", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 562, + "nodeType": "StructuredDocumentation", + "src": "273:228:6", + "text": " @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an\n explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}." + }, + "fullyImplemented": true, + "id": 603, + "linearizedBaseContracts": [ + 603, + 147, + 1068 + ], + "name": "ProxyAdmin", + "nameLocation": "511:10:6", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "documentation": { + "id": 565, + "nodeType": "StructuredDocumentation", + "src": "539:623:6", + "text": " @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgrade(address)`\n and `upgradeAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n while `upgradeAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n If the getter returns `\"5.0.0\"`, only `upgradeAndCall(address,bytes)` is present, and the second argument must\n be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n during an upgrade." + }, + "functionSelector": "ad3cb1cc", + "id": 568, + "mutability": "constant", + "name": "UPGRADE_INTERFACE_VERSION", + "nameLocation": "1190:25:6", + "nodeType": "VariableDeclaration", + "scope": 603, + "src": "1167:58:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 566, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1167:6:6", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": { + "hexValue": "352e302e30", + "id": 567, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1218:7:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_2ade050ecfcf8ae20ae1d10a23573f9d7e0bad85e74a2cf8338a65401e64558c", + "typeString": "literal_string \"5.0.0\"" + }, + "value": "5.0.0" + }, + "visibility": "public" + }, + { + "body": { + "id": 577, + "nodeType": "Block", + "src": "1365:2:6", + "statements": [] + }, + "documentation": { + "id": 569, + "nodeType": "StructuredDocumentation", + "src": "1232:72:6", + "text": " @dev Sets the initial owner who can perform upgrades." + }, + "id": 578, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 574, + "name": "initialOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 571, + "src": "1351:12:6", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 575, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 573, + "name": "Ownable", + "nameLocations": [ + "1343:7:6" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 147, + "src": "1343:7:6" + }, + "nodeType": "ModifierInvocation", + "src": "1343:21:6" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 572, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 571, + "mutability": "mutable", + "name": "initialOwner", + "nameLocation": "1329:12:6", + "nodeType": "VariableDeclaration", + "scope": 578, + "src": "1321:20:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 570, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1321:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1320:22:6" + }, + "returnParameters": { + "id": 576, + "nodeType": "ParameterList", + "parameters": [], + "src": "1365:0:6" + }, + "scope": 603, + "src": "1309:58:6", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 601, + "nodeType": "Block", + "src": "1863:79:6", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 597, + "name": "implementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 584, + "src": "1914:14:6", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 598, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 586, + "src": "1930:4:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 591, + "name": "proxy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 582, + "src": "1873:5:6", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ITransparentUpgradeableProxy_$624", + "typeString": "contract ITransparentUpgradeableProxy" + } + }, + "id": 593, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1879:16:6", + "memberName": "upgradeToAndCall", + "nodeType": "MemberAccess", + "referencedDeclaration": 623, + "src": "1873:22:6", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) payable external" + } + }, + "id": 596, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "expression": { + "id": 594, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "1903:3:6", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 595, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1907:5:6", + "memberName": "value", + "nodeType": "MemberAccess", + "src": "1903:9:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "1873:40:6", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$returns$__$value", + "typeString": "function (address,bytes memory) payable external" + } + }, + "id": 599, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1873:62:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 600, + "nodeType": "ExpressionStatement", + "src": "1873:62:6" + } + ] + }, + "documentation": { + "id": 579, + "nodeType": "StructuredDocumentation", + "src": "1373:319:6", + "text": " @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation.\n See {TransparentUpgradeableProxy-_dispatchUpgradeToAndCall}.\n Requirements:\n - This contract must be the admin of `proxy`.\n - If `data` is empty, `msg.value` must be zero." + }, + "functionSelector": "9623609d", + "id": 602, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 589, + "kind": "modifierInvocation", + "modifierName": { + "id": 588, + "name": "onlyOwner", + "nameLocations": [ + "1853:9:6" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 58, + "src": "1853:9:6" + }, + "nodeType": "ModifierInvocation", + "src": "1853:9:6" + } + ], + "name": "upgradeAndCall", + "nameLocation": "1706:14:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 587, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 582, + "mutability": "mutable", + "name": "proxy", + "nameLocation": "1759:5:6", + "nodeType": "VariableDeclaration", + "scope": 602, + "src": "1730:34:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ITransparentUpgradeableProxy_$624", + "typeString": "contract ITransparentUpgradeableProxy" + }, + "typeName": { + "id": 581, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 580, + "name": "ITransparentUpgradeableProxy", + "nameLocations": [ + "1730:28:6" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 624, + "src": "1730:28:6" + }, + "referencedDeclaration": 624, + "src": "1730:28:6", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ITransparentUpgradeableProxy_$624", + "typeString": "contract ITransparentUpgradeableProxy" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 584, + "mutability": "mutable", + "name": "implementation", + "nameLocation": "1782:14:6", + "nodeType": "VariableDeclaration", + "scope": 602, + "src": "1774:22:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 583, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1774:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 586, + "mutability": "mutable", + "name": "data", + "nameLocation": "1819:4:6", + "nodeType": "VariableDeclaration", + "scope": 602, + "src": "1806:17:6", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 585, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1806:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:109:6" + }, + "returnParameters": { + "id": 590, + "nodeType": "ParameterList", + "parameters": [], + "src": "1863:0:6" + }, + "scope": 603, + "src": "1697:245:6", + "stateMutability": "payable", + "virtual": true, + "visibility": "public" + } + ], + "scope": 604, + "src": "502:1442:6", + "usedErrors": [ + 13, + 18 + ], + "usedEvents": [ + 24 + ] + } + ], + "src": "116:1829:6" + }, + "id": 6 + }, + "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol", + "exportedSymbols": { + "ERC1967Proxy": [ + 206 + ], + "ERC1967Utils": [ + 509 + ], + "IERC1967": [ + 168 + ], + "ITransparentUpgradeableProxy": [ + 624 + ], + "ProxyAdmin": [ + 603 + ], + "TransparentUpgradeableProxy": [ + 738 + ] + }, + "id": 739, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 605, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "133:24:7" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol", + "file": "../ERC1967/ERC1967Utils.sol", + "id": 607, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 739, + "sourceUnit": 510, + "src": "159:57:7", + "symbolAliases": [ + { + "foreign": { + "id": 606, + "name": "ERC1967Utils", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "167:12:7", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol", + "file": "../ERC1967/ERC1967Proxy.sol", + "id": 609, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 739, + "sourceUnit": 207, + "src": "217:57:7", + "symbolAliases": [ + { + "foreign": { + "id": 608, + "name": "ERC1967Proxy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 206, + "src": "225:12:7", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/interfaces/IERC1967.sol", + "file": "../../interfaces/IERC1967.sol", + "id": 611, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 739, + "sourceUnit": 169, + "src": "275:55:7", + "symbolAliases": [ + { + "foreign": { + "id": 610, + "name": "IERC1967", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 168, + "src": "283:8:7", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol", + "file": "./ProxyAdmin.sol", + "id": 613, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 739, + "sourceUnit": 604, + "src": "331:44:7", + "symbolAliases": [ + { + "foreign": { + "id": 612, + "name": "ProxyAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 603, + "src": "339:10:7", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 615, + "name": "IERC1967", + "nameLocations": [ + "865:8:7" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 168, + "src": "865:8:7" + }, + "id": 616, + "nodeType": "InheritanceSpecifier", + "src": "865:8:7" + } + ], + "canonicalName": "ITransparentUpgradeableProxy", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 614, + "nodeType": "StructuredDocumentation", + "src": "377:445:7", + "text": " @dev Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy}\n does not implement this interface directly, and its upgradeability mechanism is implemented by an internal dispatch\n mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not\n include them in the ABI so this interface must be used to interact with it." + }, + "fullyImplemented": false, + "id": 624, + "linearizedBaseContracts": [ + 624, + 168 + ], + "name": "ITransparentUpgradeableProxy", + "nameLocation": "833:28:7", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "4f1ef286", + "id": 623, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "upgradeToAndCall", + "nameLocation": "889:16:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 621, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 618, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 623, + "src": "906:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 617, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "906:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 620, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 623, + "src": "915:14:7", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 619, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "915:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "905:25:7" + }, + "returnParameters": { + "id": 622, + "nodeType": "ParameterList", + "parameters": [], + "src": "947:0:7" + }, + "scope": 624, + "src": "880:68:7", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 739, + "src": "823:127:7", + "usedErrors": [], + "usedEvents": [ + 155, + 162, + 167 + ] + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 626, + "name": "ERC1967Proxy", + "nameLocations": [ + "4185:12:7" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 206, + "src": "4185:12:7" + }, + "id": 627, + "nodeType": "InheritanceSpecifier", + "src": "4185:12:7" + } + ], + "canonicalName": "TransparentUpgradeableProxy", + "contractDependencies": [ + 603 + ], + "contractKind": "contract", + "documentation": { + "id": 625, + "nodeType": "StructuredDocumentation", + "src": "952:3192:7", + "text": " @dev This contract implements a proxy that is upgradeable through an associated {ProxyAdmin} instance.\n To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\n clashing], which can potentially be used in an attack, this contract uses the\n https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\n things that go hand in hand:\n 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\n that call matches the {ITransparentUpgradeableProxy-upgradeToAndCall} function exposed by the proxy itself.\n 2. If the admin calls the proxy, it can call the `upgradeToAndCall` function but any other call won't be forwarded to\n the implementation. If the admin tries to call a function on the implementation it will fail with an error indicating\n the proxy admin cannot fallback to the target implementation.\n These properties mean that the admin account can only be used for upgrading the proxy, so it's best if it's a\n dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to\n call a function from the proxy implementation. For this reason, the proxy deploys an instance of {ProxyAdmin} and\n allows upgrades only if they come through it. You should think of the `ProxyAdmin` instance as the administrative\n interface of the proxy, including the ability to change who can trigger upgrades by transferring ownership.\n NOTE: The real interface of this proxy is that defined in `ITransparentUpgradeableProxy`. This contract does not\n inherit from that interface, and instead `upgradeToAndCall` is implicitly implemented using a custom dispatch\n mechanism in `_fallback`. Consequently, the compiler will not produce an ABI for this contract. This is necessary to\n fully implement transparency without decoding reverts caused by selector clashes between the proxy and the\n implementation.\n NOTE: This proxy does not inherit from {Context} deliberately. The {ProxyAdmin} of this contract won't send a\n meta-transaction in any way, and any other meta-transaction setup should be made in the implementation contract.\n IMPORTANT: This contract avoids unnecessary storage reads by setting the admin only during construction as an\n immutable variable, preventing any changes thereafter. However, the admin slot defined in ERC-1967 can still be\n overwritten by the implementation logic pointed to by this proxy. In such cases, the contract may end up in an\n undesirable state where the admin slot is different from the actual admin.\n WARNING: It is not recommended to extend this contract to add additional external functions. If you do so, the\n compiler will not check that there are no selector conflicts, due to the note above. A selector clash between any new\n function and the functions declared in {ITransparentUpgradeableProxy} will be resolved in favor of the new one. This\n could render the `upgradeToAndCall` function inaccessible, preventing upgradeability and compromising transparency." + }, + "fullyImplemented": true, + "id": 738, + "linearizedBaseContracts": [ + 738, + 206, + 545 + ], + "name": "TransparentUpgradeableProxy", + "nameLocation": "4154:27:7", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 629, + "mutability": "immutable", + "name": "_admin", + "nameLocation": "4565:6:7", + "nodeType": "VariableDeclaration", + "scope": 738, + "src": "4539:32:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 628, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4539:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "private" + }, + { + "documentation": { + "id": 630, + "nodeType": "StructuredDocumentation", + "src": "4578:102:7", + "text": " @dev The proxy caller is the current admin, and can't fallback to the proxy target." + }, + "errorSelector": "d2b576ec", + "id": 632, + "name": "ProxyDeniedAdminAccess", + "nameLocation": "4691:22:7", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 631, + "nodeType": "ParameterList", + "parameters": [], + "src": "4713:2:7" + }, + "src": "4685:31:7" + }, + { + "body": { + "id": 664, + "nodeType": "Block", + "src": "5094:190:7", + "statements": [ + { + "expression": { + "id": 655, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 646, + "name": "_admin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 629, + "src": "5104:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "arguments": [ + { + "id": 652, + "name": "initialOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 637, + "src": "5136:12:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 651, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "5121:14:7", + "typeDescriptions": { + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$returns$_t_contract$_ProxyAdmin_$603_$", + "typeString": "function (address) returns (contract ProxyAdmin)" + }, + "typeName": { + "id": 650, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 649, + "name": "ProxyAdmin", + "nameLocations": [ + "5125:10:7" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 603, + "src": "5125:10:7" + }, + "referencedDeclaration": 603, + "src": "5125:10:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ProxyAdmin_$603", + "typeString": "contract ProxyAdmin" + } + } + }, + "id": 653, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5121:28:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_ProxyAdmin_$603", + "typeString": "contract ProxyAdmin" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_ProxyAdmin_$603", + "typeString": "contract ProxyAdmin" + } + ], + "id": 648, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5113:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 647, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5113:7:7", + "typeDescriptions": {} + } + }, + "id": 654, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5113:37:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5104:46:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 656, + "nodeType": "ExpressionStatement", + "src": "5104:46:7" + }, + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 660, + "name": "_proxyAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 674, + "src": "5263:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$_t_address_$", + "typeString": "function () returns (address)" + } + }, + "id": 661, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5263:13:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 657, + "name": "ERC1967Utils", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "5238:12:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ERC1967Utils_$509_$", + "typeString": "type(library ERC1967Utils)" + } + }, + "id": 659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5251:11:7", + "memberName": "changeAdmin", + "nodeType": "MemberAccess", + "referencedDeclaration": 393, + "src": "5238:24:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5238:39:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 663, + "nodeType": "ExpressionStatement", + "src": "5238:39:7" + } + ] + }, + "documentation": { + "id": 633, + "nodeType": "StructuredDocumentation", + "src": "4722:261:7", + "text": " @dev Initializes an upgradeable proxy managed by an instance of a {ProxyAdmin} with an `initialOwner`,\n backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in\n {ERC1967Proxy-constructor}." + }, + "id": 665, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 642, + "name": "_logic", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 635, + "src": "5079:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 643, + "name": "_data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 639, + "src": "5087:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 644, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 641, + "name": "ERC1967Proxy", + "nameLocations": [ + "5066:12:7" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 206, + "src": "5066:12:7" + }, + "nodeType": "ModifierInvocation", + "src": "5066:27:7" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 640, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 635, + "mutability": "mutable", + "name": "_logic", + "nameLocation": "5008:6:7", + "nodeType": "VariableDeclaration", + "scope": 665, + "src": "5000:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 634, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5000:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 637, + "mutability": "mutable", + "name": "initialOwner", + "nameLocation": "5024:12:7", + "nodeType": "VariableDeclaration", + "scope": 665, + "src": "5016:20:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 636, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5016:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 639, + "mutability": "mutable", + "name": "_data", + "nameLocation": "5051:5:7", + "nodeType": "VariableDeclaration", + "scope": 665, + "src": "5038:18:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 638, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5038:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4999:58:7" + }, + "returnParameters": { + "id": 645, + "nodeType": "ParameterList", + "parameters": [], + "src": "5094:0:7" + }, + "scope": 738, + "src": "4988:296:7", + "stateMutability": "payable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 673, + "nodeType": "Block", + "src": "5409:30:7", + "statements": [ + { + "expression": { + "id": 671, + "name": "_admin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 629, + "src": "5426:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 670, + "id": 672, + "nodeType": "Return", + "src": "5419:13:7" + } + ] + }, + "documentation": { + "id": 666, + "nodeType": "StructuredDocumentation", + "src": "5290:56:7", + "text": " @dev Returns the admin of this proxy." + }, + "id": 674, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_proxyAdmin", + "nameLocation": "5360:11:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 667, + "nodeType": "ParameterList", + "parameters": [], + "src": "5371:2:7" + }, + "returnParameters": { + "id": 670, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 669, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 674, + "src": "5400:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5400:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5399:9:7" + }, + "scope": 738, + "src": "5351:88:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "baseFunctions": [ + 536 + ], + "body": { + "id": 707, + "nodeType": "Block", + "src": "5628:322:7", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 679, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5642:3:7", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 680, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5646:6:7", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5642:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 681, + "name": "_proxyAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 674, + "src": "5656:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$_t_address_$", + "typeString": "function () returns (address)" + } + }, + "id": 682, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5656:13:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5642:27:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 705, + "nodeType": "Block", + "src": "5902:42:7", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 700, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -25, + "src": "5916:5:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_super$_TransparentUpgradeableProxy_$738_$", + "typeString": "type(contract super TransparentUpgradeableProxy)" + } + }, + "id": 702, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5922:9:7", + "memberName": "_fallback", + "nodeType": "MemberAccess", + "referencedDeclaration": 536, + "src": "5916:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5916:17:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 704, + "nodeType": "ExpressionStatement", + "src": "5916:17:7" + } + ] + }, + "id": 706, + "nodeType": "IfStatement", + "src": "5638:306:7", + "trueBody": { + "id": 699, + "nodeType": "Block", + "src": "5671:225:7", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 689, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 684, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5689:3:7", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 685, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5693:3:7", + "memberName": "sig", + "nodeType": "MemberAccess", + "src": "5689:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "expression": { + "expression": { + "id": 686, + "name": "ITransparentUpgradeableProxy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 624, + "src": "5700:28:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ITransparentUpgradeableProxy_$624_$", + "typeString": "type(contract ITransparentUpgradeableProxy)" + } + }, + "id": 687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5729:16:7", + "memberName": "upgradeToAndCall", + "nodeType": "MemberAccess", + "referencedDeclaration": 623, + "src": "5700:45:7", + "typeDescriptions": { + "typeIdentifier": "t_function_declaration_payable$_t_address_$_t_bytes_calldata_ptr_$returns$__$", + "typeString": "function ITransparentUpgradeableProxy.upgradeToAndCall(address,bytes calldata) payable" + } + }, + "id": 688, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5746:8:7", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "5700:54:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "5689:65:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 697, + "nodeType": "Block", + "src": "5826:60:7", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 694, + "name": "_dispatchUpgradeToAndCall", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 737, + "src": "5844:25:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 695, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5844:27:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 696, + "nodeType": "ExpressionStatement", + "src": "5844:27:7" + } + ] + }, + "id": 698, + "nodeType": "IfStatement", + "src": "5685:201:7", + "trueBody": { + "id": 693, + "nodeType": "Block", + "src": "5756:64:7", + "statements": [ + { + "errorCall": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 690, + "name": "ProxyDeniedAdminAccess", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 632, + "src": "5781:22:7", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$__$returns$_t_error_$", + "typeString": "function () pure returns (error)" + } + }, + "id": 691, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5781:24:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 692, + "nodeType": "RevertStatement", + "src": "5774:31:7" + } + ] + } + } + ] + } + } + ] + }, + "documentation": { + "id": 675, + "nodeType": "StructuredDocumentation", + "src": "5445:131:7", + "text": " @dev If caller is the admin process the call internally, otherwise transparently fallback to the proxy behavior." + }, + "id": 708, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_fallback", + "nameLocation": "5590:9:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 677, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5619:8:7" + }, + "parameters": { + "id": 676, + "nodeType": "ParameterList", + "parameters": [], + "src": "5599:2:7" + }, + "returnParameters": { + "id": 678, + "nodeType": "ParameterList", + "parameters": [], + "src": "5628:0:7" + }, + "scope": 738, + "src": "5581:369:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 736, + "nodeType": "Block", + "src": "6197:172:7", + "statements": [ + { + "assignments": [ + 713, + 715 + ], + "declarations": [ + { + "constant": false, + "id": 713, + "mutability": "mutable", + "name": "newImplementation", + "nameLocation": "6216:17:7", + "nodeType": "VariableDeclaration", + "scope": 736, + "src": "6208:25:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 712, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6208:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 715, + "mutability": "mutable", + "name": "data", + "nameLocation": "6248:4:7", + "nodeType": "VariableDeclaration", + "scope": 736, + "src": "6235:17:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 714, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6235:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 728, + "initialValue": { + "arguments": [ + { + "baseExpression": { + "expression": { + "id": 718, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "6267:3:7", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 719, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6271:4:7", + "memberName": "data", + "nodeType": "MemberAccess", + "src": "6267:8:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + "id": 721, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexRangeAccess", + "src": "6267:12:7", + "startExpression": { + "hexValue": "34", + "id": 720, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6276:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr_slice", + "typeString": "bytes calldata slice" + } + }, + { + "components": [ + { + "id": 723, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6282:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 722, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6282:7:7", + "typeDescriptions": {} + } + }, + { + "id": 725, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6291:5:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6291:5:7", + "typeDescriptions": {} + } + } + ], + "id": 726, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6281:16:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_type$_t_address_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(address),type(bytes storage pointer))" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_calldata_ptr_slice", + "typeString": "bytes calldata slice" + }, + { + "typeIdentifier": "t_tuple$_t_type$_t_address_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(address),type(bytes storage pointer))" + } + ], + "expression": { + "id": 716, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6256:3:7", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 717, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6260:6:7", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6256:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 727, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6256:42:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_address_payable_$_t_bytes_memory_ptr_$", + "typeString": "tuple(address payable,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6207:91:7" + }, + { + "expression": { + "arguments": [ + { + "id": 732, + "name": "newImplementation", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 713, + "src": "6338:17:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 733, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 715, + "src": "6357:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 729, + "name": "ERC1967Utils", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "6308:12:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ERC1967Utils_$509_$", + "typeString": "type(library ERC1967Utils)" + } + }, + "id": 731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6321:16:7", + "memberName": "upgradeToAndCall", + "nodeType": "MemberAccess", + "referencedDeclaration": 328, + "src": "6308:29:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory)" + } + }, + "id": 734, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6308:54:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 735, + "nodeType": "ExpressionStatement", + "src": "6308:54:7" + } + ] + }, + "documentation": { + "id": 709, + "nodeType": "StructuredDocumentation", + "src": "5956:191:7", + "text": " @dev Upgrade the implementation of the proxy. See {ERC1967Utils-upgradeToAndCall}.\n Requirements:\n - If `data` is empty, `msg.value` must be zero." + }, + "id": 737, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_dispatchUpgradeToAndCall", + "nameLocation": "6161:25:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 710, + "nodeType": "ParameterList", + "parameters": [], + "src": "6186:2:7" + }, + "returnParameters": { + "id": 711, + "nodeType": "ParameterList", + "parameters": [], + "src": "6197:0:7" + }, + "scope": 738, + "src": "6152:217:7", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + } + ], + "scope": 739, + "src": "4145:2226:7", + "usedErrors": [ + 241, + 246, + 254, + 632, + 751, + 754 + ], + "usedEvents": [ + 220, + 227 + ] + } + ], + "src": "133:6239:7" + }, + "id": 7 + }, + "@openzeppelin/contracts/utils/Address.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/utils/Address.sol", + "exportedSymbols": { + "Address": [ + 991 + ] + }, + "id": 992, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 740, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "101:24:8" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Address", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 741, + "nodeType": "StructuredDocumentation", + "src": "127:67:8", + "text": " @dev Collection of functions related to the address type" + }, + "fullyImplemented": true, + "id": 991, + "linearizedBaseContracts": [ + 991 + ], + "name": "Address", + "nameLocation": "203:7:8", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 742, + "nodeType": "StructuredDocumentation", + "src": "217:94:8", + "text": " @dev The ETH balance of the account is not enough to perform the operation." + }, + "errorSelector": "cd786059", + "id": 746, + "name": "AddressInsufficientBalance", + "nameLocation": "322:26:8", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 745, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 744, + "mutability": "mutable", + "name": "account", + "nameLocation": "357:7:8", + "nodeType": "VariableDeclaration", + "scope": 746, + "src": "349:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 743, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "349:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "348:17:8" + }, + "src": "316:50:8" + }, + { + "documentation": { + "id": 747, + "nodeType": "StructuredDocumentation", + "src": "372:75:8", + "text": " @dev There's no code at `target` (it is not a contract)." + }, + "errorSelector": "9996b315", + "id": 751, + "name": "AddressEmptyCode", + "nameLocation": "458:16:8", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 750, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 749, + "mutability": "mutable", + "name": "target", + "nameLocation": "483:6:8", + "nodeType": "VariableDeclaration", + "scope": 751, + "src": "475:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 748, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "475:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "474:16:8" + }, + "src": "452:39:8" + }, + { + "documentation": { + "id": 752, + "nodeType": "StructuredDocumentation", + "src": "497:89:8", + "text": " @dev A call to an address target failed. The target may have reverted." + }, + "errorSelector": "1425ea42", + "id": 754, + "name": "FailedInnerCall", + "nameLocation": "597:15:8", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 753, + "nodeType": "ParameterList", + "parameters": [], + "src": "612:2:8" + }, + "src": "591:24:8" + }, + { + "body": { + "id": 794, + "nodeType": "Block", + "src": "1602:260:8", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 768, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "arguments": [ + { + "id": 764, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1624:4:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + ], + "id": 763, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1616:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 762, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1616:7:8", + "typeDescriptions": {} + } + }, + "id": 765, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1616:13:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1630:7:8", + "memberName": "balance", + "nodeType": "MemberAccess", + "src": "1616:21:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 767, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 759, + "src": "1640:6:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1616:30:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 777, + "nodeType": "IfStatement", + "src": "1612:109:8", + "trueBody": { + "id": 776, + "nodeType": "Block", + "src": "1648:73:8", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 772, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1704:4:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + ], + "id": 771, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1696:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 770, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1696:7:8", + "typeDescriptions": {} + } + }, + "id": 773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1696:13:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 769, + "name": "AddressInsufficientBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 746, + "src": "1669:26:8", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 774, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1669:41:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 775, + "nodeType": "RevertStatement", + "src": "1662:48:8" + } + ] + } + }, + { + "assignments": [ + 779, + null + ], + "declarations": [ + { + "constant": false, + "id": 779, + "mutability": "mutable", + "name": "success", + "nameLocation": "1737:7:8", + "nodeType": "VariableDeclaration", + "scope": 794, + "src": "1732:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 778, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1732:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + null + ], + "id": 786, + "initialValue": { + "arguments": [ + { + "hexValue": "", + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1780:2:8", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "expression": { + "id": 780, + "name": "recipient", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 757, + "src": "1750:9:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 781, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1760:4:8", + "memberName": "call", + "nodeType": "MemberAccess", + "src": "1750:14:8", + "typeDescriptions": { + "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) payable returns (bool,bytes memory)" + } + }, + "id": 783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "id": 782, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 759, + "src": "1772:6:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "1750:29:8", + "typeDescriptions": { + "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", + "typeString": "function (bytes memory) payable returns (bool,bytes memory)" + } + }, + "id": 785, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1750:33:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1731:52:8" + }, + { + "condition": { + "id": 788, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1797:8:8", + "subExpression": { + "id": 787, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 779, + "src": "1798:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 793, + "nodeType": "IfStatement", + "src": "1793:63:8", + "trueBody": { + "id": 792, + "nodeType": "Block", + "src": "1807:49:8", + "statements": [ + { + "errorCall": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 789, + "name": "FailedInnerCall", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 754, + "src": "1828:15:8", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$__$returns$_t_error_$", + "typeString": "function () pure returns (error)" + } + }, + "id": 790, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1828:17:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 791, + "nodeType": "RevertStatement", + "src": "1821:24:8" + } + ] + } + } + ] + }, + "documentation": { + "id": 755, + "nodeType": "StructuredDocumentation", + "src": "621:905:8", + "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." + }, + "id": 795, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "sendValue", + "nameLocation": "1540:9:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 760, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 757, + "mutability": "mutable", + "name": "recipient", + "nameLocation": "1566:9:8", + "nodeType": "VariableDeclaration", + "scope": 795, + "src": "1550:25:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 756, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1550:15:8", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 759, + "mutability": "mutable", + "name": "amount", + "nameLocation": "1585:6:8", + "nodeType": "VariableDeclaration", + "scope": 795, + "src": "1577:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 758, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1577:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1549:43:8" + }, + "returnParameters": { + "id": 761, + "nodeType": "ParameterList", + "parameters": [], + "src": "1602:0:8" + }, + "scope": 991, + "src": "1531:331:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 811, + "nodeType": "Block", + "src": "2794:62:8", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 806, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 798, + "src": "2833:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 807, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 800, + "src": "2841:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "hexValue": "30", + "id": 808, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2847:1:8", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 805, + "name": "functionCallWithValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 858, + "src": "2811:21:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bytes memory,uint256) returns (bytes memory)" + } + }, + "id": 809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2811:38:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 804, + "id": 810, + "nodeType": "Return", + "src": "2804:45:8" + } + ] + }, + "documentation": { + "id": 796, + "nodeType": "StructuredDocumentation", + "src": "1868:832:8", + "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain `call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason or custom error, it is bubbled\n up by this function (like regular Solidity function calls). However, if\n the call reverted with no returned reason, this function reverts with a\n {FailedInnerCall} error.\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert." + }, + "id": 812, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "functionCall", + "nameLocation": "2714:12:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 801, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 798, + "mutability": "mutable", + "name": "target", + "nameLocation": "2735:6:8", + "nodeType": "VariableDeclaration", + "scope": 812, + "src": "2727:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 797, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2727:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 800, + "mutability": "mutable", + "name": "data", + "nameLocation": "2756:4:8", + "nodeType": "VariableDeclaration", + "scope": 812, + "src": "2743:17:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 799, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2743:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2726:35:8" + }, + "returnParameters": { + "id": 804, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 803, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 812, + "src": "2780:12:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 802, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2780:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2779:14:8" + }, + "scope": 991, + "src": "2705:151:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 857, + "nodeType": "Block", + "src": "3293:279:8", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "arguments": [ + { + "id": 826, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3315:4:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + ], + "id": 825, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3307:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 824, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3307:7:8", + "typeDescriptions": {} + } + }, + "id": 827, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3307:13:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3321:7:8", + "memberName": "balance", + "nodeType": "MemberAccess", + "src": "3307:21:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 829, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 819, + "src": "3331:5:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3307:29:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 839, + "nodeType": "IfStatement", + "src": "3303:108:8", + "trueBody": { + "id": 838, + "nodeType": "Block", + "src": "3338:73:8", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 834, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3394:4:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_Address_$991", + "typeString": "library Address" + } + ], + "id": 833, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3386:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 832, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3386:7:8", + "typeDescriptions": {} + } + }, + "id": 835, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3386:13:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 831, + "name": "AddressInsufficientBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 746, + "src": "3359:26:8", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 836, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3359:41:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 837, + "nodeType": "RevertStatement", + "src": "3352:48:8" + } + ] + } + }, + { + "assignments": [ + 841, + 843 + ], + "declarations": [ + { + "constant": false, + "id": 841, + "mutability": "mutable", + "name": "success", + "nameLocation": "3426:7:8", + "nodeType": "VariableDeclaration", + "scope": 857, + "src": "3421:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 840, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3421:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 843, + "mutability": "mutable", + "name": "returndata", + "nameLocation": "3448:10:8", + "nodeType": "VariableDeclaration", + "scope": 857, + "src": "3435:23:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 842, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3435:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 850, + "initialValue": { + "arguments": [ + { + "id": 848, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 817, + "src": "3488:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 844, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 815, + "src": "3462:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 845, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3469:4:8", + "memberName": "call", + "nodeType": "MemberAccess", + "src": "3462:11:8", + "typeDescriptions": { + "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) payable returns (bool,bytes memory)" + } + }, + "id": 847, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "id": 846, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 819, + "src": "3481:5:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "3462:25:8", + "typeDescriptions": { + "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", + "typeString": "function (bytes memory) payable returns (bool,bytes memory)" + } + }, + "id": 849, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3462:31:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3420:73:8" + }, + { + "expression": { + "arguments": [ + { + "id": 852, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 815, + "src": "3537:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 853, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 841, + "src": "3545:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "id": 854, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 843, + "src": "3554:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 851, + "name": "verifyCallResultFromTarget", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 950, + "src": "3510:26:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bool,bytes memory) view returns (bytes memory)" + } + }, + "id": 855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3510:55:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 823, + "id": 856, + "nodeType": "Return", + "src": "3503:62:8" + } + ] + }, + "documentation": { + "id": 813, + "nodeType": "StructuredDocumentation", + "src": "2862:313:8", + "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`." + }, + "id": 858, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "functionCallWithValue", + "nameLocation": "3189:21:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 820, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 815, + "mutability": "mutable", + "name": "target", + "nameLocation": "3219:6:8", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "3211:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 814, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3211:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 817, + "mutability": "mutable", + "name": "data", + "nameLocation": "3240:4:8", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "3227:17:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 816, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3227:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 819, + "mutability": "mutable", + "name": "value", + "nameLocation": "3254:5:8", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "3246:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 818, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3246:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3210:50:8" + }, + "returnParameters": { + "id": 823, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 822, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "3279:12:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 821, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3279:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3278:14:8" + }, + "scope": 991, + "src": "3180:392:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 883, + "nodeType": "Block", + "src": "3811:154:8", + "statements": [ + { + "assignments": [ + 869, + 871 + ], + "declarations": [ + { + "constant": false, + "id": 869, + "mutability": "mutable", + "name": "success", + "nameLocation": "3827:7:8", + "nodeType": "VariableDeclaration", + "scope": 883, + "src": "3822:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 868, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3822:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 871, + "mutability": "mutable", + "name": "returndata", + "nameLocation": "3849:10:8", + "nodeType": "VariableDeclaration", + "scope": 883, + "src": "3836:23:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 870, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3836:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 876, + "initialValue": { + "arguments": [ + { + "id": 874, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 863, + "src": "3881:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 872, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "3863:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3870:10:8", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "3863:17:8", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3863:23:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3821:65:8" + }, + { + "expression": { + "arguments": [ + { + "id": 878, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "3930:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 879, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 869, + "src": "3938:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "id": 880, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 871, + "src": "3947:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 877, + "name": "verifyCallResultFromTarget", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 950, + "src": "3903:26:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bool,bytes memory) view returns (bytes memory)" + } + }, + "id": 881, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3903:55:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 867, + "id": 882, + "nodeType": "Return", + "src": "3896:62:8" + } + ] + }, + "documentation": { + "id": 859, + "nodeType": "StructuredDocumentation", + "src": "3578:128:8", + "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call." + }, + "id": 884, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "functionStaticCall", + "nameLocation": "3720:18:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 864, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 861, + "mutability": "mutable", + "name": "target", + "nameLocation": "3747:6:8", + "nodeType": "VariableDeclaration", + "scope": 884, + "src": "3739:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 860, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3739:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 863, + "mutability": "mutable", + "name": "data", + "nameLocation": "3768:4:8", + "nodeType": "VariableDeclaration", + "scope": 884, + "src": "3755:17:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 862, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3755:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3738:35:8" + }, + "returnParameters": { + "id": 867, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 866, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 884, + "src": "3797:12:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 865, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3797:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3796:14:8" + }, + "scope": 991, + "src": "3711:254:8", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 909, + "nodeType": "Block", + "src": "4203:156:8", + "statements": [ + { + "assignments": [ + 895, + 897 + ], + "declarations": [ + { + "constant": false, + "id": 895, + "mutability": "mutable", + "name": "success", + "nameLocation": "4219:7:8", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "4214:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 894, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4214:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 897, + "mutability": "mutable", + "name": "returndata", + "nameLocation": "4241:10:8", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "4228:23:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 896, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4228:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 902, + "initialValue": { + "arguments": [ + { + "id": 900, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 889, + "src": "4275:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 898, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 887, + "src": "4255:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4262:12:8", + "memberName": "delegatecall", + "nodeType": "MemberAccess", + "src": "4255:19:8", + "typeDescriptions": { + "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) returns (bool,bytes memory)" + } + }, + "id": 901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4255:25:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4213:67:8" + }, + { + "expression": { + "arguments": [ + { + "id": 904, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 887, + "src": "4324:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 905, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 895, + "src": "4332:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "id": 906, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 897, + "src": "4341:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 903, + "name": "verifyCallResultFromTarget", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 950, + "src": "4297:26:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bool,bytes memory) view returns (bytes memory)" + } + }, + "id": 907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4297:55:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 893, + "id": 908, + "nodeType": "Return", + "src": "4290:62:8" + } + ] + }, + "documentation": { + "id": 885, + "nodeType": "StructuredDocumentation", + "src": "3971:130:8", + "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call." + }, + "id": 910, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "functionDelegateCall", + "nameLocation": "4115:20:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 890, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 887, + "mutability": "mutable", + "name": "target", + "nameLocation": "4144:6:8", + "nodeType": "VariableDeclaration", + "scope": 910, + "src": "4136:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 886, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4136:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 889, + "mutability": "mutable", + "name": "data", + "nameLocation": "4165:4:8", + "nodeType": "VariableDeclaration", + "scope": 910, + "src": "4152:17:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 888, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4152:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4135:35:8" + }, + "returnParameters": { + "id": 893, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 892, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 910, + "src": "4189:12:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 891, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4189:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4188:14:8" + }, + "scope": 991, + "src": "4106:253:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 949, + "nodeType": "Block", + "src": "4783:424:8", + "statements": [ + { + "condition": { + "id": 923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4797:8:8", + "subExpression": { + "id": 922, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 915, + "src": "4798:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 947, + "nodeType": "Block", + "src": "4857:344:8", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 932, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 929, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 917, + "src": "5045:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5056:6:8", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5045:17:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 931, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5066:1:8", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "5045:22:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 937, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "expression": { + "id": 933, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 913, + "src": "5071:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 934, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5078:4:8", + "memberName": "code", + "nodeType": "MemberAccess", + "src": "5071:11:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 935, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5083:6:8", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5071:18:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 936, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5093:1:8", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "5071:23:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "5045:49:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 944, + "nodeType": "IfStatement", + "src": "5041:119:8", + "trueBody": { + "id": 943, + "nodeType": "Block", + "src": "5096:64:8", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 940, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 913, + "src": "5138:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 939, + "name": "AddressEmptyCode", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 751, + "src": "5121:16:8", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$returns$_t_error_$", + "typeString": "function (address) pure returns (error)" + } + }, + "id": 941, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5121:24:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 942, + "nodeType": "RevertStatement", + "src": "5114:31:8" + } + ] + } + }, + { + "expression": { + "id": 945, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 917, + "src": "5180:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 921, + "id": 946, + "nodeType": "Return", + "src": "5173:17:8" + } + ] + }, + "id": 948, + "nodeType": "IfStatement", + "src": "4793:408:8", + "trueBody": { + "id": 928, + "nodeType": "Block", + "src": "4807:44:8", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 925, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 917, + "src": "4829:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 924, + "name": "_revert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 990, + "src": "4821:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (bytes memory) pure" + } + }, + "id": 926, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4821:19:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 927, + "nodeType": "ExpressionStatement", + "src": "4821:19:8" + } + ] + } + } + ] + }, + "documentation": { + "id": 911, + "nodeType": "StructuredDocumentation", + "src": "4365:255:8", + "text": " @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\n unsuccessful call." + }, + "id": 950, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "verifyCallResultFromTarget", + "nameLocation": "4634:26:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 918, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 913, + "mutability": "mutable", + "name": "target", + "nameLocation": "4678:6:8", + "nodeType": "VariableDeclaration", + "scope": 950, + "src": "4670:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 912, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4670:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 915, + "mutability": "mutable", + "name": "success", + "nameLocation": "4699:7:8", + "nodeType": "VariableDeclaration", + "scope": 950, + "src": "4694:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 914, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4694:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 917, + "mutability": "mutable", + "name": "returndata", + "nameLocation": "4729:10:8", + "nodeType": "VariableDeclaration", + "scope": 950, + "src": "4716:23:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 916, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4716:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4660:85:8" + }, + "returnParameters": { + "id": 921, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 920, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 950, + "src": "4769:12:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 919, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4769:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4768:14:8" + }, + "scope": 991, + "src": "4625:582:8", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 971, + "nodeType": "Block", + "src": "5509:122:8", + "statements": [ + { + "condition": { + "id": 961, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5523:8:8", + "subExpression": { + "id": 960, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 953, + "src": "5524:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 969, + "nodeType": "Block", + "src": "5583:42:8", + "statements": [ + { + "expression": { + "id": 967, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 955, + "src": "5604:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 959, + "id": 968, + "nodeType": "Return", + "src": "5597:17:8" + } + ] + }, + "id": 970, + "nodeType": "IfStatement", + "src": "5519:106:8", + "trueBody": { + "id": 966, + "nodeType": "Block", + "src": "5533:44:8", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 963, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 955, + "src": "5555:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 962, + "name": "_revert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 990, + "src": "5547:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (bytes memory) pure" + } + }, + "id": 964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5547:19:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 965, + "nodeType": "ExpressionStatement", + "src": "5547:19:8" + } + ] + } + } + ] + }, + "documentation": { + "id": 951, + "nodeType": "StructuredDocumentation", + "src": "5213:189:8", + "text": " @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n revert reason or with a default {FailedInnerCall} error." + }, + "id": 972, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "verifyCallResult", + "nameLocation": "5416:16:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 956, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 953, + "mutability": "mutable", + "name": "success", + "nameLocation": "5438:7:8", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "5433:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 952, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5433:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 955, + "mutability": "mutable", + "name": "returndata", + "nameLocation": "5460:10:8", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "5447:23:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 954, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5447:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5432:39:8" + }, + "returnParameters": { + "id": 959, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 958, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "5495:12:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 957, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5495:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5494:14:8" + }, + "scope": 991, + "src": "5407:224:8", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 989, + "nodeType": "Block", + "src": "5798:461:8", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 981, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 978, + "name": "returndata", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "5874:10:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5885:6:8", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5874:17:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 980, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5894:1:8", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "5874:21:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 987, + "nodeType": "Block", + "src": "6204:49:8", + "statements": [ + { + "errorCall": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 984, + "name": "FailedInnerCall", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 754, + "src": "6225:15:8", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$__$returns$_t_error_$", + "typeString": "function () pure returns (error)" + } + }, + "id": 985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6225:17:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 986, + "nodeType": "RevertStatement", + "src": "6218:24:8" + } + ] + }, + "id": 988, + "nodeType": "IfStatement", + "src": "5870:383:8", + "trueBody": { + "id": 983, + "nodeType": "Block", + "src": "5897:301:8", + "statements": [ + { + "AST": { + "nativeSrc": "6055:133:8", + "nodeType": "YulBlock", + "src": "6055:133:8", + "statements": [ + { + "nativeSrc": "6073:40:8", + "nodeType": "YulVariableDeclaration", + "src": "6073:40:8", + "value": { + "arguments": [ + { + "name": "returndata", + "nativeSrc": "6102:10:8", + "nodeType": "YulIdentifier", + "src": "6102:10:8" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "6096:5:8", + "nodeType": "YulIdentifier", + "src": "6096:5:8" + }, + "nativeSrc": "6096:17:8", + "nodeType": "YulFunctionCall", + "src": "6096:17:8" + }, + "variables": [ + { + "name": "returndata_size", + "nativeSrc": "6077:15:8", + "nodeType": "YulTypedName", + "src": "6077:15:8", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "6141:2:8", + "nodeType": "YulLiteral", + "src": "6141:2:8", + "type": "", + "value": "32" + }, + { + "name": "returndata", + "nativeSrc": "6145:10:8", + "nodeType": "YulIdentifier", + "src": "6145:10:8" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6137:3:8", + "nodeType": "YulIdentifier", + "src": "6137:3:8" + }, + "nativeSrc": "6137:19:8", + "nodeType": "YulFunctionCall", + "src": "6137:19:8" + }, + { + "name": "returndata_size", + "nativeSrc": "6158:15:8", + "nodeType": "YulIdentifier", + "src": "6158:15:8" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "6130:6:8", + "nodeType": "YulIdentifier", + "src": "6130:6:8" + }, + "nativeSrc": "6130:44:8", + "nodeType": "YulFunctionCall", + "src": "6130:44:8" + }, + "nativeSrc": "6130:44:8", + "nodeType": "YulExpressionStatement", + "src": "6130:44:8" + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 975, + "isOffset": false, + "isSlot": false, + "src": "6102:10:8", + "valueSize": 1 + }, + { + "declaration": 975, + "isOffset": false, + "isSlot": false, + "src": "6145:10:8", + "valueSize": 1 + } + ], + "id": 982, + "nodeType": "InlineAssembly", + "src": "6046:142:8" + } + ] + } + } + ] + }, + "documentation": { + "id": 973, + "nodeType": "StructuredDocumentation", + "src": "5637:101:8", + "text": " @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}." + }, + "id": 990, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_revert", + "nameLocation": "5752:7:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 976, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 975, + "mutability": "mutable", + "name": "returndata", + "nameLocation": "5773:10:8", + "nodeType": "VariableDeclaration", + "scope": 990, + "src": "5760:23:8", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 974, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5760:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5759:25:8" + }, + "returnParameters": { + "id": 977, + "nodeType": "ParameterList", + "parameters": [], + "src": "5798:0:8" + }, + "scope": 991, + "src": "5743:516:8", + "stateMutability": "pure", + "virtual": false, + "visibility": "private" + } + ], + "scope": 992, + "src": "195:6066:8", + "usedErrors": [ + 746, + 751, + 754 + ], + "usedEvents": [] + } + ], + "src": "101:6161:8" + }, + "id": 8 + }, + "@openzeppelin/contracts/utils/Base64.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/utils/Base64.sol", + "exportedSymbols": { + "Base64": [ + 1038 + ] + }, + "id": 1039, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 993, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "100:24:9" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Base64", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 994, + "nodeType": "StructuredDocumentation", + "src": "126:75:9", + "text": " @dev Provides a set of functions to operate with Base64 strings." + }, + "fullyImplemented": true, + "id": 1038, + "linearizedBaseContracts": [ + 1038 + ], + "name": "Base64", + "nameLocation": "210:6:9", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "documentation": { + "id": 995, + "nodeType": "StructuredDocumentation", + "src": "223:54:9", + "text": " @dev Base64 Encoding/Decoding Table" + }, + "id": 998, + "mutability": "constant", + "name": "_TABLE", + "nameLocation": "307:6:9", + "nodeType": "VariableDeclaration", + "scope": 1038, + "src": "282:100:9", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 996, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "282:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": { + "hexValue": "4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f", + "id": 997, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "316:66:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_84d8a590de33e00cbdc16e1f28c3506f5ec15c599fab9a6a4bcd575cc2f110ce", + "typeString": "literal_string \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\"" + }, + "value": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" + }, + "visibility": "internal" + }, + { + "body": { + "id": 1036, + "nodeType": "Block", + "src": "549:3309:9", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 1006, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1001, + "src": "766:4:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "771:6:9", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "766:11:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1008, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "781:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "766:16:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "documentation": " Inspired by Brecht Devos (Brechtpd) implementation - MIT licence\n https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol", + "id": 1012, + "nodeType": "IfStatement", + "src": "762:31:9", + "trueBody": { + "expression": { + "hexValue": "", + "id": 1010, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "791:2:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + }, + "functionReturnParameters": 1005, + "id": 1011, + "nodeType": "Return", + "src": "784:9:9" + } + }, + { + "assignments": [ + 1014 + ], + "declarations": [ + { + "constant": false, + "id": 1014, + "mutability": "mutable", + "name": "table", + "nameLocation": "857:5:9", + "nodeType": "VariableDeclaration", + "scope": 1036, + "src": "843:19:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1013, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "843:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 1016, + "initialValue": { + "id": 1015, + "name": "_TABLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 998, + "src": "865:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "843:28:9" + }, + { + "assignments": [ + 1018 + ], + "declarations": [ + { + "constant": false, + "id": 1018, + "mutability": "mutable", + "name": "result", + "nameLocation": "1288:6:9", + "nodeType": "VariableDeclaration", + "scope": 1036, + "src": "1274:20:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1017, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1274:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 1032, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1030, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "34", + "id": 1021, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1308:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1028, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 1022, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1001, + "src": "1314:4:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1023, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1319:6:9", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1314:11:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 1024, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1328:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1314:15:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1026, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1313:17:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "33", + "id": 1027, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1333:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "1313:21:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1029, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1312:23:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1308:27:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1020, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "1297:10:9", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256) pure returns (string memory)" + }, + "typeName": { + "id": 1019, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1301:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + } + }, + "id": 1031, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1297:39:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1274:62:9" + }, + { + "AST": { + "nativeSrc": "1399:2429:9", + "nodeType": "YulBlock", + "src": "1399:2429:9", + "statements": [ + { + "nativeSrc": "1484:29:9", + "nodeType": "YulVariableDeclaration", + "src": "1484:29:9", + "value": { + "arguments": [ + { + "name": "table", + "nativeSrc": "1504:5:9", + "nodeType": "YulIdentifier", + "src": "1504:5:9" + }, + { + "kind": "number", + "nativeSrc": "1511:1:9", + "nodeType": "YulLiteral", + "src": "1511:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1500:3:9", + "nodeType": "YulIdentifier", + "src": "1500:3:9" + }, + "nativeSrc": "1500:13:9", + "nodeType": "YulFunctionCall", + "src": "1500:13:9" + }, + "variables": [ + { + "name": "tablePtr", + "nativeSrc": "1488:8:9", + "nodeType": "YulTypedName", + "src": "1488:8:9", + "type": "" + } + ] + }, + { + "nativeSrc": "1583:34:9", + "nodeType": "YulVariableDeclaration", + "src": "1583:34:9", + "value": { + "arguments": [ + { + "name": "result", + "nativeSrc": "1604:6:9", + "nodeType": "YulIdentifier", + "src": "1604:6:9" + }, + { + "kind": "number", + "nativeSrc": "1612:4:9", + "nodeType": "YulLiteral", + "src": "1612:4:9", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1600:3:9", + "nodeType": "YulIdentifier", + "src": "1600:3:9" + }, + "nativeSrc": "1600:17:9", + "nodeType": "YulFunctionCall", + "src": "1600:17:9" + }, + "variables": [ + { + "name": "resultPtr", + "nativeSrc": "1587:9:9", + "nodeType": "YulTypedName", + "src": "1587:9:9", + "type": "" + } + ] + }, + { + "nativeSrc": "1630:19:9", + "nodeType": "YulVariableDeclaration", + "src": "1630:19:9", + "value": { + "name": "data", + "nativeSrc": "1645:4:9", + "nodeType": "YulIdentifier", + "src": "1645:4:9" + }, + "variables": [ + { + "name": "dataPtr", + "nativeSrc": "1634:7:9", + "nodeType": "YulTypedName", + "src": "1634:7:9", + "type": "" + } + ] + }, + { + "nativeSrc": "1662:36:9", + "nodeType": "YulVariableDeclaration", + "src": "1662:36:9", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "1680:4:9", + "nodeType": "YulIdentifier", + "src": "1680:4:9" + }, + { + "arguments": [ + { + "name": "data", + "nativeSrc": "1692:4:9", + "nodeType": "YulIdentifier", + "src": "1692:4:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "1686:5:9", + "nodeType": "YulIdentifier", + "src": "1686:5:9" + }, + "nativeSrc": "1686:11:9", + "nodeType": "YulFunctionCall", + "src": "1686:11:9" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1676:3:9", + "nodeType": "YulIdentifier", + "src": "1676:3:9" + }, + "nativeSrc": "1676:22:9", + "nodeType": "YulFunctionCall", + "src": "1676:22:9" + }, + "variables": [ + { + "name": "endPtr", + "nativeSrc": "1666:6:9", + "nodeType": "YulTypedName", + "src": "1666:6:9", + "type": "" + } + ] + }, + { + "nativeSrc": "1912:33:9", + "nodeType": "YulVariableDeclaration", + "src": "1912:33:9", + "value": { + "arguments": [ + { + "name": "endPtr", + "nativeSrc": "1932:6:9", + "nodeType": "YulIdentifier", + "src": "1932:6:9" + }, + { + "kind": "number", + "nativeSrc": "1940:4:9", + "nodeType": "YulLiteral", + "src": "1940:4:9", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1928:3:9", + "nodeType": "YulIdentifier", + "src": "1928:3:9" + }, + "nativeSrc": "1928:17:9", + "nodeType": "YulFunctionCall", + "src": "1928:17:9" + }, + "variables": [ + { + "name": "afterPtr", + "nativeSrc": "1916:8:9", + "nodeType": "YulTypedName", + "src": "1916:8:9", + "type": "" + } + ] + }, + { + "nativeSrc": "1958:33:9", + "nodeType": "YulVariableDeclaration", + "src": "1958:33:9", + "value": { + "arguments": [ + { + "name": "afterPtr", + "nativeSrc": "1982:8:9", + "nodeType": "YulIdentifier", + "src": "1982:8:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "1976:5:9", + "nodeType": "YulIdentifier", + "src": "1976:5:9" + }, + "nativeSrc": "1976:15:9", + "nodeType": "YulFunctionCall", + "src": "1976:15:9" + }, + "variables": [ + { + "name": "afterCache", + "nativeSrc": "1962:10:9", + "nodeType": "YulTypedName", + "src": "1962:10:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "afterPtr", + "nativeSrc": "2011:8:9", + "nodeType": "YulIdentifier", + "src": "2011:8:9" + }, + { + "kind": "number", + "nativeSrc": "2021:4:9", + "nodeType": "YulLiteral", + "src": "2021:4:9", + "type": "", + "value": "0x00" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2004:6:9", + "nodeType": "YulIdentifier", + "src": "2004:6:9" + }, + "nativeSrc": "2004:22:9", + "nodeType": "YulFunctionCall", + "src": "2004:22:9" + }, + "nativeSrc": "2004:22:9", + "nodeType": "YulExpressionStatement", + "src": "2004:22:9" + }, + { + "body": { + "nativeSrc": "2151:1201:9", + "nodeType": "YulBlock", + "src": "2151:1201:9", + "statements": [ + { + "nativeSrc": "2204:26:9", + "nodeType": "YulAssignment", + "src": "2204:26:9", + "value": { + "arguments": [ + { + "name": "dataPtr", + "nativeSrc": "2219:7:9", + "nodeType": "YulIdentifier", + "src": "2219:7:9" + }, + { + "kind": "number", + "nativeSrc": "2228:1:9", + "nodeType": "YulLiteral", + "src": "2228:1:9", + "type": "", + "value": "3" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2215:3:9", + "nodeType": "YulIdentifier", + "src": "2215:3:9" + }, + "nativeSrc": "2215:15:9", + "nodeType": "YulFunctionCall", + "src": "2215:15:9" + }, + "variableNames": [ + { + "name": "dataPtr", + "nativeSrc": "2204:7:9", + "nodeType": "YulIdentifier", + "src": "2204:7:9" + } + ] + }, + { + "nativeSrc": "2247:27:9", + "nodeType": "YulVariableDeclaration", + "src": "2247:27:9", + "value": { + "arguments": [ + { + "name": "dataPtr", + "nativeSrc": "2266:7:9", + "nodeType": "YulIdentifier", + "src": "2266:7:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "2260:5:9", + "nodeType": "YulIdentifier", + "src": "2260:5:9" + }, + "nativeSrc": "2260:14:9", + "nodeType": "YulFunctionCall", + "src": "2260:14:9" + }, + "variables": [ + { + "name": "input", + "nativeSrc": "2251:5:9", + "nodeType": "YulTypedName", + "src": "2251:5:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "2802:9:9", + "nodeType": "YulIdentifier", + "src": "2802:9:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "tablePtr", + "nativeSrc": "2823:8:9", + "nodeType": "YulIdentifier", + "src": "2823:8:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2841:2:9", + "nodeType": "YulLiteral", + "src": "2841:2:9", + "type": "", + "value": "18" + }, + { + "name": "input", + "nativeSrc": "2845:5:9", + "nodeType": "YulIdentifier", + "src": "2845:5:9" + } + ], + "functionName": { + "name": "shr", + "nativeSrc": "2837:3:9", + "nodeType": "YulIdentifier", + "src": "2837:3:9" + }, + "nativeSrc": "2837:14:9", + "nodeType": "YulFunctionCall", + "src": "2837:14:9" + }, + { + "kind": "number", + "nativeSrc": "2853:4:9", + "nodeType": "YulLiteral", + "src": "2853:4:9", + "type": "", + "value": "0x3F" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "2833:3:9", + "nodeType": "YulIdentifier", + "src": "2833:3:9" + }, + "nativeSrc": "2833:25:9", + "nodeType": "YulFunctionCall", + "src": "2833:25:9" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2819:3:9", + "nodeType": "YulIdentifier", + "src": "2819:3:9" + }, + "nativeSrc": "2819:40:9", + "nodeType": "YulFunctionCall", + "src": "2819:40:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "2813:5:9", + "nodeType": "YulIdentifier", + "src": "2813:5:9" + }, + "nativeSrc": "2813:47:9", + "nodeType": "YulFunctionCall", + "src": "2813:47:9" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "2794:7:9", + "nodeType": "YulIdentifier", + "src": "2794:7:9" + }, + "nativeSrc": "2794:67:9", + "nodeType": "YulFunctionCall", + "src": "2794:67:9" + }, + "nativeSrc": "2794:67:9", + "nodeType": "YulExpressionStatement", + "src": "2794:67:9" + }, + { + "nativeSrc": "2878:30:9", + "nodeType": "YulAssignment", + "src": "2878:30:9", + "value": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "2895:9:9", + "nodeType": "YulIdentifier", + "src": "2895:9:9" + }, + { + "kind": "number", + "nativeSrc": "2906:1:9", + "nodeType": "YulLiteral", + "src": "2906:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2891:3:9", + "nodeType": "YulIdentifier", + "src": "2891:3:9" + }, + "nativeSrc": "2891:17:9", + "nodeType": "YulFunctionCall", + "src": "2891:17:9" + }, + "variableNames": [ + { + "name": "resultPtr", + "nativeSrc": "2878:9:9", + "nodeType": "YulIdentifier", + "src": "2878:9:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "2945:9:9", + "nodeType": "YulIdentifier", + "src": "2945:9:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "tablePtr", + "nativeSrc": "2966:8:9", + "nodeType": "YulIdentifier", + "src": "2966:8:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2984:2:9", + "nodeType": "YulLiteral", + "src": "2984:2:9", + "type": "", + "value": "12" + }, + { + "name": "input", + "nativeSrc": "2988:5:9", + "nodeType": "YulIdentifier", + "src": "2988:5:9" + } + ], + "functionName": { + "name": "shr", + "nativeSrc": "2980:3:9", + "nodeType": "YulIdentifier", + "src": "2980:3:9" + }, + "nativeSrc": "2980:14:9", + "nodeType": "YulFunctionCall", + "src": "2980:14:9" + }, + { + "kind": "number", + "nativeSrc": "2996:4:9", + "nodeType": "YulLiteral", + "src": "2996:4:9", + "type": "", + "value": "0x3F" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "2976:3:9", + "nodeType": "YulIdentifier", + "src": "2976:3:9" + }, + "nativeSrc": "2976:25:9", + "nodeType": "YulFunctionCall", + "src": "2976:25:9" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2962:3:9", + "nodeType": "YulIdentifier", + "src": "2962:3:9" + }, + "nativeSrc": "2962:40:9", + "nodeType": "YulFunctionCall", + "src": "2962:40:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "2956:5:9", + "nodeType": "YulIdentifier", + "src": "2956:5:9" + }, + "nativeSrc": "2956:47:9", + "nodeType": "YulFunctionCall", + "src": "2956:47:9" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "2937:7:9", + "nodeType": "YulIdentifier", + "src": "2937:7:9" + }, + "nativeSrc": "2937:67:9", + "nodeType": "YulFunctionCall", + "src": "2937:67:9" + }, + "nativeSrc": "2937:67:9", + "nodeType": "YulExpressionStatement", + "src": "2937:67:9" + }, + { + "nativeSrc": "3021:30:9", + "nodeType": "YulAssignment", + "src": "3021:30:9", + "value": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3038:9:9", + "nodeType": "YulIdentifier", + "src": "3038:9:9" + }, + { + "kind": "number", + "nativeSrc": "3049:1:9", + "nodeType": "YulLiteral", + "src": "3049:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3034:3:9", + "nodeType": "YulIdentifier", + "src": "3034:3:9" + }, + "nativeSrc": "3034:17:9", + "nodeType": "YulFunctionCall", + "src": "3034:17:9" + }, + "variableNames": [ + { + "name": "resultPtr", + "nativeSrc": "3021:9:9", + "nodeType": "YulIdentifier", + "src": "3021:9:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3088:9:9", + "nodeType": "YulIdentifier", + "src": "3088:9:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "tablePtr", + "nativeSrc": "3109:8:9", + "nodeType": "YulIdentifier", + "src": "3109:8:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "3127:1:9", + "nodeType": "YulLiteral", + "src": "3127:1:9", + "type": "", + "value": "6" + }, + { + "name": "input", + "nativeSrc": "3130:5:9", + "nodeType": "YulIdentifier", + "src": "3130:5:9" + } + ], + "functionName": { + "name": "shr", + "nativeSrc": "3123:3:9", + "nodeType": "YulIdentifier", + "src": "3123:3:9" + }, + "nativeSrc": "3123:13:9", + "nodeType": "YulFunctionCall", + "src": "3123:13:9" + }, + { + "kind": "number", + "nativeSrc": "3138:4:9", + "nodeType": "YulLiteral", + "src": "3138:4:9", + "type": "", + "value": "0x3F" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "3119:3:9", + "nodeType": "YulIdentifier", + "src": "3119:3:9" + }, + "nativeSrc": "3119:24:9", + "nodeType": "YulFunctionCall", + "src": "3119:24:9" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3105:3:9", + "nodeType": "YulIdentifier", + "src": "3105:3:9" + }, + "nativeSrc": "3105:39:9", + "nodeType": "YulFunctionCall", + "src": "3105:39:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "3099:5:9", + "nodeType": "YulIdentifier", + "src": "3099:5:9" + }, + "nativeSrc": "3099:46:9", + "nodeType": "YulFunctionCall", + "src": "3099:46:9" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "3080:7:9", + "nodeType": "YulIdentifier", + "src": "3080:7:9" + }, + "nativeSrc": "3080:66:9", + "nodeType": "YulFunctionCall", + "src": "3080:66:9" + }, + "nativeSrc": "3080:66:9", + "nodeType": "YulExpressionStatement", + "src": "3080:66:9" + }, + { + "nativeSrc": "3163:30:9", + "nodeType": "YulAssignment", + "src": "3163:30:9", + "value": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3180:9:9", + "nodeType": "YulIdentifier", + "src": "3180:9:9" + }, + { + "kind": "number", + "nativeSrc": "3191:1:9", + "nodeType": "YulLiteral", + "src": "3191:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3176:3:9", + "nodeType": "YulIdentifier", + "src": "3176:3:9" + }, + "nativeSrc": "3176:17:9", + "nodeType": "YulFunctionCall", + "src": "3176:17:9" + }, + "variableNames": [ + { + "name": "resultPtr", + "nativeSrc": "3163:9:9", + "nodeType": "YulIdentifier", + "src": "3163:9:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3230:9:9", + "nodeType": "YulIdentifier", + "src": "3230:9:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "tablePtr", + "nativeSrc": "3251:8:9", + "nodeType": "YulIdentifier", + "src": "3251:8:9" + }, + { + "arguments": [ + { + "name": "input", + "nativeSrc": "3265:5:9", + "nodeType": "YulIdentifier", + "src": "3265:5:9" + }, + { + "kind": "number", + "nativeSrc": "3272:4:9", + "nodeType": "YulLiteral", + "src": "3272:4:9", + "type": "", + "value": "0x3F" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "3261:3:9", + "nodeType": "YulIdentifier", + "src": "3261:3:9" + }, + "nativeSrc": "3261:16:9", + "nodeType": "YulFunctionCall", + "src": "3261:16:9" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3247:3:9", + "nodeType": "YulIdentifier", + "src": "3247:3:9" + }, + "nativeSrc": "3247:31:9", + "nodeType": "YulFunctionCall", + "src": "3247:31:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "3241:5:9", + "nodeType": "YulIdentifier", + "src": "3241:5:9" + }, + "nativeSrc": "3241:38:9", + "nodeType": "YulFunctionCall", + "src": "3241:38:9" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "3222:7:9", + "nodeType": "YulIdentifier", + "src": "3222:7:9" + }, + "nativeSrc": "3222:58:9", + "nodeType": "YulFunctionCall", + "src": "3222:58:9" + }, + "nativeSrc": "3222:58:9", + "nodeType": "YulExpressionStatement", + "src": "3222:58:9" + }, + { + "nativeSrc": "3297:30:9", + "nodeType": "YulAssignment", + "src": "3297:30:9", + "value": { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3314:9:9", + "nodeType": "YulIdentifier", + "src": "3314:9:9" + }, + { + "kind": "number", + "nativeSrc": "3325:1:9", + "nodeType": "YulLiteral", + "src": "3325:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3310:3:9", + "nodeType": "YulIdentifier", + "src": "3310:3:9" + }, + "nativeSrc": "3310:17:9", + "nodeType": "YulFunctionCall", + "src": "3310:17:9" + }, + "variableNames": [ + { + "name": "resultPtr", + "nativeSrc": "3297:9:9", + "nodeType": "YulIdentifier", + "src": "3297:9:9" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "dataPtr", + "nativeSrc": "2117:7:9", + "nodeType": "YulIdentifier", + "src": "2117:7:9" + }, + { + "name": "endPtr", + "nativeSrc": "2126:6:9", + "nodeType": "YulIdentifier", + "src": "2126:6:9" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "2114:2:9", + "nodeType": "YulIdentifier", + "src": "2114:2:9" + }, + "nativeSrc": "2114:19:9", + "nodeType": "YulFunctionCall", + "src": "2114:19:9" + }, + "nativeSrc": "2093:1259:9", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "2134:16:9", + "nodeType": "YulBlock", + "src": "2134:16:9", + "statements": [] + }, + "pre": { + "nativeSrc": "2097:16:9", + "nodeType": "YulBlock", + "src": "2097:16:9", + "statements": [] + }, + "src": "2093:1259:9" + }, + { + "expression": { + "arguments": [ + { + "name": "afterPtr", + "nativeSrc": "3420:8:9", + "nodeType": "YulIdentifier", + "src": "3420:8:9" + }, + { + "name": "afterCache", + "nativeSrc": "3430:10:9", + "nodeType": "YulIdentifier", + "src": "3430:10:9" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3413:6:9", + "nodeType": "YulIdentifier", + "src": "3413:6:9" + }, + "nativeSrc": "3413:28:9", + "nodeType": "YulFunctionCall", + "src": "3413:28:9" + }, + "nativeSrc": "3413:28:9", + "nodeType": "YulExpressionStatement", + "src": "3413:28:9" + }, + { + "cases": [ + { + "body": { + "nativeSrc": "3621:113:9", + "nodeType": "YulBlock", + "src": "3621:113:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3651:9:9", + "nodeType": "YulIdentifier", + "src": "3651:9:9" + }, + { + "kind": "number", + "nativeSrc": "3662:1:9", + "nodeType": "YulLiteral", + "src": "3662:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3647:3:9", + "nodeType": "YulIdentifier", + "src": "3647:3:9" + }, + "nativeSrc": "3647:17:9", + "nodeType": "YulFunctionCall", + "src": "3647:17:9" + }, + { + "kind": "number", + "nativeSrc": "3666:4:9", + "nodeType": "YulLiteral", + "src": "3666:4:9", + "type": "", + "value": "0x3d" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "3639:7:9", + "nodeType": "YulIdentifier", + "src": "3639:7:9" + }, + "nativeSrc": "3639:32:9", + "nodeType": "YulFunctionCall", + "src": "3639:32:9" + }, + "nativeSrc": "3639:32:9", + "nodeType": "YulExpressionStatement", + "src": "3639:32:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3700:9:9", + "nodeType": "YulIdentifier", + "src": "3700:9:9" + }, + { + "kind": "number", + "nativeSrc": "3711:1:9", + "nodeType": "YulLiteral", + "src": "3711:1:9", + "type": "", + "value": "2" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3696:3:9", + "nodeType": "YulIdentifier", + "src": "3696:3:9" + }, + "nativeSrc": "3696:17:9", + "nodeType": "YulFunctionCall", + "src": "3696:17:9" + }, + { + "kind": "number", + "nativeSrc": "3715:4:9", + "nodeType": "YulLiteral", + "src": "3715:4:9", + "type": "", + "value": "0x3d" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "3688:7:9", + "nodeType": "YulIdentifier", + "src": "3688:7:9" + }, + "nativeSrc": "3688:32:9", + "nodeType": "YulFunctionCall", + "src": "3688:32:9" + }, + "nativeSrc": "3688:32:9", + "nodeType": "YulExpressionStatement", + "src": "3688:32:9" + } + ] + }, + "nativeSrc": "3614:120:9", + "nodeType": "YulCase", + "src": "3614:120:9", + "value": { + "kind": "number", + "nativeSrc": "3619:1:9", + "nodeType": "YulLiteral", + "src": "3619:1:9", + "type": "", + "value": "1" + } + }, + { + "body": { + "nativeSrc": "3754:64:9", + "nodeType": "YulBlock", + "src": "3754:64:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "resultPtr", + "nativeSrc": "3784:9:9", + "nodeType": "YulIdentifier", + "src": "3784:9:9" + }, + { + "kind": "number", + "nativeSrc": "3795:1:9", + "nodeType": "YulLiteral", + "src": "3795:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3780:3:9", + "nodeType": "YulIdentifier", + "src": "3780:3:9" + }, + "nativeSrc": "3780:17:9", + "nodeType": "YulFunctionCall", + "src": "3780:17:9" + }, + { + "kind": "number", + "nativeSrc": "3799:4:9", + "nodeType": "YulLiteral", + "src": "3799:4:9", + "type": "", + "value": "0x3d" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "3772:7:9", + "nodeType": "YulIdentifier", + "src": "3772:7:9" + }, + "nativeSrc": "3772:32:9", + "nodeType": "YulFunctionCall", + "src": "3772:32:9" + }, + "nativeSrc": "3772:32:9", + "nodeType": "YulExpressionStatement", + "src": "3772:32:9" + } + ] + }, + "nativeSrc": "3747:71:9", + "nodeType": "YulCase", + "src": "3747:71:9", + "value": { + "kind": "number", + "nativeSrc": "3752:1:9", + "nodeType": "YulLiteral", + "src": "3752:1:9", + "type": "", + "value": "2" + } + } + ], + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "data", + "nativeSrc": "3592:4:9", + "nodeType": "YulIdentifier", + "src": "3592:4:9" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "3586:5:9", + "nodeType": "YulIdentifier", + "src": "3586:5:9" + }, + "nativeSrc": "3586:11:9", + "nodeType": "YulFunctionCall", + "src": "3586:11:9" + }, + { + "kind": "number", + "nativeSrc": "3599:1:9", + "nodeType": "YulLiteral", + "src": "3599:1:9", + "type": "", + "value": "3" + } + ], + "functionName": { + "name": "mod", + "nativeSrc": "3582:3:9", + "nodeType": "YulIdentifier", + "src": "3582:3:9" + }, + "nativeSrc": "3582:19:9", + "nodeType": "YulFunctionCall", + "src": "3582:19:9" + }, + "nativeSrc": "3575:243:9", + "nodeType": "YulSwitch", + "src": "3575:243:9" + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1001, + "isOffset": false, + "isSlot": false, + "src": "1645:4:9", + "valueSize": 1 + }, + { + "declaration": 1001, + "isOffset": false, + "isSlot": false, + "src": "1680:4:9", + "valueSize": 1 + }, + { + "declaration": 1001, + "isOffset": false, + "isSlot": false, + "src": "1692:4:9", + "valueSize": 1 + }, + { + "declaration": 1001, + "isOffset": false, + "isSlot": false, + "src": "3592:4:9", + "valueSize": 1 + }, + { + "declaration": 1018, + "isOffset": false, + "isSlot": false, + "src": "1604:6:9", + "valueSize": 1 + }, + { + "declaration": 1014, + "isOffset": false, + "isSlot": false, + "src": "1504:5:9", + "valueSize": 1 + } + ], + "id": 1033, + "nodeType": "InlineAssembly", + "src": "1390:2438:9" + }, + { + "expression": { + "id": 1034, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1018, + "src": "3845:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1005, + "id": 1035, + "nodeType": "Return", + "src": "3838:13:9" + } + ] + }, + "documentation": { + "id": 999, + "nodeType": "StructuredDocumentation", + "src": "389:82:9", + "text": " @dev Converts a `bytes` to its Bytes64 `string` representation." + }, + "id": 1037, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "encode", + "nameLocation": "485:6:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1002, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1001, + "mutability": "mutable", + "name": "data", + "nameLocation": "505:4:9", + "nodeType": "VariableDeclaration", + "scope": 1037, + "src": "492:17:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1000, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "492:5:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "491:19:9" + }, + "returnParameters": { + "id": 1005, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1004, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1037, + "src": "534:13:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1003, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "534:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "533:15:9" + }, + "scope": 1038, + "src": "476:3382:9", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1039, + "src": "202:3658:9", + "usedErrors": [], + "usedEvents": [] + } + ], + "src": "100:3761:9" + }, + "id": 9 + }, + "@openzeppelin/contracts/utils/Context.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/utils/Context.sol", + "exportedSymbols": { + "Context": [ + 1068 + ] + }, + "id": 1069, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1040, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "101:24:10" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "Context", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1041, + "nodeType": "StructuredDocumentation", + "src": "127:496:10", + "text": " @dev Provides information about the current execution context, including the\n sender of the transaction and its data. While these are generally available\n via msg.sender and msg.data, they should not be accessed in such a direct\n manner, since when dealing with meta-transactions the account sending and\n paying for execution may not be the actual sender (as far as an application\n is concerned).\n This contract is only required for intermediate, library-like contracts." + }, + "fullyImplemented": true, + "id": 1068, + "linearizedBaseContracts": [ + 1068 + ], + "name": "Context", + "nameLocation": "642:7:10", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 1049, + "nodeType": "Block", + "src": "718:34:10", + "statements": [ + { + "expression": { + "expression": { + "id": 1046, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "735:3:10", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1047, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "739:6:10", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "735:10:10", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 1045, + "id": 1048, + "nodeType": "Return", + "src": "728:17:10" + } + ] + }, + "id": 1050, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgSender", + "nameLocation": "665:10:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1042, + "nodeType": "ParameterList", + "parameters": [], + "src": "675:2:10" + }, + "returnParameters": { + "id": 1045, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1044, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1050, + "src": "709:7:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1043, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "709:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "708:9:10" + }, + "scope": 1068, + "src": "656:96:10", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1058, + "nodeType": "Block", + "src": "825:32:10", + "statements": [ + { + "expression": { + "expression": { + "id": 1055, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "842:3:10", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1056, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "846:4:10", + "memberName": "data", + "nodeType": "MemberAccess", + "src": "842:8:10", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + "functionReturnParameters": 1054, + "id": 1057, + "nodeType": "Return", + "src": "835:15:10" + } + ] + }, + "id": 1059, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgData", + "nameLocation": "767:8:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1051, + "nodeType": "ParameterList", + "parameters": [], + "src": "775:2:10" + }, + "returnParameters": { + "id": 1054, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1053, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1059, + "src": "809:14:10", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1052, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "809:5:10", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "808:16:10" + }, + "scope": 1068, + "src": "758:99:10", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1066, + "nodeType": "Block", + "src": "935:25:10", + "statements": [ + { + "expression": { + "hexValue": "30", + "id": 1064, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "952:1:10", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "functionReturnParameters": 1063, + "id": 1065, + "nodeType": "Return", + "src": "945:8:10" + } + ] + }, + "id": 1067, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_contextSuffixLength", + "nameLocation": "872:20:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1060, + "nodeType": "ParameterList", + "parameters": [], + "src": "892:2:10" + }, + "returnParameters": { + "id": 1063, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1062, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1067, + "src": "926:7:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1061, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "926:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "925:9:10" + }, + "scope": 1068, + "src": "863:97:10", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1069, + "src": "624:338:10", + "usedErrors": [], + "usedEvents": [] + } + ], + "src": "101:862:10" + }, + "id": 10 + }, + "@openzeppelin/contracts/utils/StorageSlot.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/utils/StorageSlot.sol", + "exportedSymbols": { + "StorageSlot": [ + 1178 + ] + }, + "id": 1179, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1070, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "193:24:11" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "StorageSlot", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 1071, + "nodeType": "StructuredDocumentation", + "src": "219:1025:11", + "text": " @dev Library for reading and writing primitive types to specific storage slots.\n Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n This library helps with reading and writing to such slots without the need for inline assembly.\n The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n Example usage to set ERC1967 implementation slot:\n ```solidity\n contract ERC1967 {\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n function _getImplementation() internal view returns (address) {\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n }\n function _setImplementation(address newImplementation) internal {\n require(newImplementation.code.length > 0);\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n }\n }\n ```" + }, + "fullyImplemented": true, + "id": 1178, + "linearizedBaseContracts": [ + 1178 + ], + "name": "StorageSlot", + "nameLocation": "1253:11:11", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "StorageSlot.AddressSlot", + "id": 1074, + "members": [ + { + "constant": false, + "id": 1073, + "mutability": "mutable", + "name": "value", + "nameLocation": "1308:5:11", + "nodeType": "VariableDeclaration", + "scope": 1074, + "src": "1300:13:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1072, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1300:7:11", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "name": "AddressSlot", + "nameLocation": "1278:11:11", + "nodeType": "StructDefinition", + "scope": 1178, + "src": "1271:49:11", + "visibility": "public" + }, + { + "canonicalName": "StorageSlot.BooleanSlot", + "id": 1077, + "members": [ + { + "constant": false, + "id": 1076, + "mutability": "mutable", + "name": "value", + "nameLocation": "1360:5:11", + "nodeType": "VariableDeclaration", + "scope": 1077, + "src": "1355:10:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1075, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1355:4:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "name": "BooleanSlot", + "nameLocation": "1333:11:11", + "nodeType": "StructDefinition", + "scope": 1178, + "src": "1326:46:11", + "visibility": "public" + }, + { + "canonicalName": "StorageSlot.Bytes32Slot", + "id": 1080, + "members": [ + { + "constant": false, + "id": 1079, + "mutability": "mutable", + "name": "value", + "nameLocation": "1415:5:11", + "nodeType": "VariableDeclaration", + "scope": 1080, + "src": "1407:13:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1078, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1407:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "name": "Bytes32Slot", + "nameLocation": "1385:11:11", + "nodeType": "StructDefinition", + "scope": 1178, + "src": "1378:49:11", + "visibility": "public" + }, + { + "canonicalName": "StorageSlot.Uint256Slot", + "id": 1083, + "members": [ + { + "constant": false, + "id": 1082, + "mutability": "mutable", + "name": "value", + "nameLocation": "1470:5:11", + "nodeType": "VariableDeclaration", + "scope": 1083, + "src": "1462:13:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1081, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1462:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "name": "Uint256Slot", + "nameLocation": "1440:11:11", + "nodeType": "StructDefinition", + "scope": 1178, + "src": "1433:49:11", + "visibility": "public" + }, + { + "canonicalName": "StorageSlot.StringSlot", + "id": 1086, + "members": [ + { + "constant": false, + "id": 1085, + "mutability": "mutable", + "name": "value", + "nameLocation": "1523:5:11", + "nodeType": "VariableDeclaration", + "scope": 1086, + "src": "1516:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1084, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1516:6:11", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "name": "StringSlot", + "nameLocation": "1495:10:11", + "nodeType": "StructDefinition", + "scope": 1178, + "src": "1488:47:11", + "visibility": "public" + }, + { + "canonicalName": "StorageSlot.BytesSlot", + "id": 1089, + "members": [ + { + "constant": false, + "id": 1088, + "mutability": "mutable", + "name": "value", + "nameLocation": "1574:5:11", + "nodeType": "VariableDeclaration", + "scope": 1089, + "src": "1568:11:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1087, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1568:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "name": "BytesSlot", + "nameLocation": "1548:9:11", + "nodeType": "StructDefinition", + "scope": 1178, + "src": "1541:45:11", + "visibility": "public" + }, + { + "body": { + "id": 1099, + "nodeType": "Block", + "src": "1768:106:11", + "statements": [ + { + "AST": { + "nativeSrc": "1830:38:11", + "nodeType": "YulBlock", + "src": "1830:38:11", + "statements": [ + { + "nativeSrc": "1844:14:11", + "nodeType": "YulAssignment", + "src": "1844:14:11", + "value": { + "name": "slot", + "nativeSrc": "1854:4:11", + "nodeType": "YulIdentifier", + "src": "1854:4:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "1844:6:11", + "nodeType": "YulIdentifier", + "src": "1844:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1096, + "isOffset": false, + "isSlot": true, + "src": "1844:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1092, + "isOffset": false, + "isSlot": false, + "src": "1854:4:11", + "valueSize": 1 + } + ], + "id": 1098, + "nodeType": "InlineAssembly", + "src": "1821:47:11" + } + ] + }, + "documentation": { + "id": 1090, + "nodeType": "StructuredDocumentation", + "src": "1592:87:11", + "text": " @dev Returns an `AddressSlot` with member `value` located at `slot`." + }, + "id": 1100, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getAddressSlot", + "nameLocation": "1693:14:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1093, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1092, + "mutability": "mutable", + "name": "slot", + "nameLocation": "1716:4:11", + "nodeType": "VariableDeclaration", + "scope": 1100, + "src": "1708:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1091, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1708:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1707:14:11" + }, + "returnParameters": { + "id": 1097, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1096, + "mutability": "mutable", + "name": "r", + "nameLocation": "1765:1:11", + "nodeType": "VariableDeclaration", + "scope": 1100, + "src": "1745:21:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot" + }, + "typeName": { + "id": 1095, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1094, + "name": "AddressSlot", + "nameLocations": [ + "1745:11:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1074, + "src": "1745:11:11" + }, + "referencedDeclaration": 1074, + "src": "1745:11:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_AddressSlot_$1074_storage_ptr", + "typeString": "struct StorageSlot.AddressSlot" + } + }, + "visibility": "internal" + } + ], + "src": "1744:23:11" + }, + "scope": 1178, + "src": "1684:190:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1110, + "nodeType": "Block", + "src": "2056:106:11", + "statements": [ + { + "AST": { + "nativeSrc": "2118:38:11", + "nodeType": "YulBlock", + "src": "2118:38:11", + "statements": [ + { + "nativeSrc": "2132:14:11", + "nodeType": "YulAssignment", + "src": "2132:14:11", + "value": { + "name": "slot", + "nativeSrc": "2142:4:11", + "nodeType": "YulIdentifier", + "src": "2142:4:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "2132:6:11", + "nodeType": "YulIdentifier", + "src": "2132:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1107, + "isOffset": false, + "isSlot": true, + "src": "2132:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1103, + "isOffset": false, + "isSlot": false, + "src": "2142:4:11", + "valueSize": 1 + } + ], + "id": 1109, + "nodeType": "InlineAssembly", + "src": "2109:47:11" + } + ] + }, + "documentation": { + "id": 1101, + "nodeType": "StructuredDocumentation", + "src": "1880:87:11", + "text": " @dev Returns an `BooleanSlot` with member `value` located at `slot`." + }, + "id": 1111, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getBooleanSlot", + "nameLocation": "1981:14:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1104, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1103, + "mutability": "mutable", + "name": "slot", + "nameLocation": "2004:4:11", + "nodeType": "VariableDeclaration", + "scope": 1111, + "src": "1996:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1102, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1996:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1995:14:11" + }, + "returnParameters": { + "id": 1108, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1107, + "mutability": "mutable", + "name": "r", + "nameLocation": "2053:1:11", + "nodeType": "VariableDeclaration", + "scope": 1111, + "src": "2033:21:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BooleanSlot_$1077_storage_ptr", + "typeString": "struct StorageSlot.BooleanSlot" + }, + "typeName": { + "id": 1106, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1105, + "name": "BooleanSlot", + "nameLocations": [ + "2033:11:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1077, + "src": "2033:11:11" + }, + "referencedDeclaration": 1077, + "src": "2033:11:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BooleanSlot_$1077_storage_ptr", + "typeString": "struct StorageSlot.BooleanSlot" + } + }, + "visibility": "internal" + } + ], + "src": "2032:23:11" + }, + "scope": 1178, + "src": "1972:190:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1121, + "nodeType": "Block", + "src": "2344:106:11", + "statements": [ + { + "AST": { + "nativeSrc": "2406:38:11", + "nodeType": "YulBlock", + "src": "2406:38:11", + "statements": [ + { + "nativeSrc": "2420:14:11", + "nodeType": "YulAssignment", + "src": "2420:14:11", + "value": { + "name": "slot", + "nativeSrc": "2430:4:11", + "nodeType": "YulIdentifier", + "src": "2430:4:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "2420:6:11", + "nodeType": "YulIdentifier", + "src": "2420:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1118, + "isOffset": false, + "isSlot": true, + "src": "2420:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1114, + "isOffset": false, + "isSlot": false, + "src": "2430:4:11", + "valueSize": 1 + } + ], + "id": 1120, + "nodeType": "InlineAssembly", + "src": "2397:47:11" + } + ] + }, + "documentation": { + "id": 1112, + "nodeType": "StructuredDocumentation", + "src": "2168:87:11", + "text": " @dev Returns an `Bytes32Slot` with member `value` located at `slot`." + }, + "id": 1122, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getBytes32Slot", + "nameLocation": "2269:14:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1115, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1114, + "mutability": "mutable", + "name": "slot", + "nameLocation": "2292:4:11", + "nodeType": "VariableDeclaration", + "scope": 1122, + "src": "2284:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1113, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2284:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2283:14:11" + }, + "returnParameters": { + "id": 1119, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1118, + "mutability": "mutable", + "name": "r", + "nameLocation": "2341:1:11", + "nodeType": "VariableDeclaration", + "scope": 1122, + "src": "2321:21:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bytes32Slot_$1080_storage_ptr", + "typeString": "struct StorageSlot.Bytes32Slot" + }, + "typeName": { + "id": 1117, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1116, + "name": "Bytes32Slot", + "nameLocations": [ + "2321:11:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1080, + "src": "2321:11:11" + }, + "referencedDeclaration": 1080, + "src": "2321:11:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bytes32Slot_$1080_storage_ptr", + "typeString": "struct StorageSlot.Bytes32Slot" + } + }, + "visibility": "internal" + } + ], + "src": "2320:23:11" + }, + "scope": 1178, + "src": "2260:190:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1132, + "nodeType": "Block", + "src": "2632:106:11", + "statements": [ + { + "AST": { + "nativeSrc": "2694:38:11", + "nodeType": "YulBlock", + "src": "2694:38:11", + "statements": [ + { + "nativeSrc": "2708:14:11", + "nodeType": "YulAssignment", + "src": "2708:14:11", + "value": { + "name": "slot", + "nativeSrc": "2718:4:11", + "nodeType": "YulIdentifier", + "src": "2718:4:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "2708:6:11", + "nodeType": "YulIdentifier", + "src": "2708:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1129, + "isOffset": false, + "isSlot": true, + "src": "2708:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1125, + "isOffset": false, + "isSlot": false, + "src": "2718:4:11", + "valueSize": 1 + } + ], + "id": 1131, + "nodeType": "InlineAssembly", + "src": "2685:47:11" + } + ] + }, + "documentation": { + "id": 1123, + "nodeType": "StructuredDocumentation", + "src": "2456:87:11", + "text": " @dev Returns an `Uint256Slot` with member `value` located at `slot`." + }, + "id": 1133, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getUint256Slot", + "nameLocation": "2557:14:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1126, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1125, + "mutability": "mutable", + "name": "slot", + "nameLocation": "2580:4:11", + "nodeType": "VariableDeclaration", + "scope": 1133, + "src": "2572:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1124, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2572:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2571:14:11" + }, + "returnParameters": { + "id": 1130, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1129, + "mutability": "mutable", + "name": "r", + "nameLocation": "2629:1:11", + "nodeType": "VariableDeclaration", + "scope": 1133, + "src": "2609:21:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Uint256Slot_$1083_storage_ptr", + "typeString": "struct StorageSlot.Uint256Slot" + }, + "typeName": { + "id": 1128, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1127, + "name": "Uint256Slot", + "nameLocations": [ + "2609:11:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1083, + "src": "2609:11:11" + }, + "referencedDeclaration": 1083, + "src": "2609:11:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Uint256Slot_$1083_storage_ptr", + "typeString": "struct StorageSlot.Uint256Slot" + } + }, + "visibility": "internal" + } + ], + "src": "2608:23:11" + }, + "scope": 1178, + "src": "2548:190:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1143, + "nodeType": "Block", + "src": "2917:106:11", + "statements": [ + { + "AST": { + "nativeSrc": "2979:38:11", + "nodeType": "YulBlock", + "src": "2979:38:11", + "statements": [ + { + "nativeSrc": "2993:14:11", + "nodeType": "YulAssignment", + "src": "2993:14:11", + "value": { + "name": "slot", + "nativeSrc": "3003:4:11", + "nodeType": "YulIdentifier", + "src": "3003:4:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "2993:6:11", + "nodeType": "YulIdentifier", + "src": "2993:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1140, + "isOffset": false, + "isSlot": true, + "src": "2993:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1136, + "isOffset": false, + "isSlot": false, + "src": "3003:4:11", + "valueSize": 1 + } + ], + "id": 1142, + "nodeType": "InlineAssembly", + "src": "2970:47:11" + } + ] + }, + "documentation": { + "id": 1134, + "nodeType": "StructuredDocumentation", + "src": "2744:86:11", + "text": " @dev Returns an `StringSlot` with member `value` located at `slot`." + }, + "id": 1144, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getStringSlot", + "nameLocation": "2844:13:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1137, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1136, + "mutability": "mutable", + "name": "slot", + "nameLocation": "2866:4:11", + "nodeType": "VariableDeclaration", + "scope": 1144, + "src": "2858:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1135, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2858:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2857:14:11" + }, + "returnParameters": { + "id": 1141, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1140, + "mutability": "mutable", + "name": "r", + "nameLocation": "2914:1:11", + "nodeType": "VariableDeclaration", + "scope": 1144, + "src": "2895:20:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_StringSlot_$1086_storage_ptr", + "typeString": "struct StorageSlot.StringSlot" + }, + "typeName": { + "id": 1139, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1138, + "name": "StringSlot", + "nameLocations": [ + "2895:10:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1086, + "src": "2895:10:11" + }, + "referencedDeclaration": 1086, + "src": "2895:10:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_StringSlot_$1086_storage_ptr", + "typeString": "struct StorageSlot.StringSlot" + } + }, + "visibility": "internal" + } + ], + "src": "2894:22:11" + }, + "scope": 1178, + "src": "2835:188:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1154, + "nodeType": "Block", + "src": "3225:112:11", + "statements": [ + { + "AST": { + "nativeSrc": "3287:44:11", + "nodeType": "YulBlock", + "src": "3287:44:11", + "statements": [ + { + "nativeSrc": "3301:20:11", + "nodeType": "YulAssignment", + "src": "3301:20:11", + "value": { + "name": "store.slot", + "nativeSrc": "3311:10:11", + "nodeType": "YulIdentifier", + "src": "3311:10:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "3301:6:11", + "nodeType": "YulIdentifier", + "src": "3301:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1151, + "isOffset": false, + "isSlot": true, + "src": "3301:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1147, + "isOffset": false, + "isSlot": true, + "src": "3311:10:11", + "suffix": "slot", + "valueSize": 1 + } + ], + "id": 1153, + "nodeType": "InlineAssembly", + "src": "3278:53:11" + } + ] + }, + "documentation": { + "id": 1145, + "nodeType": "StructuredDocumentation", + "src": "3029:101:11", + "text": " @dev Returns an `StringSlot` representation of the string storage pointer `store`." + }, + "id": 1155, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getStringSlot", + "nameLocation": "3144:13:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1147, + "mutability": "mutable", + "name": "store", + "nameLocation": "3173:5:11", + "nodeType": "VariableDeclaration", + "scope": 1155, + "src": "3158:20:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1146, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3158:6:11", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3157:22:11" + }, + "returnParameters": { + "id": 1152, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1151, + "mutability": "mutable", + "name": "r", + "nameLocation": "3222:1:11", + "nodeType": "VariableDeclaration", + "scope": 1155, + "src": "3203:20:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_StringSlot_$1086_storage_ptr", + "typeString": "struct StorageSlot.StringSlot" + }, + "typeName": { + "id": 1150, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1149, + "name": "StringSlot", + "nameLocations": [ + "3203:10:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1086, + "src": "3203:10:11" + }, + "referencedDeclaration": 1086, + "src": "3203:10:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_StringSlot_$1086_storage_ptr", + "typeString": "struct StorageSlot.StringSlot" + } + }, + "visibility": "internal" + } + ], + "src": "3202:22:11" + }, + "scope": 1178, + "src": "3135:202:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1165, + "nodeType": "Block", + "src": "3513:106:11", + "statements": [ + { + "AST": { + "nativeSrc": "3575:38:11", + "nodeType": "YulBlock", + "src": "3575:38:11", + "statements": [ + { + "nativeSrc": "3589:14:11", + "nodeType": "YulAssignment", + "src": "3589:14:11", + "value": { + "name": "slot", + "nativeSrc": "3599:4:11", + "nodeType": "YulIdentifier", + "src": "3599:4:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "3589:6:11", + "nodeType": "YulIdentifier", + "src": "3589:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1162, + "isOffset": false, + "isSlot": true, + "src": "3589:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1158, + "isOffset": false, + "isSlot": false, + "src": "3599:4:11", + "valueSize": 1 + } + ], + "id": 1164, + "nodeType": "InlineAssembly", + "src": "3566:47:11" + } + ] + }, + "documentation": { + "id": 1156, + "nodeType": "StructuredDocumentation", + "src": "3343:85:11", + "text": " @dev Returns an `BytesSlot` with member `value` located at `slot`." + }, + "id": 1166, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getBytesSlot", + "nameLocation": "3442:12:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1159, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1158, + "mutability": "mutable", + "name": "slot", + "nameLocation": "3463:4:11", + "nodeType": "VariableDeclaration", + "scope": 1166, + "src": "3455:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1157, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3455:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "3454:14:11" + }, + "returnParameters": { + "id": 1163, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1162, + "mutability": "mutable", + "name": "r", + "nameLocation": "3510:1:11", + "nodeType": "VariableDeclaration", + "scope": 1166, + "src": "3492:19:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BytesSlot_$1089_storage_ptr", + "typeString": "struct StorageSlot.BytesSlot" + }, + "typeName": { + "id": 1161, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1160, + "name": "BytesSlot", + "nameLocations": [ + "3492:9:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1089, + "src": "3492:9:11" + }, + "referencedDeclaration": 1089, + "src": "3492:9:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BytesSlot_$1089_storage_ptr", + "typeString": "struct StorageSlot.BytesSlot" + } + }, + "visibility": "internal" + } + ], + "src": "3491:21:11" + }, + "scope": 1178, + "src": "3433:186:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1176, + "nodeType": "Block", + "src": "3816:112:11", + "statements": [ + { + "AST": { + "nativeSrc": "3878:44:11", + "nodeType": "YulBlock", + "src": "3878:44:11", + "statements": [ + { + "nativeSrc": "3892:20:11", + "nodeType": "YulAssignment", + "src": "3892:20:11", + "value": { + "name": "store.slot", + "nativeSrc": "3902:10:11", + "nodeType": "YulIdentifier", + "src": "3902:10:11" + }, + "variableNames": [ + { + "name": "r.slot", + "nativeSrc": "3892:6:11", + "nodeType": "YulIdentifier", + "src": "3892:6:11" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1173, + "isOffset": false, + "isSlot": true, + "src": "3892:6:11", + "suffix": "slot", + "valueSize": 1 + }, + { + "declaration": 1169, + "isOffset": false, + "isSlot": true, + "src": "3902:10:11", + "suffix": "slot", + "valueSize": 1 + } + ], + "id": 1175, + "nodeType": "InlineAssembly", + "src": "3869:53:11" + } + ] + }, + "documentation": { + "id": 1167, + "nodeType": "StructuredDocumentation", + "src": "3625:99:11", + "text": " @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`." + }, + "id": 1177, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getBytesSlot", + "nameLocation": "3738:12:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1170, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1169, + "mutability": "mutable", + "name": "store", + "nameLocation": "3765:5:11", + "nodeType": "VariableDeclaration", + "scope": 1177, + "src": "3751:19:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1168, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3751:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3750:21:11" + }, + "returnParameters": { + "id": 1174, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1173, + "mutability": "mutable", + "name": "r", + "nameLocation": "3813:1:11", + "nodeType": "VariableDeclaration", + "scope": 1177, + "src": "3795:19:11", + "stateVariable": false, + "storageLocation": "storage", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BytesSlot_$1089_storage_ptr", + "typeString": "struct StorageSlot.BytesSlot" + }, + "typeName": { + "id": 1172, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1171, + "name": "BytesSlot", + "nameLocations": [ + "3795:9:11" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1089, + "src": "3795:9:11" + }, + "referencedDeclaration": 1089, + "src": "3795:9:11", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BytesSlot_$1089_storage_ptr", + "typeString": "struct StorageSlot.BytesSlot" + } + }, + "visibility": "internal" + } + ], + "src": "3794:21:11" + }, + "scope": 1178, + "src": "3729:199:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1179, + "src": "1245:2685:11", + "usedErrors": [], + "usedEvents": [] + } + ], + "src": "193:3738:11" + }, + "id": 11 + }, + "@openzeppelin/contracts/utils/Strings.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/utils/Strings.sol", + "exportedSymbols": { + "Math": [ + 2487 + ], + "SignedMath": [ + 2592 + ], + "Strings": [ + 1433 + ] + }, + "id": 1434, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1180, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "101:24:12" + }, + { + "absolutePath": "@openzeppelin/contracts/utils/math/Math.sol", + "file": "./math/Math.sol", + "id": 1182, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1434, + "sourceUnit": 2488, + "src": "127:37:12", + "symbolAliases": [ + { + "foreign": { + "id": 1181, + "name": "Math", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2487, + "src": "135:4:12", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/utils/math/SignedMath.sol", + "file": "./math/SignedMath.sol", + "id": 1184, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1434, + "sourceUnit": 2593, + "src": "165:49:12", + "symbolAliases": [ + { + "foreign": { + "id": 1183, + "name": "SignedMath", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2592, + "src": "173:10:12", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Strings", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 1185, + "nodeType": "StructuredDocumentation", + "src": "216:34:12", + "text": " @dev String operations." + }, + "fullyImplemented": true, + "id": 1433, + "linearizedBaseContracts": [ + 1433 + ], + "name": "Strings", + "nameLocation": "259:7:12", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1188, + "mutability": "constant", + "name": "HEX_DIGITS", + "nameLocation": "298:10:12", + "nodeType": "VariableDeclaration", + "scope": 1433, + "src": "273:56:12", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1186, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "273:7:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": { + "hexValue": "30313233343536373839616263646566", + "id": 1187, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "311:18:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "visibility": "private" + }, + { + "constant": true, + "id": 1191, + "mutability": "constant", + "name": "ADDRESS_LENGTH", + "nameLocation": "358:14:12", + "nodeType": "VariableDeclaration", + "scope": 1433, + "src": "335:42:12", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 1189, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "335:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "value": { + "hexValue": "3230", + "id": 1190, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "375:2:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + }, + "visibility": "private" + }, + { + "documentation": { + "id": 1192, + "nodeType": "StructuredDocumentation", + "src": "384:81:12", + "text": " @dev The `value` string doesn't fit in the specified `length`." + }, + "errorSelector": "e22e27eb", + "id": 1198, + "name": "StringsInsufficientHexLength", + "nameLocation": "476:28:12", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 1197, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1194, + "mutability": "mutable", + "name": "value", + "nameLocation": "513:5:12", + "nodeType": "VariableDeclaration", + "scope": 1198, + "src": "505:13:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1193, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "505:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1196, + "mutability": "mutable", + "name": "length", + "nameLocation": "528:6:12", + "nodeType": "VariableDeclaration", + "scope": 1198, + "src": "520:14:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1195, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "520:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "504:31:12" + }, + "src": "470:66:12" + }, + { + "body": { + "id": 1245, + "nodeType": "Block", + "src": "708:627:12", + "statements": [ + { + "id": 1244, + "nodeType": "UncheckedBlock", + "src": "718:611:12", + "statements": [ + { + "assignments": [ + 1207 + ], + "declarations": [ + { + "constant": false, + "id": 1207, + "mutability": "mutable", + "name": "length", + "nameLocation": "750:6:12", + "nodeType": "VariableDeclaration", + "scope": 1244, + "src": "742:14:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1206, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "742:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1214, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1213, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 1210, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "770:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1208, + "name": "Math", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2487, + "src": "759:4:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Math_$2487_$", + "typeString": "type(library Math)" + } + }, + "id": 1209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "764:5:12", + "memberName": "log10", + "nodeType": "MemberAccess", + "referencedDeclaration": 2307, + "src": "759:10:12", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256)" + } + }, + "id": 1211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "759:17:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 1212, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "779:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "759:21:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "742:38:12" + }, + { + "assignments": [ + 1216 + ], + "declarations": [ + { + "constant": false, + "id": 1216, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "808:6:12", + "nodeType": "VariableDeclaration", + "scope": 1244, + "src": "794:20:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1215, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "794:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 1221, + "initialValue": { + "arguments": [ + { + "id": 1219, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1207, + "src": "828:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1218, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "817:10:12", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256) pure returns (string memory)" + }, + "typeName": { + "id": 1217, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "821:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + } + }, + "id": 1220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "817:18:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "794:41:12" + }, + { + "assignments": [ + 1223 + ], + "declarations": [ + { + "constant": false, + "id": 1223, + "mutability": "mutable", + "name": "ptr", + "nameLocation": "857:3:12", + "nodeType": "VariableDeclaration", + "scope": 1244, + "src": "849:11:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1222, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "849:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1224, + "nodeType": "VariableDeclarationStatement", + "src": "849:11:12" + }, + { + "AST": { + "nativeSrc": "930:67:12", + "nodeType": "YulBlock", + "src": "930:67:12", + "statements": [ + { + "nativeSrc": "948:35:12", + "nodeType": "YulAssignment", + "src": "948:35:12", + "value": { + "arguments": [ + { + "name": "buffer", + "nativeSrc": "959:6:12", + "nodeType": "YulIdentifier", + "src": "959:6:12" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "971:2:12", + "nodeType": "YulLiteral", + "src": "971:2:12", + "type": "", + "value": "32" + }, + { + "name": "length", + "nativeSrc": "975:6:12", + "nodeType": "YulIdentifier", + "src": "975:6:12" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "967:3:12", + "nodeType": "YulIdentifier", + "src": "967:3:12" + }, + "nativeSrc": "967:15:12", + "nodeType": "YulFunctionCall", + "src": "967:15:12" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "955:3:12", + "nodeType": "YulIdentifier", + "src": "955:3:12" + }, + "nativeSrc": "955:28:12", + "nodeType": "YulFunctionCall", + "src": "955:28:12" + }, + "variableNames": [ + { + "name": "ptr", + "nativeSrc": "948:3:12", + "nodeType": "YulIdentifier", + "src": "948:3:12" + } + ] + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1216, + "isOffset": false, + "isSlot": false, + "src": "959:6:12", + "valueSize": 1 + }, + { + "declaration": 1207, + "isOffset": false, + "isSlot": false, + "src": "975:6:12", + "valueSize": 1 + }, + { + "declaration": 1223, + "isOffset": false, + "isSlot": false, + "src": "948:3:12", + "valueSize": 1 + } + ], + "id": 1225, + "nodeType": "InlineAssembly", + "src": "921:76:12" + }, + { + "body": { + "id": 1240, + "nodeType": "Block", + "src": "1023:269:12", + "statements": [ + { + "expression": { + "id": 1228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "1041:5:12", + "subExpression": { + "id": 1227, + "name": "ptr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1223, + "src": "1041:3:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1229, + "nodeType": "ExpressionStatement", + "src": "1041:5:12" + }, + { + "AST": { + "nativeSrc": "1124:86:12", + "nodeType": "YulBlock", + "src": "1124:86:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "ptr", + "nativeSrc": "1154:3:12", + "nodeType": "YulIdentifier", + "src": "1154:3:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1168:5:12", + "nodeType": "YulIdentifier", + "src": "1168:5:12" + }, + { + "kind": "number", + "nativeSrc": "1175:2:12", + "nodeType": "YulLiteral", + "src": "1175:2:12", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "mod", + "nativeSrc": "1164:3:12", + "nodeType": "YulIdentifier", + "src": "1164:3:12" + }, + "nativeSrc": "1164:14:12", + "nodeType": "YulFunctionCall", + "src": "1164:14:12" + }, + { + "name": "HEX_DIGITS", + "nativeSrc": "1180:10:12", + "nodeType": "YulIdentifier", + "src": "1180:10:12" + } + ], + "functionName": { + "name": "byte", + "nativeSrc": "1159:4:12", + "nodeType": "YulIdentifier", + "src": "1159:4:12" + }, + "nativeSrc": "1159:32:12", + "nodeType": "YulFunctionCall", + "src": "1159:32:12" + } + ], + "functionName": { + "name": "mstore8", + "nativeSrc": "1146:7:12", + "nodeType": "YulIdentifier", + "src": "1146:7:12" + }, + "nativeSrc": "1146:46:12", + "nodeType": "YulFunctionCall", + "src": "1146:46:12" + }, + "nativeSrc": "1146:46:12", + "nodeType": "YulExpressionStatement", + "src": "1146:46:12" + } + ] + }, + "documentation": "@solidity memory-safe-assembly", + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1188, + "isOffset": false, + "isSlot": false, + "src": "1180:10:12", + "valueSize": 1 + }, + { + "declaration": 1223, + "isOffset": false, + "isSlot": false, + "src": "1154:3:12", + "valueSize": 1 + }, + { + "declaration": 1201, + "isOffset": false, + "isSlot": false, + "src": "1168:5:12", + "valueSize": 1 + } + ], + "id": 1230, + "nodeType": "InlineAssembly", + "src": "1115:95:12" + }, + { + "expression": { + "id": 1233, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1231, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "1227:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 1232, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1236:2:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "1227:11:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1234, + "nodeType": "ExpressionStatement", + "src": "1227:11:12" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1235, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "1260:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1236, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1269:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1260:10:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1239, + "nodeType": "IfStatement", + "src": "1256:21:12", + "trueBody": { + "id": 1238, + "nodeType": "Break", + "src": "1272:5:12" + } + } + ] + }, + "condition": { + "hexValue": "74727565", + "id": 1226, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1017:4:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "id": 1241, + "nodeType": "WhileStatement", + "src": "1010:282:12" + }, + { + "expression": { + "id": 1242, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1216, + "src": "1312:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1205, + "id": 1243, + "nodeType": "Return", + "src": "1305:13:12" + } + ] + } + ] + }, + "documentation": { + "id": 1199, + "nodeType": "StructuredDocumentation", + "src": "542:90:12", + "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." + }, + "id": 1246, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toString", + "nameLocation": "646:8:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1202, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1201, + "mutability": "mutable", + "name": "value", + "nameLocation": "663:5:12", + "nodeType": "VariableDeclaration", + "scope": 1246, + "src": "655:13:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1200, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "655:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "654:15:12" + }, + "returnParameters": { + "id": 1205, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1204, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1246, + "src": "693:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1203, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "693:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "692:15:12" + }, + "scope": 1433, + "src": "637:698:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1271, + "nodeType": "Block", + "src": "1511:92:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 1259, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1257, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1249, + "src": "1542:5:12", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "hexValue": "30", + "id": 1258, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1550:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1542:9:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "hexValue": "", + "id": 1261, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1560:2:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + }, + "id": 1262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "1542:20:12", + "trueExpression": { + "hexValue": "2d", + "id": 1260, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1554:3:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d3b8281179950f98149eefdb158d0e1acb56f56e8e343aa9fefafa7e36959561", + "typeString": "literal_string \"-\"" + }, + "value": "-" + }, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 1266, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1249, + "src": "1588:5:12", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + ], + "expression": { + "id": 1264, + "name": "SignedMath", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2592, + "src": "1573:10:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_SignedMath_$2592_$", + "typeString": "type(library SignedMath)" + } + }, + "id": 1265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1584:3:12", + "memberName": "abs", + "nodeType": "MemberAccess", + "referencedDeclaration": 2591, + "src": "1573:14:12", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", + "typeString": "function (int256) pure returns (uint256)" + } + }, + "id": 1267, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1573:21:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1263, + "name": "toString", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1246, + "src": "1564:8:12", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256) pure returns (string memory)" + } + }, + "id": 1268, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1564:31:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 1255, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1528:6:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1254, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1528:6:12", + "typeDescriptions": {} + } + }, + "id": 1256, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1535:6:12", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1528:13:12", + "typeDescriptions": { + "typeIdentifier": "t_function_stringconcat_pure$__$returns$_t_string_memory_ptr_$", + "typeString": "function () pure returns (string memory)" + } + }, + "id": 1269, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1528:68:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1253, + "id": 1270, + "nodeType": "Return", + "src": "1521:75:12" + } + ] + }, + "documentation": { + "id": 1247, + "nodeType": "StructuredDocumentation", + "src": "1341:89:12", + "text": " @dev Converts a `int256` to its ASCII `string` decimal representation." + }, + "id": 1272, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toStringSigned", + "nameLocation": "1444:14:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1250, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1249, + "mutability": "mutable", + "name": "value", + "nameLocation": "1466:5:12", + "nodeType": "VariableDeclaration", + "scope": 1272, + "src": "1459:12:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 1248, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "1459:6:12", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "1458:14:12" + }, + "returnParameters": { + "id": 1253, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1252, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1272, + "src": "1496:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1251, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1496:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1495:15:12" + }, + "scope": 1433, + "src": "1435:168:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1291, + "nodeType": "Block", + "src": "1782:100:12", + "statements": [ + { + "id": 1290, + "nodeType": "UncheckedBlock", + "src": "1792:84:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1281, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1275, + "src": "1835:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 1284, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1275, + "src": "1854:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1282, + "name": "Math", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2487, + "src": "1842:4:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Math_$2487_$", + "typeString": "type(library Math)" + } + }, + "id": 1283, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1847:6:12", + "memberName": "log256", + "nodeType": "MemberAccess", + "referencedDeclaration": 2429, + "src": "1842:11:12", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256)" + } + }, + "id": 1285, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1842:18:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 1286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1863:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1842:22:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1280, + "name": "toHexString", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1292, + 1375, + 1395 + ], + "referencedDeclaration": 1375, + "src": "1823:11:12", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1288, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1823:42:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1279, + "id": 1289, + "nodeType": "Return", + "src": "1816:49:12" + } + ] + } + ] + }, + "documentation": { + "id": 1273, + "nodeType": "StructuredDocumentation", + "src": "1609:94:12", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." + }, + "id": 1292, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1717:11:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1276, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1275, + "mutability": "mutable", + "name": "value", + "nameLocation": "1737:5:12", + "nodeType": "VariableDeclaration", + "scope": 1292, + "src": "1729:13:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1274, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1729:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1728:15:12" + }, + "returnParameters": { + "id": 1279, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1278, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1292, + "src": "1767:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1277, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1767:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1766:15:12" + }, + "scope": 1433, + "src": "1708:174:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1374, + "nodeType": "Block", + "src": "2095:435:12", + "statements": [ + { + "assignments": [ + 1303 + ], + "declarations": [ + { + "constant": false, + "id": 1303, + "mutability": "mutable", + "name": "localValue", + "nameLocation": "2113:10:12", + "nodeType": "VariableDeclaration", + "scope": 1374, + "src": "2105:18:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1302, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2105:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1305, + "initialValue": { + "id": 1304, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1295, + "src": "2126:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2105:26:12" + }, + { + "assignments": [ + 1307 + ], + "declarations": [ + { + "constant": false, + "id": 1307, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "2154:6:12", + "nodeType": "VariableDeclaration", + "scope": 1374, + "src": "2141:19:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1306, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2141:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 1316, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1314, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1312, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1310, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2173:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1311, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1297, + "src": "2177:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2173:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 1313, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2186:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "2173:14:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1309, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "2163:9:12", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1308, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2167:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1315, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2163:25:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2141:47:12" + }, + { + "expression": { + "id": 1321, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1317, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1307, + "src": "2198:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1319, + "indexExpression": { + "hexValue": "30", + "id": 1318, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2205:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2198:9:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "30", + "id": 1320, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2210:3:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "src": "2198:15:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1322, + "nodeType": "ExpressionStatement", + "src": "2198:15:12" + }, + { + "expression": { + "id": 1327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1323, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1307, + "src": "2223:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1325, + "indexExpression": { + "hexValue": "31", + "id": 1324, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2230:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2223:9:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "78", + "id": 1326, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2235:3:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", + "typeString": "literal_string \"x\"" + }, + "value": "x" + }, + "src": "2223:15:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1328, + "nodeType": "ExpressionStatement", + "src": "2223:15:12" + }, + { + "body": { + "id": 1357, + "nodeType": "Block", + "src": "2293:95:12", + "statements": [ + { + "expression": { + "id": 1351, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1343, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1307, + "src": "2307:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1345, + "indexExpression": { + "id": 1344, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1330, + "src": "2314:1:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2307:9:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 1346, + "name": "HEX_DIGITS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1188, + "src": "2319:10:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "id": 1350, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1347, + "name": "localValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1303, + "src": "2330:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "hexValue": "307866", + "id": 1348, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2343:3:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_15_by_1", + "typeString": "int_const 15" + }, + "value": "0xf" + }, + "src": "2330:16:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2319:28:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "2307:40:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1352, + "nodeType": "ExpressionStatement", + "src": "2307:40:12" + }, + { + "expression": { + "id": 1355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1353, + "name": "localValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1303, + "src": "2361:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "34", + "id": 1354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2376:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "2361:16:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1356, + "nodeType": "ExpressionStatement", + "src": "2361:16:12" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1339, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1337, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1330, + "src": "2281:1:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "31", + "id": 1338, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2285:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2281:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1358, + "initializationExpression": { + "assignments": [ + 1330 + ], + "declarations": [ + { + "constant": false, + "id": 1330, + "mutability": "mutable", + "name": "i", + "nameLocation": "2261:1:12", + "nodeType": "VariableDeclaration", + "scope": 1358, + "src": "2253:9:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1329, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2253:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1336, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1335, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1333, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1331, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2265:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1332, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1297, + "src": "2269:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2265:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 1334, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2278:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2265:14:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2253:26:12" + }, + "isSimpleCounterLoop": false, + "loopExpression": { + "expression": { + "id": 1341, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": true, + "src": "2288:3:12", + "subExpression": { + "id": 1340, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1330, + "src": "2290:1:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1342, + "nodeType": "ExpressionStatement", + "src": "2288:3:12" + }, + "nodeType": "ForStatement", + "src": "2248:140:12" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1361, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1359, + "name": "localValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1303, + "src": "2401:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1360, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2415:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2401:15:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1368, + "nodeType": "IfStatement", + "src": "2397:96:12", + "trueBody": { + "id": 1367, + "nodeType": "Block", + "src": "2418:75:12", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 1363, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1295, + "src": "2468:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1364, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1297, + "src": "2475:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1362, + "name": "StringsInsufficientHexLength", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1198, + "src": "2439:28:12", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$", + "typeString": "function (uint256,uint256) pure returns (error)" + } + }, + "id": 1365, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2439:43:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 1366, + "nodeType": "RevertStatement", + "src": "2432:50:12" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 1371, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1307, + "src": "2516:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2509:6:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1369, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2509:6:12", + "typeDescriptions": {} + } + }, + "id": 1372, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2509:14:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1301, + "id": 1373, + "nodeType": "Return", + "src": "2502:21:12" + } + ] + }, + "documentation": { + "id": 1293, + "nodeType": "StructuredDocumentation", + "src": "1888:112:12", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." + }, + "id": 1375, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "2014:11:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1298, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1295, + "mutability": "mutable", + "name": "value", + "nameLocation": "2034:5:12", + "nodeType": "VariableDeclaration", + "scope": 1375, + "src": "2026:13:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1294, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2026:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1297, + "mutability": "mutable", + "name": "length", + "nameLocation": "2049:6:12", + "nodeType": "VariableDeclaration", + "scope": 1375, + "src": "2041:14:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1296, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2041:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2025:31:12" + }, + "returnParameters": { + "id": 1301, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1300, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1375, + "src": "2080:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1299, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2080:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2079:15:12" + }, + "scope": 1433, + "src": "2005:525:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1394, + "nodeType": "Block", + "src": "2762:75:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1388, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1378, + "src": "2807:4:12", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1387, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2799:7:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint160_$", + "typeString": "type(uint160)" + }, + "typeName": { + "id": 1386, + "name": "uint160", + "nodeType": "ElementaryTypeName", + "src": "2799:7:12", + "typeDescriptions": {} + } + }, + "id": 1389, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2799:13:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + } + ], + "id": 1385, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2791:7:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 1384, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2791:7:12", + "typeDescriptions": {} + } + }, + "id": 1390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2791:22:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1391, + "name": "ADDRESS_LENGTH", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1191, + "src": "2815:14:12", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "id": 1383, + "name": "toHexString", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1292, + 1375, + 1395 + ], + "referencedDeclaration": 1375, + "src": "2779:11:12", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1392, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2779:51:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1382, + "id": 1393, + "nodeType": "Return", + "src": "2772:58:12" + } + ] + }, + "documentation": { + "id": 1376, + "nodeType": "StructuredDocumentation", + "src": "2536:148:12", + "text": " @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n representation." + }, + "id": 1395, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "2698:11:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1379, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1378, + "mutability": "mutable", + "name": "addr", + "nameLocation": "2718:4:12", + "nodeType": "VariableDeclaration", + "scope": 1395, + "src": "2710:12:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1377, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2710:7:12", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2709:14:12" + }, + "returnParameters": { + "id": 1382, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1381, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1395, + "src": "2747:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1380, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2747:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2746:15:12" + }, + "scope": 1433, + "src": "2689:148:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1431, + "nodeType": "Block", + "src": "2992:104:12", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 1429, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1415, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "arguments": [ + { + "id": 1407, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1398, + "src": "3015:1:12", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 1406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3009:5:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 1405, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3009:5:12", + "typeDescriptions": {} + } + }, + "id": 1408, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:8:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1409, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3018:6:12", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "3009:15:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 1412, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1400, + "src": "3034:1:12", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 1411, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3028:5:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 1410, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3028:5:12", + "typeDescriptions": {} + } + }, + "id": 1413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3028:8:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1414, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3037:6:12", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "3028:15:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3009:34:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "id": 1428, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "arguments": [ + { + "id": 1419, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1398, + "src": "3063:1:12", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 1418, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3057:5:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 1417, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3057:5:12", + "typeDescriptions": {} + } + }, + "id": 1420, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3057:8:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1416, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -8, + "src": "3047:9:12", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1421, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3047:19:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "arguments": [ + { + "id": 1425, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1400, + "src": "3086:1:12", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 1424, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3080:5:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 1423, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3080:5:12", + "typeDescriptions": {} + } + }, + "id": 1426, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3080:8:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1422, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -8, + "src": "3070:9:12", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1427, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3070:19:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "3047:42:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "3009:80:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1404, + "id": 1430, + "nodeType": "Return", + "src": "3002:87:12" + } + ] + }, + "documentation": { + "id": 1396, + "nodeType": "StructuredDocumentation", + "src": "2843:66:12", + "text": " @dev Returns true if the two strings are equal." + }, + "id": 1432, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "equal", + "nameLocation": "2923:5:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1401, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1398, + "mutability": "mutable", + "name": "a", + "nameLocation": "2943:1:12", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "2929:15:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1397, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2929:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1400, + "mutability": "mutable", + "name": "b", + "nameLocation": "2960:1:12", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "2946:15:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1399, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2946:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2928:34:12" + }, + "returnParameters": { + "id": 1404, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1403, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "2986:4:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1402, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2986:4:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2985:6:12" + }, + "scope": 1433, + "src": "2914:182:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1434, + "src": "251:2847:12", + "usedErrors": [ + 1198 + ], + "usedEvents": [] + } + ], + "src": "101:2998:12" + }, + "id": 12 + }, + "@openzeppelin/contracts/utils/math/Math.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/utils/math/Math.sol", + "exportedSymbols": { + "Math": [ + 2487 + ] + }, + "id": 2488, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1435, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "103:24:13" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Math", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 1436, + "nodeType": "StructuredDocumentation", + "src": "129:73:13", + "text": " @dev Standard math utilities missing in the Solidity language." + }, + "fullyImplemented": true, + "id": 2487, + "linearizedBaseContracts": [ + 2487 + ], + "name": "Math", + "nameLocation": "211:4:13", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 1437, + "nodeType": "StructuredDocumentation", + "src": "222:50:13", + "text": " @dev Muldiv operation overflow." + }, + "errorSelector": "227bc153", + "id": 1439, + "name": "MathOverflowedMulDiv", + "nameLocation": "283:20:13", + "nodeType": "ErrorDefinition", + "parameters": { + "id": 1438, + "nodeType": "ParameterList", + "parameters": [], + "src": "303:2:13" + }, + "src": "277:29:13" + }, + { + "canonicalName": "Math.Rounding", + "id": 1444, + "members": [ + { + "id": 1440, + "name": "Floor", + "nameLocation": "336:5:13", + "nodeType": "EnumValue", + "src": "336:5:13" + }, + { + "id": 1441, + "name": "Ceil", + "nameLocation": "379:4:13", + "nodeType": "EnumValue", + "src": "379:4:13" + }, + { + "id": 1442, + "name": "Trunc", + "nameLocation": "421:5:13", + "nodeType": "EnumValue", + "src": "421:5:13" + }, + { + "id": 1443, + "name": "Expand", + "nameLocation": "451:6:13", + "nodeType": "EnumValue", + "src": "451:6:13" + } + ], + "name": "Rounding", + "nameLocation": "317:8:13", + "nodeType": "EnumDefinition", + "src": "312:169:13" + }, + { + "body": { + "id": 1475, + "nodeType": "Block", + "src": "661:140:13", + "statements": [ + { + "id": 1474, + "nodeType": "UncheckedBlock", + "src": "671:124:13", + "statements": [ + { + "assignments": [ + 1457 + ], + "declarations": [ + { + "constant": false, + "id": 1457, + "mutability": "mutable", + "name": "c", + "nameLocation": "703:1:13", + "nodeType": "VariableDeclaration", + "scope": 1474, + "src": "695:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1456, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "695:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1461, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1460, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1458, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1447, + "src": "707:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "id": 1459, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1449, + "src": "711:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "707:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "695:17:13" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1464, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1462, + "name": "c", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1457, + "src": "730:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 1463, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1447, + "src": "734:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "730:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1469, + "nodeType": "IfStatement", + "src": "726:28:13", + "trueBody": { + "expression": { + "components": [ + { + "hexValue": "66616c7365", + "id": 1465, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "745:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + { + "hexValue": "30", + "id": 1466, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "752:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 1467, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "744:10:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", + "typeString": "tuple(bool,int_const 0)" + } + }, + "functionReturnParameters": 1455, + "id": 1468, + "nodeType": "Return", + "src": "737:17:13" + } + }, + { + "expression": { + "components": [ + { + "hexValue": "74727565", + "id": 1470, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "776:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "id": 1471, + "name": "c", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1457, + "src": "782:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1472, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "775:9:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", + "typeString": "tuple(bool,uint256)" + } + }, + "functionReturnParameters": 1455, + "id": 1473, + "nodeType": "Return", + "src": "768:16:13" + } + ] + } + ] + }, + "documentation": { + "id": 1445, + "nodeType": "StructuredDocumentation", + "src": "487:93:13", + "text": " @dev Returns the addition of two unsigned integers, with an overflow flag." + }, + "id": 1476, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "tryAdd", + "nameLocation": "594:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1450, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1447, + "mutability": "mutable", + "name": "a", + "nameLocation": "609:1:13", + "nodeType": "VariableDeclaration", + "scope": 1476, + "src": "601:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1446, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "601:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1449, + "mutability": "mutable", + "name": "b", + "nameLocation": "620:1:13", + "nodeType": "VariableDeclaration", + "scope": 1476, + "src": "612:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1448, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "612:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "600:22:13" + }, + "returnParameters": { + "id": 1455, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1452, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1476, + "src": "646:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1451, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "646:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1454, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1476, + "src": "652:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1453, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "652:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "645:15:13" + }, + "scope": 2487, + "src": "585:216:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1503, + "nodeType": "Block", + "src": "984:113:13", + "statements": [ + { + "id": 1502, + "nodeType": "UncheckedBlock", + "src": "994:97:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1490, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1488, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1481, + "src": "1022:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "id": 1489, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1479, + "src": "1026:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1022:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1495, + "nodeType": "IfStatement", + "src": "1018:28:13", + "trueBody": { + "expression": { + "components": [ + { + "hexValue": "66616c7365", + "id": 1491, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1037:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + { + "hexValue": "30", + "id": 1492, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1044:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 1493, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1036:10:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", + "typeString": "tuple(bool,int_const 0)" + } + }, + "functionReturnParameters": 1487, + "id": 1494, + "nodeType": "Return", + "src": "1029:17:13" + } + }, + { + "expression": { + "components": [ + { + "hexValue": "74727565", + "id": 1496, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1068:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1499, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1497, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1479, + "src": "1074:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 1498, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1481, + "src": "1078:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1074:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1500, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1067:13:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", + "typeString": "tuple(bool,uint256)" + } + }, + "functionReturnParameters": 1487, + "id": 1501, + "nodeType": "Return", + "src": "1060:20:13" + } + ] + } + ] + }, + "documentation": { + "id": 1477, + "nodeType": "StructuredDocumentation", + "src": "807:96:13", + "text": " @dev Returns the subtraction of two unsigned integers, with an overflow flag." + }, + "id": 1504, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "trySub", + "nameLocation": "917:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1482, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1479, + "mutability": "mutable", + "name": "a", + "nameLocation": "932:1:13", + "nodeType": "VariableDeclaration", + "scope": 1504, + "src": "924:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1478, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "924:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1481, + "mutability": "mutable", + "name": "b", + "nameLocation": "943:1:13", + "nodeType": "VariableDeclaration", + "scope": 1504, + "src": "935:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1480, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "935:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "923:22:13" + }, + "returnParameters": { + "id": 1487, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1484, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1504, + "src": "969:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1483, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "969:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1486, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1504, + "src": "975:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1485, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "975:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "968:15:13" + }, + "scope": 2487, + "src": "908:189:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1545, + "nodeType": "Block", + "src": "1283:417:13", + "statements": [ + { + "id": 1544, + "nodeType": "UncheckedBlock", + "src": "1293:401:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1518, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1516, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1507, + "src": "1551:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1517, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1556:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1551:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1523, + "nodeType": "IfStatement", + "src": "1547:28:13", + "trueBody": { + "expression": { + "components": [ + { + "hexValue": "74727565", + "id": 1519, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1567:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "hexValue": "30", + "id": 1520, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1573:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 1521, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1566:9:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", + "typeString": "tuple(bool,int_const 0)" + } + }, + "functionReturnParameters": 1515, + "id": 1522, + "nodeType": "Return", + "src": "1559:16:13" + } + }, + { + "assignments": [ + 1525 + ], + "declarations": [ + { + "constant": false, + "id": 1525, + "mutability": "mutable", + "name": "c", + "nameLocation": "1597:1:13", + "nodeType": "VariableDeclaration", + "scope": 1544, + "src": "1589:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1524, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1589:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1529, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1528, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1526, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1507, + "src": "1601:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1527, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1509, + "src": "1605:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1601:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1589:17:13" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1534, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1532, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1530, + "name": "c", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "1624:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1531, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1507, + "src": "1628:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1624:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "id": 1533, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1509, + "src": "1633:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1624:10:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1539, + "nodeType": "IfStatement", + "src": "1620:33:13", + "trueBody": { + "expression": { + "components": [ + { + "hexValue": "66616c7365", + "id": 1535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1644:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + { + "hexValue": "30", + "id": 1536, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1651:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 1537, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1643:10:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", + "typeString": "tuple(bool,int_const 0)" + } + }, + "functionReturnParameters": 1515, + "id": 1538, + "nodeType": "Return", + "src": "1636:17:13" + } + }, + { + "expression": { + "components": [ + { + "hexValue": "74727565", + "id": 1540, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1675:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "id": 1541, + "name": "c", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "1681:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1542, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1674:9:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", + "typeString": "tuple(bool,uint256)" + } + }, + "functionReturnParameters": 1515, + "id": 1543, + "nodeType": "Return", + "src": "1667:16:13" + } + ] + } + ] + }, + "documentation": { + "id": 1505, + "nodeType": "StructuredDocumentation", + "src": "1103:99:13", + "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag." + }, + "id": 1546, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "tryMul", + "nameLocation": "1216:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1510, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1507, + "mutability": "mutable", + "name": "a", + "nameLocation": "1231:1:13", + "nodeType": "VariableDeclaration", + "scope": 1546, + "src": "1223:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1506, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1223:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1509, + "mutability": "mutable", + "name": "b", + "nameLocation": "1242:1:13", + "nodeType": "VariableDeclaration", + "scope": 1546, + "src": "1234:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1508, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1234:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1222:22:13" + }, + "returnParameters": { + "id": 1515, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1512, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1546, + "src": "1268:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1511, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1268:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1514, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1546, + "src": "1274:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1513, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1274:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1267:15:13" + }, + "scope": 2487, + "src": "1207:493:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1573, + "nodeType": "Block", + "src": "1887:114:13", + "statements": [ + { + "id": 1572, + "nodeType": "UncheckedBlock", + "src": "1897:98:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1560, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1558, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1551, + "src": "1925:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1559, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1930:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1925:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1565, + "nodeType": "IfStatement", + "src": "1921:29:13", + "trueBody": { + "expression": { + "components": [ + { + "hexValue": "66616c7365", + "id": 1561, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1941:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + { + "hexValue": "30", + "id": 1562, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1948:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 1563, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1940:10:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", + "typeString": "tuple(bool,int_const 0)" + } + }, + "functionReturnParameters": 1557, + "id": 1564, + "nodeType": "Return", + "src": "1933:17:13" + } + }, + { + "expression": { + "components": [ + { + "hexValue": "74727565", + "id": 1566, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1972:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1569, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1567, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1549, + "src": "1978:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1568, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1551, + "src": "1982:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1978:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1570, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1971:13:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", + "typeString": "tuple(bool,uint256)" + } + }, + "functionReturnParameters": 1557, + "id": 1571, + "nodeType": "Return", + "src": "1964:20:13" + } + ] + } + ] + }, + "documentation": { + "id": 1547, + "nodeType": "StructuredDocumentation", + "src": "1706:100:13", + "text": " @dev Returns the division of two unsigned integers, with a division by zero flag." + }, + "id": 1574, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "tryDiv", + "nameLocation": "1820:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1552, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1549, + "mutability": "mutable", + "name": "a", + "nameLocation": "1835:1:13", + "nodeType": "VariableDeclaration", + "scope": 1574, + "src": "1827:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1548, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1827:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1551, + "mutability": "mutable", + "name": "b", + "nameLocation": "1846:1:13", + "nodeType": "VariableDeclaration", + "scope": 1574, + "src": "1838:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1550, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1838:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1826:22:13" + }, + "returnParameters": { + "id": 1557, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1554, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1574, + "src": "1872:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1553, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1872:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1556, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1574, + "src": "1878:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1555, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1878:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1871:15:13" + }, + "scope": 2487, + "src": "1811:190:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1601, + "nodeType": "Block", + "src": "2198:114:13", + "statements": [ + { + "id": 1600, + "nodeType": "UncheckedBlock", + "src": "2208:98:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1588, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1586, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1579, + "src": "2236:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1587, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2241:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2236:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1593, + "nodeType": "IfStatement", + "src": "2232:29:13", + "trueBody": { + "expression": { + "components": [ + { + "hexValue": "66616c7365", + "id": 1589, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2252:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + { + "hexValue": "30", + "id": 1590, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2259:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 1591, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2251:10:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", + "typeString": "tuple(bool,int_const 0)" + } + }, + "functionReturnParameters": 1585, + "id": 1592, + "nodeType": "Return", + "src": "2244:17:13" + } + }, + { + "expression": { + "components": [ + { + "hexValue": "74727565", + "id": 1594, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2283:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1597, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1595, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1577, + "src": "2289:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "id": 1596, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1579, + "src": "2293:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2289:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1598, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2282:13:13", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", + "typeString": "tuple(bool,uint256)" + } + }, + "functionReturnParameters": 1585, + "id": 1599, + "nodeType": "Return", + "src": "2275:20:13" + } + ] + } + ] + }, + "documentation": { + "id": 1575, + "nodeType": "StructuredDocumentation", + "src": "2007:110:13", + "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag." + }, + "id": 1602, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "tryMod", + "nameLocation": "2131:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1580, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1577, + "mutability": "mutable", + "name": "a", + "nameLocation": "2146:1:13", + "nodeType": "VariableDeclaration", + "scope": 1602, + "src": "2138:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1576, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2138:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1579, + "mutability": "mutable", + "name": "b", + "nameLocation": "2157:1:13", + "nodeType": "VariableDeclaration", + "scope": 1602, + "src": "2149:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1578, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2149:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2137:22:13" + }, + "returnParameters": { + "id": 1585, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1582, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1602, + "src": "2183:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1581, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2183:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1584, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1602, + "src": "2189:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1583, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2189:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2182:15:13" + }, + "scope": 2487, + "src": "2122:190:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1619, + "nodeType": "Block", + "src": "2449:37:13", + "statements": [ + { + "expression": { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1614, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1612, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1605, + "src": "2466:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "id": 1613, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1607, + "src": "2470:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2466:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "id": 1616, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1607, + "src": "2478:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1617, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "2466:13:13", + "trueExpression": { + "id": 1615, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1605, + "src": "2474:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1611, + "id": 1618, + "nodeType": "Return", + "src": "2459:20:13" + } + ] + }, + "documentation": { + "id": 1603, + "nodeType": "StructuredDocumentation", + "src": "2318:59:13", + "text": " @dev Returns the largest of two numbers." + }, + "id": 1620, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "max", + "nameLocation": "2391:3:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1608, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1605, + "mutability": "mutable", + "name": "a", + "nameLocation": "2403:1:13", + "nodeType": "VariableDeclaration", + "scope": 1620, + "src": "2395:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1604, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2395:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1607, + "mutability": "mutable", + "name": "b", + "nameLocation": "2414:1:13", + "nodeType": "VariableDeclaration", + "scope": 1620, + "src": "2406:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1606, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2406:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2394:22:13" + }, + "returnParameters": { + "id": 1611, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1610, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1620, + "src": "2440:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1609, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2440:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2439:9:13" + }, + "scope": 2487, + "src": "2382:104:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1637, + "nodeType": "Block", + "src": "2624:37:13", + "statements": [ + { + "expression": { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1632, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1630, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1623, + "src": "2641:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 1631, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1625, + "src": "2645:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2641:5:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "id": 1634, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1625, + "src": "2653:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1635, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "2641:13:13", + "trueExpression": { + "id": 1633, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1623, + "src": "2649:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1629, + "id": 1636, + "nodeType": "Return", + "src": "2634:20:13" + } + ] + }, + "documentation": { + "id": 1621, + "nodeType": "StructuredDocumentation", + "src": "2492:60:13", + "text": " @dev Returns the smallest of two numbers." + }, + "id": 1638, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "min", + "nameLocation": "2566:3:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1626, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1623, + "mutability": "mutable", + "name": "a", + "nameLocation": "2578:1:13", + "nodeType": "VariableDeclaration", + "scope": 1638, + "src": "2570:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1622, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2570:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1625, + "mutability": "mutable", + "name": "b", + "nameLocation": "2589:1:13", + "nodeType": "VariableDeclaration", + "scope": 1638, + "src": "2581:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1624, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2581:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2569:22:13" + }, + "returnParameters": { + "id": 1629, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1628, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1638, + "src": "2615:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1627, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2615:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2614:9:13" + }, + "scope": 2487, + "src": "2557:104:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1660, + "nodeType": "Block", + "src": "2845:82:13", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1658, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1650, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1648, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1641, + "src": "2900:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "id": 1649, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1643, + "src": "2904:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2900:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1651, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2899:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1657, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1654, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1652, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1641, + "src": "2910:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "^", + "rightExpression": { + "id": 1653, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1643, + "src": "2914:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2910:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1655, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2909:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "32", + "id": 1656, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2919:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "2909:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2899:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1647, + "id": 1659, + "nodeType": "Return", + "src": "2892:28:13" + } + ] + }, + "documentation": { + "id": 1639, + "nodeType": "StructuredDocumentation", + "src": "2667:102:13", + "text": " @dev Returns the average of two numbers. The result is rounded towards\n zero." + }, + "id": 1661, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "average", + "nameLocation": "2783:7:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1644, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1641, + "mutability": "mutable", + "name": "a", + "nameLocation": "2799:1:13", + "nodeType": "VariableDeclaration", + "scope": 1661, + "src": "2791:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1640, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2791:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1643, + "mutability": "mutable", + "name": "b", + "nameLocation": "2810:1:13", + "nodeType": "VariableDeclaration", + "scope": 1661, + "src": "2802:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1642, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2802:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2790:22:13" + }, + "returnParameters": { + "id": 1647, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1646, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1661, + "src": "2836:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1645, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2836:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2835:9:13" + }, + "scope": 2487, + "src": "2774:153:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1694, + "nodeType": "Block", + "src": "3219:260:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1671, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1666, + "src": "3233:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3238:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "3233:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1679, + "nodeType": "IfStatement", + "src": "3229:127:13", + "trueBody": { + "id": 1678, + "nodeType": "Block", + "src": "3241:115:13", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1674, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1664, + "src": "3340:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1675, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1666, + "src": "3344:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3340:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1670, + "id": 1677, + "nodeType": "Return", + "src": "3333:12:13" + } + ] + } + }, + { + "expression": { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1682, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1680, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1664, + "src": "3444:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1681, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3449:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "3444:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1691, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1689, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1686, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1684, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1664, + "src": "3458:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 1685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3462:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3458:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1687, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3457:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1688, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1666, + "src": "3467:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3457:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 1690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3471:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3457:15:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "3444:28:13", + "trueExpression": { + "hexValue": "30", + "id": 1683, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3453:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1670, + "id": 1693, + "nodeType": "Return", + "src": "3437:35:13" + } + ] + }, + "documentation": { + "id": 1662, + "nodeType": "StructuredDocumentation", + "src": "2933:210:13", + "text": " @dev Returns the ceiling of the division of two numbers.\n This differs from standard division with `/` in that it rounds towards infinity instead\n of rounding towards zero." + }, + "id": 1695, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "ceilDiv", + "nameLocation": "3157:7:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1667, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1664, + "mutability": "mutable", + "name": "a", + "nameLocation": "3173:1:13", + "nodeType": "VariableDeclaration", + "scope": 1695, + "src": "3165:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1663, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3165:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1666, + "mutability": "mutable", + "name": "b", + "nameLocation": "3184:1:13", + "nodeType": "VariableDeclaration", + "scope": 1695, + "src": "3176:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1665, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3176:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3164:22:13" + }, + "returnParameters": { + "id": 1670, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1669, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1695, + "src": "3210:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1668, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3210:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3209:9:13" + }, + "scope": 2487, + "src": "3148:331:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1820, + "nodeType": "Block", + "src": "3901:4018:13", + "statements": [ + { + "id": 1819, + "nodeType": "UncheckedBlock", + "src": "3911:4002:13", + "statements": [ + { + "assignments": [ + 1708 + ], + "declarations": [ + { + "constant": false, + "id": 1708, + "mutability": "mutable", + "name": "prod0", + "nameLocation": "4240:5:13", + "nodeType": "VariableDeclaration", + "scope": 1819, + "src": "4232:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1707, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4232:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1712, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1711, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1709, + "name": "x", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1698, + "src": "4248:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1710, + "name": "y", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1700, + "src": "4252:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4248:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4232:21:13" + }, + { + "assignments": [ + 1714 + ], + "declarations": [ + { + "constant": false, + "id": 1714, + "mutability": "mutable", + "name": "prod1", + "nameLocation": "4320:5:13", + "nodeType": "VariableDeclaration", + "scope": 1819, + "src": "4312:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1713, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4312:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1715, + "nodeType": "VariableDeclarationStatement", + "src": "4312:13:13" + }, + { + "AST": { + "nativeSrc": "4392:122:13", + "nodeType": "YulBlock", + "src": "4392:122:13", + "statements": [ + { + "nativeSrc": "4410:30:13", + "nodeType": "YulVariableDeclaration", + "src": "4410:30:13", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "4427:1:13", + "nodeType": "YulIdentifier", + "src": "4427:1:13" + }, + { + "name": "y", + "nativeSrc": "4430:1:13", + "nodeType": "YulIdentifier", + "src": "4430:1:13" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "4437:1:13", + "nodeType": "YulLiteral", + "src": "4437:1:13", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "4433:3:13", + "nodeType": "YulIdentifier", + "src": "4433:3:13" + }, + "nativeSrc": "4433:6:13", + "nodeType": "YulFunctionCall", + "src": "4433:6:13" + } + ], + "functionName": { + "name": "mulmod", + "nativeSrc": "4420:6:13", + "nodeType": "YulIdentifier", + "src": "4420:6:13" + }, + "nativeSrc": "4420:20:13", + "nodeType": "YulFunctionCall", + "src": "4420:20:13" + }, + "variables": [ + { + "name": "mm", + "nativeSrc": "4414:2:13", + "nodeType": "YulTypedName", + "src": "4414:2:13", + "type": "" + } + ] + }, + { + "nativeSrc": "4457:43:13", + "nodeType": "YulAssignment", + "src": "4457:43:13", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "mm", + "nativeSrc": "4474:2:13", + "nodeType": "YulIdentifier", + "src": "4474:2:13" + }, + { + "name": "prod0", + "nativeSrc": "4478:5:13", + "nodeType": "YulIdentifier", + "src": "4478:5:13" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "4470:3:13", + "nodeType": "YulIdentifier", + "src": "4470:3:13" + }, + "nativeSrc": "4470:14:13", + "nodeType": "YulFunctionCall", + "src": "4470:14:13" + }, + { + "arguments": [ + { + "name": "mm", + "nativeSrc": "4489:2:13", + "nodeType": "YulIdentifier", + "src": "4489:2:13" + }, + { + "name": "prod0", + "nativeSrc": "4493:5:13", + "nodeType": "YulIdentifier", + "src": "4493:5:13" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "4486:2:13", + "nodeType": "YulIdentifier", + "src": "4486:2:13" + }, + "nativeSrc": "4486:13:13", + "nodeType": "YulFunctionCall", + "src": "4486:13:13" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "4466:3:13", + "nodeType": "YulIdentifier", + "src": "4466:3:13" + }, + "nativeSrc": "4466:34:13", + "nodeType": "YulFunctionCall", + "src": "4466:34:13" + }, + "variableNames": [ + { + "name": "prod1", + "nativeSrc": "4457:5:13", + "nodeType": "YulIdentifier", + "src": "4457:5:13" + } + ] + } + ] + }, + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1708, + "isOffset": false, + "isSlot": false, + "src": "4478:5:13", + "valueSize": 1 + }, + { + "declaration": 1708, + "isOffset": false, + "isSlot": false, + "src": "4493:5:13", + "valueSize": 1 + }, + { + "declaration": 1714, + "isOffset": false, + "isSlot": false, + "src": "4457:5:13", + "valueSize": 1 + }, + { + "declaration": 1698, + "isOffset": false, + "isSlot": false, + "src": "4427:1:13", + "valueSize": 1 + }, + { + "declaration": 1700, + "isOffset": false, + "isSlot": false, + "src": "4430:1:13", + "valueSize": 1 + } + ], + "id": 1716, + "nodeType": "InlineAssembly", + "src": "4383:131:13" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1719, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1717, + "name": "prod1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1714, + "src": "4595:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4604:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "4595:10:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1725, + "nodeType": "IfStatement", + "src": "4591:368:13", + "trueBody": { + "id": 1724, + "nodeType": "Block", + "src": "4607:352:13", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1722, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1720, + "name": "prod0", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "4925:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1721, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "4933:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4925:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1706, + "id": 1723, + "nodeType": "Return", + "src": "4918:26:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1728, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1726, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "5065:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "id": 1727, + "name": "prod1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1714, + "src": "5080:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5065:20:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1733, + "nodeType": "IfStatement", + "src": "5061:88:13", + "trueBody": { + "id": 1732, + "nodeType": "Block", + "src": "5087:62:13", + "statements": [ + { + "errorCall": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1729, + "name": "MathOverflowedMulDiv", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1439, + "src": "5112:20:13", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$__$returns$_t_error_$", + "typeString": "function () pure returns (error)" + } + }, + "id": 1730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5112:22:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_error", + "typeString": "error" + } + }, + "id": 1731, + "nodeType": "RevertStatement", + "src": "5105:29:13" + } + ] + } + }, + { + "assignments": [ + 1735 + ], + "declarations": [ + { + "constant": false, + "id": 1735, + "mutability": "mutable", + "name": "remainder", + "nameLocation": "5412:9:13", + "nodeType": "VariableDeclaration", + "scope": 1819, + "src": "5404:17:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1734, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5404:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1736, + "nodeType": "VariableDeclarationStatement", + "src": "5404:17:13" + }, + { + "AST": { + "nativeSrc": "5444:291:13", + "nodeType": "YulBlock", + "src": "5444:291:13", + "statements": [ + { + "nativeSrc": "5513:38:13", + "nodeType": "YulAssignment", + "src": "5513:38:13", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "5533:1:13", + "nodeType": "YulIdentifier", + "src": "5533:1:13" + }, + { + "name": "y", + "nativeSrc": "5536:1:13", + "nodeType": "YulIdentifier", + "src": "5536:1:13" + }, + { + "name": "denominator", + "nativeSrc": "5539:11:13", + "nodeType": "YulIdentifier", + "src": "5539:11:13" + } + ], + "functionName": { + "name": "mulmod", + "nativeSrc": "5526:6:13", + "nodeType": "YulIdentifier", + "src": "5526:6:13" + }, + "nativeSrc": "5526:25:13", + "nodeType": "YulFunctionCall", + "src": "5526:25:13" + }, + "variableNames": [ + { + "name": "remainder", + "nativeSrc": "5513:9:13", + "nodeType": "YulIdentifier", + "src": "5513:9:13" + } + ] + }, + { + "nativeSrc": "5633:41:13", + "nodeType": "YulAssignment", + "src": "5633:41:13", + "value": { + "arguments": [ + { + "name": "prod1", + "nativeSrc": "5646:5:13", + "nodeType": "YulIdentifier", + "src": "5646:5:13" + }, + { + "arguments": [ + { + "name": "remainder", + "nativeSrc": "5656:9:13", + "nodeType": "YulIdentifier", + "src": "5656:9:13" + }, + { + "name": "prod0", + "nativeSrc": "5667:5:13", + "nodeType": "YulIdentifier", + "src": "5667:5:13" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "5653:2:13", + "nodeType": "YulIdentifier", + "src": "5653:2:13" + }, + "nativeSrc": "5653:20:13", + "nodeType": "YulFunctionCall", + "src": "5653:20:13" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "5642:3:13", + "nodeType": "YulIdentifier", + "src": "5642:3:13" + }, + "nativeSrc": "5642:32:13", + "nodeType": "YulFunctionCall", + "src": "5642:32:13" + }, + "variableNames": [ + { + "name": "prod1", + "nativeSrc": "5633:5:13", + "nodeType": "YulIdentifier", + "src": "5633:5:13" + } + ] + }, + { + "nativeSrc": "5691:30:13", + "nodeType": "YulAssignment", + "src": "5691:30:13", + "value": { + "arguments": [ + { + "name": "prod0", + "nativeSrc": "5704:5:13", + "nodeType": "YulIdentifier", + "src": "5704:5:13" + }, + { + "name": "remainder", + "nativeSrc": "5711:9:13", + "nodeType": "YulIdentifier", + "src": "5711:9:13" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "5700:3:13", + "nodeType": "YulIdentifier", + "src": "5700:3:13" + }, + "nativeSrc": "5700:21:13", + "nodeType": "YulFunctionCall", + "src": "5700:21:13" + }, + "variableNames": [ + { + "name": "prod0", + "nativeSrc": "5691:5:13", + "nodeType": "YulIdentifier", + "src": "5691:5:13" + } + ] + } + ] + }, + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1702, + "isOffset": false, + "isSlot": false, + "src": "5539:11:13", + "valueSize": 1 + }, + { + "declaration": 1708, + "isOffset": false, + "isSlot": false, + "src": "5667:5:13", + "valueSize": 1 + }, + { + "declaration": 1708, + "isOffset": false, + "isSlot": false, + "src": "5691:5:13", + "valueSize": 1 + }, + { + "declaration": 1708, + "isOffset": false, + "isSlot": false, + "src": "5704:5:13", + "valueSize": 1 + }, + { + "declaration": 1714, + "isOffset": false, + "isSlot": false, + "src": "5633:5:13", + "valueSize": 1 + }, + { + "declaration": 1714, + "isOffset": false, + "isSlot": false, + "src": "5646:5:13", + "valueSize": 1 + }, + { + "declaration": 1735, + "isOffset": false, + "isSlot": false, + "src": "5513:9:13", + "valueSize": 1 + }, + { + "declaration": 1735, + "isOffset": false, + "isSlot": false, + "src": "5656:9:13", + "valueSize": 1 + }, + { + "declaration": 1735, + "isOffset": false, + "isSlot": false, + "src": "5711:9:13", + "valueSize": 1 + }, + { + "declaration": 1698, + "isOffset": false, + "isSlot": false, + "src": "5533:1:13", + "valueSize": 1 + }, + { + "declaration": 1700, + "isOffset": false, + "isSlot": false, + "src": "5536:1:13", + "valueSize": 1 + } + ], + "id": 1737, + "nodeType": "InlineAssembly", + "src": "5435:300:13" + }, + { + "assignments": [ + 1739 + ], + "declarations": [ + { + "constant": false, + "id": 1739, + "mutability": "mutable", + "name": "twos", + "nameLocation": "5947:4:13", + "nodeType": "VariableDeclaration", + "scope": 1819, + "src": "5939:12:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1738, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5939:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1746, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1745, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1740, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "5954:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1743, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "30", + "id": 1741, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5969:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 1742, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "5973:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5969:15:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1744, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5968:17:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5954:31:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5939:46:13" + }, + { + "AST": { + "nativeSrc": "6008:362:13", + "nodeType": "YulBlock", + "src": "6008:362:13", + "statements": [ + { + "nativeSrc": "6073:37:13", + "nodeType": "YulAssignment", + "src": "6073:37:13", + "value": { + "arguments": [ + { + "name": "denominator", + "nativeSrc": "6092:11:13", + "nodeType": "YulIdentifier", + "src": "6092:11:13" + }, + { + "name": "twos", + "nativeSrc": "6105:4:13", + "nodeType": "YulIdentifier", + "src": "6105:4:13" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "6088:3:13", + "nodeType": "YulIdentifier", + "src": "6088:3:13" + }, + "nativeSrc": "6088:22:13", + "nodeType": "YulFunctionCall", + "src": "6088:22:13" + }, + "variableNames": [ + { + "name": "denominator", + "nativeSrc": "6073:11:13", + "nodeType": "YulIdentifier", + "src": "6073:11:13" + } + ] + }, + { + "nativeSrc": "6177:25:13", + "nodeType": "YulAssignment", + "src": "6177:25:13", + "value": { + "arguments": [ + { + "name": "prod0", + "nativeSrc": "6190:5:13", + "nodeType": "YulIdentifier", + "src": "6190:5:13" + }, + { + "name": "twos", + "nativeSrc": "6197:4:13", + "nodeType": "YulIdentifier", + "src": "6197:4:13" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "6186:3:13", + "nodeType": "YulIdentifier", + "src": "6186:3:13" + }, + "nativeSrc": "6186:16:13", + "nodeType": "YulFunctionCall", + "src": "6186:16:13" + }, + "variableNames": [ + { + "name": "prod0", + "nativeSrc": "6177:5:13", + "nodeType": "YulIdentifier", + "src": "6177:5:13" + } + ] + }, + { + "nativeSrc": "6317:39:13", + "nodeType": "YulAssignment", + "src": "6317:39:13", + "value": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "6337:1:13", + "nodeType": "YulLiteral", + "src": "6337:1:13", + "type": "", + "value": "0" + }, + { + "name": "twos", + "nativeSrc": "6340:4:13", + "nodeType": "YulIdentifier", + "src": "6340:4:13" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "6333:3:13", + "nodeType": "YulIdentifier", + "src": "6333:3:13" + }, + "nativeSrc": "6333:12:13", + "nodeType": "YulFunctionCall", + "src": "6333:12:13" + }, + { + "name": "twos", + "nativeSrc": "6347:4:13", + "nodeType": "YulIdentifier", + "src": "6347:4:13" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "6329:3:13", + "nodeType": "YulIdentifier", + "src": "6329:3:13" + }, + "nativeSrc": "6329:23:13", + "nodeType": "YulFunctionCall", + "src": "6329:23:13" + }, + { + "kind": "number", + "nativeSrc": "6354:1:13", + "nodeType": "YulLiteral", + "src": "6354:1:13", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6325:3:13", + "nodeType": "YulIdentifier", + "src": "6325:3:13" + }, + "nativeSrc": "6325:31:13", + "nodeType": "YulFunctionCall", + "src": "6325:31:13" + }, + "variableNames": [ + { + "name": "twos", + "nativeSrc": "6317:4:13", + "nodeType": "YulIdentifier", + "src": "6317:4:13" + } + ] + } + ] + }, + "evmVersion": "paris", + "externalReferences": [ + { + "declaration": 1702, + "isOffset": false, + "isSlot": false, + "src": "6073:11:13", + "valueSize": 1 + }, + { + "declaration": 1702, + "isOffset": false, + "isSlot": false, + "src": "6092:11:13", + "valueSize": 1 + }, + { + "declaration": 1708, + "isOffset": false, + "isSlot": false, + "src": "6177:5:13", + "valueSize": 1 + }, + { + "declaration": 1708, + "isOffset": false, + "isSlot": false, + "src": "6190:5:13", + "valueSize": 1 + }, + { + "declaration": 1739, + "isOffset": false, + "isSlot": false, + "src": "6105:4:13", + "valueSize": 1 + }, + { + "declaration": 1739, + "isOffset": false, + "isSlot": false, + "src": "6197:4:13", + "valueSize": 1 + }, + { + "declaration": 1739, + "isOffset": false, + "isSlot": false, + "src": "6317:4:13", + "valueSize": 1 + }, + { + "declaration": 1739, + "isOffset": false, + "isSlot": false, + "src": "6340:4:13", + "valueSize": 1 + }, + { + "declaration": 1739, + "isOffset": false, + "isSlot": false, + "src": "6347:4:13", + "valueSize": 1 + } + ], + "id": 1747, + "nodeType": "InlineAssembly", + "src": "5999:371:13" + }, + { + "expression": { + "id": 1752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1748, + "name": "prod0", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "6436:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "|=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1749, + "name": "prod1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1714, + "src": "6445:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1750, + "name": "twos", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "6453:4:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6445:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6436:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1753, + "nodeType": "ExpressionStatement", + "src": "6436:21:13" + }, + { + "assignments": [ + 1755 + ], + "declarations": [ + { + "constant": false, + "id": 1755, + "mutability": "mutable", + "name": "inverse", + "nameLocation": "6783:7:13", + "nodeType": "VariableDeclaration", + "scope": 1819, + "src": "6775:15:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1754, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "6775:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1762, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1758, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "33", + "id": 1756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6794:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1757, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "6798:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6794:15:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1759, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6793:17:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "^", + "rightExpression": { + "hexValue": "32", + "id": 1760, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6813:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "6793:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6775:39:13" + }, + { + "expression": { + "id": 1769, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1763, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7031:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "*=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1768, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7042:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1767, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1765, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "7046:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1766, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7060:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7046:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7042:25:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7031:36:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1770, + "nodeType": "ExpressionStatement", + "src": "7031:36:13" + }, + { + "expression": { + "id": 1777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1771, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7100:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "*=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1776, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1772, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7111:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1775, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1773, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "7115:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1774, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7129:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7115:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7111:25:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7100:36:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1778, + "nodeType": "ExpressionStatement", + "src": "7100:36:13" + }, + { + "expression": { + "id": 1785, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1779, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7170:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "*=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1784, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1780, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7181:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1781, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "7185:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1782, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7199:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7185:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7181:25:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7170:36:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1786, + "nodeType": "ExpressionStatement", + "src": "7170:36:13" + }, + { + "expression": { + "id": 1793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1787, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7240:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "*=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1792, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1788, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7251:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1791, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1789, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "7255:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1790, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7269:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7255:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7251:25:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7240:36:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1794, + "nodeType": "ExpressionStatement", + "src": "7240:36:13" + }, + { + "expression": { + "id": 1801, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1795, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7310:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "*=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1796, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7321:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1799, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1797, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "7325:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1798, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7339:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7325:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7321:25:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7310:36:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1802, + "nodeType": "ExpressionStatement", + "src": "7310:36:13" + }, + { + "expression": { + "id": 1809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1803, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7381:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "*=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1808, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1804, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7392:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1805, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1702, + "src": "7396:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1806, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7410:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7396:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7392:25:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7381:36:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1810, + "nodeType": "ExpressionStatement", + "src": "7381:36:13" + }, + { + "expression": { + "id": 1815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1811, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1705, + "src": "7851:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1812, + "name": "prod0", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "7860:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1813, + "name": "inverse", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1755, + "src": "7868:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7860:15:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7851:24:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1816, + "nodeType": "ExpressionStatement", + "src": "7851:24:13" + }, + { + "expression": { + "id": 1817, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1705, + "src": "7896:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1706, + "id": 1818, + "nodeType": "Return", + "src": "7889:13:13" + } + ] + } + ] + }, + "documentation": { + "id": 1696, + "nodeType": "StructuredDocumentation", + "src": "3485:313:13", + "text": " @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n denominator == 0.\n @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n Uniswap Labs also under MIT license." + }, + "id": 1821, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "mulDiv", + "nameLocation": "3812:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1703, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1698, + "mutability": "mutable", + "name": "x", + "nameLocation": "3827:1:13", + "nodeType": "VariableDeclaration", + "scope": 1821, + "src": "3819:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1697, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3819:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1700, + "mutability": "mutable", + "name": "y", + "nameLocation": "3838:1:13", + "nodeType": "VariableDeclaration", + "scope": 1821, + "src": "3830:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1699, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3830:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1702, + "mutability": "mutable", + "name": "denominator", + "nameLocation": "3849:11:13", + "nodeType": "VariableDeclaration", + "scope": 1821, + "src": "3841:19:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1701, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3841:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3818:43:13" + }, + "returnParameters": { + "id": 1706, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1705, + "mutability": "mutable", + "name": "result", + "nameLocation": "3893:6:13", + "nodeType": "VariableDeclaration", + "scope": 1821, + "src": "3885:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1704, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3885:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3884:16:13" + }, + "scope": 2487, + "src": "3803:4116:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1863, + "nodeType": "Block", + "src": "8161:192:13", + "statements": [ + { + "assignments": [ + 1837 + ], + "declarations": [ + { + "constant": false, + "id": 1837, + "mutability": "mutable", + "name": "result", + "nameLocation": "8179:6:13", + "nodeType": "VariableDeclaration", + "scope": 1863, + "src": "8171:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1836, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8171:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1843, + "initialValue": { + "arguments": [ + { + "id": 1839, + "name": "x", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1824, + "src": "8195:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1840, + "name": "y", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1826, + "src": "8198:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1841, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1828, + "src": "8201:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1838, + "name": "mulDiv", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1821, + 1864 + ], + "referencedDeclaration": 1821, + "src": "8188:6:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" + } + }, + "id": 1842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8188:25:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8171:42:13" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 1854, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 1845, + "name": "rounding", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1831, + "src": "8244:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + ], + "id": 1844, + "name": "unsignedRoundsUp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2486, + "src": "8227:16:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_enum$_Rounding_$1444_$returns$_t_bool_$", + "typeString": "function (enum Math.Rounding) pure returns (bool)" + } + }, + "id": 1846, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8227:26:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 1848, + "name": "x", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1824, + "src": "8264:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1849, + "name": "y", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1826, + "src": "8267:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1850, + "name": "denominator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1828, + "src": "8270:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1847, + "name": "mulmod", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -16, + "src": "8257:6:13", + "typeDescriptions": { + "typeIdentifier": "t_function_mulmod_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256,uint256,uint256) pure returns (uint256)" + } + }, + "id": 1851, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8257:25:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 1852, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8285:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8257:29:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "8227:59:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1860, + "nodeType": "IfStatement", + "src": "8223:101:13", + "trueBody": { + "id": 1859, + "nodeType": "Block", + "src": "8288:36:13", + "statements": [ + { + "expression": { + "id": 1857, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1855, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1837, + "src": "8302:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "31", + "id": 1856, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8312:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8302:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1858, + "nodeType": "ExpressionStatement", + "src": "8302:11:13" + } + ] + } + }, + { + "expression": { + "id": 1861, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1837, + "src": "8340:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1835, + "id": 1862, + "nodeType": "Return", + "src": "8333:13:13" + } + ] + }, + "documentation": { + "id": 1822, + "nodeType": "StructuredDocumentation", + "src": "7925:121:13", + "text": " @notice Calculates x * y / denominator with full precision, following the selected rounding direction." + }, + "id": 1864, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "mulDiv", + "nameLocation": "8060:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1832, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1824, + "mutability": "mutable", + "name": "x", + "nameLocation": "8075:1:13", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "8067:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1823, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8067:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1826, + "mutability": "mutable", + "name": "y", + "nameLocation": "8086:1:13", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "8078:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1825, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8078:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1828, + "mutability": "mutable", + "name": "denominator", + "nameLocation": "8097:11:13", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "8089:19:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1827, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8089:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1831, + "mutability": "mutable", + "name": "rounding", + "nameLocation": "8119:8:13", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "8110:17:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + }, + "typeName": { + "id": 1830, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1829, + "name": "Rounding", + "nameLocations": [ + "8110:8:13" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1444, + "src": "8110:8:13" + }, + "referencedDeclaration": 1444, + "src": "8110:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + }, + "visibility": "internal" + } + ], + "src": "8066:62:13" + }, + "returnParameters": { + "id": 1835, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1834, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "8152:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1833, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8152:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8151:9:13" + }, + "scope": 2487, + "src": "8051:302:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1975, + "nodeType": "Block", + "src": "8644:1585:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1874, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1872, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "8658:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1873, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8663:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8658:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1878, + "nodeType": "IfStatement", + "src": "8654:45:13", + "trueBody": { + "id": 1877, + "nodeType": "Block", + "src": "8666:33:13", + "statements": [ + { + "expression": { + "hexValue": "30", + "id": 1875, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8687:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "functionReturnParameters": 1871, + "id": 1876, + "nodeType": "Return", + "src": "8680:8:13" + } + ] + } + }, + { + "assignments": [ + 1880 + ], + "declarations": [ + { + "constant": false, + "id": 1880, + "mutability": "mutable", + "name": "result", + "nameLocation": "9386:6:13", + "nodeType": "VariableDeclaration", + "scope": 1975, + "src": "9378:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1879, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "9378:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1889, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1888, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "31", + "id": 1881, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9395:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "nodeType": "BinaryOperation", + "operator": "<<", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 1883, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "9406:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1882, + "name": "log2", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 2143, + 2178 + ], + "referencedDeclaration": 2143, + "src": "9401:4:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256)" + } + }, + "id": 1884, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9401:7:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1885, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9412:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "9401:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1887, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "9400:14:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9395:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9378:36:13" + }, + { + "id": 1974, + "nodeType": "UncheckedBlock", + "src": "9815:408:13", + "statements": [ + { + "expression": { + "id": 1899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1890, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9839:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1898, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1891, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9849:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1894, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1892, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "9858:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1893, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9862:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9858:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9849:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1896, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "9848:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1897, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9873:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "9848:26:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9839:35:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1900, + "nodeType": "ExpressionStatement", + "src": "9839:35:13" + }, + { + "expression": { + "id": 1910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1901, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9888:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1906, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1902, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9898:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1905, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1903, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "9907:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1904, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9911:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9907:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9898:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1907, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "9897:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1908, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9922:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "9897:26:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9888:35:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1911, + "nodeType": "ExpressionStatement", + "src": "9888:35:13" + }, + { + "expression": { + "id": 1921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1912, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9937:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1920, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1917, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1913, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9947:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1914, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "9956:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1915, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9960:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9956:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9947:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1918, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "9946:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1919, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9971:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "9946:26:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9937:35:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1922, + "nodeType": "ExpressionStatement", + "src": "9937:35:13" + }, + { + "expression": { + "id": 1932, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1923, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9986:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1931, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1924, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "9996:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1927, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1925, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "10005:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1926, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10009:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10005:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9996:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1929, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "9995:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1930, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10020:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "9995:26:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9986:35:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1933, + "nodeType": "ExpressionStatement", + "src": "9986:35:13" + }, + { + "expression": { + "id": 1943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1934, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10035:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1942, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1939, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1935, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10045:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1936, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "10054:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1937, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10058:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10054:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10045:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1940, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10044:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1941, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10069:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "10044:26:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10035:35:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1944, + "nodeType": "ExpressionStatement", + "src": "10035:35:13" + }, + { + "expression": { + "id": 1954, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1945, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10084:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1953, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1950, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1946, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10094:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1949, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1947, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "10103:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1948, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10107:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10103:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10094:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1951, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10093:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1952, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10118:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "10093:26:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10084:35:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1955, + "nodeType": "ExpressionStatement", + "src": "10084:35:13" + }, + { + "expression": { + "id": 1965, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1956, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10133:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1961, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1957, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10143:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1960, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1958, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "10152:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1959, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10156:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10152:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10143:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1962, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10142:21:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 1963, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10167:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "10142:26:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10133:35:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1966, + "nodeType": "ExpressionStatement", + "src": "10133:35:13" + }, + { + "expression": { + "arguments": [ + { + "id": 1968, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10193:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1971, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1969, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1867, + "src": "10201:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 1970, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1880, + "src": "10205:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10201:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1967, + "name": "min", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1638, + "src": "10189:3:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256,uint256) pure returns (uint256)" + } + }, + "id": 1972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10189:23:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1871, + "id": 1973, + "nodeType": "Return", + "src": "10182:30:13" + } + ] + } + ] + }, + "documentation": { + "id": 1865, + "nodeType": "StructuredDocumentation", + "src": "8359:223:13", + "text": " @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n towards zero.\n Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11)." + }, + "id": 1976, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "sqrt", + "nameLocation": "8596:4:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1868, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1867, + "mutability": "mutable", + "name": "a", + "nameLocation": "8609:1:13", + "nodeType": "VariableDeclaration", + "scope": 1976, + "src": "8601:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1866, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8601:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8600:11:13" + }, + "returnParameters": { + "id": 1871, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1870, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1976, + "src": "8635:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1869, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8635:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8634:9:13" + }, + "scope": 2487, + "src": "8587:1642:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2010, + "nodeType": "Block", + "src": "10405:164:13", + "statements": [ + { + "id": 2009, + "nodeType": "UncheckedBlock", + "src": "10415:148:13", + "statements": [ + { + "assignments": [ + 1988 + ], + "declarations": [ + { + "constant": false, + "id": 1988, + "mutability": "mutable", + "name": "result", + "nameLocation": "10447:6:13", + "nodeType": "VariableDeclaration", + "scope": 2009, + "src": "10439:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1987, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10439:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1992, + "initialValue": { + "arguments": [ + { + "id": 1990, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1979, + "src": "10461:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1989, + "name": "sqrt", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1976, + 2011 + ], + "referencedDeclaration": 1976, + "src": "10456:4:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256)" + } + }, + "id": 1991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10456:7:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10439:24:13" + }, + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1993, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1988, + "src": "10484:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "components": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 2002, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 1995, + "name": "rounding", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1982, + "src": "10511:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + ], + "id": 1994, + "name": "unsignedRoundsUp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2486, + "src": "10494:16:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_enum$_Rounding_$1444_$returns$_t_bool_$", + "typeString": "function (enum Math.Rounding) pure returns (bool)" + } + }, + "id": 1996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10494:26:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1999, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1997, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1988, + "src": "10524:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1998, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1988, + "src": "10533:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10524:15:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 2000, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1979, + "src": "10542:1:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10524:19:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "10494:49:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "hexValue": "30", + "id": 2004, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10550:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "id": 2005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "10494:57:13", + "trueExpression": { + "hexValue": "31", + "id": 2003, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10546:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "id": 2006, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10493:59:13", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "src": "10484:68:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1986, + "id": 2008, + "nodeType": "Return", + "src": "10477:75:13" + } + ] + } + ] + }, + "documentation": { + "id": 1977, + "nodeType": "StructuredDocumentation", + "src": "10235:89:13", + "text": " @notice Calculates sqrt(a), following the selected rounding direction." + }, + "id": 2011, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "sqrt", + "nameLocation": "10338:4:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1983, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1979, + "mutability": "mutable", + "name": "a", + "nameLocation": "10351:1:13", + "nodeType": "VariableDeclaration", + "scope": 2011, + "src": "10343:9:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1978, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10343:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1982, + "mutability": "mutable", + "name": "rounding", + "nameLocation": "10363:8:13", + "nodeType": "VariableDeclaration", + "scope": 2011, + "src": "10354:17:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + }, + "typeName": { + "id": 1981, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1980, + "name": "Rounding", + "nameLocations": [ + "10354:8:13" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1444, + "src": "10354:8:13" + }, + "referencedDeclaration": 1444, + "src": "10354:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + }, + "visibility": "internal" + } + ], + "src": "10342:30:13" + }, + "returnParameters": { + "id": 1986, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1985, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2011, + "src": "10396:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1984, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10396:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10395:9:13" + }, + "scope": 2487, + "src": "10329:240:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2142, + "nodeType": "Block", + "src": "10760:922:13", + "statements": [ + { + "assignments": [ + 2020 + ], + "declarations": [ + { + "constant": false, + "id": 2020, + "mutability": "mutable", + "name": "result", + "nameLocation": "10778:6:13", + "nodeType": "VariableDeclaration", + "scope": 2142, + "src": "10770:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2019, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10770:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2022, + "initialValue": { + "hexValue": "30", + "id": 2021, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10787:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "10770:18:13" + }, + { + "id": 2139, + "nodeType": "UncheckedBlock", + "src": "10798:855:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2027, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2023, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "10826:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "313238", + "id": 2024, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10835:3:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_128_by_1", + "typeString": "int_const 128" + }, + "value": "128" + }, + "src": "10826:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2026, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10841:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "10826:16:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2037, + "nodeType": "IfStatement", + "src": "10822:99:13", + "trueBody": { + "id": 2036, + "nodeType": "Block", + "src": "10844:77:13", + "statements": [ + { + "expression": { + "id": 2030, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2028, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "10862:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "313238", + "id": 2029, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10872:3:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_128_by_1", + "typeString": "int_const 128" + }, + "value": "128" + }, + "src": "10862:13:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2031, + "nodeType": "ExpressionStatement", + "src": "10862:13:13" + }, + { + "expression": { + "id": 2034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2032, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "10893:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "313238", + "id": 2033, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10903:3:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_128_by_1", + "typeString": "int_const 128" + }, + "value": "128" + }, + "src": "10893:13:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2035, + "nodeType": "ExpressionStatement", + "src": "10893:13:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2042, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2040, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2038, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "10938:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "3634", + "id": 2039, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10947:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "10938:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2041, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10952:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "10938:15:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2052, + "nodeType": "IfStatement", + "src": "10934:96:13", + "trueBody": { + "id": 2051, + "nodeType": "Block", + "src": "10955:75:13", + "statements": [ + { + "expression": { + "id": 2045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2043, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "10973:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "3634", + "id": 2044, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10983:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "10973:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2046, + "nodeType": "ExpressionStatement", + "src": "10973:12:13" + }, + { + "expression": { + "id": 2049, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2047, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11003:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "3634", + "id": 2048, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11013:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "11003:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2050, + "nodeType": "ExpressionStatement", + "src": "11003:12:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2053, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11047:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "3332", + "id": 2054, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11056:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "11047:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2056, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11061:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "11047:15:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2067, + "nodeType": "IfStatement", + "src": "11043:96:13", + "trueBody": { + "id": 2066, + "nodeType": "Block", + "src": "11064:75:13", + "statements": [ + { + "expression": { + "id": 2060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2058, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11082:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "3332", + "id": 2059, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11092:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "11082:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2061, + "nodeType": "ExpressionStatement", + "src": "11082:12:13" + }, + { + "expression": { + "id": 2064, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2062, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11112:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "3332", + "id": 2063, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11122:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "11112:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2065, + "nodeType": "ExpressionStatement", + "src": "11112:12:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2070, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2068, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11156:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "3136", + "id": 2069, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11165:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "11156:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11170:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "11156:15:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2082, + "nodeType": "IfStatement", + "src": "11152:96:13", + "trueBody": { + "id": 2081, + "nodeType": "Block", + "src": "11173:75:13", + "statements": [ + { + "expression": { + "id": 2075, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2073, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11191:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "3136", + "id": 2074, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11201:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "11191:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2076, + "nodeType": "ExpressionStatement", + "src": "11191:12:13" + }, + { + "expression": { + "id": 2079, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2077, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11221:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "3136", + "id": 2078, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11231:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "11221:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2080, + "nodeType": "ExpressionStatement", + "src": "11221:12:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2087, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2083, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11265:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "38", + "id": 2084, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11274:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "11265:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2086, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11278:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "11265:14:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2097, + "nodeType": "IfStatement", + "src": "11261:93:13", + "trueBody": { + "id": 2096, + "nodeType": "Block", + "src": "11281:73:13", + "statements": [ + { + "expression": { + "id": 2090, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2088, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11299:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "38", + "id": 2089, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11309:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "11299:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2091, + "nodeType": "ExpressionStatement", + "src": "11299:11:13" + }, + { + "expression": { + "id": 2094, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2092, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11328:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "38", + "id": 2093, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11338:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "11328:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2095, + "nodeType": "ExpressionStatement", + "src": "11328:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2098, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11371:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "34", + "id": 2099, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11380:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "11371:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2101, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11384:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "11371:14:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2112, + "nodeType": "IfStatement", + "src": "11367:93:13", + "trueBody": { + "id": 2111, + "nodeType": "Block", + "src": "11387:73:13", + "statements": [ + { + "expression": { + "id": 2105, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2103, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11405:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "34", + "id": 2104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11415:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "11405:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2106, + "nodeType": "ExpressionStatement", + "src": "11405:11:13" + }, + { + "expression": { + "id": 2109, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2107, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11434:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "34", + "id": 2108, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11444:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "11434:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2110, + "nodeType": "ExpressionStatement", + "src": "11434:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2117, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2115, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2113, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11477:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "32", + "id": 2114, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11486:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "11477:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2116, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11490:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "11477:14:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2127, + "nodeType": "IfStatement", + "src": "11473:93:13", + "trueBody": { + "id": 2126, + "nodeType": "Block", + "src": "11493:73:13", + "statements": [ + { + "expression": { + "id": 2120, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2118, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11511:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "32", + "id": 2119, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11521:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "11511:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2121, + "nodeType": "ExpressionStatement", + "src": "11511:11:13" + }, + { + "expression": { + "id": 2124, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2122, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11540:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "32", + "id": 2123, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11550:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "11540:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2125, + "nodeType": "ExpressionStatement", + "src": "11540:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2132, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2128, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2014, + "src": "11583:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 2129, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11592:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "11583:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2131, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11596:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "11583:14:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2138, + "nodeType": "IfStatement", + "src": "11579:64:13", + "trueBody": { + "id": 2137, + "nodeType": "Block", + "src": "11599:44:13", + "statements": [ + { + "expression": { + "id": 2135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2133, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11617:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "31", + "id": 2134, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11627:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "11617:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2136, + "nodeType": "ExpressionStatement", + "src": "11617:11:13" + } + ] + } + } + ] + }, + { + "expression": { + "id": 2140, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2020, + "src": "11669:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 2018, + "id": 2141, + "nodeType": "Return", + "src": "11662:13:13" + } + ] + }, + "documentation": { + "id": 2012, + "nodeType": "StructuredDocumentation", + "src": "10575:119:13", + "text": " @dev Return the log in base 2 of a positive value rounded towards zero.\n Returns 0 if given 0." + }, + "id": 2143, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "log2", + "nameLocation": "10708:4:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2015, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2014, + "mutability": "mutable", + "name": "value", + "nameLocation": "10721:5:13", + "nodeType": "VariableDeclaration", + "scope": 2143, + "src": "10713:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2013, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10713:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10712:15:13" + }, + "returnParameters": { + "id": 2018, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2143, + "src": "10751:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2016, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10751:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10750:9:13" + }, + "scope": 2487, + "src": "10699:983:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2177, + "nodeType": "Block", + "src": "11915:168:13", + "statements": [ + { + "id": 2176, + "nodeType": "UncheckedBlock", + "src": "11925:152:13", + "statements": [ + { + "assignments": [ + 2155 + ], + "declarations": [ + { + "constant": false, + "id": 2155, + "mutability": "mutable", + "name": "result", + "nameLocation": "11957:6:13", + "nodeType": "VariableDeclaration", + "scope": 2176, + "src": "11949:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2154, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "11949:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2159, + "initialValue": { + "arguments": [ + { + "id": 2157, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2146, + "src": "11971:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2156, + "name": "log2", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 2143, + 2178 + ], + "referencedDeclaration": 2143, + "src": "11966:4:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256)" + } + }, + "id": 2158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11966:11:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11949:28:13" + }, + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2160, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2155, + "src": "11998:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "components": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 2169, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 2162, + "name": "rounding", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2149, + "src": "12025:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + ], + "id": 2161, + "name": "unsignedRoundsUp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2486, + "src": "12008:16:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_enum$_Rounding_$1444_$returns$_t_bool_$", + "typeString": "function (enum Math.Rounding) pure returns (bool)" + } + }, + "id": 2163, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "12008:26:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "31", + "id": 2164, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12038:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "nodeType": "BinaryOperation", + "operator": "<<", + "rightExpression": { + "id": 2165, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2155, + "src": "12043:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "12038:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 2167, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2146, + "src": "12052:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "12038:19:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "12008:49:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "hexValue": "30", + "id": 2171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12064:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "id": 2172, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "12008:57:13", + "trueExpression": { + "hexValue": "31", + "id": 2170, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12060:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "id": 2173, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "12007:59:13", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "src": "11998:68:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 2153, + "id": 2175, + "nodeType": "Return", + "src": "11991:75:13" + } + ] + } + ] + }, + "documentation": { + "id": 2144, + "nodeType": "StructuredDocumentation", + "src": "11688:142:13", + "text": " @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n Returns 0 if given 0." + }, + "id": 2178, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "log2", + "nameLocation": "11844:4:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2150, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2146, + "mutability": "mutable", + "name": "value", + "nameLocation": "11857:5:13", + "nodeType": "VariableDeclaration", + "scope": 2178, + "src": "11849:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2145, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "11849:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2149, + "mutability": "mutable", + "name": "rounding", + "nameLocation": "11873:8:13", + "nodeType": "VariableDeclaration", + "scope": 2178, + "src": "11864:17:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + }, + "typeName": { + "id": 2148, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 2147, + "name": "Rounding", + "nameLocations": [ + "11864:8:13" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1444, + "src": "11864:8:13" + }, + "referencedDeclaration": 1444, + "src": "11864:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + }, + "visibility": "internal" + } + ], + "src": "11848:34:13" + }, + "returnParameters": { + "id": 2153, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2152, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2178, + "src": "11906:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2151, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "11906:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "11905:9:13" + }, + "scope": 2487, + "src": "11835:248:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2306, + "nodeType": "Block", + "src": "12276:854:13", + "statements": [ + { + "assignments": [ + 2187 + ], + "declarations": [ + { + "constant": false, + "id": 2187, + "mutability": "mutable", + "name": "result", + "nameLocation": "12294:6:13", + "nodeType": "VariableDeclaration", + "scope": 2306, + "src": "12286:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2186, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "12286:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2189, + "initialValue": { + "hexValue": "30", + "id": 2188, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12303:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "12286:18:13" + }, + { + "id": 2303, + "nodeType": "UncheckedBlock", + "src": "12314:787:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2190, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12342:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(57 digits omitted)...0000" + }, + "id": 2193, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2191, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12351:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "3634", + "id": 2192, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12357:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "12351:8:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(57 digits omitted)...0000" + } + }, + "src": "12342:17:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2206, + "nodeType": "IfStatement", + "src": "12338:103:13", + "trueBody": { + "id": 2205, + "nodeType": "Block", + "src": "12361:80:13", + "statements": [ + { + "expression": { + "id": 2199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2195, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12379:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(57 digits omitted)...0000" + }, + "id": 2198, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2196, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12388:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "3634", + "id": 2197, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12394:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "12388:8:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(57 digits omitted)...0000" + } + }, + "src": "12379:17:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2200, + "nodeType": "ExpressionStatement", + "src": "12379:17:13" + }, + { + "expression": { + "id": 2203, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2201, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "12414:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "3634", + "id": 2202, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12424:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "12414:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2204, + "nodeType": "ExpressionStatement", + "src": "12414:12:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2207, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12458:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(25 digits omitted)...0000" + }, + "id": 2210, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12467:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "3332", + "id": 2209, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12473:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "12467:8:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(25 digits omitted)...0000" + } + }, + "src": "12458:17:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2223, + "nodeType": "IfStatement", + "src": "12454:103:13", + "trueBody": { + "id": 2222, + "nodeType": "Block", + "src": "12477:80:13", + "statements": [ + { + "expression": { + "id": 2216, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2212, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12495:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(25 digits omitted)...0000" + }, + "id": 2215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2213, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12504:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "3332", + "id": 2214, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12510:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "12504:8:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_100000000000000000000000000000000_by_1", + "typeString": "int_const 1000...(25 digits omitted)...0000" + } + }, + "src": "12495:17:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2217, + "nodeType": "ExpressionStatement", + "src": "12495:17:13" + }, + { + "expression": { + "id": 2220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2218, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "12530:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "3332", + "id": 2219, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12540:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "12530:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2221, + "nodeType": "ExpressionStatement", + "src": "12530:12:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2224, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12574:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_10000000000000000_by_1", + "typeString": "int_const 10000000000000000" + }, + "id": 2227, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2225, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12583:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "3136", + "id": 2226, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12589:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "12583:8:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10000000000000000_by_1", + "typeString": "int_const 10000000000000000" + } + }, + "src": "12574:17:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2240, + "nodeType": "IfStatement", + "src": "12570:103:13", + "trueBody": { + "id": 2239, + "nodeType": "Block", + "src": "12593:80:13", + "statements": [ + { + "expression": { + "id": 2233, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2229, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12611:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_rational_10000000000000000_by_1", + "typeString": "int_const 10000000000000000" + }, + "id": 2232, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12620:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "3136", + "id": 2231, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12626:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "12620:8:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10000000000000000_by_1", + "typeString": "int_const 10000000000000000" + } + }, + "src": "12611:17:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2234, + "nodeType": "ExpressionStatement", + "src": "12611:17:13" + }, + { + "expression": { + "id": 2237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2235, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "12646:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "3136", + "id": 2236, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12656:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "12646:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2238, + "nodeType": "ExpressionStatement", + "src": "12646:12:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2241, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12690:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_100000000_by_1", + "typeString": "int_const 100000000" + }, + "id": 2244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2242, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12699:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "38", + "id": 2243, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12705:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "12699:7:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_100000000_by_1", + "typeString": "int_const 100000000" + } + }, + "src": "12690:16:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2257, + "nodeType": "IfStatement", + "src": "12686:100:13", + "trueBody": { + "id": 2256, + "nodeType": "Block", + "src": "12708:78:13", + "statements": [ + { + "expression": { + "id": 2250, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2246, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12726:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_rational_100000000_by_1", + "typeString": "int_const 100000000" + }, + "id": 2249, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2247, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12735:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "38", + "id": 2248, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12741:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "12735:7:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_100000000_by_1", + "typeString": "int_const 100000000" + } + }, + "src": "12726:16:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2251, + "nodeType": "ExpressionStatement", + "src": "12726:16:13" + }, + { + "expression": { + "id": 2254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2252, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "12760:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "38", + "id": 2253, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12770:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "12760:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2255, + "nodeType": "ExpressionStatement", + "src": "12760:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2258, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12803:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_10000_by_1", + "typeString": "int_const 10000" + }, + "id": 2261, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2259, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12812:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "34", + "id": 2260, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12818:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "12812:7:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10000_by_1", + "typeString": "int_const 10000" + } + }, + "src": "12803:16:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2274, + "nodeType": "IfStatement", + "src": "12799:100:13", + "trueBody": { + "id": 2273, + "nodeType": "Block", + "src": "12821:78:13", + "statements": [ + { + "expression": { + "id": 2267, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2263, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12839:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_rational_10000_by_1", + "typeString": "int_const 10000" + }, + "id": 2266, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2264, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12848:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "34", + "id": 2265, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12854:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "12848:7:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10000_by_1", + "typeString": "int_const 10000" + } + }, + "src": "12839:16:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2268, + "nodeType": "ExpressionStatement", + "src": "12839:16:13" + }, + { + "expression": { + "id": 2271, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2269, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "12873:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "34", + "id": 2270, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12883:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "12873:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2272, + "nodeType": "ExpressionStatement", + "src": "12873:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2279, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2275, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12916:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_100_by_1", + "typeString": "int_const 100" + }, + "id": 2278, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2276, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12925:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "32", + "id": 2277, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12931:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "12925:7:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_100_by_1", + "typeString": "int_const 100" + } + }, + "src": "12916:16:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2291, + "nodeType": "IfStatement", + "src": "12912:100:13", + "trueBody": { + "id": 2290, + "nodeType": "Block", + "src": "12934:78:13", + "statements": [ + { + "expression": { + "id": 2284, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2280, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "12952:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_rational_100_by_1", + "typeString": "int_const 100" + }, + "id": 2283, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2281, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12961:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "32", + "id": 2282, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12967:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "12961:7:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_100_by_1", + "typeString": "int_const 100" + } + }, + "src": "12952:16:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2285, + "nodeType": "ExpressionStatement", + "src": "12952:16:13" + }, + { + "expression": { + "id": 2288, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2286, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "12986:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "32", + "id": 2287, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12996:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "12986:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2289, + "nodeType": "ExpressionStatement", + "src": "12986:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2296, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2292, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2181, + "src": "13029:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "id": 2295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2293, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13038:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "31", + "id": 2294, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13044:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "13038:7:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + } + }, + "src": "13029:16:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2302, + "nodeType": "IfStatement", + "src": "13025:66:13", + "trueBody": { + "id": 2301, + "nodeType": "Block", + "src": "13047:44:13", + "statements": [ + { + "expression": { + "id": 2299, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2297, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "13065:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "31", + "id": 2298, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13075:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "13065:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2300, + "nodeType": "ExpressionStatement", + "src": "13065:11:13" + } + ] + } + } + ] + }, + { + "expression": { + "id": 2304, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2187, + "src": "13117:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 2185, + "id": 2305, + "nodeType": "Return", + "src": "13110:13:13" + } + ] + }, + "documentation": { + "id": 2179, + "nodeType": "StructuredDocumentation", + "src": "12089:120:13", + "text": " @dev Return the log in base 10 of a positive value rounded towards zero.\n Returns 0 if given 0." + }, + "id": 2307, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "log10", + "nameLocation": "12223:5:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2182, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2181, + "mutability": "mutable", + "name": "value", + "nameLocation": "12237:5:13", + "nodeType": "VariableDeclaration", + "scope": 2307, + "src": "12229:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2180, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "12229:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "12228:15:13" + }, + "returnParameters": { + "id": 2185, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2184, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2307, + "src": "12267:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2183, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "12267:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "12266:9:13" + }, + "scope": 2487, + "src": "12214:916:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2341, + "nodeType": "Block", + "src": "13365:170:13", + "statements": [ + { + "id": 2340, + "nodeType": "UncheckedBlock", + "src": "13375:154:13", + "statements": [ + { + "assignments": [ + 2319 + ], + "declarations": [ + { + "constant": false, + "id": 2319, + "mutability": "mutable", + "name": "result", + "nameLocation": "13407:6:13", + "nodeType": "VariableDeclaration", + "scope": 2340, + "src": "13399:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2318, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13399:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2323, + "initialValue": { + "arguments": [ + { + "id": 2321, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2310, + "src": "13422:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2320, + "name": "log10", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 2307, + 2342 + ], + "referencedDeclaration": 2307, + "src": "13416:5:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256)" + } + }, + "id": 2322, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "13416:12:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "13399:29:13" + }, + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2338, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2324, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2319, + "src": "13449:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "components": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 2333, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 2326, + "name": "rounding", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2313, + "src": "13476:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + ], + "id": 2325, + "name": "unsignedRoundsUp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2486, + "src": "13459:16:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_enum$_Rounding_$1444_$returns$_t_bool_$", + "typeString": "function (enum Math.Rounding) pure returns (bool)" + } + }, + "id": 2327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "13459:26:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2332, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2330, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 2328, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13489:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "id": 2329, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2319, + "src": "13495:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "13489:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 2331, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2310, + "src": "13504:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "13489:20:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "13459:50:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "hexValue": "30", + "id": 2335, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13516:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "id": 2336, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "13459:58:13", + "trueExpression": { + "hexValue": "31", + "id": 2334, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13512:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "id": 2337, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "13458:60:13", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "src": "13449:69:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 2317, + "id": 2339, + "nodeType": "Return", + "src": "13442:76:13" + } + ] + } + ] + }, + "documentation": { + "id": 2308, + "nodeType": "StructuredDocumentation", + "src": "13136:143:13", + "text": " @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n Returns 0 if given 0." + }, + "id": 2342, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "log10", + "nameLocation": "13293:5:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2314, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2310, + "mutability": "mutable", + "name": "value", + "nameLocation": "13307:5:13", + "nodeType": "VariableDeclaration", + "scope": 2342, + "src": "13299:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2309, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13299:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2313, + "mutability": "mutable", + "name": "rounding", + "nameLocation": "13323:8:13", + "nodeType": "VariableDeclaration", + "scope": 2342, + "src": "13314:17:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + }, + "typeName": { + "id": 2312, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 2311, + "name": "Rounding", + "nameLocations": [ + "13314:8:13" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1444, + "src": "13314:8:13" + }, + "referencedDeclaration": 1444, + "src": "13314:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + }, + "visibility": "internal" + } + ], + "src": "13298:34:13" + }, + "returnParameters": { + "id": 2317, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2316, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2342, + "src": "13356:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2315, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13356:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "13355:9:13" + }, + "scope": 2487, + "src": "13284:251:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2428, + "nodeType": "Block", + "src": "13855:600:13", + "statements": [ + { + "assignments": [ + 2351 + ], + "declarations": [ + { + "constant": false, + "id": 2351, + "mutability": "mutable", + "name": "result", + "nameLocation": "13873:6:13", + "nodeType": "VariableDeclaration", + "scope": 2428, + "src": "13865:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2350, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13865:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2353, + "initialValue": { + "hexValue": "30", + "id": 2352, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13882:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "13865:18:13" + }, + { + "id": 2425, + "nodeType": "UncheckedBlock", + "src": "13893:533:13", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2358, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2356, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2354, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "13921:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "313238", + "id": 2355, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13930:3:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_128_by_1", + "typeString": "int_const 128" + }, + "value": "128" + }, + "src": "13921:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13936:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "13921:16:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2368, + "nodeType": "IfStatement", + "src": "13917:98:13", + "trueBody": { + "id": 2367, + "nodeType": "Block", + "src": "13939:76:13", + "statements": [ + { + "expression": { + "id": 2361, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2359, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "13957:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "313238", + "id": 2360, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13967:3:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_128_by_1", + "typeString": "int_const 128" + }, + "value": "128" + }, + "src": "13957:13:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2362, + "nodeType": "ExpressionStatement", + "src": "13957:13:13" + }, + { + "expression": { + "id": 2365, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2363, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2351, + "src": "13988:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "3136", + "id": 2364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13998:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "13988:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2366, + "nodeType": "ExpressionStatement", + "src": "13988:12:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2373, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2371, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2369, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "14032:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "3634", + "id": 2370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14041:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "14032:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2372, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14046:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "14032:15:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2383, + "nodeType": "IfStatement", + "src": "14028:95:13", + "trueBody": { + "id": 2382, + "nodeType": "Block", + "src": "14049:74:13", + "statements": [ + { + "expression": { + "id": 2376, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2374, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "14067:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "3634", + "id": 2375, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14077:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_64_by_1", + "typeString": "int_const 64" + }, + "value": "64" + }, + "src": "14067:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2377, + "nodeType": "ExpressionStatement", + "src": "14067:12:13" + }, + { + "expression": { + "id": 2380, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2378, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2351, + "src": "14097:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "38", + "id": 2379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14107:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "14097:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2381, + "nodeType": "ExpressionStatement", + "src": "14097:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2388, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2386, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2384, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "14140:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "3332", + "id": 2385, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14149:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "14140:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2387, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14154:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "14140:15:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2398, + "nodeType": "IfStatement", + "src": "14136:95:13", + "trueBody": { + "id": 2397, + "nodeType": "Block", + "src": "14157:74:13", + "statements": [ + { + "expression": { + "id": 2391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2389, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "14175:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "3332", + "id": 2390, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14185:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "14175:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2392, + "nodeType": "ExpressionStatement", + "src": "14175:12:13" + }, + { + "expression": { + "id": 2395, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2393, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2351, + "src": "14205:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "34", + "id": 2394, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14215:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "14205:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2396, + "nodeType": "ExpressionStatement", + "src": "14205:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2403, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2401, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2399, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "14248:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "3136", + "id": 2400, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14257:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "14248:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2402, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14262:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "14248:15:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2413, + "nodeType": "IfStatement", + "src": "14244:95:13", + "trueBody": { + "id": 2412, + "nodeType": "Block", + "src": "14265:74:13", + "statements": [ + { + "expression": { + "id": 2406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2404, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "14283:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "3136", + "id": 2405, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14293:2:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "14283:12:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2407, + "nodeType": "ExpressionStatement", + "src": "14283:12:13" + }, + { + "expression": { + "id": 2410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2408, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2351, + "src": "14313:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "32", + "id": 2409, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14323:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "14313:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2411, + "nodeType": "ExpressionStatement", + "src": "14313:11:13" + } + ] + } + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2418, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2416, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2414, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2345, + "src": "14356:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "38", + "id": 2415, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14365:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "14356:10:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 2417, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14369:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "14356:14:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2424, + "nodeType": "IfStatement", + "src": "14352:64:13", + "trueBody": { + "id": 2423, + "nodeType": "Block", + "src": "14372:44:13", + "statements": [ + { + "expression": { + "id": 2421, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2419, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2351, + "src": "14390:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "31", + "id": 2420, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14400:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "14390:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2422, + "nodeType": "ExpressionStatement", + "src": "14390:11:13" + } + ] + } + } + ] + }, + { + "expression": { + "id": 2426, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2351, + "src": "14442:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 2349, + "id": 2427, + "nodeType": "Return", + "src": "14435:13:13" + } + ] + }, + "documentation": { + "id": 2343, + "nodeType": "StructuredDocumentation", + "src": "13541:246:13", + "text": " @dev Return the log in base 256 of a positive value rounded towards zero.\n Returns 0 if given 0.\n Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string." + }, + "id": 2429, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "log256", + "nameLocation": "13801:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2346, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2345, + "mutability": "mutable", + "name": "value", + "nameLocation": "13816:5:13", + "nodeType": "VariableDeclaration", + "scope": 2429, + "src": "13808:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2344, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13808:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "13807:15:13" + }, + "returnParameters": { + "id": 2349, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2348, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2429, + "src": "13846:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2347, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13846:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "13845:9:13" + }, + "scope": 2487, + "src": "13792:663:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2466, + "nodeType": "Block", + "src": "14692:177:13", + "statements": [ + { + "id": 2465, + "nodeType": "UncheckedBlock", + "src": "14702:161:13", + "statements": [ + { + "assignments": [ + 2441 + ], + "declarations": [ + { + "constant": false, + "id": 2441, + "mutability": "mutable", + "name": "result", + "nameLocation": "14734:6:13", + "nodeType": "VariableDeclaration", + "scope": 2465, + "src": "14726:14:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2440, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14726:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2445, + "initialValue": { + "arguments": [ + { + "id": 2443, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2432, + "src": "14750:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2442, + "name": "log256", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 2429, + 2467 + ], + "referencedDeclaration": 2429, + "src": "14743:6:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256)" + } + }, + "id": 2444, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "14743:13:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "14726:30:13" + }, + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2463, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2446, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2441, + "src": "14777:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "components": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 2458, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 2448, + "name": "rounding", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2435, + "src": "14804:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + ], + "id": 2447, + "name": "unsignedRoundsUp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2486, + "src": "14787:16:13", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_enum$_Rounding_$1444_$returns$_t_bool_$", + "typeString": "function (enum Math.Rounding) pure returns (bool)" + } + }, + "id": 2449, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "14787:26:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2457, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2455, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "31", + "id": 2450, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14817:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "nodeType": "BinaryOperation", + "operator": "<<", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2453, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2451, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2441, + "src": "14823:6:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<<", + "rightExpression": { + "hexValue": "33", + "id": 2452, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14833:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "14823:11:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 2454, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "14822:13:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "14817:18:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 2456, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2432, + "src": "14838:5:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "14817:26:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "14787:56:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "hexValue": "30", + "id": 2460, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14850:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "id": 2461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "14787:64:13", + "trueExpression": { + "hexValue": "31", + "id": 2459, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "14846:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "id": 2462, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "14786:66:13", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "src": "14777:75:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 2439, + "id": 2464, + "nodeType": "Return", + "src": "14770:82:13" + } + ] + } + ] + }, + "documentation": { + "id": 2430, + "nodeType": "StructuredDocumentation", + "src": "14461:144:13", + "text": " @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n Returns 0 if given 0." + }, + "id": 2467, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "log256", + "nameLocation": "14619:6:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2436, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2432, + "mutability": "mutable", + "name": "value", + "nameLocation": "14634:5:13", + "nodeType": "VariableDeclaration", + "scope": 2467, + "src": "14626:13:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2431, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14626:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2435, + "mutability": "mutable", + "name": "rounding", + "nameLocation": "14650:8:13", + "nodeType": "VariableDeclaration", + "scope": 2467, + "src": "14641:17:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + }, + "typeName": { + "id": 2434, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 2433, + "name": "Rounding", + "nameLocations": [ + "14641:8:13" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1444, + "src": "14641:8:13" + }, + "referencedDeclaration": 1444, + "src": "14641:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + }, + "visibility": "internal" + } + ], + "src": "14625:34:13" + }, + "returnParameters": { + "id": 2439, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2438, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2467, + "src": "14683:7:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2437, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14683:7:13", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14682:9:13" + }, + "scope": 2487, + "src": "14610:259:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2485, + "nodeType": "Block", + "src": "15067:48:13", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "id": 2483, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "id": 2481, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 2478, + "name": "rounding", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2471, + "src": "15090:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + ], + "id": 2477, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "15084:5:13", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 2476, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "15084:5:13", + "typeDescriptions": {} + } + }, + "id": 2479, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "15084:15:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "hexValue": "32", + "id": 2480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "15102:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "15084:19:13", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "31", + "id": 2482, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "15107:1:13", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "15084:24:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 2475, + "id": 2484, + "nodeType": "Return", + "src": "15077:31:13" + } + ] + }, + "documentation": { + "id": 2468, + "nodeType": "StructuredDocumentation", + "src": "14875:113:13", + "text": " @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers." + }, + "id": 2486, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unsignedRoundsUp", + "nameLocation": "15002:16:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2472, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2471, + "mutability": "mutable", + "name": "rounding", + "nameLocation": "15028:8:13", + "nodeType": "VariableDeclaration", + "scope": 2486, + "src": "15019:17:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + }, + "typeName": { + "id": 2470, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 2469, + "name": "Rounding", + "nameLocations": [ + "15019:8:13" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 1444, + "src": "15019:8:13" + }, + "referencedDeclaration": 1444, + "src": "15019:8:13", + "typeDescriptions": { + "typeIdentifier": "t_enum$_Rounding_$1444", + "typeString": "enum Math.Rounding" + } + }, + "visibility": "internal" + } + ], + "src": "15018:19:13" + }, + "returnParameters": { + "id": 2475, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2474, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2486, + "src": "15061:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2473, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "15061:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "15060:6:13" + }, + "scope": 2487, + "src": "14993:122:13", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 2488, + "src": "203:14914:13", + "usedErrors": [ + 1439 + ], + "usedEvents": [] + } + ], + "src": "103:15015:13" + }, + "id": 13 + }, + "@openzeppelin/contracts/utils/math/SignedMath.sol": { + "ast": { + "absolutePath": "@openzeppelin/contracts/utils/math/SignedMath.sol", + "exportedSymbols": { + "SignedMath": [ + 2592 + ] + }, + "id": 2593, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2489, + "literals": [ + "solidity", + "^", + "0.8", + ".20" + ], + "nodeType": "PragmaDirective", + "src": "109:24:14" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "SignedMath", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 2490, + "nodeType": "StructuredDocumentation", + "src": "135:80:14", + "text": " @dev Standard signed math utilities missing in the Solidity language." + }, + "fullyImplemented": true, + "id": 2592, + "linearizedBaseContracts": [ + 2592 + ], + "name": "SignedMath", + "nameLocation": "224:10:14", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 2507, + "nodeType": "Block", + "src": "376:37:14", + "statements": [ + { + "expression": { + "condition": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2502, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2500, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2493, + "src": "393:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "id": 2501, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2495, + "src": "397:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "393:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "id": 2504, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2495, + "src": "405:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 2505, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "393:13:14", + "trueExpression": { + "id": 2503, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2493, + "src": "401:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "functionReturnParameters": 2499, + "id": 2506, + "nodeType": "Return", + "src": "386:20:14" + } + ] + }, + "documentation": { + "id": 2491, + "nodeType": "StructuredDocumentation", + "src": "241:66:14", + "text": " @dev Returns the largest of two signed numbers." + }, + "id": 2508, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "max", + "nameLocation": "321:3:14", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2496, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2493, + "mutability": "mutable", + "name": "a", + "nameLocation": "332:1:14", + "nodeType": "VariableDeclaration", + "scope": 2508, + "src": "325:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2492, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "325:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2495, + "mutability": "mutable", + "name": "b", + "nameLocation": "342:1:14", + "nodeType": "VariableDeclaration", + "scope": 2508, + "src": "335:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2494, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "335:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "324:20:14" + }, + "returnParameters": { + "id": 2499, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2498, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2508, + "src": "368:6:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2497, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "368:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "367:8:14" + }, + "scope": 2592, + "src": "312:101:14", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2525, + "nodeType": "Block", + "src": "555:37:14", + "statements": [ + { + "expression": { + "condition": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2518, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2511, + "src": "572:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 2519, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2513, + "src": "576:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "572:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "id": 2522, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2513, + "src": "584:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 2523, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "572:13:14", + "trueExpression": { + "id": 2521, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2511, + "src": "580:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "functionReturnParameters": 2517, + "id": 2524, + "nodeType": "Return", + "src": "565:20:14" + } + ] + }, + "documentation": { + "id": 2509, + "nodeType": "StructuredDocumentation", + "src": "419:67:14", + "text": " @dev Returns the smallest of two signed numbers." + }, + "id": 2526, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "min", + "nameLocation": "500:3:14", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2514, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2511, + "mutability": "mutable", + "name": "a", + "nameLocation": "511:1:14", + "nodeType": "VariableDeclaration", + "scope": 2526, + "src": "504:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2510, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "504:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2513, + "mutability": "mutable", + "name": "b", + "nameLocation": "521:1:14", + "nodeType": "VariableDeclaration", + "scope": 2526, + "src": "514:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2512, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "514:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "503:20:14" + }, + "returnParameters": { + "id": 2517, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2516, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2526, + "src": "547:6:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2515, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "547:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "546:8:14" + }, + "scope": 2592, + "src": "491:101:14", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2569, + "nodeType": "Block", + "src": "797:162:14", + "statements": [ + { + "assignments": [ + 2537 + ], + "declarations": [ + { + "constant": false, + "id": 2537, + "mutability": "mutable", + "name": "x", + "nameLocation": "866:1:14", + "nodeType": "VariableDeclaration", + "scope": 2569, + "src": "859:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2536, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "859:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "id": 2550, + "initialValue": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2540, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2538, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2529, + "src": "871:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "id": 2539, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2531, + "src": "875:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "871:5:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 2541, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "870:7:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2547, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2544, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2542, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2529, + "src": "882:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "^", + "rightExpression": { + "id": 2543, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2531, + "src": "886:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "882:5:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 2545, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "881:7:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "31", + "id": 2546, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "892:1:14", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "881:12:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 2548, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "880:14:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "870:24:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "859:35:14" + }, + { + "expression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2567, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2551, + "name": "x", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2537, + "src": "911:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2565, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2559, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 2556, + "name": "x", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2537, + "src": "931:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + ], + "id": 2555, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "923:7:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 2554, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "923:7:14", + "typeDescriptions": {} + } + }, + "id": 2557, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "923:10:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">>", + "rightExpression": { + "hexValue": "323535", + "id": 2558, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "937:3:14", + "typeDescriptions": { + "typeIdentifier": "t_rational_255_by_1", + "typeString": "int_const 255" + }, + "value": "255" + }, + "src": "923:17:14", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2553, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "916:6:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_int256_$", + "typeString": "type(int256)" + }, + "typeName": { + "id": 2552, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "916:6:14", + "typeDescriptions": {} + } + }, + "id": 2560, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "916:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2563, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2561, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2529, + "src": "945:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "^", + "rightExpression": { + "id": 2562, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2531, + "src": "949:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "945:5:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 2564, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "944:7:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "916:35:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 2566, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "915:37:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "911:41:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "functionReturnParameters": 2535, + "id": 2568, + "nodeType": "Return", + "src": "904:48:14" + } + ] + }, + "documentation": { + "id": 2527, + "nodeType": "StructuredDocumentation", + "src": "598:126:14", + "text": " @dev Returns the average of two signed numbers without overflow.\n The result is rounded towards zero." + }, + "id": 2570, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "average", + "nameLocation": "738:7:14", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2532, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2529, + "mutability": "mutable", + "name": "a", + "nameLocation": "753:1:14", + "nodeType": "VariableDeclaration", + "scope": 2570, + "src": "746:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2528, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "746:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2531, + "mutability": "mutable", + "name": "b", + "nameLocation": "763:1:14", + "nodeType": "VariableDeclaration", + "scope": 2570, + "src": "756:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2530, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "756:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "745:20:14" + }, + "returnParameters": { + "id": 2535, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2534, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2570, + "src": "789:6:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2533, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "789:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "788:8:14" + }, + "scope": 2592, + "src": "729:230:14", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2590, + "nodeType": "Block", + "src": "1103:158:14", + "statements": [ + { + "id": 2589, + "nodeType": "UncheckedBlock", + "src": "1113:142:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 2582, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2580, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2573, + "src": "1228:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "hexValue": "30", + "id": 2581, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1233:1:14", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1228:6:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseExpression": { + "id": 2585, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "-", + "prefix": true, + "src": "1241:2:14", + "subExpression": { + "id": 2584, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2573, + "src": "1242:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 2586, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "Conditional", + "src": "1228:15:14", + "trueExpression": { + "id": 2583, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2573, + "src": "1237:1:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + ], + "id": 2579, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1220:7:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 2578, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1220:7:14", + "typeDescriptions": {} + } + }, + "id": 2587, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1220:24:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 2577, + "id": 2588, + "nodeType": "Return", + "src": "1213:31:14" + } + ] + } + ] + }, + "documentation": { + "id": 2571, + "nodeType": "StructuredDocumentation", + "src": "965:78:14", + "text": " @dev Returns the absolute unsigned value of a signed value." + }, + "id": 2591, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "abs", + "nameLocation": "1057:3:14", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2574, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2573, + "mutability": "mutable", + "name": "n", + "nameLocation": "1068:1:14", + "nodeType": "VariableDeclaration", + "scope": 2591, + "src": "1061:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 2572, + "name": "int256", + "nodeType": "ElementaryTypeName", + "src": "1061:6:14", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "src": "1060:10:14" + }, + "returnParameters": { + "id": 2577, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2576, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2591, + "src": "1094:7:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2575, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1094:7:14", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1093:9:14" + }, + "scope": 2592, + "src": "1048:213:14", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 2593, + "src": "216:1047:14", + "usedErrors": [], + "usedEvents": [] + } + ], + "src": "109:1155:14" + }, + "id": 14 + }, + "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol": { + "ast": { + "absolutePath": "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol", + "exportedSymbols": { + "IPublicLockV13": [ + 3244 + ] + }, + "id": 3245, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2594, + "literals": [ + "solidity", + ">=", + "0.5", + ".17", + "<", + "0.9", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "32:32:15" + }, + { + "id": 2595, + "literals": [ + "experimental", + "ABIEncoderV2" + ], + "nodeType": "PragmaDirective", + "src": "65:33:15" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IPublicLockV13", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 2596, + "nodeType": "StructuredDocumentation", + "src": "100:42:15", + "text": " @title The PublicLock Interface" + }, + "fullyImplemented": false, + "id": 3244, + "linearizedBaseContracts": [ + 3244 + ], + "name": "IPublicLockV13", + "nameLocation": "154:14:15", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 2597, + "nodeType": "StructuredDocumentation", + "src": "173:13:15", + "text": "Functions" + }, + "functionSelector": "6eadde43", + "id": 2612, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "initialize", + "nameLocation": "198:10:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2610, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2599, + "mutability": "mutable", + "name": "_lockCreator", + "nameLocation": "222:12:15", + "nodeType": "VariableDeclaration", + "scope": 2612, + "src": "214:20:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2598, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "214:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2601, + "mutability": "mutable", + "name": "_expirationDuration", + "nameLocation": "245:19:15", + "nodeType": "VariableDeclaration", + "scope": 2612, + "src": "240:24:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2600, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "240:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2603, + "mutability": "mutable", + "name": "_tokenAddress", + "nameLocation": "278:13:15", + "nodeType": "VariableDeclaration", + "scope": 2612, + "src": "270:21:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2602, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "270:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2605, + "mutability": "mutable", + "name": "_keyPrice", + "nameLocation": "302:9:15", + "nodeType": "VariableDeclaration", + "scope": 2612, + "src": "297:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2604, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "297:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2607, + "mutability": "mutable", + "name": "_maxNumberOfKeys", + "nameLocation": "322:16:15", + "nodeType": "VariableDeclaration", + "scope": 2612, + "src": "317:21:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2606, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "317:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2609, + "mutability": "mutable", + "name": "_lockName", + "nameLocation": "360:9:15", + "nodeType": "VariableDeclaration", + "scope": 2612, + "src": "344:25:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_string_calldata_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2608, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "344:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "208:165:15" + }, + "returnParameters": { + "id": 2611, + "nodeType": "ParameterList", + "parameters": [], + "src": "382:0:15" + }, + "scope": 3244, + "src": "189:194:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "a217fddf", + "id": 2617, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "DEFAULT_ADMIN_ROLE", + "nameLocation": "432:18:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2613, + "nodeType": "ParameterList", + "parameters": [], + "src": "450:2:15" + }, + "returnParameters": { + "id": 2616, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2615, + "mutability": "mutable", + "name": "role", + "nameLocation": "484:4:15", + "nodeType": "VariableDeclaration", + "scope": 2617, + "src": "476:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 2614, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "476:7:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "475:14:15" + }, + "scope": 3244, + "src": "423:67:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2618, + "nodeType": "StructuredDocumentation", + "src": "494:129:15", + "text": " @notice The version number of the current implementation on this network.\n @return The current version number." + }, + "functionSelector": "d1bbd49c", + "id": 2623, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "publicLockVersion", + "nameLocation": "635:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2619, + "nodeType": "ParameterList", + "parameters": [], + "src": "652:2:15" + }, + "returnParameters": { + "id": 2622, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2621, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2623, + "src": "678:6:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint16", + "typeString": "uint16" + }, + "typeName": { + "id": 2620, + "name": "uint16", + "nodeType": "ElementaryTypeName", + "src": "678:6:15", + "typeDescriptions": { + "typeIdentifier": "t_uint16", + "typeString": "uint16" + } + }, + "visibility": "internal" + } + ], + "src": "677:8:15" + }, + "scope": 3244, + "src": "626:60:15", + "stateMutability": "pure", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2624, + "nodeType": "StructuredDocumentation", + "src": "690:577:15", + "text": " @dev Called by lock manager to withdraw all funds from the lock\n @param _tokenAddress specifies the token address to withdraw or 0 for ETH. This is usually\n the same as `tokenAddress` in MixinFunds.\n @param _recipient specifies the address that will receive the tokens\n @param _amount specifies the max amount to withdraw, which may be reduced when\n considering the available balance. Set to 0 or MAX_UINT to withdraw everything.\n -- however be wary of draining funds as it breaks the `cancelAndRefund` and `expireAndRefundFor` use cases." + }, + "functionSelector": "d9caed12", + "id": 2633, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "withdraw", + "nameLocation": "1279:8:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2631, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2626, + "mutability": "mutable", + "name": "_tokenAddress", + "nameLocation": "1301:13:15", + "nodeType": "VariableDeclaration", + "scope": 2633, + "src": "1293:21:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2625, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1293:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2628, + "mutability": "mutable", + "name": "_recipient", + "nameLocation": "1336:10:15", + "nodeType": "VariableDeclaration", + "scope": 2633, + "src": "1320:26:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 2627, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1320:15:15", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2630, + "mutability": "mutable", + "name": "_amount", + "nameLocation": "1357:7:15", + "nodeType": "VariableDeclaration", + "scope": 2633, + "src": "1352:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2629, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1352:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1287:81:15" + }, + "returnParameters": { + "id": 2632, + "nodeType": "ParameterList", + "parameters": [], + "src": "1377:0:15" + }, + "scope": 3244, + "src": "1270:108:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2634, + "nodeType": "StructuredDocumentation", + "src": "1382:418:15", + "text": " A function which lets a Lock manager of the lock to change the price for future purchases.\n @dev Throws if called by other than a Lock manager\n @dev Throws if lock has been disabled\n @dev Throws if _tokenAddress is not a valid token\n @param _keyPrice The new price to set for keys\n @param _tokenAddress The address of the erc20 token to use for pricing the keys,\n or 0 to use ETH" + }, + "functionSelector": "a2e4cd2e", + "id": 2641, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "updateKeyPricing", + "nameLocation": "1812:16:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2636, + "mutability": "mutable", + "name": "_keyPrice", + "nameLocation": "1834:9:15", + "nodeType": "VariableDeclaration", + "scope": 2641, + "src": "1829:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2635, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1829:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2638, + "mutability": "mutable", + "name": "_tokenAddress", + "nameLocation": "1853:13:15", + "nodeType": "VariableDeclaration", + "scope": 2641, + "src": "1845:21:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2637, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1845:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1828:39:15" + }, + "returnParameters": { + "id": 2640, + "nodeType": "ParameterList", + "parameters": [], + "src": "1876:0:15" + }, + "scope": 3244, + "src": "1803:74:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2642, + "nodeType": "StructuredDocumentation", + "src": "1881:712:15", + "text": " Update the main key properties for the entire lock:\n - default duration of each key\n - the maximum number of keys the lock can edit\n - the maximum number of keys a single address can hold\n @notice keys previously bought are unaffected by this changes in expiration duration (i.e.\n existing keys timestamps are not recalculated/updated)\n @param _newExpirationDuration the new amount of time for each key purchased or type(uint).max for a non-expiring key\n @param _maxKeysPerAcccount the maximum amount of key a single user can own\n @param _maxNumberOfKeys uint the maximum number of keys\n @dev _maxNumberOfKeys Can't be smaller than the existing supply" + }, + "functionSelector": "282478df", + "id": 2651, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "updateLockConfig", + "nameLocation": "2605:16:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2649, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2644, + "mutability": "mutable", + "name": "_newExpirationDuration", + "nameLocation": "2632:22:15", + "nodeType": "VariableDeclaration", + "scope": 2651, + "src": "2627:27:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2643, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2627:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2646, + "mutability": "mutable", + "name": "_maxNumberOfKeys", + "nameLocation": "2665:16:15", + "nodeType": "VariableDeclaration", + "scope": 2651, + "src": "2660:21:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2645, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2660:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2648, + "mutability": "mutable", + "name": "_maxKeysPerAcccount", + "nameLocation": "2692:19:15", + "nodeType": "VariableDeclaration", + "scope": 2651, + "src": "2687:24:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2647, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2687:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2621:94:15" + }, + "returnParameters": { + "id": 2650, + "nodeType": "ParameterList", + "parameters": [], + "src": "2724:0:15" + }, + "scope": 3244, + "src": "2596:129:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2652, + "nodeType": "StructuredDocumentation", + "src": "2729:103:15", + "text": " Checks if the user has a non-expired key.\n @param _user The address of the key owner" + }, + "functionSelector": "6d8ea5b4", + "id": 2659, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getHasValidKey", + "nameLocation": "2844:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2655, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2654, + "mutability": "mutable", + "name": "_user", + "nameLocation": "2867:5:15", + "nodeType": "VariableDeclaration", + "scope": 2659, + "src": "2859:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2653, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2859:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2858:15:15" + }, + "returnParameters": { + "id": 2658, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2657, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2659, + "src": "2897:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2656, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2897:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2896:6:15" + }, + "scope": 3244, + "src": "2835:68:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2660, + "nodeType": "StructuredDocumentation", + "src": "2907:190:15", + "text": " @dev Returns the key's ExpirationTimestamp field for a given owner.\n @param _tokenId the id of the key\n @dev Returns 0 if the owner has never owned a key for this lock" + }, + "functionSelector": "54b249fb", + "id": 2667, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "keyExpirationTimestampFor", + "nameLocation": "3109:25:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2663, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2662, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "3145:8:15", + "nodeType": "VariableDeclaration", + "scope": 2667, + "src": "3140:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2661, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3140:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3134:23:15" + }, + "returnParameters": { + "id": 2666, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2665, + "mutability": "mutable", + "name": "timestamp", + "nameLocation": "3186:9:15", + "nodeType": "VariableDeclaration", + "scope": 2667, + "src": "3181:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2664, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3181:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3180:16:15" + }, + "scope": 3244, + "src": "3100:97:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2668, + "nodeType": "StructuredDocumentation", + "src": "3201:147:15", + "text": " Public function which returns the total number of unique owners (both expired\n and valid). This may be larger than totalSupply." + }, + "functionSelector": "93fd1844", + "id": 2673, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "numberOfOwners", + "nameLocation": "3360:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2669, + "nodeType": "ParameterList", + "parameters": [], + "src": "3374:2:15" + }, + "returnParameters": { + "id": 2672, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2671, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2673, + "src": "3400:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2670, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3400:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3399:6:15" + }, + "scope": 3244, + "src": "3351:55:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2674, + "nodeType": "StructuredDocumentation", + "src": "3410:224:15", + "text": " Allows the Lock owner to assign\n @param _lockName a descriptive name for this Lock.\n @param _lockSymbol a Symbol for this Lock (default to KEY).\n @param _baseTokenURI the baseTokenURI for this Lock" + }, + "functionSelector": "d1b8759b", + "id": 2683, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setLockMetadata", + "nameLocation": "3646:15:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2681, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2676, + "mutability": "mutable", + "name": "_lockName", + "nameLocation": "3683:9:15", + "nodeType": "VariableDeclaration", + "scope": 2683, + "src": "3667:25:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_string_calldata_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2675, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3667:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2678, + "mutability": "mutable", + "name": "_lockSymbol", + "nameLocation": "3714:11:15", + "nodeType": "VariableDeclaration", + "scope": 2683, + "src": "3698:27:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_string_calldata_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2677, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3698:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2680, + "mutability": "mutable", + "name": "_baseTokenURI", + "nameLocation": "3747:13:15", + "nodeType": "VariableDeclaration", + "scope": 2683, + "src": "3731:29:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_string_calldata_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2679, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3731:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3661:103:15" + }, + "returnParameters": { + "id": 2682, + "nodeType": "ParameterList", + "parameters": [], + "src": "3773:0:15" + }, + "scope": 3244, + "src": "3637:137:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2684, + "nodeType": "StructuredDocumentation", + "src": "3778:91:15", + "text": " @dev Gets the token symbol\n @return string representing the token symbol" + }, + "functionSelector": "95d89b41", + "id": 2689, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "symbol", + "nameLocation": "3881:6:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2685, + "nodeType": "ParameterList", + "parameters": [], + "src": "3887:2:15" + }, + "returnParameters": { + "id": 2688, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2687, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2689, + "src": "3913:13:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2686, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3913:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3912:15:15" + }, + "scope": 3244, + "src": "3872:56:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2690, + "nodeType": "StructuredDocumentation", + "src": "3932:446:15", + "text": "@notice A distinct Uniform Resource Identifier (URI) for a given asset.\n @dev Throws if `_tokenId` is not a valid NFT. URIs are defined in RFC\n 3986. The URI may point to a JSON file that conforms to the \"ERC721\n Metadata JSON Schema\".\n https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\n @param _tokenId The tokenID we're inquiring about\n @return String representing the URI for the requested token" + }, + "functionSelector": "c87b56dd", + "id": 2697, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "tokenURI", + "nameLocation": "4390:8:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2693, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2692, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "4407:8:15", + "nodeType": "VariableDeclaration", + "scope": 2697, + "src": "4399:16:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2691, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4399:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4398:18:15" + }, + "returnParameters": { + "id": 2696, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2695, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2697, + "src": "4440:13:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2694, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4440:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "4439:15:15" + }, + "scope": 3244, + "src": "4381:74:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2698, + "nodeType": "StructuredDocumentation", + "src": "4459:651:15", + "text": " Allows a Lock manager to add or remove an event hook\n @param _onKeyPurchaseHook Hook called when the `purchase` function is called\n @param _onKeyCancelHook Hook called when the internal `_cancelAndRefund` function is called\n @param _onValidKeyHook Hook called to determine if the contract should overide the status for a given address\n @param _onTokenURIHook Hook called to generate a data URI used for NFT metadata\n @param _onKeyTransferHook Hook called when a key is transfered\n @param _onKeyExtendHook Hook called when a key is extended or renewed\n @param _onKeyGrantHook Hook called when a key is granted" + }, + "functionSelector": "74cac47d", + "id": 2715, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setEventHooks", + "nameLocation": "5122:13:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2713, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2700, + "mutability": "mutable", + "name": "_onKeyPurchaseHook", + "nameLocation": "5149:18:15", + "nodeType": "VariableDeclaration", + "scope": 2715, + "src": "5141:26:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2699, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5141:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2702, + "mutability": "mutable", + "name": "_onKeyCancelHook", + "nameLocation": "5181:16:15", + "nodeType": "VariableDeclaration", + "scope": 2715, + "src": "5173:24:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2701, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5173:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2704, + "mutability": "mutable", + "name": "_onValidKeyHook", + "nameLocation": "5211:15:15", + "nodeType": "VariableDeclaration", + "scope": 2715, + "src": "5203:23:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2703, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5203:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2706, + "mutability": "mutable", + "name": "_onTokenURIHook", + "nameLocation": "5240:15:15", + "nodeType": "VariableDeclaration", + "scope": 2715, + "src": "5232:23:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2705, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5232:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2708, + "mutability": "mutable", + "name": "_onKeyTransferHook", + "nameLocation": "5269:18:15", + "nodeType": "VariableDeclaration", + "scope": 2715, + "src": "5261:26:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2707, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5261:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2710, + "mutability": "mutable", + "name": "_onKeyExtendHook", + "nameLocation": "5301:16:15", + "nodeType": "VariableDeclaration", + "scope": 2715, + "src": "5293:24:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2709, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5293:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2712, + "mutability": "mutable", + "name": "_onKeyGrantHook", + "nameLocation": "5331:15:15", + "nodeType": "VariableDeclaration", + "scope": 2715, + "src": "5323:23:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2711, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5323:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5135:215:15" + }, + "returnParameters": { + "id": 2714, + "nodeType": "ParameterList", + "parameters": [], + "src": "5359:0:15" + }, + "scope": 3244, + "src": "5113:247:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2716, + "nodeType": "StructuredDocumentation", + "src": "5364:397:15", + "text": " Allows a Lock manager to give a collection of users a key with no charge.\n Each key may be assigned a different expiration date.\n @dev Throws if called by other than a Lock manager\n @param _recipients An array of receiving addresses\n @param _expirationTimestamps An array of expiration Timestamps for the keys being granted\n @return the ids of the granted tokens" + }, + "functionSelector": "81a3c943", + "id": 2731, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantKeys", + "nameLocation": "5773:9:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2719, + "mutability": "mutable", + "name": "_recipients", + "nameLocation": "5807:11:15", + "nodeType": "VariableDeclaration", + "scope": 2731, + "src": "5788:30:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 2717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5788:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 2718, + "nodeType": "ArrayTypeName", + "src": "5788:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2722, + "mutability": "mutable", + "name": "_expirationTimestamps", + "nameLocation": "5840:21:15", + "nodeType": "VariableDeclaration", + "scope": 2731, + "src": "5824:37:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 2720, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5824:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2721, + "nodeType": "ArrayTypeName", + "src": "5824:6:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2725, + "mutability": "mutable", + "name": "_keyManagers", + "nameLocation": "5886:12:15", + "nodeType": "VariableDeclaration", + "scope": 2731, + "src": "5867:31:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 2723, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5867:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 2724, + "nodeType": "ArrayTypeName", + "src": "5867:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "5782:120:15" + }, + "returnParameters": { + "id": 2730, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2729, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2731, + "src": "5921:16:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 2727, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5921:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2728, + "nodeType": "ArrayTypeName", + "src": "5921:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "visibility": "internal" + } + ], + "src": "5920:18:15" + }, + "scope": 3244, + "src": "5764:175:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2732, + "nodeType": "StructuredDocumentation", + "src": "5943:266:15", + "text": " Allows the Lock owner to extend an existing keys with no charge.\n @param _tokenId The id of the token to extend\n @param _duration The duration in secondes to add ot the key\n @dev set `_duration` to 0 to use the default duration of the lock" + }, + "functionSelector": "4cd38c1d", + "id": 2739, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantKeyExtension", + "nameLocation": "6221:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2737, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2734, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "6244:8:15", + "nodeType": "VariableDeclaration", + "scope": 2739, + "src": "6239:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2733, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6239:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2736, + "mutability": "mutable", + "name": "_duration", + "nameLocation": "6259:9:15", + "nodeType": "VariableDeclaration", + "scope": 2739, + "src": "6254:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2735, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6254:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6238:31:15" + }, + "returnParameters": { + "id": 2738, + "nodeType": "ParameterList", + "parameters": [], + "src": "6278:0:15" + }, + "scope": 3244, + "src": "6212:67:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2740, + "nodeType": "StructuredDocumentation", + "src": "6283:996:15", + "text": " @dev Purchase function\n @param _values array of tokens amount to pay for this purchase >= the current keyPrice - any applicable discount\n (_values is ignored when using ETH)\n @param _recipients array of addresses of the recipients of the purchased key\n @param _referrers array of addresses of the users making the referral\n @param _keyManagers optional array of addresses to grant managing rights to a specific address on creation\n @param _data array of arbitrary data populated by the front-end which initiated the sale\n @notice when called for an existing and non-expired key, the `_keyManager` param will be ignored\n @dev Setting _value to keyPrice exactly doubles as a security feature. That way if the lock owner increases the\n price while my transaction is pending I can't be charged more than I expected (only applicable to ERC-20 when more\n than keyPrice is approved for spending).\n @return tokenIds the ids of the created tokens" + }, + "functionSelector": "33818997", + "id": 2761, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "purchase", + "nameLocation": "7291:8:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2756, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2743, + "mutability": "mutable", + "name": "_values", + "nameLocation": "7324:7:15", + "nodeType": "VariableDeclaration", + "scope": 2761, + "src": "7305:26:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 2741, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "7305:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2742, + "nodeType": "ArrayTypeName", + "src": "7305:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2746, + "mutability": "mutable", + "name": "_recipients", + "nameLocation": "7356:11:15", + "nodeType": "VariableDeclaration", + "scope": 2761, + "src": "7337:30:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 2744, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7337:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 2745, + "nodeType": "ArrayTypeName", + "src": "7337:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2749, + "mutability": "mutable", + "name": "_referrers", + "nameLocation": "7392:10:15", + "nodeType": "VariableDeclaration", + "scope": 2761, + "src": "7373:29:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 2747, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7373:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 2748, + "nodeType": "ArrayTypeName", + "src": "7373:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2752, + "mutability": "mutable", + "name": "_keyManagers", + "nameLocation": "7427:12:15", + "nodeType": "VariableDeclaration", + "scope": 2761, + "src": "7408:31:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 2750, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7408:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 2751, + "nodeType": "ArrayTypeName", + "src": "7408:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2755, + "mutability": "mutable", + "name": "_data", + "nameLocation": "7462:5:15", + "nodeType": "VariableDeclaration", + "scope": 2761, + "src": "7445:22:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", + "typeString": "bytes[]" + }, + "typeName": { + "baseType": { + "id": 2753, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7445:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "id": 2754, + "nodeType": "ArrayTypeName", + "src": "7445:7:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", + "typeString": "bytes[]" + } + }, + "visibility": "internal" + } + ], + "src": "7299:172:15" + }, + "returnParameters": { + "id": 2760, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2759, + "mutability": "mutable", + "name": "tokenIds", + "nameLocation": "7515:8:15", + "nodeType": "VariableDeclaration", + "scope": 2761, + "src": "7498:25:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 2757, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "7498:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2758, + "nodeType": "ArrayTypeName", + "src": "7498:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "visibility": "internal" + } + ], + "src": "7497:27:15" + }, + "scope": 3244, + "src": "7282:243:15", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2762, + "nodeType": "StructuredDocumentation", + "src": "7529:497:15", + "text": " @dev Extend function\n @param _value the number of tokens to pay for this purchase >= the current keyPrice - any applicable discount\n (_value is ignored when using ETH)\n @param _tokenId the id of the key to extend\n @param _referrer address of the user making the referral\n @param _data arbitrary data populated by the front-end which initiated the sale\n @dev Throws if lock is disabled or key does not exist for _recipient. Throws if _recipient == address(0)." + }, + "functionSelector": "d813cc19", + "id": 2773, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "extend", + "nameLocation": "8038:6:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2771, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2764, + "mutability": "mutable", + "name": "_value", + "nameLocation": "8055:6:15", + "nodeType": "VariableDeclaration", + "scope": 2773, + "src": "8050:11:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2763, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8050:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2766, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "8072:8:15", + "nodeType": "VariableDeclaration", + "scope": 2773, + "src": "8067:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2765, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8067:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2768, + "mutability": "mutable", + "name": "_referrer", + "nameLocation": "8094:9:15", + "nodeType": "VariableDeclaration", + "scope": 2773, + "src": "8086:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2767, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8086:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2770, + "mutability": "mutable", + "name": "_data", + "nameLocation": "8124:5:15", + "nodeType": "VariableDeclaration", + "scope": 2773, + "src": "8109:20:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2769, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8109:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8044:89:15" + }, + "returnParameters": { + "id": 2772, + "nodeType": "ParameterList", + "parameters": [], + "src": "8150:0:15" + }, + "scope": 3244, + "src": "8029:122:15", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2774, + "nodeType": "StructuredDocumentation", + "src": "8155:249:15", + "text": " Returns the percentage of the keyPrice to be sent to the referrer (in basis points)\n @param _referrer the address of the referrer\n @return referrerFee the percentage of the keyPrice to be sent to the referrer (in basis points)" + }, + "functionSelector": "c23135dd", + "id": 2781, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "referrerFees", + "nameLocation": "8416:12:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2777, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2776, + "mutability": "mutable", + "name": "_referrer", + "nameLocation": "8442:9:15", + "nodeType": "VariableDeclaration", + "scope": 2781, + "src": "8434:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2775, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8434:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "8428:27:15" + }, + "returnParameters": { + "id": 2780, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2779, + "mutability": "mutable", + "name": "referrerFee", + "nameLocation": "8484:11:15", + "nodeType": "VariableDeclaration", + "scope": 2781, + "src": "8479:16:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2778, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8479:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8478:18:15" + }, + "scope": 3244, + "src": "8407:90:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2782, + "nodeType": "StructuredDocumentation", + "src": "8501:407:15", + "text": " Set a specific percentage of the keyPrice to be sent to the referrer while purchasing,\n extending or renewing a key.\n @param _referrer the address of the referrer\n @param _feeBasisPoint the percentage of the price to be used for this\n specific referrer (in basis points)\n @dev To send a fixed percentage of the key price to all referrers, sett a percentage to `address(0)`" + }, + "functionSelector": "debe2b0d", + "id": 2789, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setReferrerFee", + "nameLocation": "8920:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2787, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2784, + "mutability": "mutable", + "name": "_referrer", + "nameLocation": "8943:9:15", + "nodeType": "VariableDeclaration", + "scope": 2789, + "src": "8935:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2783, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8935:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2786, + "mutability": "mutable", + "name": "_feeBasisPoint", + "nameLocation": "8959:14:15", + "nodeType": "VariableDeclaration", + "scope": 2789, + "src": "8954:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2785, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8954:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8934:40:15" + }, + "returnParameters": { + "id": 2788, + "nodeType": "ParameterList", + "parameters": [], + "src": "8983:0:15" + }, + "scope": 3244, + "src": "8911:73:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2790, + "nodeType": "StructuredDocumentation", + "src": "8988:234:15", + "text": " Merge existing keys\n @param _tokenIdFrom the id of the token to substract time from\n @param _tokenIdTo the id of the destination token to add time\n @param _amount the amount of time to transfer (in seconds)" + }, + "functionSelector": "068208cd", + "id": 2799, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "mergeKeys", + "nameLocation": "9234:9:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2797, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2792, + "mutability": "mutable", + "name": "_tokenIdFrom", + "nameLocation": "9249:12:15", + "nodeType": "VariableDeclaration", + "scope": 2799, + "src": "9244:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2791, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9244:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2794, + "mutability": "mutable", + "name": "_tokenIdTo", + "nameLocation": "9268:10:15", + "nodeType": "VariableDeclaration", + "scope": 2799, + "src": "9263:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2793, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9263:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2796, + "mutability": "mutable", + "name": "_amount", + "nameLocation": "9285:7:15", + "nodeType": "VariableDeclaration", + "scope": 2799, + "src": "9280:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2795, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9280:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "9243:50:15" + }, + "returnParameters": { + "id": 2798, + "nodeType": "ParameterList", + "parameters": [], + "src": "9302:0:15" + }, + "scope": 3244, + "src": "9225:78:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2800, + "nodeType": "StructuredDocumentation", + "src": "9307:163:15", + "text": " Deactivate an existing key\n @param _tokenId the id of token to burn\n @notice the key will be expired and ownership records will be destroyed" + }, + "functionSelector": "42966c68", + "id": 2805, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "burn", + "nameLocation": "9482:4:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2803, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2802, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "9492:8:15", + "nodeType": "VariableDeclaration", + "scope": 2805, + "src": "9487:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2801, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9487:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "9486:15:15" + }, + "returnParameters": { + "id": 2804, + "nodeType": "ParameterList", + "parameters": [], + "src": "9510:0:15" + }, + "scope": 3244, + "src": "9473:38:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2806, + "nodeType": "StructuredDocumentation", + "src": "9515:147:15", + "text": " @param _gasRefundValue price in wei or token in smallest price unit\n @dev Set the value to be refunded to the sender on purchase" + }, + "functionSelector": "f5766b39", + "id": 2811, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setGasRefundValue", + "nameLocation": "9674:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2809, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2808, + "mutability": "mutable", + "name": "_gasRefundValue", + "nameLocation": "9700:15:15", + "nodeType": "VariableDeclaration", + "scope": 2811, + "src": "9692:23:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2807, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "9692:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "9691:25:15" + }, + "returnParameters": { + "id": 2810, + "nodeType": "ParameterList", + "parameters": [], + "src": "9725:0:15" + }, + "scope": 3244, + "src": "9665:61:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2812, + "nodeType": "StructuredDocumentation", + "src": "9730:150:15", + "text": " _gasRefundValue price in wei or token in smallest price unit\n @dev Returns the value/price to be refunded to the sender on purchase" + }, + "functionSelector": "6207a8da", + "id": 2817, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "gasRefundValue", + "nameLocation": "9892:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2813, + "nodeType": "ParameterList", + "parameters": [], + "src": "9906:2:15" + }, + "returnParameters": { + "id": 2816, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2815, + "mutability": "mutable", + "name": "_gasRefundValue", + "nameLocation": "9940:15:15", + "nodeType": "VariableDeclaration", + "scope": 2817, + "src": "9932:23:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2814, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "9932:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "9931:25:15" + }, + "scope": 3244, + "src": "9883:74:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2818, + "nodeType": "StructuredDocumentation", + "src": "9961:164:15", + "text": " @notice returns the minimum price paid for a purchase with these params.\n @dev this considers any discount from Unlock or the OnKeyPurchase hook." + }, + "functionSelector": "097ba333", + "id": 2829, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "purchasePriceFor", + "nameLocation": "10137:16:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2825, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2820, + "mutability": "mutable", + "name": "_recipient", + "nameLocation": "10167:10:15", + "nodeType": "VariableDeclaration", + "scope": 2829, + "src": "10159:18:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2819, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10159:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2822, + "mutability": "mutable", + "name": "_referrer", + "nameLocation": "10191:9:15", + "nodeType": "VariableDeclaration", + "scope": 2829, + "src": "10183:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2821, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10183:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2824, + "mutability": "mutable", + "name": "_data", + "nameLocation": "10221:5:15", + "nodeType": "VariableDeclaration", + "scope": 2829, + "src": "10206:20:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2823, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10206:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10153:77:15" + }, + "returnParameters": { + "id": 2828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2827, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2829, + "src": "10254:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2826, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "10254:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10253:6:15" + }, + "scope": 3244, + "src": "10128:132:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2830, + "nodeType": "StructuredDocumentation", + "src": "10264:220:15", + "text": " Allow a Lock manager to change the transfer fee.\n @dev Throws if called by other than a Lock manager\n @param _transferFeeBasisPoints The new transfer fee in basis-points(bps).\n Ex: 200 bps = 2%" + }, + "functionSelector": "8577a6d5", + "id": 2835, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "updateTransferFee", + "nameLocation": "10496:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2833, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2832, + "mutability": "mutable", + "name": "_transferFeeBasisPoints", + "nameLocation": "10519:23:15", + "nodeType": "VariableDeclaration", + "scope": 2835, + "src": "10514:28:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2831, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "10514:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10513:30:15" + }, + "returnParameters": { + "id": 2834, + "nodeType": "ParameterList", + "parameters": [], + "src": "10552:0:15" + }, + "scope": 3244, + "src": "10487:66:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2836, + "nodeType": "StructuredDocumentation", + "src": "10557:393:15", + "text": " Determines how much of a fee would need to be paid in order to\n transfer to another account. This is pro-rated so the fee goes\n down overtime.\n @dev Throws if _tokenId does not have a valid key\n @param _tokenId The id of the key check the transfer fee for.\n @param _time The amount of time to calculate the fee for.\n @return The transfer fee in seconds." + }, + "functionSelector": "b1a3b25d", + "id": 2845, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTransferFee", + "nameLocation": "10962:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2838, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "10987:8:15", + "nodeType": "VariableDeclaration", + "scope": 2845, + "src": "10982:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2837, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "10982:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2840, + "mutability": "mutable", + "name": "_time", + "nameLocation": "11006:5:15", + "nodeType": "VariableDeclaration", + "scope": 2845, + "src": "11001:10:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2839, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "11001:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10976:39:15" + }, + "returnParameters": { + "id": 2844, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2843, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2845, + "src": "11039:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2842, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "11039:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "11038:6:15" + }, + "scope": 3244, + "src": "10953:92:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2846, + "nodeType": "StructuredDocumentation", + "src": "11049:347:15", + "text": " @dev Invoked by a Lock manager to expire the user's key\n and perform a refund and cancellation of the key\n @param _tokenId The key id we wish to refund to\n @param _amount The amount to refund to the key-owner\n @dev Throws if called by other than a Lock manager\n @dev Throws if _keyOwner does not have a valid key" + }, + "functionSelector": "558b71e9", + "id": 2853, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "expireAndRefundFor", + "nameLocation": "11408:18:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2851, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2848, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "11432:8:15", + "nodeType": "VariableDeclaration", + "scope": 2853, + "src": "11427:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2847, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "11427:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2850, + "mutability": "mutable", + "name": "_amount", + "nameLocation": "11447:7:15", + "nodeType": "VariableDeclaration", + "scope": 2853, + "src": "11442:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2849, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "11442:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "11426:29:15" + }, + "returnParameters": { + "id": 2852, + "nodeType": "ParameterList", + "parameters": [], + "src": "11464:0:15" + }, + "scope": 3244, + "src": "11399:66:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2854, + "nodeType": "StructuredDocumentation", + "src": "11469:271:15", + "text": " @dev allows the key manager to expire a given tokenId\n and send a refund to the keyOwner based on the amount of time remaining.\n @param _tokenId The id of the key to cancel.\n @notice cancel is enabled with a 10% penalty by default on all Locks." + }, + "functionSelector": "d32bfb6c", + "id": 2859, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "cancelAndRefund", + "nameLocation": "11752:15:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2856, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "11773:8:15", + "nodeType": "VariableDeclaration", + "scope": 2859, + "src": "11768:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2855, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "11768:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "11767:15:15" + }, + "returnParameters": { + "id": 2858, + "nodeType": "ParameterList", + "parameters": [], + "src": "11791:0:15" + }, + "scope": 3244, + "src": "11743:49:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2860, + "nodeType": "StructuredDocumentation", + "src": "11796:277:15", + "text": " Allow a Lock manager to change the refund penalty.\n @dev Throws if called by other than a Lock manager\n @param _freeTrialLength The new duration of free trials for this lock\n @param _refundPenaltyBasisPoints The new refund penaly in basis-points(bps)" + }, + "functionSelector": "39f46986", + "id": 2867, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "updateRefundPenalty", + "nameLocation": "12085:19:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2865, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2862, + "mutability": "mutable", + "name": "_freeTrialLength", + "nameLocation": "12115:16:15", + "nodeType": "VariableDeclaration", + "scope": 2867, + "src": "12110:21:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2861, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "12110:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2864, + "mutability": "mutable", + "name": "_refundPenaltyBasisPoints", + "nameLocation": "12142:25:15", + "nodeType": "VariableDeclaration", + "scope": 2867, + "src": "12137:30:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2863, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "12137:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "12104:67:15" + }, + "returnParameters": { + "id": 2866, + "nodeType": "ParameterList", + "parameters": [], + "src": "12180:0:15" + }, + "scope": 3244, + "src": "12076:105:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2868, + "nodeType": "StructuredDocumentation", + "src": "12185:349:15", + "text": " @dev Determines how much of a refund a key owner would receive if they issued\n @param _tokenId the id of the token to get the refund value for.\n @notice Due to the time required to mine a tx, the actual refund amount will be lower\n than what the user reads from this call.\n @return refund the amount of tokens refunded" + }, + "functionSelector": "92ac98a5", + "id": 2875, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getCancelAndRefundValue", + "nameLocation": "12546:23:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2871, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2870, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "12580:8:15", + "nodeType": "VariableDeclaration", + "scope": 2875, + "src": "12575:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2869, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "12575:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "12569:23:15" + }, + "returnParameters": { + "id": 2874, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2873, + "mutability": "mutable", + "name": "refund", + "nameLocation": "12621:6:15", + "nodeType": "VariableDeclaration", + "scope": 2875, + "src": "12616:11:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2872, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "12616:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "12615:13:15" + }, + "scope": 3244, + "src": "12537:92:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "d2503485", + "id": 2880, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "addLockManager", + "nameLocation": "12642:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2878, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2877, + "mutability": "mutable", + "name": "account", + "nameLocation": "12665:7:15", + "nodeType": "VariableDeclaration", + "scope": 2880, + "src": "12657:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2876, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "12657:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "12656:17:15" + }, + "returnParameters": { + "id": 2879, + "nodeType": "ParameterList", + "parameters": [], + "src": "12682:0:15" + }, + "scope": 3244, + "src": "12633:50:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "aae4b8f7", + "id": 2887, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "isLockManager", + "nameLocation": "12696:13:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2883, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2882, + "mutability": "mutable", + "name": "account", + "nameLocation": "12718:7:15", + "nodeType": "VariableDeclaration", + "scope": 2887, + "src": "12710:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2881, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "12710:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "12709:17:15" + }, + "returnParameters": { + "id": 2886, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2885, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2887, + "src": "12750:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2884, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "12750:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "12749:6:15" + }, + "scope": 3244, + "src": "12687:69:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2888, + "nodeType": "StructuredDocumentation", + "src": "12760:112:15", + "text": " Returns the address of the `onKeyPurchaseHook` hook.\n @return hookAddress address of the hook" + }, + "functionSelector": "2d33dd5b", + "id": 2893, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onKeyPurchaseHook", + "nameLocation": "12884:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2889, + "nodeType": "ParameterList", + "parameters": [], + "src": "12901:2:15" + }, + "returnParameters": { + "id": 2892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2891, + "mutability": "mutable", + "name": "hookAddress", + "nameLocation": "12935:11:15", + "nodeType": "VariableDeclaration", + "scope": 2893, + "src": "12927:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2890, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "12927:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "12926:21:15" + }, + "scope": 3244, + "src": "12875:73:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2894, + "nodeType": "StructuredDocumentation", + "src": "12952:110:15", + "text": " Returns the address of the `onKeyCancelHook` hook.\n @return hookAddress address of the hook" + }, + "functionSelector": "217751bc", + "id": 2899, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onKeyCancelHook", + "nameLocation": "13074:15:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2895, + "nodeType": "ParameterList", + "parameters": [], + "src": "13089:2:15" + }, + "returnParameters": { + "id": 2898, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2897, + "mutability": "mutable", + "name": "hookAddress", + "nameLocation": "13123:11:15", + "nodeType": "VariableDeclaration", + "scope": 2899, + "src": "13115:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13115:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "13114:21:15" + }, + "scope": 3244, + "src": "13065:71:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2900, + "nodeType": "StructuredDocumentation", + "src": "13140:109:15", + "text": " Returns the address of the `onValidKeyHook` hook.\n @return hookAddress address of the hook" + }, + "functionSelector": "26e9ca07", + "id": 2905, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onValidKeyHook", + "nameLocation": "13261:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2901, + "nodeType": "ParameterList", + "parameters": [], + "src": "13275:2:15" + }, + "returnParameters": { + "id": 2904, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2903, + "mutability": "mutable", + "name": "hookAddress", + "nameLocation": "13309:11:15", + "nodeType": "VariableDeclaration", + "scope": 2905, + "src": "13301:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2902, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13301:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "13300:21:15" + }, + "scope": 3244, + "src": "13252:70:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2906, + "nodeType": "StructuredDocumentation", + "src": "13326:109:15", + "text": " Returns the address of the `onTokenURIHook` hook.\n @return hookAddress address of the hook" + }, + "functionSelector": "7ec2a724", + "id": 2911, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onTokenURIHook", + "nameLocation": "13447:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2907, + "nodeType": "ParameterList", + "parameters": [], + "src": "13461:2:15" + }, + "returnParameters": { + "id": 2910, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2909, + "mutability": "mutable", + "name": "hookAddress", + "nameLocation": "13495:11:15", + "nodeType": "VariableDeclaration", + "scope": 2911, + "src": "13487:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2908, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13487:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "13486:21:15" + }, + "scope": 3244, + "src": "13438:70:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2912, + "nodeType": "StructuredDocumentation", + "src": "13512:112:15", + "text": " Returns the address of the `onKeyTransferHook` hook.\n @return hookAddress address of the hook" + }, + "functionSelector": "389f07e8", + "id": 2917, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onKeyTransferHook", + "nameLocation": "13636:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2913, + "nodeType": "ParameterList", + "parameters": [], + "src": "13653:2:15" + }, + "returnParameters": { + "id": 2916, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2915, + "mutability": "mutable", + "name": "hookAddress", + "nameLocation": "13687:11:15", + "nodeType": "VariableDeclaration", + "scope": 2917, + "src": "13679:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2914, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13679:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "13678:21:15" + }, + "scope": 3244, + "src": "13627:73:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2918, + "nodeType": "StructuredDocumentation", + "src": "13704:114:15", + "text": " Returns the address of the `onKeyExtendHook` hook.\n @return hookAddress the address ok the hook" + }, + "functionSelector": "c907c3ec", + "id": 2923, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onKeyExtendHook", + "nameLocation": "13830:15:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2919, + "nodeType": "ParameterList", + "parameters": [], + "src": "13845:2:15" + }, + "returnParameters": { + "id": 2922, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2921, + "mutability": "mutable", + "name": "hookAddress", + "nameLocation": "13879:11:15", + "nodeType": "VariableDeclaration", + "scope": 2923, + "src": "13871:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2920, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13871:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "13870:21:15" + }, + "scope": 3244, + "src": "13821:71:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2924, + "nodeType": "StructuredDocumentation", + "src": "13896:113:15", + "text": " Returns the address of the `onKeyGrantHook` hook.\n @return hookAddress the address ok the hook" + }, + "functionSelector": "b129694e", + "id": 2929, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onKeyGrantHook", + "nameLocation": "14021:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2925, + "nodeType": "ParameterList", + "parameters": [], + "src": "14035:2:15" + }, + "returnParameters": { + "id": 2928, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2927, + "mutability": "mutable", + "name": "hookAddress", + "nameLocation": "14069:11:15", + "nodeType": "VariableDeclaration", + "scope": 2929, + "src": "14061:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2926, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "14061:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "14060:21:15" + }, + "scope": 3244, + "src": "14012:70:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "f0ba6040", + "id": 2932, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renounceLockManager", + "nameLocation": "14095:19:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2930, + "nodeType": "ParameterList", + "parameters": [], + "src": "14114:2:15" + }, + "returnParameters": { + "id": 2931, + "nodeType": "ParameterList", + "parameters": [], + "src": "14125:0:15" + }, + "scope": 3244, + "src": "14086:40:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2933, + "nodeType": "StructuredDocumentation", + "src": "14130:77:15", + "text": " @return the maximum number of key allowed for a single address" + }, + "functionSelector": "d52e4a10", + "id": 2938, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "maxKeysPerAddress", + "nameLocation": "14219:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2934, + "nodeType": "ParameterList", + "parameters": [], + "src": "14236:2:15" + }, + "returnParameters": { + "id": 2937, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2936, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2938, + "src": "14262:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2935, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "14262:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14261:6:15" + }, + "scope": 3244, + "src": "14210:58:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "11a4c03a", + "id": 2943, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "expirationDuration", + "nameLocation": "14281:18:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2939, + "nodeType": "ParameterList", + "parameters": [], + "src": "14299:2:15" + }, + "returnParameters": { + "id": 2942, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2941, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2943, + "src": "14325:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2940, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14325:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14324:9:15" + }, + "scope": 3244, + "src": "14272:62:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "a375cb05", + "id": 2948, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "freeTrialLength", + "nameLocation": "14347:15:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2944, + "nodeType": "ParameterList", + "parameters": [], + "src": "14362:2:15" + }, + "returnParameters": { + "id": 2947, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2946, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2948, + "src": "14388:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2945, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14388:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14387:9:15" + }, + "scope": 3244, + "src": "14338:59:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "10e56973", + "id": 2953, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "keyPrice", + "nameLocation": "14410:8:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2949, + "nodeType": "ParameterList", + "parameters": [], + "src": "14418:2:15" + }, + "returnParameters": { + "id": 2952, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2951, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2953, + "src": "14444:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2950, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14444:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14443:9:15" + }, + "scope": 3244, + "src": "14401:52:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "74b6c106", + "id": 2958, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "maxNumberOfKeys", + "nameLocation": "14466:15:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2954, + "nodeType": "ParameterList", + "parameters": [], + "src": "14481:2:15" + }, + "returnParameters": { + "id": 2957, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2956, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2958, + "src": "14507:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2955, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14507:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14506:9:15" + }, + "scope": 3244, + "src": "14457:59:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "56e0d51f", + "id": 2963, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "refundPenaltyBasisPoints", + "nameLocation": "14529:24:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2959, + "nodeType": "ParameterList", + "parameters": [], + "src": "14553:2:15" + }, + "returnParameters": { + "id": 2962, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2961, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2963, + "src": "14579:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2960, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14579:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14578:9:15" + }, + "scope": 3244, + "src": "14520:68:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "9d76ea58", + "id": 2968, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "tokenAddress", + "nameLocation": "14601:12:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2964, + "nodeType": "ParameterList", + "parameters": [], + "src": "14613:2:15" + }, + "returnParameters": { + "id": 2967, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2966, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2968, + "src": "14639:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2965, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "14639:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "14638:9:15" + }, + "scope": 3244, + "src": "14592:56:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "183767da", + "id": 2973, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transferFeeBasisPoints", + "nameLocation": "14661:22:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2969, + "nodeType": "ParameterList", + "parameters": [], + "src": "14683:2:15" + }, + "returnParameters": { + "id": 2972, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2971, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2973, + "src": "14709:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2970, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "14709:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14708:9:15" + }, + "scope": 3244, + "src": "14652:66:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "0f15023b", + "id": 2978, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "unlockProtocol", + "nameLocation": "14731:14:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2974, + "nodeType": "ParameterList", + "parameters": [], + "src": "14745:2:15" + }, + "returnParameters": { + "id": 2977, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2976, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2978, + "src": "14771:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2975, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "14771:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "14770:9:15" + }, + "scope": 3244, + "src": "14722:58:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "4d025fed", + "id": 2985, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "keyManagerOf", + "nameLocation": "14793:12:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2981, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2980, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2985, + "src": "14806:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2979, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "14806:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "14805:6:15" + }, + "returnParameters": { + "id": 2984, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2983, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2985, + "src": "14835:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2982, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "14835:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "14834:9:15" + }, + "scope": 3244, + "src": "14784:60:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2986, + "nodeType": "StructuredDocumentation", + "src": "14922:630:15", + "text": " @notice Allows the key owner to safely share their key (parent key) by\n transferring a portion of the remaining time to a new key (child key).\n @dev Throws if key is not valid.\n @dev Throws if `_to` is the zero address\n @param _to The recipient of the shared key\n @param _tokenId the key to share\n @param _timeShared The amount of time shared\n checks if `_to` is a smart contract (code size > 0). If so, it calls\n `onERC721Received` on `_to` and throws if the return value is not\n `bytes4(keccak256('onERC721Received(address,address,uint,bytes)'))`.\n @dev Emit Transfer event" + }, + "functionSelector": "f12c6b6e", + "id": 2995, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "shareKey", + "nameLocation": "15564:8:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2993, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2988, + "mutability": "mutable", + "name": "_to", + "nameLocation": "15581:3:15", + "nodeType": "VariableDeclaration", + "scope": 2995, + "src": "15573:11:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2987, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "15573:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2990, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "15591:8:15", + "nodeType": "VariableDeclaration", + "scope": 2995, + "src": "15586:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2989, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "15586:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2992, + "mutability": "mutable", + "name": "_timeShared", + "nameLocation": "15606:11:15", + "nodeType": "VariableDeclaration", + "scope": 2995, + "src": "15601:16:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2991, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "15601:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "15572:46:15" + }, + "returnParameters": { + "id": 2994, + "nodeType": "ParameterList", + "parameters": [], + "src": "15627:0:15" + }, + "scope": 3244, + "src": "15555:73:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2996, + "nodeType": "StructuredDocumentation", + "src": "15632:210:15", + "text": " @notice Update transfer and cancel rights for a given key\n @param _tokenId The id of the key to assign rights for\n @param _keyManager The address to assign the rights to for the given key" + }, + "functionSelector": "b11d7ec1", + "id": 3003, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setKeyManagerOf", + "nameLocation": "15854:15:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2998, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "15875:8:15", + "nodeType": "VariableDeclaration", + "scope": 3003, + "src": "15870:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2997, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "15870:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3000, + "mutability": "mutable", + "name": "_keyManager", + "nameLocation": "15893:11:15", + "nodeType": "VariableDeclaration", + "scope": 3003, + "src": "15885:19:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2999, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "15885:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "15869:36:15" + }, + "returnParameters": { + "id": 3002, + "nodeType": "ParameterList", + "parameters": [], + "src": "15914:0:15" + }, + "scope": 3244, + "src": "15845:70:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3004, + "nodeType": "StructuredDocumentation", + "src": "15919:166:15", + "text": " Check if a certain key is valid\n @param _tokenId the id of the key to check validity\n @notice this makes use of the onValidKeyHook if it is set" + }, + "functionSelector": "a98d3623", + "id": 3011, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "isValidKey", + "nameLocation": "16097:10:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3007, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3006, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "16113:8:15", + "nodeType": "VariableDeclaration", + "scope": 3011, + "src": "16108:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3005, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "16108:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "16107:15:15" + }, + "returnParameters": { + "id": 3010, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3009, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3011, + "src": "16146:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3008, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "16146:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "16145:6:15" + }, + "scope": 3244, + "src": "16088:64:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3012, + "nodeType": "StructuredDocumentation", + "src": "16156:230:15", + "text": " Returns the number of keys owned by `_keyOwner` (expired or not)\n @param _keyOwner address for which we are retrieving the total number of keys\n @return numberOfKeys total number of keys owned by the address" + }, + "functionSelector": "812eecd4", + "id": 3019, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "totalKeys", + "nameLocation": "16398:9:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3015, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3014, + "mutability": "mutable", + "name": "_keyOwner", + "nameLocation": "16421:9:15", + "nodeType": "VariableDeclaration", + "scope": 3019, + "src": "16413:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3013, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "16413:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "16407:27:15" + }, + "returnParameters": { + "id": 3018, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3017, + "mutability": "mutable", + "name": "numberOfKeys", + "nameLocation": "16463:12:15", + "nodeType": "VariableDeclaration", + "scope": 3019, + "src": "16458:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3016, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "16458:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "16457:19:15" + }, + "scope": 3244, + "src": "16389:88:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3020, + "nodeType": "StructuredDocumentation", + "src": "16481:72:15", + "text": "@notice A descriptive name for a collection of NFTs in this contract" + }, + "functionSelector": "06fdde03", + "id": 3025, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "name", + "nameLocation": "16565:4:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3021, + "nodeType": "ParameterList", + "parameters": [], + "src": "16569:2:15" + }, + "returnParameters": { + "id": 3024, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3023, + "mutability": "mutable", + "name": "_name", + "nameLocation": "16609:5:15", + "nodeType": "VariableDeclaration", + "scope": 3025, + "src": "16595:19:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 3022, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "16595:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "16594:21:15" + }, + "scope": 3244, + "src": "16556:60:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3026, + "nodeType": "StructuredDocumentation", + "src": "16694:19:15", + "text": "From ERC165.sol" + }, + "functionSelector": "01ffc9a7", + "id": 3033, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "16725:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3029, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3028, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "16750:11:15", + "nodeType": "VariableDeclaration", + "scope": 3033, + "src": "16743:18:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 3027, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "16743:6:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "16742:20:15" + }, + "returnParameters": { + "id": 3032, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3031, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3033, + "src": "16786:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3030, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "16786:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "16785:6:15" + }, + "scope": 3244, + "src": "16716:76:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3034, + "nodeType": "StructuredDocumentation", + "src": "16889:183:15", + "text": " In the specific case of a Lock, `balanceOf` returns only the tokens with a valid expiration timerange\n @return balance The number of valid keys owned by `_keyOwner`" + }, + "functionSelector": "70a08231", + "id": 3041, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "balanceOf", + "nameLocation": "17084:9:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3037, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3036, + "mutability": "mutable", + "name": "_owner", + "nameLocation": "17102:6:15", + "nodeType": "VariableDeclaration", + "scope": 3041, + "src": "17094:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3035, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "17094:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "17093:16:15" + }, + "returnParameters": { + "id": 3040, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3039, + "mutability": "mutable", + "name": "balance", + "nameLocation": "17141:7:15", + "nodeType": "VariableDeclaration", + "scope": 3041, + "src": "17133:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3038, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "17133:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "17132:17:15" + }, + "scope": 3244, + "src": "17075:75:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3042, + "nodeType": "StructuredDocumentation", + "src": "17154:72:15", + "text": " @dev Returns the owner of the NFT specified by `tokenId`." + }, + "functionSelector": "6352211e", + "id": 3049, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "ownerOf", + "nameLocation": "17238:7:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3045, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3044, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "17254:7:15", + "nodeType": "VariableDeclaration", + "scope": 3049, + "src": "17246:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3043, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "17246:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "17245:17:15" + }, + "returnParameters": { + "id": 3048, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3047, + "mutability": "mutable", + "name": "_owner", + "nameLocation": "17294:6:15", + "nodeType": "VariableDeclaration", + "scope": 3049, + "src": "17286:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3046, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "17286:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "17285:16:15" + }, + "scope": 3244, + "src": "17229:73:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3050, + "nodeType": "StructuredDocumentation", + "src": "17306:339:15", + "text": " @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to\n another (`to`).\n Requirements:\n - `from`, `to` cannot be zero.\n - `tokenId` must be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this\n NFT by either `approve` or `setApprovalForAll`." + }, + "functionSelector": "42842e0e", + "id": 3059, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "safeTransferFrom", + "nameLocation": "17657:16:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3057, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3052, + "mutability": "mutable", + "name": "from", + "nameLocation": "17682:4:15", + "nodeType": "VariableDeclaration", + "scope": 3059, + "src": "17674:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3051, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "17674:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3054, + "mutability": "mutable", + "name": "to", + "nameLocation": "17696:2:15", + "nodeType": "VariableDeclaration", + "scope": 3059, + "src": "17688:10:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3053, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "17688:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3056, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "17708:7:15", + "nodeType": "VariableDeclaration", + "scope": 3059, + "src": "17700:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3055, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "17700:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "17673:43:15" + }, + "returnParameters": { + "id": 3058, + "nodeType": "ParameterList", + "parameters": [], + "src": "17725:0:15" + }, + "scope": 3244, + "src": "17648:78:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3060, + "nodeType": "StructuredDocumentation", + "src": "17730:441:15", + "text": " an ERC721-like function to transfer a token from one account to another.\n @param from the owner of token to transfer\n @param to the address that will receive the token\n @param tokenId the id of the token\n @dev Requirements: if the caller is not `from`, it must be approved to move this token by\n either `approve` or `setApprovalForAll`.\n The key manager will be reset to address zero after the transfer" + }, + "functionSelector": "23b872dd", + "id": 3069, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transferFrom", + "nameLocation": "18183:12:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3067, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3062, + "mutability": "mutable", + "name": "from", + "nameLocation": "18204:4:15", + "nodeType": "VariableDeclaration", + "scope": 3069, + "src": "18196:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3061, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "18196:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3064, + "mutability": "mutable", + "name": "to", + "nameLocation": "18218:2:15", + "nodeType": "VariableDeclaration", + "scope": 3069, + "src": "18210:10:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3063, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "18210:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3066, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "18230:7:15", + "nodeType": "VariableDeclaration", + "scope": 3069, + "src": "18222:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3065, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "18222:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "18195:43:15" + }, + "returnParameters": { + "id": 3068, + "nodeType": "ParameterList", + "parameters": [], + "src": "18247:0:15" + }, + "scope": 3244, + "src": "18174:74:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3070, + "nodeType": "StructuredDocumentation", + "src": "18252:537:15", + "text": " Lending a key allows you to transfer the token while retaining the\n ownerships right by setting yourself as a key manager first.\n @param from the owner of token to transfer\n @param to the address that will receive the token\n @param tokenId the id of the token\n @notice This function can only be called by 1) the key owner when no key manager is set or 2) the key manager.\n After calling the function, the `_recipent` will be the new owner, and the sender of the tx\n will become the key manager." + }, + "functionSelector": "0c2db8d1", + "id": 3079, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "lendKey", + "nameLocation": "18801:7:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3077, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3072, + "mutability": "mutable", + "name": "from", + "nameLocation": "18817:4:15", + "nodeType": "VariableDeclaration", + "scope": 3079, + "src": "18809:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3071, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "18809:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3074, + "mutability": "mutable", + "name": "to", + "nameLocation": "18831:2:15", + "nodeType": "VariableDeclaration", + "scope": 3079, + "src": "18823:10:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3073, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "18823:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3076, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "18840:7:15", + "nodeType": "VariableDeclaration", + "scope": 3079, + "src": "18835:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3075, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "18835:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "18808:40:15" + }, + "returnParameters": { + "id": 3078, + "nodeType": "ParameterList", + "parameters": [], + "src": "18857:0:15" + }, + "scope": 3244, + "src": "18792:66:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3080, + "nodeType": "StructuredDocumentation", + "src": "18862:280:15", + "text": " Unlend is called when you have lent a key and want to claim its full ownership back.\n @param _recipient the address that will receive the token ownership\n @param _tokenId the id of the token\n @dev Only the key manager of the token can call this function" + }, + "functionSelector": "407dc589", + "id": 3087, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "unlendKey", + "nameLocation": "19154:9:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3085, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3082, + "mutability": "mutable", + "name": "_recipient", + "nameLocation": "19172:10:15", + "nodeType": "VariableDeclaration", + "scope": 3087, + "src": "19164:18:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3081, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "19164:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3084, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "19189:8:15", + "nodeType": "VariableDeclaration", + "scope": 3087, + "src": "19184:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3083, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "19184:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "19163:35:15" + }, + "returnParameters": { + "id": 3086, + "nodeType": "ParameterList", + "parameters": [], + "src": "19207:0:15" + }, + "scope": 3244, + "src": "19145:63:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "095ea7b3", + "id": 3094, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "approve", + "nameLocation": "19221:7:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3092, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3089, + "mutability": "mutable", + "name": "to", + "nameLocation": "19237:2:15", + "nodeType": "VariableDeclaration", + "scope": 3094, + "src": "19229:10:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3088, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "19229:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3091, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "19249:7:15", + "nodeType": "VariableDeclaration", + "scope": 3094, + "src": "19241:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3090, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "19241:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "19228:29:15" + }, + "returnParameters": { + "id": 3093, + "nodeType": "ParameterList", + "parameters": [], + "src": "19266:0:15" + }, + "scope": 3244, + "src": "19212:55:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3095, + "nodeType": "StructuredDocumentation", + "src": "19271:271:15", + "text": " @notice Get the approved address for a single NFT\n @dev Throws if `_tokenId` is not a valid NFT.\n @param _tokenId The NFT to find the approved address for\n @return operator The approved address for this NFT, or the zero address if there is none" + }, + "functionSelector": "081812fc", + "id": 3102, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getApproved", + "nameLocation": "19554:11:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3098, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3097, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "19579:8:15", + "nodeType": "VariableDeclaration", + "scope": 3102, + "src": "19571:16:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3096, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "19571:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "19565:26:15" + }, + "returnParameters": { + "id": 3101, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3100, + "mutability": "mutable", + "name": "operator", + "nameLocation": "19623:8:15", + "nodeType": "VariableDeclaration", + "scope": 3102, + "src": "19615:16:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3099, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "19615:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "19614:18:15" + }, + "scope": 3244, + "src": "19545:88:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3103, + "nodeType": "StructuredDocumentation", + "src": "19637:329:15", + "text": " @dev Sets or unsets the approval of a given operator\n An operator is allowed to transfer all tokens of the sender on their behalf\n @param _operator operator address to set the approval\n @param _approved representing the status of the approval to be set\n @notice disabled when transfers are disabled" + }, + "functionSelector": "a22cb465", + "id": 3110, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setApprovalForAll", + "nameLocation": "19978:17:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3108, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3105, + "mutability": "mutable", + "name": "_operator", + "nameLocation": "20004:9:15", + "nodeType": "VariableDeclaration", + "scope": 3110, + "src": "19996:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3104, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "19996:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3107, + "mutability": "mutable", + "name": "_approved", + "nameLocation": "20020:9:15", + "nodeType": "VariableDeclaration", + "scope": 3110, + "src": "20015:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3106, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "20015:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "19995:35:15" + }, + "returnParameters": { + "id": 3109, + "nodeType": "ParameterList", + "parameters": [], + "src": "20039:0:15" + }, + "scope": 3244, + "src": "19969:71:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3111, + "nodeType": "StructuredDocumentation", + "src": "20044:307:15", + "text": " @dev Tells whether an operator is approved by a given keyManager\n @param _owner owner address which you want to query the approval of\n @param _operator operator address which you want to query the approval of\n @return bool whether the given operator is approved by the given owner" + }, + "functionSelector": "e985e9c5", + "id": 3120, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "isApprovedForAll", + "nameLocation": "20363:16:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3116, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3113, + "mutability": "mutable", + "name": "_owner", + "nameLocation": "20393:6:15", + "nodeType": "VariableDeclaration", + "scope": 3120, + "src": "20385:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3112, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "20385:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3115, + "mutability": "mutable", + "name": "_operator", + "nameLocation": "20413:9:15", + "nodeType": "VariableDeclaration", + "scope": 3120, + "src": "20405:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3114, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "20405:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "20379:47:15" + }, + "returnParameters": { + "id": 3119, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3118, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3120, + "src": "20450:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3117, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "20450:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "20449:6:15" + }, + "scope": 3244, + "src": "20354:102:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b88d4fde", + "id": 3131, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "safeTransferFrom", + "nameLocation": "20469:16:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3129, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3122, + "mutability": "mutable", + "name": "from", + "nameLocation": "20499:4:15", + "nodeType": "VariableDeclaration", + "scope": 3131, + "src": "20491:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3121, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "20491:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3124, + "mutability": "mutable", + "name": "to", + "nameLocation": "20517:2:15", + "nodeType": "VariableDeclaration", + "scope": 3131, + "src": "20509:10:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3123, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "20509:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3126, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "20533:7:15", + "nodeType": "VariableDeclaration", + "scope": 3131, + "src": "20525:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3125, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "20525:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3128, + "mutability": "mutable", + "name": "data", + "nameLocation": "20561:4:15", + "nodeType": "VariableDeclaration", + "scope": 3131, + "src": "20546:19:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 3127, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "20546:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "20485:84:15" + }, + "returnParameters": { + "id": 3130, + "nodeType": "ParameterList", + "parameters": [], + "src": "20578:0:15" + }, + "scope": 3244, + "src": "20460:119:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3132, + "nodeType": "StructuredDocumentation", + "src": "20583:143:15", + "text": " Returns the total number of keys, including non-valid ones\n @return _totalKeysCreated the total number of keys, valid or not" + }, + "functionSelector": "18160ddd", + "id": 3137, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "totalSupply", + "nameLocation": "20738:11:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3133, + "nodeType": "ParameterList", + "parameters": [], + "src": "20749:2:15" + }, + "returnParameters": { + "id": 3136, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3135, + "mutability": "mutable", + "name": "_totalKeysCreated", + "nameLocation": "20783:17:15", + "nodeType": "VariableDeclaration", + "scope": 3137, + "src": "20775:25:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3134, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "20775:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "20774:27:15" + }, + "scope": 3244, + "src": "20729:73:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2f745c59", + "id": 3146, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "tokenOfOwnerByIndex", + "nameLocation": "20815:19:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3142, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3139, + "mutability": "mutable", + "name": "_owner", + "nameLocation": "20848:6:15", + "nodeType": "VariableDeclaration", + "scope": 3146, + "src": "20840:14:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3138, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "20840:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3141, + "mutability": "mutable", + "name": "index", + "nameLocation": "20868:5:15", + "nodeType": "VariableDeclaration", + "scope": 3146, + "src": "20860:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3140, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "20860:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "20834:43:15" + }, + "returnParameters": { + "id": 3145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3144, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "20909:7:15", + "nodeType": "VariableDeclaration", + "scope": 3146, + "src": "20901:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3143, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "20901:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "20900:17:15" + }, + "scope": 3244, + "src": "20806:112:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "4f6ccce7", + "id": 3153, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "tokenByIndex", + "nameLocation": "20931:12:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3149, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3148, + "mutability": "mutable", + "name": "index", + "nameLocation": "20952:5:15", + "nodeType": "VariableDeclaration", + "scope": 3153, + "src": "20944:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3147, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "20944:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "20943:15:15" + }, + "returnParameters": { + "id": 3152, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3151, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3153, + "src": "20982:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3150, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "20982:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "20981:9:15" + }, + "scope": 3244, + "src": "20922:69:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3154, + "nodeType": "StructuredDocumentation", + "src": "20995:62:15", + "text": " Innherited from Open Zeppelin AccessControl.sol" + }, + "functionSelector": "248a9ca3", + "id": 3161, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "21069:12:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3157, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3156, + "mutability": "mutable", + "name": "role", + "nameLocation": "21090:4:15", + "nodeType": "VariableDeclaration", + "scope": 3161, + "src": "21082:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 3155, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "21082:7:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "21081:14:15" + }, + "returnParameters": { + "id": 3160, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3159, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3161, + "src": "21119:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 3158, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "21119:7:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "21118:9:15" + }, + "scope": 3244, + "src": "21060:68:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2f2ff15d", + "id": 3168, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantRole", + "nameLocation": "21141:9:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3166, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3163, + "mutability": "mutable", + "name": "role", + "nameLocation": "21159:4:15", + "nodeType": "VariableDeclaration", + "scope": 3168, + "src": "21151:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 3162, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "21151:7:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3165, + "mutability": "mutable", + "name": "account", + "nameLocation": "21173:7:15", + "nodeType": "VariableDeclaration", + "scope": 3168, + "src": "21165:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3164, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "21165:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "21150:31:15" + }, + "returnParameters": { + "id": 3167, + "nodeType": "ParameterList", + "parameters": [], + "src": "21190:0:15" + }, + "scope": 3244, + "src": "21132:59:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "d547741f", + "id": 3175, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "revokeRole", + "nameLocation": "21204:10:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3173, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3170, + "mutability": "mutable", + "name": "role", + "nameLocation": "21223:4:15", + "nodeType": "VariableDeclaration", + "scope": 3175, + "src": "21215:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 3169, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "21215:7:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3172, + "mutability": "mutable", + "name": "account", + "nameLocation": "21237:7:15", + "nodeType": "VariableDeclaration", + "scope": 3175, + "src": "21229:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3171, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "21229:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "21214:31:15" + }, + "returnParameters": { + "id": 3174, + "nodeType": "ParameterList", + "parameters": [], + "src": "21254:0:15" + }, + "scope": 3244, + "src": "21195:60:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "36568abe", + "id": 3182, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "21268:12:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3180, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3177, + "mutability": "mutable", + "name": "role", + "nameLocation": "21289:4:15", + "nodeType": "VariableDeclaration", + "scope": 3182, + "src": "21281:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 3176, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "21281:7:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3179, + "mutability": "mutable", + "name": "account", + "nameLocation": "21303:7:15", + "nodeType": "VariableDeclaration", + "scope": 3182, + "src": "21295:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3178, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "21295:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "21280:31:15" + }, + "returnParameters": { + "id": 3181, + "nodeType": "ParameterList", + "parameters": [], + "src": "21320:0:15" + }, + "scope": 3244, + "src": "21259:62:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "91d14854", + "id": 3191, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "21334:7:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3184, + "mutability": "mutable", + "name": "role", + "nameLocation": "21350:4:15", + "nodeType": "VariableDeclaration", + "scope": 3191, + "src": "21342:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 3183, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "21342:7:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3186, + "mutability": "mutable", + "name": "account", + "nameLocation": "21364:7:15", + "nodeType": "VariableDeclaration", + "scope": 3191, + "src": "21356:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3185, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "21356:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "21341:31:15" + }, + "returnParameters": { + "id": 3190, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3189, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3191, + "src": "21396:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3188, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "21396:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "21395:6:15" + }, + "scope": 3244, + "src": "21325:77:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3192, + "nodeType": "StructuredDocumentation", + "src": "21406:362:15", + "text": "`owner()` is provided as an helper to mimick the `Ownable` contract ABI.\n The `Ownable` logic is used by many 3rd party services to determine\n contract ownership - e.g. who is allowed to edit metadata on Opensea.\n @notice This logic is NOT used internally by the Unlock Protocol and is made\n available only as a convenience helper." + }, + "functionSelector": "8da5cb5b", + "id": 3197, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "owner", + "nameLocation": "21780:5:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3193, + "nodeType": "ParameterList", + "parameters": [], + "src": "21785:2:15" + }, + "returnParameters": { + "id": 3196, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3195, + "mutability": "mutable", + "name": "owner", + "nameLocation": "21819:5:15", + "nodeType": "VariableDeclaration", + "scope": 3197, + "src": "21811:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3194, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "21811:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "21810:15:15" + }, + "scope": 3244, + "src": "21771:55:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "13af4035", + "id": 3202, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setOwner", + "nameLocation": "21839:8:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3199, + "mutability": "mutable", + "name": "account", + "nameLocation": "21856:7:15", + "nodeType": "VariableDeclaration", + "scope": 3202, + "src": "21848:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3198, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "21848:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "21847:17:15" + }, + "returnParameters": { + "id": 3201, + "nodeType": "ParameterList", + "parameters": [], + "src": "21873:0:15" + }, + "scope": 3244, + "src": "21830:44:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2f54bf6e", + "id": 3209, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "isOwner", + "nameLocation": "21887:7:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3205, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3204, + "mutability": "mutable", + "name": "account", + "nameLocation": "21903:7:15", + "nodeType": "VariableDeclaration", + "scope": 3209, + "src": "21895:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3203, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "21895:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "21894:17:15" + }, + "returnParameters": { + "id": 3208, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3207, + "mutability": "mutable", + "name": "isOwner", + "nameLocation": "21940:7:15", + "nodeType": "VariableDeclaration", + "scope": 3209, + "src": "21935:12:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3206, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "21935:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "21934:14:15" + }, + "scope": 3244, + "src": "21878:71:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3210, + "nodeType": "StructuredDocumentation", + "src": "21953:394:15", + "text": " Migrate data from the previous single owner => key mapping to\n the new data structure w multiple tokens.\n @param _calldata an ABI-encoded representation of the params (v10: the number of records to migrate as `uint`)\n @dev when all record schemas are sucessfully upgraded, this function will update the `schemaVersion`\n variable to the latest/current lock version" + }, + "functionSelector": "8932a90d", + "id": 3215, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "migrate", + "nameLocation": "22359:7:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3213, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3212, + "mutability": "mutable", + "name": "_calldata", + "nameLocation": "22382:9:15", + "nodeType": "VariableDeclaration", + "scope": 3215, + "src": "22367:24:15", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 3211, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "22367:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "22366:26:15" + }, + "returnParameters": { + "id": 3214, + "nodeType": "ParameterList", + "parameters": [], + "src": "22401:0:15" + }, + "scope": 3244, + "src": "22350:52:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3216, + "nodeType": "StructuredDocumentation", + "src": "22406:274:15", + "text": " Returns the version number of the data schema currently used by the lock\n @notice if this is different from `publicLockVersion`, then the ability to purchase, grant\n or extend keys is disabled.\n @dev will return 0 if no ;igration has ever been run" + }, + "functionSelector": "4e2ce6d3", + "id": 3221, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "schemaVersion", + "nameLocation": "22692:13:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3217, + "nodeType": "ParameterList", + "parameters": [], + "src": "22705:2:15" + }, + "returnParameters": { + "id": 3220, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3219, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3221, + "src": "22731:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3218, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "22731:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "22730:6:15" + }, + "scope": 3244, + "src": "22683:54:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3222, + "nodeType": "StructuredDocumentation", + "src": "22741:97:15", + "text": " Set the schema version to the latest\n @notice only lock manager call call this" + }, + "functionSelector": "f32e8b24", + "id": 3225, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "updateSchemaVersion", + "nameLocation": "22850:19:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3223, + "nodeType": "ParameterList", + "parameters": [], + "src": "22869:2:15" + }, + "returnParameters": { + "id": 3224, + "nodeType": "ParameterList", + "parameters": [], + "src": "22880:0:15" + }, + "scope": 3244, + "src": "22841:40:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3226, + "nodeType": "StructuredDocumentation", + "src": "22885:210:15", + "text": " Renew a given token\n @notice only works for non-free, expiring, ERC20 locks\n @param _tokenId the ID fo the token to renew\n @param _referrer the address of the person to be granted UDT" + }, + "functionSelector": "8505fe95", + "id": 3233, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renewMembershipFor", + "nameLocation": "23107:18:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3231, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3228, + "mutability": "mutable", + "name": "_tokenId", + "nameLocation": "23131:8:15", + "nodeType": "VariableDeclaration", + "scope": 3233, + "src": "23126:13:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3227, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "23126:4:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3230, + "mutability": "mutable", + "name": "_referrer", + "nameLocation": "23149:9:15", + "nodeType": "VariableDeclaration", + "scope": 3233, + "src": "23141:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3229, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "23141:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "23125:34:15" + }, + "returnParameters": { + "id": 3232, + "nodeType": "ParameterList", + "parameters": [], + "src": "23168:0:15" + }, + "scope": 3244, + "src": "23098:71:15", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 3234, + "nodeType": "StructuredDocumentation", + "src": "23173:505:15", + "text": " @dev helper to check if a key is currently renewable\n it will revert if the pricing or duration of the lock have been modified\n unfavorably since the key was bought(price increase or duration decrease).\n It will also revert if a lock is not renewable or if the key is not ready for renewal yet\n (at least 90% expired).\n @param tokenId the id of the token to check\n @param referrer the address where to send the referrer fee\n @return true if the terms has changed" + }, + "functionSelector": "50878a47", + "id": 3243, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "isRenewable", + "nameLocation": "23690:11:15", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3239, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3236, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "23715:7:15", + "nodeType": "VariableDeclaration", + "scope": 3243, + "src": "23707:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3235, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "23707:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3238, + "mutability": "mutable", + "name": "referrer", + "nameLocation": "23736:8:15", + "nodeType": "VariableDeclaration", + "scope": 3243, + "src": "23728:16:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3237, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "23728:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "23701:47:15" + }, + "returnParameters": { + "id": 3242, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3241, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3243, + "src": "23772:4:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3240, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "23772:4:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "23771:6:15" + }, + "scope": 3244, + "src": "23681:97:15", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 3245, + "src": "144:23636:15", + "usedErrors": [], + "usedEvents": [] + } + ], + "src": "32:23749:15" + }, + "id": 15 + }, + "contracts/Proxies.sol": { + "ast": { + "absolutePath": "contracts/Proxies.sol", + "exportedSymbols": { + "ERC1967Proxy": [ + 206 + ], + "ERC1967Utils": [ + 509 + ], + "IERC1967": [ + 168 + ], + "ITransparentUpgradeableProxy": [ + 624 + ], + "Ownable": [ + 147 + ], + "ProxyAdmin": [ + 603 + ], + "TransparentUpgradeableProxy": [ + 738 + ] + }, + "id": 3249, + "license": "UNLICENSED", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 3246, + "literals": [ + "solidity", + "^", + "0.8", + ".27" + ], + "nodeType": "PragmaDirective", + "src": "39:24:16" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol", + "file": "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol", + "id": 3247, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 3249, + "sourceUnit": 604, + "src": "65:66:16", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol", + "file": "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol", + "id": 3248, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 3249, + "sourceUnit": 739, + "src": "132:83:16", + "symbolAliases": [], + "unitAlias": "" + } + ], + "src": "39:177:16" + }, + "id": 16 + }, + "contracts/UnlockPrimeHook.sol": { + "ast": { + "absolutePath": "contracts/UnlockPrimeHook.sol", + "exportedSymbols": { + "IPublicLockV13": [ + 3244 + ], + "IUniswapOracleV3": [ + 3291 + ], + "UnlockPrimeHook": [ + 3733 + ] + }, + "id": 3734, + "license": "UNLICENSED", + "nodeType": "SourceUnit", + "nodes": [ + { + "absolutePath": "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol", + "file": "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol", + "id": 3250, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 3734, + "sourceUnit": 3245, + "src": "0:71:17", + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 3251, + "literals": [ + "solidity", + "^", + "0.8", + ".27" + ], + "nodeType": "PragmaDirective", + "src": "112:24:17" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IUniswapOracleV3", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 3291, + "linearizedBaseContracts": [ + 3291 + ], + "name": "IUniswapOracleV3", + "nameLocation": "224:16:17", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "b4d1d795", + "id": 3256, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "PERIOD", + "nameLocation": "256:6:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3252, + "nodeType": "ParameterList", + "parameters": [], + "src": "262:2:17" + }, + "returnParameters": { + "id": 3255, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3254, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3256, + "src": "283:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3253, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "283:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "282:9:17" + }, + "scope": 3291, + "src": "247:45:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "c45a0155", + "id": 3261, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "factory", + "nameLocation": "307:7:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3257, + "nodeType": "ParameterList", + "parameters": [], + "src": "314:2:17" + }, + "returnParameters": { + "id": 3260, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3259, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3261, + "src": "335:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3258, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "335:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "334:9:17" + }, + "scope": 3291, + "src": "298:46:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "c640752d", + "id": 3268, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "update", + "nameLocation": "359:6:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3263, + "mutability": "mutable", + "name": "_tokenIn", + "nameLocation": "374:8:17", + "nodeType": "VariableDeclaration", + "scope": 3268, + "src": "366:16:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3262, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "366:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3265, + "mutability": "mutable", + "name": "_tokenOut", + "nameLocation": "392:9:17", + "nodeType": "VariableDeclaration", + "scope": 3268, + "src": "384:17:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3264, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "384:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "365:37:17" + }, + "returnParameters": { + "id": 3267, + "nodeType": "ParameterList", + "parameters": [], + "src": "411:0:17" + }, + "scope": 3291, + "src": "350:62:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8c86f1e4", + "id": 3279, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "consult", + "nameLocation": "427:7:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3275, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3270, + "mutability": "mutable", + "name": "_tokenIn", + "nameLocation": "452:8:17", + "nodeType": "VariableDeclaration", + "scope": 3279, + "src": "444:16:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3269, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "444:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3272, + "mutability": "mutable", + "name": "_amountIn", + "nameLocation": "478:9:17", + "nodeType": "VariableDeclaration", + "scope": 3279, + "src": "470:17:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3271, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "470:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3274, + "mutability": "mutable", + "name": "_tokenOut", + "nameLocation": "505:9:17", + "nodeType": "VariableDeclaration", + "scope": 3279, + "src": "497:17:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3273, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "497:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "434:86:17" + }, + "returnParameters": { + "id": 3278, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3277, + "mutability": "mutable", + "name": "_amountOut", + "nameLocation": "552:10:17", + "nodeType": "VariableDeclaration", + "scope": 3279, + "src": "544:18:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3276, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "544:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "543:20:17" + }, + "scope": 3291, + "src": "418:146:17", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "c1e553e7", + "id": 3290, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "updateAndConsult", + "nameLocation": "579:16:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3286, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3281, + "mutability": "mutable", + "name": "_tokenIn", + "nameLocation": "613:8:17", + "nodeType": "VariableDeclaration", + "scope": 3290, + "src": "605:16:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3280, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "605:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3283, + "mutability": "mutable", + "name": "_amountIn", + "nameLocation": "639:9:17", + "nodeType": "VariableDeclaration", + "scope": 3290, + "src": "631:17:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3282, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "631:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3285, + "mutability": "mutable", + "name": "_tokenOut", + "nameLocation": "666:9:17", + "nodeType": "VariableDeclaration", + "scope": 3290, + "src": "658:17:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3284, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "658:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "595:86:17" + }, + "returnParameters": { + "id": 3289, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3288, + "mutability": "mutable", + "name": "_amountOut", + "nameLocation": "708:10:17", + "nodeType": "VariableDeclaration", + "scope": 3290, + "src": "700:18:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3287, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "700:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "699:20:17" + }, + "scope": 3291, + "src": "570:150:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 3734, + "src": "214:508:17", + "usedErrors": [], + "usedEvents": [] + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "UnlockPrimeHook", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 3733, + "linearizedBaseContracts": [ + 3733 + ], + "name": "UnlockPrimeHook", + "nameLocation": "733:15:17", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "functionSelector": "db7d7f8d", + "id": 3293, + "mutability": "mutable", + "name": "unlockPrime", + "nameLocation": "770:11:17", + "nodeType": "VariableDeclaration", + "scope": 3733, + "src": "755:26:17", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3292, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "755:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "7dc0d1d0", + "id": 3295, + "mutability": "mutable", + "name": "oracle", + "nameLocation": "802:6:17", + "nodeType": "VariableDeclaration", + "scope": 3733, + "src": "787:21:17", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3294, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "787:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "3fc8cef3", + "id": 3297, + "mutability": "mutable", + "name": "weth", + "nameLocation": "829:4:17", + "nodeType": "VariableDeclaration", + "scope": 3733, + "src": "814:19:17", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3296, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "814:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "3436247b", + "id": 3303, + "mutability": "mutable", + "name": "refunds", + "nameLocation": "874:7:17", + "nodeType": "VariableDeclaration", + "scope": 3733, + "src": "839:42:17", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2])" + }, + "typeName": { + "id": 3302, + "keyName": "", + "keyNameLocation": "-1:-1:-1", + "keyType": { + "id": 3298, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "847:7:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "839:27:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2])" + }, + "valueName": "", + "valueNameLocation": "-1:-1:-1", + "valueType": { + "baseType": { + "id": 3299, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "858:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3301, + "length": { + "hexValue": "32", + "id": 3300, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "863:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "ArrayTypeName", + "src": "858:7:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", + "typeString": "uint256[2]" + } + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "eventSelector": "867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5", + "id": 3307, + "name": "UnlockPrimeSet", + "nameLocation": "912:14:17", + "nodeType": "EventDefinition", + "parameters": { + "id": 3306, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3305, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3307, + "src": "927:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3304, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "927:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "926:9:17" + }, + "src": "906:30:17" + }, + { + "anonymous": false, + "eventSelector": "3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa", + "id": 3311, + "name": "OracleSet", + "nameLocation": "947:9:17", + "nodeType": "EventDefinition", + "parameters": { + "id": 3310, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3309, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3311, + "src": "957:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3308, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "957:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "956:9:17" + }, + "src": "941:25:17" + }, + { + "anonymous": false, + "eventSelector": "13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf9", + "id": 3315, + "name": "WethSet", + "nameLocation": "977:7:17", + "nodeType": "EventDefinition", + "parameters": { + "id": 3314, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3313, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3315, + "src": "985:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3312, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "985:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "984:9:17" + }, + "src": "971:23:17" + }, + { + "anonymous": false, + "eventSelector": "a1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f80", + "id": 3323, + "name": "RefundSet", + "nameLocation": "1005:9:17", + "nodeType": "EventDefinition", + "parameters": { + "id": 3322, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3317, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3323, + "src": "1015:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3316, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1015:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3319, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3323, + "src": "1024:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3318, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1024:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3321, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3323, + "src": "1033:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3320, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1033:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1014:27:17" + }, + "src": "999:43:17" + }, + { + "anonymous": false, + "eventSelector": "1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e0", + "id": 3329, + "name": "RefundPaid", + "nameLocation": "1053:10:17", + "nodeType": "EventDefinition", + "parameters": { + "id": 3328, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3325, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3329, + "src": "1064:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3324, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1064:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3327, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3329, + "src": "1073:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3326, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1073:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1063:18:17" + }, + "src": "1047:35:17" + }, + { + "body": { + "id": 3344, + "nodeType": "Block", + "src": "1154:57:17", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 3339, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3331, + "src": "1175:12:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 3340, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3333, + "src": "1189:7:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 3341, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3335, + "src": "1198:5:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3338, + "name": "initialize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3391, + "src": "1164:10:17", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$returns$__$", + "typeString": "function (address,address,address)" + } + }, + "id": 3342, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1164:40:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3343, + "nodeType": "ExpressionStatement", + "src": "1164:40:17" + } + ] + }, + "id": 3345, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3336, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3331, + "mutability": "mutable", + "name": "_unlockPrime", + "nameLocation": "1108:12:17", + "nodeType": "VariableDeclaration", + "scope": 3345, + "src": "1100:20:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3330, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1100:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3333, + "mutability": "mutable", + "name": "_oracle", + "nameLocation": "1130:7:17", + "nodeType": "VariableDeclaration", + "scope": 3345, + "src": "1122:15:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3332, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1122:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3335, + "mutability": "mutable", + "name": "_weth", + "nameLocation": "1147:5:17", + "nodeType": "VariableDeclaration", + "scope": 3345, + "src": "1139:13:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3334, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1139:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1099:54:17" + }, + "returnParameters": { + "id": 3337, + "nodeType": "ParameterList", + "parameters": [], + "src": "1154:0:17" + }, + "scope": 3733, + "src": "1088:123:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3390, + "nodeType": "Block", + "src": "1328:290:17", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3359, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3354, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "1342:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 3357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1365:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1357:7:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3355, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1357:7:17", + "typeDescriptions": {} + } + }, + "id": 3358, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1357:10:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1342:25:17", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3365, + "nodeType": "IfStatement", + "src": "1338:85:17", + "trueBody": { + "id": 3364, + "nodeType": "Block", + "src": "1369:54:17", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "416c726561647920696e697469616c697a6564", + "id": 3361, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1390:21:17", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "typeString": "literal_string \"Already initialized\"" + }, + "value": "Already initialized" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "typeString": "literal_string \"Already initialized\"" + } + ], + "id": 3360, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "1383:6:17", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3362, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1383:29:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3363, + "nodeType": "ExpressionStatement", + "src": "1383:29:17" + } + ] + } + }, + { + "expression": { + "id": 3368, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3366, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "1432:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3367, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3347, + "src": "1446:12:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1432:26:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3369, + "nodeType": "ExpressionStatement", + "src": "1432:26:17" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3371, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3347, + "src": "1488:12:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3370, + "name": "UnlockPrimeSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3307, + "src": "1473:14:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3372, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1473:28:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3373, + "nodeType": "EmitStatement", + "src": "1468:33:17" + }, + { + "expression": { + "id": 3376, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3374, + "name": "oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3295, + "src": "1511:6:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3375, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3349, + "src": "1520:7:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1511:16:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3377, + "nodeType": "ExpressionStatement", + "src": "1511:16:17" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3379, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3349, + "src": "1552:7:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3378, + "name": "OracleSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3311, + "src": "1542:9:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3380, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1542:18:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3381, + "nodeType": "EmitStatement", + "src": "1537:23:17" + }, + { + "expression": { + "id": 3384, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3382, + "name": "weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3297, + "src": "1570:4:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3383, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3351, + "src": "1577:5:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1570:12:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3385, + "nodeType": "ExpressionStatement", + "src": "1570:12:17" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3387, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3351, + "src": "1605:5:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3386, + "name": "WethSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3315, + "src": "1597:7:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3388, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1597:14:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3389, + "nodeType": "EmitStatement", + "src": "1592:19:17" + } + ] + }, + "functionSelector": "c0c53b8b", + "id": 3391, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "initialize", + "nameLocation": "1226:10:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3352, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3347, + "mutability": "mutable", + "name": "_unlockPrime", + "nameLocation": "1254:12:17", + "nodeType": "VariableDeclaration", + "scope": 3391, + "src": "1246:20:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3346, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1246:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3349, + "mutability": "mutable", + "name": "_oracle", + "nameLocation": "1284:7:17", + "nodeType": "VariableDeclaration", + "scope": 3391, + "src": "1276:15:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3348, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1276:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3351, + "mutability": "mutable", + "name": "_weth", + "nameLocation": "1309:5:17", + "nodeType": "VariableDeclaration", + "scope": 3391, + "src": "1301:13:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3350, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1301:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1236:84:17" + }, + "returnParameters": { + "id": 3353, + "nodeType": "ParameterList", + "parameters": [], + "src": "1328:0:17" + }, + "scope": 3733, + "src": "1217:401:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3418, + "nodeType": "Block", + "src": "1744:218:17", + "statements": [ + { + "condition": { + "id": 3403, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1758:54:17", + "subExpression": { + "arguments": [ + { + "expression": { + "id": 3400, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "1801:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3401, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1805:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1801:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3397, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "1774:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3396, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "1759:14:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3398, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1759:27:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3399, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1787:13:17", + "memberName": "isLockManager", + "nodeType": "MemberAccess", + "referencedDeclaration": 2887, + "src": "1759:41:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view external returns (bool)" + } + }, + "id": 3402, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1759:53:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3409, + "nodeType": "IfStatement", + "src": "1754:123:17", + "trueBody": { + "id": 3408, + "nodeType": "Block", + "src": "1814:63:17", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "id": 3405, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:30:17", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + }, + "value": "Caller is not a lock manager" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + } + ], + "id": 3404, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "1828:6:17", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1828:38:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3407, + "nodeType": "ExpressionStatement", + "src": "1828:38:17" + } + ] + } + }, + { + "expression": { + "id": 3412, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3410, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "1886:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3411, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3393, + "src": "1900:12:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1886:26:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3413, + "nodeType": "ExpressionStatement", + "src": "1886:26:17" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3415, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3393, + "src": "1942:12:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3414, + "name": "UnlockPrimeSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3307, + "src": "1927:14:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3416, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1927:28:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3417, + "nodeType": "EmitStatement", + "src": "1922:33:17" + } + ] + }, + "functionSelector": "8295d3be", + "id": 3419, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setUnlockPrime", + "nameLocation": "1700:14:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3394, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3393, + "mutability": "mutable", + "name": "_unlockPrime", + "nameLocation": "1723:12:17", + "nodeType": "VariableDeclaration", + "scope": 3419, + "src": "1715:20:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3392, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1715:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1714:22:17" + }, + "returnParameters": { + "id": 3395, + "nodeType": "ParameterList", + "parameters": [], + "src": "1744:0:17" + }, + "scope": 3733, + "src": "1691:271:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3446, + "nodeType": "Block", + "src": "2072:198:17", + "statements": [ + { + "condition": { + "id": 3431, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2086:54:17", + "subExpression": { + "arguments": [ + { + "expression": { + "id": 3428, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "2129:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3429, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2133:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2129:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3425, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "2102:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3424, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2087:14:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3426, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2087:27:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3427, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2115:13:17", + "memberName": "isLockManager", + "nodeType": "MemberAccess", + "referencedDeclaration": 2887, + "src": "2087:41:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view external returns (bool)" + } + }, + "id": 3430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2087:53:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3437, + "nodeType": "IfStatement", + "src": "2082:123:17", + "trueBody": { + "id": 3436, + "nodeType": "Block", + "src": "2142:63:17", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "id": 3433, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2163:30:17", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + }, + "value": "Caller is not a lock manager" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + } + ], + "id": 3432, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "2156:6:17", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3434, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2156:38:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3435, + "nodeType": "ExpressionStatement", + "src": "2156:38:17" + } + ] + } + }, + { + "expression": { + "id": 3440, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3438, + "name": "oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3295, + "src": "2214:6:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3439, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3421, + "src": "2223:7:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2214:16:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3441, + "nodeType": "ExpressionStatement", + "src": "2214:16:17" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3443, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3421, + "src": "2255:7:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3442, + "name": "OracleSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3311, + "src": "2245:9:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3444, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2245:18:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3445, + "nodeType": "EmitStatement", + "src": "2240:23:17" + } + ] + }, + "functionSelector": "7adbf973", + "id": 3447, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setOracle", + "nameLocation": "2038:9:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3422, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3421, + "mutability": "mutable", + "name": "_oracle", + "nameLocation": "2056:7:17", + "nodeType": "VariableDeclaration", + "scope": 3447, + "src": "2048:15:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3420, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2048:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2047:17:17" + }, + "returnParameters": { + "id": 3423, + "nodeType": "ParameterList", + "parameters": [], + "src": "2072:0:17" + }, + "scope": 3733, + "src": "2029:241:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3474, + "nodeType": "Block", + "src": "2374:190:17", + "statements": [ + { + "condition": { + "id": 3459, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2388:54:17", + "subExpression": { + "arguments": [ + { + "expression": { + "id": 3456, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "2431:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3457, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2435:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2431:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3453, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "2404:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3452, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2389:14:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3454, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2389:27:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3455, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2417:13:17", + "memberName": "isLockManager", + "nodeType": "MemberAccess", + "referencedDeclaration": 2887, + "src": "2389:41:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view external returns (bool)" + } + }, + "id": 3458, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2389:53:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3465, + "nodeType": "IfStatement", + "src": "2384:123:17", + "trueBody": { + "id": 3464, + "nodeType": "Block", + "src": "2444:63:17", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "id": 3461, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2465:30:17", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + }, + "value": "Caller is not a lock manager" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + } + ], + "id": 3460, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "2458:6:17", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3462, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2458:38:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3463, + "nodeType": "ExpressionStatement", + "src": "2458:38:17" + } + ] + } + }, + { + "expression": { + "id": 3468, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3466, + "name": "weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3297, + "src": "2516:4:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3467, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3449, + "src": "2523:5:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2516:12:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3469, + "nodeType": "ExpressionStatement", + "src": "2516:12:17" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3471, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3449, + "src": "2551:5:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3470, + "name": "WethSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3315, + "src": "2543:7:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3472, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2543:14:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3473, + "nodeType": "EmitStatement", + "src": "2538:19:17" + } + ] + }, + "functionSelector": "b8d1452f", + "id": 3475, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setWeth", + "nameLocation": "2344:7:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3450, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3449, + "mutability": "mutable", + "name": "_weth", + "nameLocation": "2360:5:17", + "nodeType": "VariableDeclaration", + "scope": 3475, + "src": "2352:13:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3448, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2352:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2351:15:17" + }, + "returnParameters": { + "id": 3451, + "nodeType": "ParameterList", + "parameters": [], + "src": "2374:0:17" + }, + "scope": 3733, + "src": "2335:229:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3495, + "nodeType": "Block", + "src": "2807:61:17", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "expression": { + "id": 3489, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "2839:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3490, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2843:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2839:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3488, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2824:14:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3491, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2824:26:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2851:8:17", + "memberName": "keyPrice", + "nodeType": "MemberAccess", + "referencedDeclaration": 2953, + "src": "2824:35:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 3493, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2824:37:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 3487, + "id": 3494, + "nodeType": "Return", + "src": "2817:44:17" + } + ] + }, + "functionSelector": "221c1fd1", + "id": 3496, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "keyPurchasePrice", + "nameLocation": "2612:16:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3484, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3477, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3496, + "src": "2638:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3476, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2638:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3479, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3496, + "src": "2666:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3478, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2666:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3481, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3496, + "src": "2699:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3480, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2699:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3483, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3496, + "src": "2731:14:17", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 3482, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2731:5:17", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2628:134:17" + }, + "returnParameters": { + "id": 3487, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3486, + "mutability": "mutable", + "name": "minKeyPrice", + "nameLocation": "2794:11:17", + "nodeType": "VariableDeclaration", + "scope": 3496, + "src": "2786:19:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3485, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2786:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2785:21:17" + }, + "scope": 3733, + "src": "2603:265:17", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 3599, + "nodeType": "Block", + "src": "2938:1021:17", + "statements": [ + { + "assignments": [ + 3504 + ], + "declarations": [ + { + "constant": false, + "id": 3504, + "mutability": "mutable", + "name": "UPAddress", + "nameLocation": "2956:9:17", + "nodeType": "VariableDeclaration", + "scope": 3599, + "src": "2948:17:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3503, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2948:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 3510, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "id": 3506, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "2983:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3505, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2968:14:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3507, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2968:27:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2996:12:17", + "memberName": "tokenAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 2968, + "src": "2968:40:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 3509, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2968:42:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2948:62:17" + }, + { + "assignments": [ + 3512 + ], + "declarations": [ + { + "constant": false, + "id": 3512, + "mutability": "mutable", + "name": "valueInETH", + "nameLocation": "3109:10:17", + "nodeType": "VariableDeclaration", + "scope": 3599, + "src": "3104:15:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3511, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3104:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3521, + "initialValue": { + "arguments": [ + { + "id": 3517, + "name": "UPAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3504, + "src": "3177:9:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 3518, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3500, + "src": "3200:6:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 3519, + "name": "weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3297, + "src": "3220:4:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3514, + "name": "oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3295, + "src": "3139:6:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3513, + "name": "IUniswapOracleV3", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3291, + "src": "3122:16:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IUniswapOracleV3_$3291_$", + "typeString": "type(contract IUniswapOracleV3)" + } + }, + "id": 3515, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3122:24:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IUniswapOracleV3_$3291", + "typeString": "contract IUniswapOracleV3" + } + }, + "id": 3516, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3147:16:17", + "memberName": "updateAndConsult", + "nodeType": "MemberAccess", + "referencedDeclaration": 3290, + "src": "3122:41:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", + "typeString": "function (address,uint256,address) external returns (uint256)" + } + }, + "id": 3520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3122:112:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3104:130:17" + }, + { + "assignments": [ + 3523 + ], + "declarations": [ + { + "constant": false, + "id": 3523, + "mutability": "mutable", + "name": "existingRefund", + "nameLocation": "3291:14:17", + "nodeType": "VariableDeclaration", + "scope": 3599, + "src": "3286:19:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3522, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3286:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3529, + "initialValue": { + "baseExpression": { + "baseExpression": { + "id": 3524, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "3308:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3526, + "indexExpression": { + "id": 3525, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3498, + "src": "3316:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3308:20:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 3528, + "indexExpression": { + "hexValue": "30", + "id": 3527, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3329:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3308:23:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3286:45:17" + }, + { + "assignments": [ + 3531 + ], + "declarations": [ + { + "constant": false, + "id": 3531, + "mutability": "mutable", + "name": "existingDelay", + "nameLocation": "3346:13:17", + "nodeType": "VariableDeclaration", + "scope": 3599, + "src": "3341:18:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3530, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3341:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3537, + "initialValue": { + "baseExpression": { + "baseExpression": { + "id": 3532, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "3362:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3534, + "indexExpression": { + "id": 3533, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3498, + "src": "3370:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3362:20:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 3536, + "indexExpression": { + "hexValue": "31", + "id": 3535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3383:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3362:23:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3341:44:17" + }, + { + "assignments": [ + 3539 + ], + "declarations": [ + { + "constant": false, + "id": 3539, + "mutability": "mutable", + "name": "newRefund", + "nameLocation": "3400:9:17", + "nodeType": "VariableDeclaration", + "scope": 3599, + "src": "3395:14:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3538, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3395:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3542, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3540, + "name": "valueInETH", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3512, + "src": "3413:10:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3131", + "id": 3541, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3426:2:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_11_by_1", + "typeString": "int_const 11" + }, + "value": "11" + }, + "src": "3413:15:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 3543, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3412:17:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "3130", + "id": 3544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3432:2:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "3412:22:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3395:39:17" + }, + { + "assignments": [ + 3548 + ], + "declarations": [ + { + "constant": false, + "id": 3548, + "mutability": "mutable", + "name": "newDelay", + "nameLocation": "3462:8:17", + "nodeType": "VariableDeclaration", + "scope": 3599, + "src": "3457:13:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3547, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3457:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3559, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3558, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3549, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -4, + "src": "3473:5:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 3550, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3479:9:17", + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "3473:15:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_1209600_by_1", + "typeString": "int_const 1209600" + }, + "id": 3557, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + }, + "id": 3555, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_rational_3600_by_1", + "typeString": "int_const 3600" + }, + "id": 3553, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3630", + "id": 3551, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3491:2:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3630", + "id": 3552, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3496:2:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "src": "3491:7:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_3600_by_1", + "typeString": "int_const 3600" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3234", + "id": 3554, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3501:2:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_24_by_1", + "typeString": "int_const 24" + }, + "value": "24" + }, + "src": "3491:12:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3134", + "id": 3556, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3506:2:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_14_by_1", + "typeString": "int_const 14" + }, + "value": "14" + }, + "src": "3491:17:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_1209600_by_1", + "typeString": "int_const 1209600" + } + }, + "src": "3473:35:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3457:51:17" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3563, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3560, + "name": "existingDelay", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3531, + "src": "3541:13:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 3561, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -4, + "src": "3557:5:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 3562, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3563:9:17", + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "3557:15:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3541:31:17", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 3583, + "nodeType": "Block", + "src": "3666:153:17", + "statements": [ + { + "expression": { + "id": 3581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3575, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "3764:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3577, + "indexExpression": { + "id": 3576, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3498, + "src": "3772:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3764:20:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "components": [ + { + "id": 3578, + "name": "newRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3539, + "src": "3788:9:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 3579, + "name": "newDelay", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3548, + "src": "3799:8:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 3580, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3787:21:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "src": "3764:44:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 3582, + "nodeType": "ExpressionStatement", + "src": "3764:44:17" + } + ] + }, + "id": 3584, + "nodeType": "IfStatement", + "src": "3537:282:17", + "trueBody": { + "id": 3574, + "nodeType": "Block", + "src": "3574:86:17", + "statements": [ + { + "expression": { + "id": 3572, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3564, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "3588:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3566, + "indexExpression": { + "id": 3565, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3498, + "src": "3596:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3588:20:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3569, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3567, + "name": "existingRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3523, + "src": "3612:14:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "id": 3568, + "name": "newRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3539, + "src": "3629:9:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3612:26:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 3570, + "name": "newDelay", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3548, + "src": "3640:8:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 3571, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3611:38:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "src": "3588:61:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 3573, + "nodeType": "ExpressionStatement", + "src": "3588:61:17" + } + ] + } + }, + { + "eventCall": { + "arguments": [ + { + "id": 3586, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3498, + "src": "3857:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "baseExpression": { + "baseExpression": { + "id": 3587, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "3882:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3589, + "indexExpression": { + "id": 3588, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3498, + "src": "3890:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3882:20:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 3591, + "indexExpression": { + "hexValue": "30", + "id": 3590, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3903:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3882:23:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "baseExpression": { + "baseExpression": { + "id": 3592, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "3919:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3594, + "indexExpression": { + "id": 3593, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3498, + "src": "3927:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3919:20:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 3596, + "indexExpression": { + "hexValue": "31", + "id": 3595, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3940:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3919:23:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3585, + "name": "RefundSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3323, + "src": "3834:9:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 3597, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3834:118:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3598, + "nodeType": "EmitStatement", + "src": "3829:123:17" + } + ] + }, + "id": 3600, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "recordRefund", + "nameLocation": "2883:12:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3501, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3498, + "mutability": "mutable", + "name": "beneficiary", + "nameLocation": "2904:11:17", + "nodeType": "VariableDeclaration", + "scope": 3600, + "src": "2896:19:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3497, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2896:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3500, + "mutability": "mutable", + "name": "amount", + "nameLocation": "2922:6:17", + "nodeType": "VariableDeclaration", + "scope": 3600, + "src": "2917:11:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3499, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2917:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2895:34:17" + }, + "returnParameters": { + "id": 3502, + "nodeType": "ParameterList", + "parameters": [], + "src": "2938:0:17" + }, + "scope": 3733, + "src": "2874:1085:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 3633, + "nodeType": "Block", + "src": "4289:129:17", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3620, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3617, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4303:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3618, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4307:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4303:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 3619, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "4317:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4303:25:17", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3632, + "nodeType": "IfStatement", + "src": "4299:113:17", + "trueBody": { + "id": 3631, + "nodeType": "Block", + "src": "4330:82:17", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 3622, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3604, + "src": "4357:4:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "expression": { + "id": 3624, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4378:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3625, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4382:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4378:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3623, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "4363:14:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3626, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4363:26:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3627, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4390:8:17", + "memberName": "keyPrice", + "nodeType": "MemberAccess", + "referencedDeclaration": 2953, + "src": "4363:35:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 3628, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4363:37:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3621, + "name": "recordRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3600, + "src": "4344:12:17", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 3629, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4344:57:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3630, + "nodeType": "ExpressionStatement", + "src": "4344:57:17" + } + ] + } + } + ] + }, + "functionSelector": "5e895f29", + "id": 3634, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "onKeyPurchase", + "nameLocation": "4039:13:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3615, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3602, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3634, + "src": "4062:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3601, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4062:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3604, + "mutability": "mutable", + "name": "from", + "nameLocation": "4101:4:17", + "nodeType": "VariableDeclaration", + "scope": 3634, + "src": "4093:12:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3603, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4093:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3606, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3634, + "src": "4115:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3605, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4115:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3608, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3634, + "src": "4148:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3607, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4148:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3610, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3634, + "src": "4180:14:17", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 3609, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4180:5:17", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3612, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3634, + "src": "4215:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3611, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4215:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3614, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3634, + "src": "4250:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3613, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4250:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4052:227:17" + }, + "returnParameters": { + "id": 3616, + "nodeType": "ParameterList", + "parameters": [], + "src": "4289:0:17" + }, + "scope": 3733, + "src": "4030:388:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 3669, + "nodeType": "Block", + "src": "4649:182:17", + "statements": [ + { + "assignments": [ + 3647 + ], + "declarations": [ + { + "constant": false, + "id": 3647, + "mutability": "mutable", + "name": "lock", + "nameLocation": "4674:4:17", + "nodeType": "VariableDeclaration", + "scope": 3669, + "src": "4659:19:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + }, + "typeName": { + "id": 3646, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 3645, + "name": "IPublicLockV13", + "nameLocations": [ + "4659:14:17" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 3244, + "src": "4659:14:17" + }, + "referencedDeclaration": 3244, + "src": "4659:14:17", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "visibility": "internal" + } + ], + "id": 3652, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 3649, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4696:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3650, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4700:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4696:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3648, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "4681:14:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3651, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4681:26:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4659:48:17" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3653, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4721:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3654, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4725:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4721:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 3655, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3293, + "src": "4735:11:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4721:25:17", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3668, + "nodeType": "IfStatement", + "src": "4717:108:17", + "trueBody": { + "id": 3667, + "nodeType": "Block", + "src": "4748:77:17", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 3660, + "name": "tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3636, + "src": "4788:7:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 3658, + "name": "lock", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3647, + "src": "4775:4:17", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4780:7:17", + "memberName": "ownerOf", + "nodeType": "MemberAccess", + "referencedDeclaration": 3049, + "src": "4775:12:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view external returns (address)" + } + }, + "id": 3661, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4775:21:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 3662, + "name": "lock", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3647, + "src": "4798:4:17", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3663, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4803:8:17", + "memberName": "keyPrice", + "nodeType": "MemberAccess", + "referencedDeclaration": 2953, + "src": "4798:13:17", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 3664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4798:15:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3657, + "name": "recordRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3600, + "src": "4762:12:17", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 3665, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4762:52:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3666, + "nodeType": "ExpressionStatement", + "src": "4762:52:17" + } + ] + } + } + ] + }, + "functionSelector": "016b9680", + "id": 3670, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "onKeyExtend", + "nameLocation": "4497:11:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3643, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3636, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "4523:7:17", + "nodeType": "VariableDeclaration", + "scope": 3670, + "src": "4518:12:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3635, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4518:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3638, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3670, + "src": "4540:7:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3637, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4540:7:17", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3640, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3670, + "src": "4570:4:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3639, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4570:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3642, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3670, + "src": "4603:4:17", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3641, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4603:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4508:131:17" + }, + "returnParameters": { + "id": 3644, + "nodeType": "ParameterList", + "parameters": [], + "src": "4649:0:17" + }, + "scope": 3733, + "src": "4488:343:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 3731, + "nodeType": "Block", + "src": "4894:324:17", + "statements": [ + { + "assignments": [ + 3678 + ], + "declarations": [ + { + "constant": false, + "id": 3678, + "mutability": "mutable", + "name": "refund", + "nameLocation": "4919:6:17", + "nodeType": "VariableDeclaration", + "scope": 3731, + "src": "4904:21:17", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2]" + }, + "typeName": { + "baseType": { + "id": 3676, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4904:4:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3677, + "length": { + "hexValue": "32", + "id": 3675, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4909:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "ArrayTypeName", + "src": "4904:7:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", + "typeString": "uint256[2]" + } + }, + "visibility": "internal" + } + ], + "id": 3683, + "initialValue": { + "baseExpression": { + "id": 3679, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "4928:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3682, + "indexExpression": { + "expression": { + "id": 3680, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4936:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3681, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4940:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4936:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4928:19:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4904:43:17" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3689, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "id": 3685, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3678, + "src": "4965:6:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 3687, + "indexExpression": { + "hexValue": "30", + "id": 3686, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4972:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4965:9:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 3688, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4977:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "4965:13:17", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4e6f20726566756e6420617661696c61626c65", + "id": 3690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4980:21:17", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "typeString": "literal_string \"No refund available\"" + }, + "value": "No refund available" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "typeString": "literal_string \"No refund available\"" + } + ], + "id": 3684, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "4957:7:17", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 3691, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4957:45:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3692, + "nodeType": "ExpressionStatement", + "src": "4957:45:17" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "id": 3694, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3678, + "src": "5020:6:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 3696, + "indexExpression": { + "hexValue": "31", + "id": 3695, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5027:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5020:9:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 3697, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -4, + "src": "5032:5:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 3698, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5038:9:17", + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "5032:15:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5020:27:17", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "526566756e64206e6f7420617661696c61626c6520796574", + "id": 3700, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5049:26:17", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "typeString": "literal_string \"Refund not available yet\"" + }, + "value": "Refund not available yet" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "typeString": "literal_string \"Refund not available yet\"" + } + ], + "id": 3693, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "5012:7:17", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 3701, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5012:64:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3702, + "nodeType": "ExpressionStatement", + "src": "5012:64:17" + }, + { + "expression": { + "id": 3710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3703, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "5086:7:17", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 3706, + "indexExpression": { + "expression": { + "id": 3704, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5094:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5098:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5094:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "5086:19:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "components": [ + { + "hexValue": "30", + "id": 3707, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5109:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + { + "hexValue": "30", + "id": 3708, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5112:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 3709, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5108:6:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint8_$2_memory_ptr", + "typeString": "uint8[2] memory" + } + }, + "src": "5086:28:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 3711, + "nodeType": "ExpressionStatement", + "src": "5086:28:17" + }, + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 3718, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3678, + "src": "5153:6:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 3720, + "indexExpression": { + "hexValue": "30", + "id": 3719, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5160:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5153:9:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "arguments": [ + { + "expression": { + "id": 3714, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5132:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3715, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5136:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5132:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3713, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5124:8:17", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_payable_$", + "typeString": "type(address payable)" + }, + "typeName": { + "id": 3712, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5124:8:17", + "stateMutability": "payable", + "typeDescriptions": {} + } + }, + "id": 3716, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5124:19:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 3717, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5144:8:17", + "memberName": "transfer", + "nodeType": "MemberAccess", + "src": "5124:28:17", + "typeDescriptions": { + "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256)" + } + }, + "id": 3721, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5124:39:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3722, + "nodeType": "ExpressionStatement", + "src": "5124:39:17" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 3724, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5189:3:17", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3725, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5193:6:17", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5189:10:17", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "baseExpression": { + "id": 3726, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3678, + "src": "5201:6:17", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 3728, + "indexExpression": { + "hexValue": "30", + "id": 3727, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5208:1:17", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5201:9:17", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3723, + "name": "RefundPaid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3329, + "src": "5178:10:17", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 3729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5178:33:17", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3730, + "nodeType": "EmitStatement", + "src": "5173:38:17" + } + ] + }, + "functionSelector": "b5545a3c", + "id": 3732, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "claimRefund", + "nameLocation": "4871:11:17", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3671, + "nodeType": "ParameterList", + "parameters": [], + "src": "4882:2:17" + }, + "returnParameters": { + "id": 3672, + "nodeType": "ParameterList", + "parameters": [], + "src": "4894:0:17" + }, + "scope": 3733, + "src": "4862:356:17", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 3734, + "src": "724:4496:17", + "usedErrors": [], + "usedEvents": [ + 3307, + 3311, + 3315, + 3323, + 3329 + ] + } + ], + "src": "0:5221:17" + }, + "id": 17 + }, + "contracts/UnlockPrimeHookWithRecipient.sol": { + "ast": { + "absolutePath": "contracts/UnlockPrimeHookWithRecipient.sol", + "exportedSymbols": { + "IPublicLockV13": [ + 3244 + ], + "IUniswapOracleV3": [ + 3776 + ], + "UnlockPrimeHookWithRecipient": [ + 4218 + ] + }, + "id": 4219, + "license": "UNLICENSED", + "nodeType": "SourceUnit", + "nodes": [ + { + "absolutePath": "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol", + "file": "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol", + "id": 3735, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 4219, + "sourceUnit": 3245, + "src": "0:71:18", + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 3736, + "literals": [ + "solidity", + "^", + "0.8", + ".27" + ], + "nodeType": "PragmaDirective", + "src": "112:24:18" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IUniswapOracleV3", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 3776, + "linearizedBaseContracts": [ + 3776 + ], + "name": "IUniswapOracleV3", + "nameLocation": "224:16:18", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "b4d1d795", + "id": 3741, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "PERIOD", + "nameLocation": "256:6:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3737, + "nodeType": "ParameterList", + "parameters": [], + "src": "262:2:18" + }, + "returnParameters": { + "id": 3740, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3739, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3741, + "src": "283:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3738, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "283:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "282:9:18" + }, + "scope": 3776, + "src": "247:45:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "c45a0155", + "id": 3746, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "factory", + "nameLocation": "307:7:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3742, + "nodeType": "ParameterList", + "parameters": [], + "src": "314:2:18" + }, + "returnParameters": { + "id": 3745, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3744, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3746, + "src": "335:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3743, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "335:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "334:9:18" + }, + "scope": 3776, + "src": "298:46:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "c640752d", + "id": 3753, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "update", + "nameLocation": "359:6:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3751, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3748, + "mutability": "mutable", + "name": "_tokenIn", + "nameLocation": "374:8:18", + "nodeType": "VariableDeclaration", + "scope": 3753, + "src": "366:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3747, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "366:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3750, + "mutability": "mutable", + "name": "_tokenOut", + "nameLocation": "392:9:18", + "nodeType": "VariableDeclaration", + "scope": 3753, + "src": "384:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3749, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "384:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "365:37:18" + }, + "returnParameters": { + "id": 3752, + "nodeType": "ParameterList", + "parameters": [], + "src": "411:0:18" + }, + "scope": 3776, + "src": "350:62:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8c86f1e4", + "id": 3764, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "consult", + "nameLocation": "427:7:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3760, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3755, + "mutability": "mutable", + "name": "_tokenIn", + "nameLocation": "452:8:18", + "nodeType": "VariableDeclaration", + "scope": 3764, + "src": "444:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3754, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "444:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3757, + "mutability": "mutable", + "name": "_amountIn", + "nameLocation": "478:9:18", + "nodeType": "VariableDeclaration", + "scope": 3764, + "src": "470:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3756, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "470:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3759, + "mutability": "mutable", + "name": "_tokenOut", + "nameLocation": "505:9:18", + "nodeType": "VariableDeclaration", + "scope": 3764, + "src": "497:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3758, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "497:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "434:86:18" + }, + "returnParameters": { + "id": 3763, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3762, + "mutability": "mutable", + "name": "_amountOut", + "nameLocation": "552:10:18", + "nodeType": "VariableDeclaration", + "scope": 3764, + "src": "544:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3761, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "544:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "543:20:18" + }, + "scope": 3776, + "src": "418:146:18", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "c1e553e7", + "id": 3775, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "updateAndConsult", + "nameLocation": "579:16:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3771, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3766, + "mutability": "mutable", + "name": "_tokenIn", + "nameLocation": "613:8:18", + "nodeType": "VariableDeclaration", + "scope": 3775, + "src": "605:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3765, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "605:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3768, + "mutability": "mutable", + "name": "_amountIn", + "nameLocation": "639:9:18", + "nodeType": "VariableDeclaration", + "scope": 3775, + "src": "631:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3767, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "631:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3770, + "mutability": "mutable", + "name": "_tokenOut", + "nameLocation": "666:9:18", + "nodeType": "VariableDeclaration", + "scope": 3775, + "src": "658:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3769, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "658:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "595:86:18" + }, + "returnParameters": { + "id": 3774, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3773, + "mutability": "mutable", + "name": "_amountOut", + "nameLocation": "708:10:18", + "nodeType": "VariableDeclaration", + "scope": 3775, + "src": "700:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3772, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "700:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "699:20:18" + }, + "scope": 3776, + "src": "570:150:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 4219, + "src": "214:508:18", + "usedErrors": [], + "usedEvents": [] + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "UnlockPrimeHookWithRecipient", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 4218, + "linearizedBaseContracts": [ + 4218 + ], + "name": "UnlockPrimeHookWithRecipient", + "nameLocation": "733:28:18", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "functionSelector": "db7d7f8d", + "id": 3778, + "mutability": "mutable", + "name": "unlockPrime", + "nameLocation": "783:11:18", + "nodeType": "VariableDeclaration", + "scope": 4218, + "src": "768:26:18", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3777, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "768:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "7dc0d1d0", + "id": 3780, + "mutability": "mutable", + "name": "oracle", + "nameLocation": "815:6:18", + "nodeType": "VariableDeclaration", + "scope": 4218, + "src": "800:21:18", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3779, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "800:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "3fc8cef3", + "id": 3782, + "mutability": "mutable", + "name": "weth", + "nameLocation": "842:4:18", + "nodeType": "VariableDeclaration", + "scope": 4218, + "src": "827:19:18", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3781, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "827:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "3436247b", + "id": 3788, + "mutability": "mutable", + "name": "refunds", + "nameLocation": "887:7:18", + "nodeType": "VariableDeclaration", + "scope": 4218, + "src": "852:42:18", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2])" + }, + "typeName": { + "id": 3787, + "keyName": "", + "keyNameLocation": "-1:-1:-1", + "keyType": { + "id": 3783, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "860:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "852:27:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2])" + }, + "valueName": "", + "valueNameLocation": "-1:-1:-1", + "valueType": { + "baseType": { + "id": 3784, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "871:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3786, + "length": { + "hexValue": "32", + "id": 3785, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "876:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "ArrayTypeName", + "src": "871:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", + "typeString": "uint256[2]" + } + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "eventSelector": "867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5", + "id": 3792, + "name": "UnlockPrimeSet", + "nameLocation": "925:14:18", + "nodeType": "EventDefinition", + "parameters": { + "id": 3791, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3790, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3792, + "src": "940:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3789, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "940:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "939:9:18" + }, + "src": "919:30:18" + }, + { + "anonymous": false, + "eventSelector": "3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa", + "id": 3796, + "name": "OracleSet", + "nameLocation": "960:9:18", + "nodeType": "EventDefinition", + "parameters": { + "id": 3795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3794, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3796, + "src": "970:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3793, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "970:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "969:9:18" + }, + "src": "954:25:18" + }, + { + "anonymous": false, + "eventSelector": "13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf9", + "id": 3800, + "name": "WethSet", + "nameLocation": "990:7:18", + "nodeType": "EventDefinition", + "parameters": { + "id": 3799, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3798, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3800, + "src": "998:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3797, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "998:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "997:9:18" + }, + "src": "984:23:18" + }, + { + "anonymous": false, + "eventSelector": "a1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f80", + "id": 3808, + "name": "RefundSet", + "nameLocation": "1018:9:18", + "nodeType": "EventDefinition", + "parameters": { + "id": 3807, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3802, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3808, + "src": "1028:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3801, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1028:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3804, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3808, + "src": "1037:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3803, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1037:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3806, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3808, + "src": "1046:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3805, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1046:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1027:27:18" + }, + "src": "1012:43:18" + }, + { + "anonymous": false, + "eventSelector": "1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e0", + "id": 3814, + "name": "RefundPaid", + "nameLocation": "1066:10:18", + "nodeType": "EventDefinition", + "parameters": { + "id": 3813, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3810, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3814, + "src": "1077:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3809, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1077:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3812, + "indexed": false, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3814, + "src": "1086:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3811, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1086:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1076:18:18" + }, + "src": "1060:35:18" + }, + { + "body": { + "id": 3829, + "nodeType": "Block", + "src": "1167:57:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 3824, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3816, + "src": "1188:12:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 3825, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3818, + "src": "1202:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 3826, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3820, + "src": "1211:5:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3823, + "name": "initialize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3876, + "src": "1177:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$returns$__$", + "typeString": "function (address,address,address)" + } + }, + "id": 3827, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1177:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3828, + "nodeType": "ExpressionStatement", + "src": "1177:40:18" + } + ] + }, + "id": 3830, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3821, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3816, + "mutability": "mutable", + "name": "_unlockPrime", + "nameLocation": "1121:12:18", + "nodeType": "VariableDeclaration", + "scope": 3830, + "src": "1113:20:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3815, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1113:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3818, + "mutability": "mutable", + "name": "_oracle", + "nameLocation": "1143:7:18", + "nodeType": "VariableDeclaration", + "scope": 3830, + "src": "1135:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3817, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1135:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3820, + "mutability": "mutable", + "name": "_weth", + "nameLocation": "1160:5:18", + "nodeType": "VariableDeclaration", + "scope": 3830, + "src": "1152:13:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3819, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1152:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1112:54:18" + }, + "returnParameters": { + "id": 3822, + "nodeType": "ParameterList", + "parameters": [], + "src": "1167:0:18" + }, + "scope": 4218, + "src": "1101:123:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3875, + "nodeType": "Block", + "src": "1341:290:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3844, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3839, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "1355:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 3842, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1378:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1370:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3840, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1370:7:18", + "typeDescriptions": {} + } + }, + "id": 3843, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1370:10:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1355:25:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3850, + "nodeType": "IfStatement", + "src": "1351:85:18", + "trueBody": { + "id": 3849, + "nodeType": "Block", + "src": "1382:54:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "416c726561647920696e697469616c697a6564", + "id": 3846, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1403:21:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "typeString": "literal_string \"Already initialized\"" + }, + "value": "Already initialized" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "typeString": "literal_string \"Already initialized\"" + } + ], + "id": 3845, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "1396:6:18", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3847, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1396:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3848, + "nodeType": "ExpressionStatement", + "src": "1396:29:18" + } + ] + } + }, + { + "expression": { + "id": 3853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3851, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "1445:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3852, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3832, + "src": "1459:12:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1445:26:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3854, + "nodeType": "ExpressionStatement", + "src": "1445:26:18" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3856, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3832, + "src": "1501:12:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3855, + "name": "UnlockPrimeSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3792, + "src": "1486:14:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3857, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1486:28:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3858, + "nodeType": "EmitStatement", + "src": "1481:33:18" + }, + { + "expression": { + "id": 3861, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3859, + "name": "oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3780, + "src": "1524:6:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3860, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3834, + "src": "1533:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1524:16:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3862, + "nodeType": "ExpressionStatement", + "src": "1524:16:18" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3864, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3834, + "src": "1565:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3863, + "name": "OracleSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3796, + "src": "1555:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1555:18:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3866, + "nodeType": "EmitStatement", + "src": "1550:23:18" + }, + { + "expression": { + "id": 3869, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3867, + "name": "weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3782, + "src": "1583:4:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3868, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3836, + "src": "1590:5:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1583:12:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3870, + "nodeType": "ExpressionStatement", + "src": "1583:12:18" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3872, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3836, + "src": "1618:5:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3871, + "name": "WethSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3800, + "src": "1610:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1610:14:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3874, + "nodeType": "EmitStatement", + "src": "1605:19:18" + } + ] + }, + "functionSelector": "c0c53b8b", + "id": 3876, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "initialize", + "nameLocation": "1239:10:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3837, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3832, + "mutability": "mutable", + "name": "_unlockPrime", + "nameLocation": "1267:12:18", + "nodeType": "VariableDeclaration", + "scope": 3876, + "src": "1259:20:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3831, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1259:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3834, + "mutability": "mutable", + "name": "_oracle", + "nameLocation": "1297:7:18", + "nodeType": "VariableDeclaration", + "scope": 3876, + "src": "1289:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3833, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1289:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3836, + "mutability": "mutable", + "name": "_weth", + "nameLocation": "1322:5:18", + "nodeType": "VariableDeclaration", + "scope": 3876, + "src": "1314:13:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3835, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1314:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1249:84:18" + }, + "returnParameters": { + "id": 3838, + "nodeType": "ParameterList", + "parameters": [], + "src": "1341:0:18" + }, + "scope": 4218, + "src": "1230:401:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3903, + "nodeType": "Block", + "src": "1757:218:18", + "statements": [ + { + "condition": { + "id": 3888, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1771:54:18", + "subExpression": { + "arguments": [ + { + "expression": { + "id": 3885, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "1814:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1818:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1814:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3882, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "1787:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3881, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "1772:14:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3883, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1772:27:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3884, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1800:13:18", + "memberName": "isLockManager", + "nodeType": "MemberAccess", + "referencedDeclaration": 2887, + "src": "1772:41:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view external returns (bool)" + } + }, + "id": 3887, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1772:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3894, + "nodeType": "IfStatement", + "src": "1767:123:18", + "trueBody": { + "id": 3893, + "nodeType": "Block", + "src": "1827:63:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "id": 3890, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1848:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + }, + "value": "Caller is not a lock manager" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + } + ], + "id": 3889, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "1841:6:18", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3891, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1841:38:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3892, + "nodeType": "ExpressionStatement", + "src": "1841:38:18" + } + ] + } + }, + { + "expression": { + "id": 3897, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3895, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "1899:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3896, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3878, + "src": "1913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1899:26:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3898, + "nodeType": "ExpressionStatement", + "src": "1899:26:18" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3900, + "name": "_unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3878, + "src": "1955:12:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3899, + "name": "UnlockPrimeSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3792, + "src": "1940:14:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1940:28:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3902, + "nodeType": "EmitStatement", + "src": "1935:33:18" + } + ] + }, + "functionSelector": "8295d3be", + "id": 3904, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setUnlockPrime", + "nameLocation": "1713:14:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3879, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3878, + "mutability": "mutable", + "name": "_unlockPrime", + "nameLocation": "1736:12:18", + "nodeType": "VariableDeclaration", + "scope": 3904, + "src": "1728:20:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3877, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1728:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1727:22:18" + }, + "returnParameters": { + "id": 3880, + "nodeType": "ParameterList", + "parameters": [], + "src": "1757:0:18" + }, + "scope": 4218, + "src": "1704:271:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3931, + "nodeType": "Block", + "src": "2085:198:18", + "statements": [ + { + "condition": { + "id": 3916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2099:54:18", + "subExpression": { + "arguments": [ + { + "expression": { + "id": 3913, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "2142:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3914, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2146:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2142:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3910, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "2115:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3909, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2100:14:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3911, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2100:27:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3912, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2128:13:18", + "memberName": "isLockManager", + "nodeType": "MemberAccess", + "referencedDeclaration": 2887, + "src": "2100:41:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view external returns (bool)" + } + }, + "id": 3915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2100:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3922, + "nodeType": "IfStatement", + "src": "2095:123:18", + "trueBody": { + "id": 3921, + "nodeType": "Block", + "src": "2155:63:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "id": 3918, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2176:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + }, + "value": "Caller is not a lock manager" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + } + ], + "id": 3917, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "2169:6:18", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3919, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2169:38:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3920, + "nodeType": "ExpressionStatement", + "src": "2169:38:18" + } + ] + } + }, + { + "expression": { + "id": 3925, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3923, + "name": "oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3780, + "src": "2227:6:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3924, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3906, + "src": "2236:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2227:16:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3926, + "nodeType": "ExpressionStatement", + "src": "2227:16:18" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3928, + "name": "_oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3906, + "src": "2268:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3927, + "name": "OracleSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3796, + "src": "2258:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3929, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2258:18:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3930, + "nodeType": "EmitStatement", + "src": "2253:23:18" + } + ] + }, + "functionSelector": "7adbf973", + "id": 3932, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setOracle", + "nameLocation": "2051:9:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3907, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3906, + "mutability": "mutable", + "name": "_oracle", + "nameLocation": "2069:7:18", + "nodeType": "VariableDeclaration", + "scope": 3932, + "src": "2061:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3905, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2061:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2060:17:18" + }, + "returnParameters": { + "id": 3908, + "nodeType": "ParameterList", + "parameters": [], + "src": "2085:0:18" + }, + "scope": 4218, + "src": "2042:241:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3959, + "nodeType": "Block", + "src": "2387:190:18", + "statements": [ + { + "condition": { + "id": 3944, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2401:54:18", + "subExpression": { + "arguments": [ + { + "expression": { + "id": 3941, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "2444:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3942, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2448:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2444:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3938, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "2417:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3937, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2402:14:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3939, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2402:27:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3940, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2430:13:18", + "memberName": "isLockManager", + "nodeType": "MemberAccess", + "referencedDeclaration": 2887, + "src": "2402:41:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view external returns (bool)" + } + }, + "id": 3943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2402:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3950, + "nodeType": "IfStatement", + "src": "2397:123:18", + "trueBody": { + "id": 3949, + "nodeType": "Block", + "src": "2457:63:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "id": 3946, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2478:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + }, + "value": "Caller is not a lock manager" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "typeString": "literal_string \"Caller is not a lock manager\"" + } + ], + "id": 3945, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -19, + -19 + ], + "referencedDeclaration": -19, + "src": "2471:6:18", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 3947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2471:38:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3948, + "nodeType": "ExpressionStatement", + "src": "2471:38:18" + } + ] + } + }, + { + "expression": { + "id": 3953, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3951, + "name": "weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3782, + "src": "2529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3952, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3934, + "src": "2536:5:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2529:12:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 3954, + "nodeType": "ExpressionStatement", + "src": "2529:12:18" + }, + { + "eventCall": { + "arguments": [ + { + "id": 3956, + "name": "_weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3934, + "src": "2564:5:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3955, + "name": "WethSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3800, + "src": "2556:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 3957, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2556:14:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3958, + "nodeType": "EmitStatement", + "src": "2551:19:18" + } + ] + }, + "functionSelector": "b8d1452f", + "id": 3960, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setWeth", + "nameLocation": "2357:7:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3935, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3934, + "mutability": "mutable", + "name": "_weth", + "nameLocation": "2373:5:18", + "nodeType": "VariableDeclaration", + "scope": 3960, + "src": "2365:13:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3933, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2365:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2364:15:18" + }, + "returnParameters": { + "id": 3936, + "nodeType": "ParameterList", + "parameters": [], + "src": "2387:0:18" + }, + "scope": 4218, + "src": "2348:229:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3980, + "nodeType": "Block", + "src": "2820:61:18", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "expression": { + "id": 3974, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "2852:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3975, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2856:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2852:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3973, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2837:14:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3976, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2837:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3977, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2864:8:18", + "memberName": "keyPrice", + "nodeType": "MemberAccess", + "referencedDeclaration": 2953, + "src": "2837:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 3978, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2837:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 3972, + "id": 3979, + "nodeType": "Return", + "src": "2830:44:18" + } + ] + }, + "functionSelector": "221c1fd1", + "id": 3981, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "keyPurchasePrice", + "nameLocation": "2625:16:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3969, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3962, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3981, + "src": "2651:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3961, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2651:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3964, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3981, + "src": "2679:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3963, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2679:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3966, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3981, + "src": "2712:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3965, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2712:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3968, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 3981, + "src": "2744:14:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 3967, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2744:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2641:134:18" + }, + "returnParameters": { + "id": 3972, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3971, + "mutability": "mutable", + "name": "minKeyPrice", + "nameLocation": "2807:11:18", + "nodeType": "VariableDeclaration", + "scope": 3981, + "src": "2799:19:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3970, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2799:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2798:21:18" + }, + "scope": 4218, + "src": "2616:265:18", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 4084, + "nodeType": "Block", + "src": "2951:1021:18", + "statements": [ + { + "assignments": [ + 3989 + ], + "declarations": [ + { + "constant": false, + "id": 3989, + "mutability": "mutable", + "name": "UPAddress", + "nameLocation": "2969:9:18", + "nodeType": "VariableDeclaration", + "scope": 4084, + "src": "2961:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3988, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2961:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 3995, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "id": 3991, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "2996:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3990, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "2981:14:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 3992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2981:27:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 3993, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3009:12:18", + "memberName": "tokenAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 2968, + "src": "2981:40:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 3994, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2981:42:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2961:62:18" + }, + { + "assignments": [ + 3997 + ], + "declarations": [ + { + "constant": false, + "id": 3997, + "mutability": "mutable", + "name": "valueInETH", + "nameLocation": "3122:10:18", + "nodeType": "VariableDeclaration", + "scope": 4084, + "src": "3117:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3996, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3117:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 4006, + "initialValue": { + "arguments": [ + { + "id": 4002, + "name": "UPAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3989, + "src": "3190:9:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 4003, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3985, + "src": "3213:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 4004, + "name": "weth", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3782, + "src": "3233:4:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "arguments": [ + { + "id": 3999, + "name": "oracle", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3780, + "src": "3152:6:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3998, + "name": "IUniswapOracleV3", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3776, + "src": "3135:16:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IUniswapOracleV3_$3776_$", + "typeString": "type(contract IUniswapOracleV3)" + } + }, + "id": 4000, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3135:24:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IUniswapOracleV3_$3776", + "typeString": "contract IUniswapOracleV3" + } + }, + "id": 4001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3160:16:18", + "memberName": "updateAndConsult", + "nodeType": "MemberAccess", + "referencedDeclaration": 3775, + "src": "3135:41:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", + "typeString": "function (address,uint256,address) external returns (uint256)" + } + }, + "id": 4005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3135:112:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3117:130:18" + }, + { + "assignments": [ + 4008 + ], + "declarations": [ + { + "constant": false, + "id": 4008, + "mutability": "mutable", + "name": "existingRefund", + "nameLocation": "3304:14:18", + "nodeType": "VariableDeclaration", + "scope": 4084, + "src": "3299:19:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4007, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3299:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 4014, + "initialValue": { + "baseExpression": { + "baseExpression": { + "id": 4009, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "3321:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4011, + "indexExpression": { + "id": 4010, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3983, + "src": "3329:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3321:20:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 4013, + "indexExpression": { + "hexValue": "30", + "id": 4012, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3342:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3321:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3299:45:18" + }, + { + "assignments": [ + 4016 + ], + "declarations": [ + { + "constant": false, + "id": 4016, + "mutability": "mutable", + "name": "existingDelay", + "nameLocation": "3359:13:18", + "nodeType": "VariableDeclaration", + "scope": 4084, + "src": "3354:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4015, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3354:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 4022, + "initialValue": { + "baseExpression": { + "baseExpression": { + "id": 4017, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "3375:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4019, + "indexExpression": { + "id": 4018, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3983, + "src": "3383:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3375:20:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 4021, + "indexExpression": { + "hexValue": "31", + "id": 4020, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3396:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3375:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3354:44:18" + }, + { + "assignments": [ + 4024 + ], + "declarations": [ + { + "constant": false, + "id": 4024, + "mutability": "mutable", + "name": "newRefund", + "nameLocation": "3413:9:18", + "nodeType": "VariableDeclaration", + "scope": 4084, + "src": "3408:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4023, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3408:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 4031, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4030, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4027, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4025, + "name": "valueInETH", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3997, + "src": "3426:10:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3131", + "id": 4026, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3439:2:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_11_by_1", + "typeString": "int_const 11" + }, + "value": "11" + }, + "src": "3426:15:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 4028, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3425:17:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "3130", + "id": 4029, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3445:2:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "3425:22:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3408:39:18" + }, + { + "assignments": [ + 4033 + ], + "declarations": [ + { + "constant": false, + "id": 4033, + "mutability": "mutable", + "name": "newDelay", + "nameLocation": "3475:8:18", + "nodeType": "VariableDeclaration", + "scope": 4084, + "src": "3470:13:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4032, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3470:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 4044, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4043, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 4034, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -4, + "src": "3486:5:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 4035, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3492:9:18", + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "3486:15:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_rational_1209600_by_1", + "typeString": "int_const 1209600" + }, + "id": 4042, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + }, + "id": 4040, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_rational_3600_by_1", + "typeString": "int_const 3600" + }, + "id": 4038, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3630", + "id": 4036, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3504:2:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3630", + "id": 4037, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3509:2:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "src": "3504:7:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_3600_by_1", + "typeString": "int_const 3600" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3234", + "id": 4039, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3514:2:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_24_by_1", + "typeString": "int_const 24" + }, + "value": "24" + }, + "src": "3504:12:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3134", + "id": 4041, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3519:2:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_14_by_1", + "typeString": "int_const 14" + }, + "value": "14" + }, + "src": "3504:17:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1209600_by_1", + "typeString": "int_const 1209600" + } + }, + "src": "3486:35:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3470:51:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4048, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4045, + "name": "existingDelay", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4016, + "src": "3554:13:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 4046, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -4, + "src": "3570:5:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 4047, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3576:9:18", + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "3570:15:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3554:31:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 4068, + "nodeType": "Block", + "src": "3679:153:18", + "statements": [ + { + "expression": { + "id": 4066, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 4060, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "3777:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4062, + "indexExpression": { + "id": 4061, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3983, + "src": "3785:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3777:20:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "components": [ + { + "id": 4063, + "name": "newRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4024, + "src": "3801:9:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 4064, + "name": "newDelay", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4033, + "src": "3812:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 4065, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3800:21:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "src": "3777:44:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 4067, + "nodeType": "ExpressionStatement", + "src": "3777:44:18" + } + ] + }, + "id": 4069, + "nodeType": "IfStatement", + "src": "3550:282:18", + "trueBody": { + "id": 4059, + "nodeType": "Block", + "src": "3587:86:18", + "statements": [ + { + "expression": { + "id": 4057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 4049, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "3601:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4051, + "indexExpression": { + "id": 4050, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3983, + "src": "3609:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3601:20:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4052, + "name": "existingRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4008, + "src": "3625:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "id": 4053, + "name": "newRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4024, + "src": "3642:9:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3625:26:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 4055, + "name": "newDelay", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4033, + "src": "3653:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 4056, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3624:38:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "src": "3601:61:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 4058, + "nodeType": "ExpressionStatement", + "src": "3601:61:18" + } + ] + } + }, + { + "eventCall": { + "arguments": [ + { + "id": 4071, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3983, + "src": "3870:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "baseExpression": { + "baseExpression": { + "id": 4072, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "3895:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4074, + "indexExpression": { + "id": 4073, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3983, + "src": "3903:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3895:20:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 4076, + "indexExpression": { + "hexValue": "30", + "id": 4075, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3895:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "baseExpression": { + "baseExpression": { + "id": 4077, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "3932:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4079, + "indexExpression": { + "id": 4078, + "name": "beneficiary", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3983, + "src": "3940:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3932:20:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 4081, + "indexExpression": { + "hexValue": "31", + "id": 4080, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3953:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3932:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 4070, + "name": "RefundSet", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3808, + "src": "3847:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 4082, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3847:118:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4083, + "nodeType": "EmitStatement", + "src": "3842:123:18" + } + ] + }, + "id": 4085, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "recordRefund", + "nameLocation": "2896:12:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3986, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3983, + "mutability": "mutable", + "name": "beneficiary", + "nameLocation": "2917:11:18", + "nodeType": "VariableDeclaration", + "scope": 4085, + "src": "2909:19:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3982, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2909:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3985, + "mutability": "mutable", + "name": "amount", + "nameLocation": "2935:6:18", + "nodeType": "VariableDeclaration", + "scope": 4085, + "src": "2930:11:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3984, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2930:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2908:34:18" + }, + "returnParameters": { + "id": 3987, + "nodeType": "ParameterList", + "parameters": [], + "src": "2951:0:18" + }, + "scope": 4218, + "src": "2887:1085:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 4118, + "nodeType": "Block", + "src": "4302:134:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 4105, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 4102, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4316:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4320:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4316:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 4104, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "4330:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4316:25:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 4117, + "nodeType": "IfStatement", + "src": "4312:118:18", + "trueBody": { + "id": 4116, + "nodeType": "Block", + "src": "4343:87:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 4107, + "name": "recipient", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4091, + "src": "4370:9:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "arguments": [ + { + "expression": { + "id": 4109, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4396:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4110, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4400:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 4108, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "4381:14:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 4111, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4381:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 4112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4408:8:18", + "memberName": "keyPrice", + "nodeType": "MemberAccess", + "referencedDeclaration": 2953, + "src": "4381:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 4113, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4381:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 4106, + "name": "recordRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4085, + "src": "4357:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 4114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4357:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4115, + "nodeType": "ExpressionStatement", + "src": "4357:62:18" + } + ] + } + } + ] + }, + "functionSelector": "5e895f29", + "id": 4119, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "onKeyPurchase", + "nameLocation": "4052:13:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4100, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4087, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4119, + "src": "4075:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4086, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4075:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4089, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4119, + "src": "4106:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 4088, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4106:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4091, + "mutability": "mutable", + "name": "recipient", + "nameLocation": "4142:9:18", + "nodeType": "VariableDeclaration", + "scope": 4119, + "src": "4134:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 4090, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4134:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4093, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4119, + "src": "4161:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 4092, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4161:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4095, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4119, + "src": "4193:14:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 4094, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4097, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4119, + "src": "4228:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4096, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4228:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4099, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4119, + "src": "4263:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4098, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4065:227:18" + }, + "returnParameters": { + "id": 4101, + "nodeType": "ParameterList", + "parameters": [], + "src": "4302:0:18" + }, + "scope": 4218, + "src": "4043:393:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 4154, + "nodeType": "Block", + "src": "4667:182:18", + "statements": [ + { + "assignments": [ + 4132 + ], + "declarations": [ + { + "constant": false, + "id": 4132, + "mutability": "mutable", + "name": "lock", + "nameLocation": "4692:4:18", + "nodeType": "VariableDeclaration", + "scope": 4154, + "src": "4677:19:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + }, + "typeName": { + "id": 4131, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 4130, + "name": "IPublicLockV13", + "nameLocations": [ + "4677:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 3244, + "src": "4677:14:18" + }, + "referencedDeclaration": 3244, + "src": "4677:14:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "visibility": "internal" + } + ], + "id": 4137, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 4134, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4714:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4718:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4714:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 4133, + "name": "IPublicLockV13", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3244, + "src": "4699:14:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IPublicLockV13_$3244_$", + "typeString": "type(contract IPublicLockV13)" + } + }, + "id": 4136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4699:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4677:48:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 4141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 4138, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4739:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4743:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4739:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 4140, + "name": "unlockPrime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3778, + "src": "4753:11:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4739:25:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 4153, + "nodeType": "IfStatement", + "src": "4735:108:18", + "trueBody": { + "id": 4152, + "nodeType": "Block", + "src": "4766:77:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 4145, + "name": "tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4121, + "src": "4806:7:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 4143, + "name": "lock", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4132, + "src": "4793:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 4144, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4798:7:18", + "memberName": "ownerOf", + "nodeType": "MemberAccess", + "referencedDeclaration": 3049, + "src": "4793:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view external returns (address)" + } + }, + "id": 4146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4793:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 4147, + "name": "lock", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4132, + "src": "4816:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IPublicLockV13_$3244", + "typeString": "contract IPublicLockV13" + } + }, + "id": 4148, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4821:8:18", + "memberName": "keyPrice", + "nodeType": "MemberAccess", + "referencedDeclaration": 2953, + "src": "4816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 4149, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4816:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 4142, + "name": "recordRefund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4085, + "src": "4780:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 4150, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4780:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4151, + "nodeType": "ExpressionStatement", + "src": "4780:52:18" + } + ] + } + } + ] + }, + "functionSelector": "016b9680", + "id": 4155, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "onKeyExtend", + "nameLocation": "4515:11:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4128, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4121, + "mutability": "mutable", + "name": "tokenId", + "nameLocation": "4541:7:18", + "nodeType": "VariableDeclaration", + "scope": 4155, + "src": "4536:12:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4120, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4123, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4155, + "src": "4558:7:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 4122, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4558:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4125, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4155, + "src": "4588:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4124, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4588:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4127, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4155, + "src": "4621:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4126, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4621:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4526:131:18" + }, + "returnParameters": { + "id": 4129, + "nodeType": "ParameterList", + "parameters": [], + "src": "4667:0:18" + }, + "scope": 4218, + "src": "4506:343:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 4216, + "nodeType": "Block", + "src": "4912:324:18", + "statements": [ + { + "assignments": [ + 4163 + ], + "declarations": [ + { + "constant": false, + "id": 4163, + "mutability": "mutable", + "name": "refund", + "nameLocation": "4937:6:18", + "nodeType": "VariableDeclaration", + "scope": 4216, + "src": "4922:21:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2]" + }, + "typeName": { + "baseType": { + "id": 4161, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4922:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 4162, + "length": { + "hexValue": "32", + "id": 4160, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4927:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "ArrayTypeName", + "src": "4922:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", + "typeString": "uint256[2]" + } + }, + "visibility": "internal" + } + ], + "id": 4168, + "initialValue": { + "baseExpression": { + "id": 4164, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "4946:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4167, + "indexExpression": { + "expression": { + "id": 4165, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "4954:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4958:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4954:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4946:19:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4922:43:18" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "id": 4170, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4163, + "src": "4983:6:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 4172, + "indexExpression": { + "hexValue": "30", + "id": 4171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4990:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4983:9:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 4173, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4995:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "4983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4e6f20726566756e6420617661696c61626c65", + "id": 4175, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4998:21:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "typeString": "literal_string \"No refund available\"" + }, + "value": "No refund available" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "typeString": "literal_string \"No refund available\"" + } + ], + "id": 4169, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "4975:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 4176, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4975:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4177, + "nodeType": "ExpressionStatement", + "src": "4975:45:18" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4184, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "id": 4179, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4163, + "src": "5038:6:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 4181, + "indexExpression": { + "hexValue": "31", + "id": 4180, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5045:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5038:9:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 4182, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -4, + "src": "5050:5:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 4183, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5056:9:18", + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "5050:15:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5038:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "526566756e64206e6f7420617661696c61626c6520796574", + "id": 4185, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5067:26:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "typeString": "literal_string \"Refund not available yet\"" + }, + "value": "Refund not available yet" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "typeString": "literal_string \"Refund not available yet\"" + } + ], + "id": 4178, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "5030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 4186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5030:64:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4187, + "nodeType": "ExpressionStatement", + "src": "5030:64:18" + }, + { + "expression": { + "id": 4195, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 4188, + "name": "refunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3788, + "src": "5104:7:18", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$2_storage_$", + "typeString": "mapping(address => uint256[2] storage ref)" + } + }, + "id": 4191, + "indexExpression": { + "expression": { + "id": 4189, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5112:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4190, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5116:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "5104:19:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "components": [ + { + "hexValue": "30", + "id": 4192, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5127:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + { + "hexValue": "30", + "id": 4193, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5130:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "id": 4194, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint8_$2_memory_ptr", + "typeString": "uint8[2] memory" + } + }, + "src": "5104:28:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_storage", + "typeString": "uint256[2] storage ref" + } + }, + "id": 4196, + "nodeType": "ExpressionStatement", + "src": "5104:28:18" + }, + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 4203, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4163, + "src": "5171:6:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 4205, + "indexExpression": { + "hexValue": "30", + "id": 4204, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5178:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5171:9:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "arguments": [ + { + "expression": { + "id": 4199, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5150:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4200, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5154:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5150:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 4198, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5142:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_payable_$", + "typeString": "type(address payable)" + }, + "typeName": { + "id": 4197, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5142:8:18", + "stateMutability": "payable", + "typeDescriptions": {} + } + }, + "id": 4201, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5142:19:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 4202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5162:8:18", + "memberName": "transfer", + "nodeType": "MemberAccess", + "src": "5142:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256)" + } + }, + "id": 4206, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5142:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4207, + "nodeType": "ExpressionStatement", + "src": "5142:39:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 4209, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -15, + "src": "5207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 4210, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5211:6:18", + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "baseExpression": { + "id": 4211, + "name": "refund", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4163, + "src": "5219:6:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", + "typeString": "uint256[2] memory" + } + }, + "id": 4213, + "indexExpression": { + "hexValue": "30", + "id": 4212, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5226:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5219:9:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 4208, + "name": "RefundPaid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3814, + "src": "5196:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 4214, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5196:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4215, + "nodeType": "EmitStatement", + "src": "5191:38:18" + } + ] + }, + "functionSelector": "b5545a3c", + "id": 4217, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "claimRefund", + "nameLocation": "4889:11:18", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4156, + "nodeType": "ParameterList", + "parameters": [], + "src": "4900:2:18" + }, + "returnParameters": { + "id": 4157, + "nodeType": "ParameterList", + "parameters": [], + "src": "4912:0:18" + }, + "scope": 4218, + "src": "4880:356:18", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 4219, + "src": "724:4514:18", + "usedErrors": [], + "usedEvents": [ + 3792, + 3796, + 3800, + 3808, + 3814 + ] + } + ], + "src": "0:5239:18" + }, + "id": 18 + }, + "contracts/UnlockPrimeTokenURIHook.sol": { + "ast": { + "absolutePath": "contracts/UnlockPrimeTokenURIHook.sol", + "exportedSymbols": { + "Base64": [ + 1038 + ], + "Datetime": [ + 4409 + ], + "Strings": [ + 1433 + ], + "UnlockPrimeTokenURIHook": [ + 4561 + ] + }, + "id": 4562, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 4220, + "literals": [ + "solidity", + ">=", + "0.5", + ".17", + "<", + "0.9", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "32:32:19" + }, + { + "absolutePath": "@openzeppelin/contracts/utils/Base64.sol", + "file": "@openzeppelin/contracts/utils/Base64.sol", + "id": 4221, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 4562, + "sourceUnit": 1039, + "src": "295:50:19", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "@openzeppelin/contracts/utils/Strings.sol", + "file": "@openzeppelin/contracts/utils/Strings.sol", + "id": 4223, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 4562, + "sourceUnit": 1434, + "src": "346:66:19", + "symbolAliases": [ + { + "foreign": { + "id": 4222, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1433, + "src": "354:7:19", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Datetime", + "contractDependencies": [], + "contractKind": "library", + "fullyImplemented": true, + "id": 4409, + "linearizedBaseContracts": [ + 4409 + ], + "name": "Datetime", + "nameLocation": "477:8:19", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 4230, + "mutability": "constant", + "name": "SECONDS_PER_DAY", + "nameLocation": "506:15:19", + "nodeType": "VariableDeclaration", + "scope": 4409, + "src": "492:44:19", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4224, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "492:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "commonType": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + }, + "id": 4229, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_rational_1440_by_1", + "typeString": "int_const 1440" + }, + "id": 4227, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3234", + "id": 4225, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "524:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_24_by_1", + "typeString": "int_const 24" + }, + "value": "24" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3630", + "id": 4226, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "529:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "src": "524:7:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_1440_by_1", + "typeString": "int_const 1440" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3630", + "id": 4228, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "534:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "src": "524:12:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + } + }, + "visibility": "internal" + }, + { + "constant": true, + "id": 4235, + "mutability": "constant", + "name": "SECONDS_PER_HOUR", + "nameLocation": "556:16:19", + "nodeType": "VariableDeclaration", + "scope": 4409, + "src": "542:40:19", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4231, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "542:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "commonType": { + "typeIdentifier": "t_rational_3600_by_1", + "typeString": "int_const 3600" + }, + "id": 4234, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3630", + "id": 4232, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "575:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "3630", + "id": 4233, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "580:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "src": "575:7:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_3600_by_1", + "typeString": "int_const 3600" + } + }, + "visibility": "internal" + }, + { + "constant": true, + "id": 4238, + "mutability": "constant", + "name": "SECONDS_PER_MINUTE", + "nameLocation": "602:18:19", + "nodeType": "VariableDeclaration", + "scope": 4409, + "src": "588:37:19", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4236, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "588:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "3630", + "id": 4237, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "623:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_60_by_1", + "typeString": "int_const 60" + }, + "value": "60" + }, + "visibility": "internal" + }, + { + "constant": true, + "id": 4241, + "mutability": "constant", + "name": "OFFSET19700101", + "nameLocation": "644:14:19", + "nodeType": "VariableDeclaration", + "scope": 4409, + "src": "631:37:19", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 4239, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "631:3:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "value": { + "hexValue": "32343430353838", + "id": 4240, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "661:7:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_2440588_by_1", + "typeString": "int_const 2440588" + }, + "value": "2440588" + }, + "visibility": "internal" + }, + { + "body": { + "id": 4384, + "nodeType": "Block", + "src": "1525:526:19", + "statements": [ + { + "assignments": [ + 4253 + ], + "declarations": [ + { + "constant": false, + "id": 4253, + "mutability": "mutable", + "name": "__days", + "nameLocation": "1539:6:19", + "nodeType": "VariableDeclaration", + "scope": 4384, + "src": "1535:10:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 4252, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "1535:3:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "id": 4258, + "initialValue": { + "arguments": [ + { + "id": 4256, + "name": "_days", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4243, + "src": "1552:5:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 4255, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1548:3:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_int256_$", + "typeString": "type(int256)" + }, + "typeName": { + "id": 4254, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "1548:3:19", + "typeDescriptions": {} + } + }, + "id": 4257, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1548:10:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1535:23:19" + }, + { + "assignments": [ + 4260 + ], + "declarations": [ + { + "constant": false, + "id": 4260, + "mutability": "mutable", + "name": "L", + "nameLocation": "1573:1:19", + "nodeType": "VariableDeclaration", + "scope": 4384, + "src": "1569:5:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 4259, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "1569:3:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "id": 4266, + "initialValue": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4263, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4261, + "name": "__days", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4253, + "src": "1577:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "3638353639", + "id": 4262, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1586:5:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_68569_by_1", + "typeString": "int_const 68569" + }, + "value": "68569" + }, + "src": "1577:14:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "id": 4264, + "name": "OFFSET19700101", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4241, + "src": "1594:14:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1577:31:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1569:39:19" + }, + { + "assignments": [ + 4268 + ], + "declarations": [ + { + "constant": false, + "id": 4268, + "mutability": "mutable", + "name": "N", + "nameLocation": "1622:1:19", + "nodeType": "VariableDeclaration", + "scope": 4384, + "src": "1618:5:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 4267, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "1618:3:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "id": 4275, + "initialValue": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4274, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4271, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "34", + "id": 4269, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1627:1:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 4270, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1631:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1627:5:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4272, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1626:7:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "313436303937", + "id": 4273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1636:6:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_146097_by_1", + "typeString": "int_const 146097" + }, + "value": "146097" + }, + "src": "1626:16:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1618:24:19" + }, + { + "expression": { + "id": 4287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4276, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1652:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4286, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4277, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1656:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4285, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4280, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "313436303937", + "id": 4278, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1661:6:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_146097_by_1", + "typeString": "int_const 146097" + }, + "value": "146097" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 4279, + "name": "N", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4268, + "src": "1670:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1661:10:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "33", + "id": 4281, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1674:1:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "1661:14:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4283, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1660:16:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "34", + "id": 4284, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1679:1:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "1660:20:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1656:24:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1652:28:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 4288, + "nodeType": "ExpressionStatement", + "src": "1652:28:19" + }, + { + "assignments": [ + 4290 + ], + "declarations": [ + { + "constant": false, + "id": 4290, + "mutability": "mutable", + "name": "_year", + "nameLocation": "1694:5:19", + "nodeType": "VariableDeclaration", + "scope": 4384, + "src": "1690:9:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 4289, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "1690:3:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "id": 4300, + "initialValue": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4299, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4296, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "34303030", + "id": 4291, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1703:4:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_4000_by_1", + "typeString": "int_const 4000" + }, + "value": "4000" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4294, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4292, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1711:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 4293, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1715:1:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1711:5:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4295, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1710:7:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1703:14:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4297, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1702:16:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "31343631303031", + "id": 4298, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1721:7:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_1461001_by_1", + "typeString": "int_const 1461001" + }, + "value": "1461001" + }, + "src": "1702:26:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1690:38:19" + }, + { + "expression": { + "id": 4312, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4301, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1738:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4311, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4309, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4302, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1742:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4308, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4305, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "31343631", + "id": 4303, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1747:4:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_1461_by_1", + "typeString": "int_const 1461" + }, + "value": "1461" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 4304, + "name": "_year", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4290, + "src": "1754:5:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1747:12:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4306, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1746:14:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "34", + "id": 4307, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1763:1:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "1746:18:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1742:22:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "3331", + "id": 4310, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1767:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_31_by_1", + "typeString": "int_const 31" + }, + "value": "31" + }, + "src": "1742:27:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1738:31:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 4313, + "nodeType": "ExpressionStatement", + "src": "1738:31:19" + }, + { + "assignments": [ + 4315 + ], + "declarations": [ + { + "constant": false, + "id": 4315, + "mutability": "mutable", + "name": "_month", + "nameLocation": "1783:6:19", + "nodeType": "VariableDeclaration", + "scope": 4384, + "src": "1779:10:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 4314, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "1779:3:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "id": 4322, + "initialValue": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4321, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4318, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3830", + "id": 4316, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1793:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_80_by_1", + "typeString": "int_const 80" + }, + "value": "80" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 4317, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1798:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1793:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4319, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1792:8:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "32343437", + "id": 4320, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1803:4:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_2447_by_1", + "typeString": "int_const 2447" + }, + "value": "2447" + }, + "src": "1792:15:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1779:28:19" + }, + { + "assignments": [ + 4324 + ], + "declarations": [ + { + "constant": false, + "id": 4324, + "mutability": "mutable", + "name": "_day", + "nameLocation": "1821:4:19", + "nodeType": "VariableDeclaration", + "scope": 4384, + "src": "1817:8:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "typeName": { + "id": 4323, + "name": "int", + "nodeType": "ElementaryTypeName", + "src": "1817:3:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "visibility": "internal" + } + ], + "id": 4333, + "initialValue": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4332, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4325, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1828:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4331, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32343437", + "id": 4326, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1833:4:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_2447_by_1", + "typeString": "int_const 2447" + }, + "value": "2447" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 4327, + "name": "_month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4315, + "src": "1840:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1833:13:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4329, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1832:15:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "3830", + "id": 4330, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1850:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_80_by_1", + "typeString": "int_const 80" + }, + "value": "80" + }, + "src": "1832:20:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1828:24:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1817:35:19" + }, + { + "expression": { + "id": 4338, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4334, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1862:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4335, + "name": "_month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4315, + "src": "1866:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "hexValue": "3131", + "id": 4336, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1875:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_11_by_1", + "typeString": "int_const 11" + }, + "value": "11" + }, + "src": "1866:11:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1862:15:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 4339, + "nodeType": "ExpressionStatement", + "src": "1862:15:19" + }, + { + "expression": { + "id": 4348, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4340, + "name": "_month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4315, + "src": "1887:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4347, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4343, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4341, + "name": "_month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4315, + "src": "1896:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 4342, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1905:1:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1896:10:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4346, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3132", + "id": 4344, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1909:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_12_by_1", + "typeString": "int_const 12" + }, + "value": "12" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 4345, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1914:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1909:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1896:19:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1887:28:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 4349, + "nodeType": "ExpressionStatement", + "src": "1887:28:19" + }, + { + "expression": { + "id": 4361, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4350, + "name": "_year", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4290, + "src": "1925:5:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4358, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4356, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "313030", + "id": 4351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1933:3:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_100_by_1", + "typeString": "int_const 100" + }, + "value": "100" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_int256", + "typeString": "int256" + }, + "id": 4354, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4352, + "name": "N", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4268, + "src": "1940:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "3439", + "id": 4353, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1944:2:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_49_by_1", + "typeString": "int_const 49" + }, + "value": "49" + }, + "src": "1940:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "id": 4355, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1939:8:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1933:14:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "id": 4357, + "name": "_year", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4290, + "src": "1950:5:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1933:22:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "id": 4359, + "name": "L", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4260, + "src": "1958:1:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1933:26:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "src": "1925:34:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + }, + "id": 4362, + "nodeType": "ExpressionStatement", + "src": "1925:34:19" + }, + { + "expression": { + "id": 4368, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4363, + "name": "year", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4246, + "src": "1970:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 4366, + "name": "_year", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4290, + "src": "1982:5:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + ], + "id": 4365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1977:4:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 4364, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1977:4:19", + "typeDescriptions": {} + } + }, + "id": 4367, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1977:11:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1970:18:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 4369, + "nodeType": "ExpressionStatement", + "src": "1970:18:19" + }, + { + "expression": { + "id": 4375, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4370, + "name": "month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4248, + "src": "1998:5:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 4373, + "name": "_month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4315, + "src": "2011:6:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + ], + "id": 4372, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2006:4:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 4371, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2006:4:19", + "typeDescriptions": {} + } + }, + "id": 4374, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2006:12:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1998:20:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 4376, + "nodeType": "ExpressionStatement", + "src": "1998:20:19" + }, + { + "expression": { + "id": 4382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 4377, + "name": "day", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4250, + "src": "2028:3:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 4380, + "name": "_day", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4324, + "src": "2039:4:19", + "typeDescriptions": { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_int256", + "typeString": "int256" + } + ], + "id": 4379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2034:4:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 4378, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2034:4:19", + "typeDescriptions": {} + } + }, + "id": 4381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2034:10:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2028:16:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 4383, + "nodeType": "ExpressionStatement", + "src": "2028:16:19" + } + ] + }, + "id": 4385, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_daysToDate", + "nameLocation": "1431:11:19", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4244, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4243, + "mutability": "mutable", + "name": "_days", + "nameLocation": "1457:5:19", + "nodeType": "VariableDeclaration", + "scope": 4385, + "src": "1452:10:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4242, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1452:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1442:26:19" + }, + "returnParameters": { + "id": 4251, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4246, + "mutability": "mutable", + "name": "year", + "nameLocation": "1497:4:19", + "nodeType": "VariableDeclaration", + "scope": 4385, + "src": "1492:9:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4245, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1492:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4248, + "mutability": "mutable", + "name": "month", + "nameLocation": "1508:5:19", + "nodeType": "VariableDeclaration", + "scope": 4385, + "src": "1503:10:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4247, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1503:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4250, + "mutability": "mutable", + "name": "day", + "nameLocation": "1520:3:19", + "nodeType": "VariableDeclaration", + "scope": 4385, + "src": "1515:8:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4249, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1515:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1491:33:19" + }, + "scope": 4409, + "src": "1422:629:19", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 4407, + "nodeType": "Block", + "src": "2168:78:19", + "statements": [ + { + "expression": { + "id": 4405, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "components": [ + { + "id": 4396, + "name": "year", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4390, + "src": "2179:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 4397, + "name": "month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4392, + "src": "2185:5:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 4398, + "name": "day", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4394, + "src": "2192:3:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 4399, + "isConstant": false, + "isInlineArray": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "TupleExpression", + "src": "2178:18:19", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeString": "tuple(uint256,uint256,uint256)" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 4403, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 4401, + "name": "timestamp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4387, + "src": "2211:9:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 4402, + "name": "SECONDS_PER_DAY", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4230, + "src": "2223:15:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2211:27:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 4400, + "name": "_daysToDate", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4385, + "src": "2199:11:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256,uint256,uint256)" + } + }, + "id": 4404, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2199:40:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeString": "tuple(uint256,uint256,uint256)" + } + }, + "src": "2178:61:19", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 4406, + "nodeType": "ExpressionStatement", + "src": "2178:61:19" + } + ] + }, + "id": 4408, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "timestampToDate", + "nameLocation": "2066:15:19", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4388, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4387, + "mutability": "mutable", + "name": "timestamp", + "nameLocation": "2096:9:19", + "nodeType": "VariableDeclaration", + "scope": 4408, + "src": "2091:14:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4386, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2091:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2081:30:19" + }, + "returnParameters": { + "id": 4395, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4390, + "mutability": "mutable", + "name": "year", + "nameLocation": "2140:4:19", + "nodeType": "VariableDeclaration", + "scope": 4408, + "src": "2135:9:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4389, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2135:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4392, + "mutability": "mutable", + "name": "month", + "nameLocation": "2151:5:19", + "nodeType": "VariableDeclaration", + "scope": 4408, + "src": "2146:10:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4391, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2146:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4394, + "mutability": "mutable", + "name": "day", + "nameLocation": "2163:3:19", + "nodeType": "VariableDeclaration", + "scope": 4408, + "src": "2158:8:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4393, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2158:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2134:33:19" + }, + "scope": 4409, + "src": "2057:189:19", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 4562, + "src": "469:1779:19", + "usedErrors": [], + "usedEvents": [] + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "UnlockPrimeTokenURIHook", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 4410, + "nodeType": "StructuredDocumentation", + "src": "2250:139:19", + "text": " @notice Functions to be implemented by a tokenURIHook.\n @dev Lock hooks are configured by calling `setEventHooks` on the lock." + }, + "fullyImplemented": true, + "id": 4561, + "linearizedBaseContracts": [ + 4561 + ], + "name": "UnlockPrimeTokenURIHook", + "nameLocation": "2399:23:19", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 4427, + "mutability": "mutable", + "name": "months", + "nameLocation": "2447:6:19", + "nodeType": "VariableDeclaration", + "scope": 4561, + "src": "2429:287:19", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 4411, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2429:6:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 4412, + "nodeType": "ArrayTypeName", + "src": "2429:8:19", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "value": { + "components": [ + { + "hexValue": "", + "id": 4413, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2466:2:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + }, + { + "hexValue": "4a616e75617279", + "id": 4414, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2502:9:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4e00a388b5d7c71e31248528c0020fd8a94c4cfd2ad42641678c08717f2ea9ba", + "typeString": "literal_string \"January\"" + }, + "value": "January" + }, + { + "hexValue": "4665627275617279", + "id": 4415, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2521:10:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_58e30506943faa08c30ec3c36ca243dfdf886fd1a6e762180832a1c7ee624c53", + "typeString": "literal_string \"February\"" + }, + "value": "February" + }, + { + "hexValue": "4d61726368", + "id": 4416, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2541:7:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7e37a4ea406a10e3289cce7d07e572a7d25a7de67b84633b1726c9f90115cf25", + "typeString": "literal_string \"March\"" + }, + "value": "March" + }, + { + "hexValue": "417072696c", + "id": 4417, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2558:7:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ee2323e79f7a9c6b34260aa0c24e60d8bf9c4b1d9c3ce1c794010bc0c1b39971", + "typeString": "literal_string \"April\"" + }, + "value": "April" + }, + { + "hexValue": "4d6179", + "id": 4418, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2575:5:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_db5ee1006003349b29eda5be5fe34f728659f836a948d4ec595114aebbb159d3", + "typeString": "literal_string \"May\"" + }, + "value": "May" + }, + { + "hexValue": "4a756e65", + "id": 4419, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2590:6:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_e8df3ad87408a1ef76752f34c8427bd481f6a1d097837b45eb4aa173f15b98f3", + "typeString": "literal_string \"June\"" + }, + "value": "June" + }, + { + "hexValue": "4a756c79", + "id": 4420, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2606:6:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3d90a466adc0aa426fde675fc249c132c3b8c2ba66f7d9163c3b33cbd8e79620", + "typeString": "literal_string \"July\"" + }, + "value": "July" + }, + { + "hexValue": "417567757374", + "id": 4421, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2622:8:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_21d2f300e3183b3d29ef07ded91865b10b81fbd5e85b8abb78de5e3b62726109", + "typeString": "literal_string \"August\"" + }, + "value": "August" + }, + { + "hexValue": "53657074656d626572", + "id": 4422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2640:11:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0750d5b9023cc682051a51927e5e40780f20c0d58282974c7f492eba3d25a2d6", + "typeString": "literal_string \"September\"" + }, + "value": "September" + }, + { + "hexValue": "4f63746f626572", + "id": 4423, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2661:9:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_259c9ac395cd2012575dbe33cecd0e1f75d83ee8481d4fb2fd12c2e36a807bd1", + "typeString": "literal_string \"October\"" + }, + "value": "October" + }, + { + "hexValue": "4e6f76656d626572", + "id": 4424, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2680:10:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_548815db853116a899f25369e97779dbd8197cc60e883d9c4f5d6dd349aea087", + "typeString": "literal_string \"November\"" + }, + "value": "November" + }, + { + "hexValue": "446563656d626572", + "id": 4425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2700:10:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da4b5688a20e15e430b79daeaf5887e3d99e95b7c06bd77590231177886bbf3", + "typeString": "literal_string \"December\"" + }, + "value": "December" + } + ], + "id": 4426, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2456:260:19", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$13_memory_ptr", + "typeString": "string memory[13] memory" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 4559, + "nodeType": "Block", + "src": "3407:6356:19", + "statements": [ + { + "assignments": [ + 4444 + ], + "declarations": [ + { + "constant": false, + "id": 4444, + "mutability": "mutable", + "name": "memberId", + "nameLocation": "3431:8:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "3417:22:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4443, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3417:6:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 4457, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "3c746578742066696c6c3d22233630334445422220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2232302220666f6e742d7765696768743d2236303022206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223537302e323733223e", + "id": 4449, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3496:150:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0", + "typeString": "literal_string \"\"" + }, + "value": "" + }, + { + "arguments": [ + { + "id": 4452, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4434, + "src": "3684:5:19", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 4450, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1433, + "src": "3664:7:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1433_$", + "typeString": "type(library Strings)" + } + }, + "id": 4451, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3672:11:19", + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1395, + "src": "3664:19:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_address_$returns$_t_string_memory_ptr_$", + "typeString": "function (address) pure returns (string memory)" + } + }, + "id": 4453, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3664:26:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "3c2f747370616e3e3c2f746578743e", + "id": 4454, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3708:17:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0", + "typeString": "literal_string \"\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a", + "typeString": "literal_string \"\"" + } + ], + "expression": { + "id": 4447, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3462:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4448, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3466:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3462:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4455, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3462:277:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4446, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3442:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 4445, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3442:6:19", + "typeDescriptions": {} + } + }, + "id": 4456, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3442:307:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3417:332:19" + }, + { + "assignments": [ + 4459, + 4461, + 4463 + ], + "declarations": [ + { + "constant": false, + "id": 4459, + "mutability": "mutable", + "name": "year", + "nameLocation": "3766:4:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "3761:9:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4458, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3761:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4461, + "mutability": "mutable", + "name": "month", + "nameLocation": "3777:5:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "3772:10:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4460, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3772:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4463, + "mutability": "mutable", + "name": "day", + "nameLocation": "3789:3:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "3784:8:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4462, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3784:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 4468, + "initialValue": { + "arguments": [ + { + "id": 4466, + "name": "expirationTimestamp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4438, + "src": "3834:19:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 4464, + "name": "Datetime", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4409, + "src": "3796:8:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Datetime_$4409_$", + "typeString": "type(library Datetime)" + } + }, + "id": 4465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3805:15:19", + "memberName": "timestampToDate", + "nodeType": "MemberAccess", + "referencedDeclaration": 4408, + "src": "3796:24:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeString": "function (uint256) pure returns (uint256,uint256,uint256)" + } + }, + "id": 4467, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3796:67:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeString": "tuple(uint256,uint256,uint256)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3760:103:19" + }, + { + "assignments": [ + 4470 + ], + "declarations": [ + { + "constant": false, + "id": 4470, + "mutability": "mutable", + "name": "validDeadline", + "nameLocation": "3887:13:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "3873:27:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4469, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3873:6:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 4492, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "3c746578742066696c6c3d22233630334445422220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2232302220666f6e742d7765696768743d2236303022206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223635392e323733223e", + "id": 4475, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3957:150:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3", + "typeString": "literal_string \"\"" + }, + "value": "" + }, + { + "baseExpression": { + "id": 4476, + "name": "months", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4427, + "src": "4125:6:19", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 4478, + "indexExpression": { + "id": 4477, + "name": "month", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4461, + "src": "4132:5:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4125:13:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "20", + "id": 4479, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4159:3:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a", + "typeString": "literal_string \" \"" + }, + "value": " " + }, + { + "arguments": [ + { + "id": 4482, + "name": "day", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4463, + "src": "4197:3:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 4480, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1433, + "src": "4180:7:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1433_$", + "typeString": "type(library Strings)" + } + }, + "id": 4481, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4188:8:19", + "memberName": "toString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1246, + "src": "4180:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256) pure returns (string memory)" + } + }, + "id": 4483, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4180:21:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "2c20", + "id": 4484, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4222:4:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d", + "typeString": "literal_string \", \"" + }, + "value": ", " + }, + { + "arguments": [ + { + "id": 4487, + "name": "year", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4459, + "src": "4261:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 4485, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1433, + "src": "4244:7:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1433_$", + "typeString": "type(library Strings)" + } + }, + "id": 4486, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4252:8:19", + "memberName": "toString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1246, + "src": "4244:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256) pure returns (string memory)" + } + }, + "id": 4488, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4244:22:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223638332e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223730372e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223733312e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223735352e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223737392e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223830332e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223832372e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223835312e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223837352e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223839392e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223932332e323733223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223934372e323733223e262331303b3c2f747370616e3e3c2f746578743e", + "id": 4489, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4287:502:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2", + "typeString": "literal_string \" \"" + }, + "value": " " + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3", + "typeString": "literal_string \"\"" + }, + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a", + "typeString": "literal_string \" \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d", + "typeString": "literal_string \", \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2", + "typeString": "literal_string \" \"" + } + ], + "expression": { + "id": 4473, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3923:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4474, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3927:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3923:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4490, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:880:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4472, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3903:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 4471, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3903:6:19", + "typeDescriptions": {} + } + }, + "id": 4491, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3903:910:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3873:940:19" + }, + { + "assignments": [ + 4494 + ], + "declarations": [ + { + "constant": false, + "id": 4494, + "mutability": "mutable", + "name": "svg", + "nameLocation": "4882:3:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "4868:17:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4493, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4868:6:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 4508, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "3c7376672077696474683d223130323422206865696768743d2231303234222076696577426f783d2230203020313032342031303234222066696c6c3d226e6f6e652220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e", + "id": 4499, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4942:105:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477", + "typeString": "literal_string \"\"" + }, + "value": "" + }, + { + "hexValue": "3c7374796c653e746578742c20747370616e207b20666f6e742d66616d696c793a2022496e746572222c20417269616c2c2022526f626f746f20436f6e64656e736564222c20224f70656e2053616e73222c2073616e733b20207d3c2f7374796c653e", + "id": 4500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5065:101:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3e1bf689d6a80663e4d4e97d0d8f05b041ff69b66cde8d075279a3c3047336e8", + "typeString": "literal_string \"\"" + }, + "value": "" + }, + { + "hexValue": "3c726563742077696474683d223130323422206865696768743d2231303234222066696c6c3d222346324336354522202f3e203c672066696c7465723d2275726c282366696c746572305f645f323031385f3236303729223e203c6720636c69702d706174683d2275726c2823636c6970305f323031385f3236303729223e203c7061746820643d224d3233372035344838313156313236483233375635345a222066696c6c3d222346354635463522202f3e203c7061746820643d224d343838203930433438382038372e37393039203438392e3739312038362034393220383648353536433535382e323039203836203536302038372e3739303920353630203930563930433536302039322e32303931203535382e3230392039342035353620393448343932433438392e373931203934203438382039322e32303931203438382039305639305a222066696c6c3d222346324336354522202f3e203c726563742077696474683d2235373422206865696768743d2231363622207472616e73666f726d3d227472616e736c617465283233372031323629222066696c6c3d222346354635463522202f3e203c746578742066696c6c3d22233231313831342220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d22323822206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223233372e383634223e627920556e6c6f636b204c6162733c2f747370616e3e3c2f746578743e203c746578742066696c6c3d22233231313831342220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d22313222206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223230332e383634223e262331303b3c2f747370616e3e3c2f746578743e203c746578742066696c6c3d2275726c28237061696e74305f6c696e6561725f323031385f32363037292220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2234382220666f6e742d7765696768743d2238303022206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223231302e343535223e554e4c4f434b205052494d453c2f747370616e3e3c2f746578743e203c726563742077696474683d2235373422206865696768743d2235393822207472616e73666f726d3d227472616e736c617465283233372032393229222066696c6c3d22776869746522202f3e203c746578742066696c6c3d22233231313831342220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2235312220666f6e742d7765696768743d22626f6c6422206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223338392e353435223e4d7920556e6c6f636b203c2f747370616e3e3c747370616e20783d223237372220793d223435312e353435223e5072696d6520506173733c2f747370616e3e3c2f746578743e203c746578742066696c6c3d22233231313831342220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2232342220666f6e742d7765696768743d2235303022206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223534302e353435223e4d656d62657220416464726573733c2f747370616e3e3c2f746578743e203c746578742066696c6c3d22233231313831342220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2231382220666f6e742d7765696768743d2235303022206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223438392e353435223e262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223531312e353435223e262331303b3c2f747370616e3e3c2f746578743e", + "id": 4501, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5192:1626:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a90f30a38133f46db2d349b1f35142be0b8c10ac903fb67f200bed69c556043", + "typeString": "literal_string \" by Unlock Labs UNLOCK PRIME My Unlock Prime Pass Member Address \"" + }, + "value": " by Unlock Labs UNLOCK PRIME My Unlock Prime Pass Member Address " + }, + { + "id": 4502, + "name": "memberId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4444, + "src": "6836:8:19", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "3c746578742066696c6c3d22233231313831342220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2232342220666f6e742d7765696768743d2235303022206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223632392e353435223e56616c6964205468726f7567683c2f747370616e3e3c2f746578743e3c746578742066696c6c3d22233231313831342220786d6c3a73706163653d22707265736572766522207374796c653d2277686974652d73706163653a207072652220666f6e742d73697a653d2231382220666f6e742d7765696768743d2235303022206c65747465722d73706163696e673d2230656d223e3c747370616e20783d223237372220793d223630302e353435223e262331303b3c2f747370616e3e3c2f746578743e", + "id": 4503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6862:346:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3a2645b17e05d3e582fbac6f6e6f0c2d01a7294f75f1fa256bc7a6ab83dae6d3", + "typeString": "literal_string \"Valid Through \"" + }, + "value": "Valid Through " + }, + { + "id": 4504, + "name": "validDeadline", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4470, + "src": "7226:13:19", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "3c726563742077696474683d2235373422206865696768743d22383622207472616e73666f726d3d227472616e736c617465283233372038393029222066696c6c3d22776869746522202f3e3c2f673e3c2f673e3c706174682066696c6c2d72756c653d226576656e6f64642220636c69702d72756c653d226576656e6f64642220643d224d3535352e35313920304c343837203930483535332e3438314c3632322030483535352e3531395a222066696c6c3d22776869746522202f3e3c706174682066696c6c2d72756c653d226576656e6f64642220636c69702d72756c653d226576656e6f64642220643d224d34323420304c3439322e353139203930483535394c3439302e3438312030483432345a222066696c6c3d22776869746522202f3e3c646566733e3c66696c7465722069643d2266696c746572305f645f323031385f323630372220783d223230392220793d223236222077696474683d2236333022206865696768743d22393738222066696c746572556e6974733d227573657253706163654f6e5573652220636f6c6f722d696e746572706f6c6174696f6e2d66696c746572733d2273524742223e3c6665466c6f6f6420666c6f6f642d6f7061636974793d22302220726573756c743d224261636b67726f756e64496d61676546697822202f3e3c6665436f6c6f724d617472697820696e3d22536f75726365416c7068612220747970653d226d6174726978222076616c7565733d2230203020302030203020302030203020302030203020302030203020302030203020302031323720302220726573756c743d2268617264416c70686122202f3e3c66654d6f7270686f6c6f6779207261646975733d223422206f70657261746f723d2264696c6174652220696e3d22536f75726365416c7068612220726573756c743d22656666656374315f64726f70536861646f775f323031385f3236303722202f3e3c66654f6666736574202f3e3c6665476175737369616e426c757220737464446576696174696f6e3d22313222202f3e3c6665436f6c6f724d617472697820747970653d226d6174726978222076616c7565733d223020302030203020302e313239343132203020302030203020302e30393431313736203020302030203020302e3037383433313420302030203020302e3135203022202f3e3c6665426c656e64206d6f64653d226e6f726d616c2220696e323d224261636b67726f756e64496d6167654669782220726573756c743d22656666656374315f64726f70536861646f775f323031385f3236303722202f3e3c6665426c656e64206d6f64653d226e6f726d616c2220696e3d22536f75726365477261706869632220696e323d22656666656374315f64726f70536861646f775f323031385f323630372220726573756c743d22736861706522202f3e3c2f66696c7465723e3c6c696e6561724772616469656e742069643d227061696e74305f6c696e6561725f323031385f32363037222078313d22323737222079313d223137312e343931222078323d223332382e363235222079323d2231342e3433393122206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f702073746f702d636f6c6f723d222336303344454222202f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d222332374331443622202f3e3c2f6c696e6561724772616469656e743e3c636c6970506174682069643d22636c6970305f323031385f32363037223e3c7265637420783d223233372220793d223534222077696474683d2235373422206865696768743d22393232222072783d223234222066696c6c3d22776869746522202f3e3c2f636c6970506174683e3c2f646566733e3c2f7376673e", + "id": 4505, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7257:1391:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5be9d1f303a72f4f3866cd7625167569c1892b4d0a9a2d12b967da4bed674db9", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477", + "typeString": "literal_string \"\"" + }, + { + "typeIdentifier": "t_stringliteral_3e1bf689d6a80663e4d4e97d0d8f05b041ff69b66cde8d075279a3c3047336e8", + "typeString": "literal_string \"\"" + }, + { + "typeIdentifier": "t_stringliteral_7a90f30a38133f46db2d349b1f35142be0b8c10ac903fb67f200bed69c556043", + "typeString": "literal_string \" by Unlock Labs UNLOCK PRIME My Unlock Prime Pass Member Address \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_3a2645b17e05d3e582fbac6f6e6f0c2d01a7294f75f1fa256bc7a6ab83dae6d3", + "typeString": "literal_string \"Valid Through \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_5be9d1f303a72f4f3866cd7625167569c1892b4d0a9a2d12b967da4bed674db9", + "typeString": "literal_string \"\"" + } + ], + "expression": { + "id": 4497, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4908:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4498, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4912:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4908:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4506, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4908:3754:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4496, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4888:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 4495, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4888:6:19", + "typeDescriptions": {} + } + }, + "id": 4507, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4888:3784:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4868:3804:19" + }, + { + "assignments": [ + 4510 + ], + "declarations": [ + { + "constant": false, + "id": 4510, + "mutability": "mutable", + "name": "image", + "nameLocation": "8749:5:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "8735:19:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4509, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "8735:6:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 4528, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "646174613a696d6167652f7376672b786d6c3b6261736536342c", + "id": 4515, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8811:28:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f90ae014c41cb48231e1f02c314087ff9c479133697911d25c5fe231e237dd14", + "typeString": "literal_string \"data:image/svg+xml;base64,\"" + }, + "value": "data:image/svg+xml;base64," + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 4522, + "name": "svg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4494, + "src": "8894:3:19", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 4520, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8877:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4521, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8881:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8877:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4523, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8877:21:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4519, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8871:5:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 4518, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8871:5:19", + "typeDescriptions": {} + } + }, + "id": 4524, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8871:28:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 4516, + "name": "Base64", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1038, + "src": "8857:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Base64_$1038_$", + "typeString": "type(library Base64)" + } + }, + "id": 4517, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8864:6:19", + "memberName": "encode", + "nodeType": "MemberAccess", + "referencedDeclaration": 1037, + "src": "8857:13:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", + "typeString": "function (bytes memory) pure returns (string memory)" + } + }, + "id": 4525, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8857:43:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f90ae014c41cb48231e1f02c314087ff9c479133697911d25c5fe231e237dd14", + "typeString": "literal_string \"data:image/svg+xml;base64,\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 4513, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8777:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4514, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8781:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8777:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4526, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8777:137:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4512, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8757:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 4511, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "8757:6:19", + "typeDescriptions": {} + } + }, + "id": 4527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8757:167:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8735:189:19" + }, + { + "assignments": [ + 4530 + ], + "declarations": [ + { + "constant": false, + "id": 4530, + "mutability": "mutable", + "name": "json", + "nameLocation": "9000:4:19", + "nodeType": "VariableDeclaration", + "scope": 4559, + "src": "8986:18:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4529, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "8986:6:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 4540, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "7b20226e616d6522203a2022556e6c6f636b205072696d65222c202265787465726e616c5f75726c223a2268747470733a2f2f6170702e756e6c6f636b2d70726f746f636f6c2e636f6d2f7072696d65222c226465736372697074696f6e223a22556e6c6f636b205072696d65206f666665727320656e68616e6365642066656174757265732c206d6f6e74686c792045544820726577617264732c20756e6c696d69746564206576656e74732c20616e64206578636c757369766520706172746e657220646973636f756e747320666f72206d656d626572732e204272696e6720796f7572206f6e636861696e20657870657269656e63657320746f20746865206e657874206c6576656c20776974682061207072656d69756d206d656d62657273686970207468617420776f726b73206163726f737320616c6c2074686520617070732066726f6d20556e6c6f636b204c616273222c22696d616765223a22", + "id": 4535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9061:355:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a4d32f0a8f0fcfc1ca98ff2d9e21279f61efd1c8479154b8153fd87fc93112fa", + "typeString": "literal_string \"{ \"name\" : \"Unlock Prime\", \"external_url\":\"https://app.unlock-protocol.com/prime\",\"description\":\"Unlock Prime offers enhanced features, monthly ETH rewards, unlimited events, and exclusive partner discounts for members. Bring your onchain experiences to the next level with a premium membership that works across all the apps from Unlock Labs\",\"image\":\"\"" + }, + "value": "{ \"name\" : \"Unlock Prime\", \"external_url\":\"https://app.unlock-protocol.com/prime\",\"description\":\"Unlock Prime offers enhanced features, monthly ETH rewards, unlimited events, and exclusive partner discounts for members. Bring your onchain experiences to the next level with a premium membership that works across all the apps from Unlock Labs\",\"image\":\"" + }, + { + "id": 4536, + "name": "image", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4510, + "src": "9434:5:19", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "227d", + "id": 4537, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9457:4:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_835b459273672627bbafc3a2eded65187a632f4128bdc79e126c7ef579a27475", + "typeString": "literal_string \"\"}\"" + }, + "value": "\"}" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a4d32f0a8f0fcfc1ca98ff2d9e21279f61efd1c8479154b8153fd87fc93112fa", + "typeString": "literal_string \"{ \"name\" : \"Unlock Prime\", \"external_url\":\"https://app.unlock-protocol.com/prime\",\"description\":\"Unlock Prime offers enhanced features, monthly ETH rewards, unlimited events, and exclusive partner discounts for members. Bring your onchain experiences to the next level with a premium membership that works across all the apps from Unlock Labs\",\"image\":\"\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_835b459273672627bbafc3a2eded65187a632f4128bdc79e126c7ef579a27475", + "typeString": "literal_string \"\"}\"" + } + ], + "expression": { + "id": 4533, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9027:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4534, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9031:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "9027:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4538, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9027:448:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4532, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9007:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 4531, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9007:6:19", + "typeDescriptions": {} + } + }, + "id": 4539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9007:478:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8986:499:19" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c", + "id": 4545, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9627:31:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa", + "typeString": "literal_string \"data:application/json;base64,\"" + }, + "value": "data:application/json;base64," + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 4552, + "name": "json", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4530, + "src": "9717:4:19", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 4550, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9700:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4551, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9704:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "9700:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4553, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9700:22:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4549, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9694:5:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 4548, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9694:5:19", + "typeDescriptions": {} + } + }, + "id": 4554, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9694:29:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 4546, + "name": "Base64", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1038, + "src": "9680:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Base64_$1038_$", + "typeString": "type(library Base64)" + } + }, + "id": 4547, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9687:6:19", + "memberName": "encode", + "nodeType": "MemberAccess", + "referencedDeclaration": 1037, + "src": "9680:13:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", + "typeString": "function (bytes memory) pure returns (string memory)" + } + }, + "id": 4555, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9680:44:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa", + "typeString": "literal_string \"data:application/json;base64,\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 4543, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9589:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 4544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9593:12:19", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "9589:16:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 4556, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9589:153:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 4542, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9565:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 4541, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9565:6:19", + "typeDescriptions": {} + } + }, + "id": 4557, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9565:191:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 4442, + "id": 4558, + "nodeType": "Return", + "src": "9546:210:19" + } + ] + }, + "documentation": { + "id": 4428, + "nodeType": "StructuredDocumentation", + "src": "2723:484:19", + "text": " @notice If the lock owner has registered an implementer\n then this hook is called every time `tokenURI()` is called\n @param lockAddress the address of the lock\n @param operator the msg.sender issuing the call\n @param owner the owner of the key for which we are retrieving the `tokenUri`\n @param keyId the id (tokenId) of the key (if applicable)\n @param expirationTimestamp the key expiration timestamp\n @return the tokenURI" + }, + "functionSelector": "988b93ad", + "id": 4560, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "tokenURI", + "nameLocation": "3221:8:19", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4439, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4430, + "mutability": "mutable", + "name": "lockAddress", + "nameLocation": "3247:11:19", + "nodeType": "VariableDeclaration", + "scope": 4560, + "src": "3239:19:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 4429, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3239:7:19", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4432, + "mutability": "mutable", + "name": "operator", + "nameLocation": "3276:8:19", + "nodeType": "VariableDeclaration", + "scope": 4560, + "src": "3268:16:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 4431, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3268:7:19", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4434, + "mutability": "mutable", + "name": "owner", + "nameLocation": "3302:5:19", + "nodeType": "VariableDeclaration", + "scope": 4560, + "src": "3294:13:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 4433, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3294:7:19", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4436, + "mutability": "mutable", + "name": "keyId", + "nameLocation": "3325:5:19", + "nodeType": "VariableDeclaration", + "scope": 4560, + "src": "3317:13:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4435, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3317:7:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 4438, + "mutability": "mutable", + "name": "expirationTimestamp", + "nameLocation": "3345:19:19", + "nodeType": "VariableDeclaration", + "scope": 4560, + "src": "3340:24:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4437, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3340:4:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3229:141:19" + }, + "returnParameters": { + "id": 4442, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4441, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 4560, + "src": "3392:13:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4440, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3392:6:19", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3391:15:19" + }, + "scope": 4561, + "src": "3212:6551:19", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 4562, + "src": "2390:7375:19", + "usedErrors": [ + 1198 + ], + "usedEvents": [] + } + ], + "src": "32:9734:19" + }, + "id": 19 + } + }, + "contracts": { + "@openzeppelin/contracts/access/Ownable.sol": { + "Ownable": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "OwnableInvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "OwnableUnauthorizedAccount", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": { + "owner()": "8da5cb5b", + "renounceOwnership()": "715018a6", + "transferOwnership(address)": "f2fde38b" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. The initial owner is set to the address provided by the deployer. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"errors\":{\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the contract setting the address provided by the deployer as the initial owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/Ownable.sol\":\"Ownable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/interfaces/IERC1967.sol": { + "IERC1967": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "BeaconUpgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":\"IERC1967\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6917f8a323e7811f041aecd4d9fd6e92455a6fba38a797ac6f6e208c7912b79d\",\"dweb:/ipfs/QmShuYv55wYHGi4EFkDB8QfF7ZCHoKk2efyz3AWY1ExSq7\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol": { + "ERC1967Proxy": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "implementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "ERC1967InvalidImplementation", + "type": "error" + }, + { + "inputs": [], + "name": "ERC1967NonPayable", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + } + ], + "evm": { + "bytecode": { + "functionDebugData": { + "@_193": { + "entryPoint": null, + "id": 193, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_checkNonPayable_508": { + "entryPoint": 542, + "id": 508, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_revert_990": { + "entryPoint": 762, + "id": 990, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_setImplementation_294": { + "entryPoint": 193, + "id": 294, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@functionDelegateCall_910": { + "entryPoint": 404, + "id": 910, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@getAddressSlot_1100": { + "entryPoint": 603, + "id": 1100, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@upgradeToAndCall_328": { + "entryPoint": 60, + "id": 328, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@verifyCallResultFromTarget_950": { + "entryPoint": 613, + "id": 950, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_decode_available_length_t_bytes_memory_ptr_fromMemory": { + "entryPoint": 1186, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_decode_t_address_fromMemory": { + "entryPoint": 924, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bytes_memory_ptr_fromMemory": { + "entryPoint": 1252, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory": { + "entryPoint": 1298, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 1390, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 1454, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 1503, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 1405, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_memory": { + "entryPoint": 1068, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": 831, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_allocation_size_t_bytes_memory_ptr": { + "entryPoint": 1095, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_length_t_bytes_memory_ptr": { + "entryPoint": 1432, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 1443, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 883, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 851, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "copy_memory_to_memory_with_cleanup": { + "entryPoint": 1144, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "finalize_allocation": { + "entryPoint": 1019, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 972, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { + "entryPoint": 945, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { + "entryPoint": 950, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": 846, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 841, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "round_up_to_mul_of_32": { + "entryPoint": 955, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "validator_revert_t_address": { + "entryPoint": 901, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:5143:20", + "nodeType": "YulBlock", + "src": "0:5143:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:81:20", + "nodeType": "YulBlock", + "src": "379:81:20", + "statements": [ + { + "nativeSrc": "389:65:20", + "nodeType": "YulAssignment", + "src": "389:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "404:5:20", + "nodeType": "YulIdentifier", + "src": "404:5:20" + }, + { + "kind": "number", + "nativeSrc": "411:42:20", + "nodeType": "YulLiteral", + "src": "411:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "400:3:20", + "nodeType": "YulIdentifier", + "src": "400:3:20" + }, + "nativeSrc": "400:54:20", + "nodeType": "YulFunctionCall", + "src": "400:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "334:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:126:20" + }, + { + "body": { + "nativeSrc": "511:51:20", + "nodeType": "YulBlock", + "src": "511:51:20", + "statements": [ + { + "nativeSrc": "521:35:20", + "nodeType": "YulAssignment", + "src": "521:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "550:5:20", + "nodeType": "YulIdentifier", + "src": "550:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "532:17:20", + "nodeType": "YulIdentifier", + "src": "532:17:20" + }, + "nativeSrc": "532:24:20", + "nodeType": "YulFunctionCall", + "src": "532:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "521:7:20", + "nodeType": "YulIdentifier", + "src": "521:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "466:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "493:5:20", + "nodeType": "YulTypedName", + "src": "493:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "503:7:20", + "nodeType": "YulTypedName", + "src": "503:7:20", + "type": "" + } + ], + "src": "466:96:20" + }, + { + "body": { + "nativeSrc": "611:79:20", + "nodeType": "YulBlock", + "src": "611:79:20", + "statements": [ + { + "body": { + "nativeSrc": "668:16:20", + "nodeType": "YulBlock", + "src": "668:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "677:1:20", + "nodeType": "YulLiteral", + "src": "677:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "680:1:20", + "nodeType": "YulLiteral", + "src": "680:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "670:6:20", + "nodeType": "YulIdentifier", + "src": "670:6:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulFunctionCall", + "src": "670:12:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulExpressionStatement", + "src": "670:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "634:5:20", + "nodeType": "YulIdentifier", + "src": "634:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "659:5:20", + "nodeType": "YulIdentifier", + "src": "659:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "641:17:20", + "nodeType": "YulIdentifier", + "src": "641:17:20" + }, + "nativeSrc": "641:24:20", + "nodeType": "YulFunctionCall", + "src": "641:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "631:2:20", + "nodeType": "YulIdentifier", + "src": "631:2:20" + }, + "nativeSrc": "631:35:20", + "nodeType": "YulFunctionCall", + "src": "631:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "624:6:20", + "nodeType": "YulIdentifier", + "src": "624:6:20" + }, + "nativeSrc": "624:43:20", + "nodeType": "YulFunctionCall", + "src": "624:43:20" + }, + "nativeSrc": "621:63:20", + "nodeType": "YulIf", + "src": "621:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "568:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "604:5:20", + "nodeType": "YulTypedName", + "src": "604:5:20", + "type": "" + } + ], + "src": "568:122:20" + }, + { + "body": { + "nativeSrc": "759:80:20", + "nodeType": "YulBlock", + "src": "759:80:20", + "statements": [ + { + "nativeSrc": "769:22:20", + "nodeType": "YulAssignment", + "src": "769:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "784:6:20", + "nodeType": "YulIdentifier", + "src": "784:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "778:5:20", + "nodeType": "YulIdentifier", + "src": "778:5:20" + }, + "nativeSrc": "778:13:20", + "nodeType": "YulFunctionCall", + "src": "778:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "769:5:20", + "nodeType": "YulIdentifier", + "src": "769:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "827:5:20", + "nodeType": "YulIdentifier", + "src": "827:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "800:26:20", + "nodeType": "YulIdentifier", + "src": "800:26:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulFunctionCall", + "src": "800:33:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulExpressionStatement", + "src": "800:33:20" + } + ] + }, + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "696:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "737:6:20", + "nodeType": "YulTypedName", + "src": "737:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "745:3:20", + "nodeType": "YulTypedName", + "src": "745:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "753:5:20", + "nodeType": "YulTypedName", + "src": "753:5:20", + "type": "" + } + ], + "src": "696:143:20" + }, + { + "body": { + "nativeSrc": "934:28:20", + "nodeType": "YulBlock", + "src": "934:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "951:1:20", + "nodeType": "YulLiteral", + "src": "951:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "954:1:20", + "nodeType": "YulLiteral", + "src": "954:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "944:6:20", + "nodeType": "YulIdentifier", + "src": "944:6:20" + }, + "nativeSrc": "944:12:20", + "nodeType": "YulFunctionCall", + "src": "944:12:20" + }, + "nativeSrc": "944:12:20", + "nodeType": "YulExpressionStatement", + "src": "944:12:20" + } + ] + }, + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "845:117:20", + "nodeType": "YulFunctionDefinition", + "src": "845:117:20" + }, + { + "body": { + "nativeSrc": "1057:28:20", + "nodeType": "YulBlock", + "src": "1057:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1074:1:20", + "nodeType": "YulLiteral", + "src": "1074:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1077:1:20", + "nodeType": "YulLiteral", + "src": "1077:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1067:6:20", + "nodeType": "YulIdentifier", + "src": "1067:6:20" + }, + "nativeSrc": "1067:12:20", + "nodeType": "YulFunctionCall", + "src": "1067:12:20" + }, + "nativeSrc": "1067:12:20", + "nodeType": "YulExpressionStatement", + "src": "1067:12:20" + } + ] + }, + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "968:117:20", + "nodeType": "YulFunctionDefinition", + "src": "968:117:20" + }, + { + "body": { + "nativeSrc": "1139:54:20", + "nodeType": "YulBlock", + "src": "1139:54:20", + "statements": [ + { + "nativeSrc": "1149:38:20", + "nodeType": "YulAssignment", + "src": "1149:38:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1167:5:20", + "nodeType": "YulIdentifier", + "src": "1167:5:20" + }, + { + "kind": "number", + "nativeSrc": "1174:2:20", + "nodeType": "YulLiteral", + "src": "1174:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1163:3:20", + "nodeType": "YulIdentifier", + "src": "1163:3:20" + }, + "nativeSrc": "1163:14:20", + "nodeType": "YulFunctionCall", + "src": "1163:14:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1183:2:20", + "nodeType": "YulLiteral", + "src": "1183:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "1179:3:20", + "nodeType": "YulIdentifier", + "src": "1179:3:20" + }, + "nativeSrc": "1179:7:20", + "nodeType": "YulFunctionCall", + "src": "1179:7:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "1159:3:20", + "nodeType": "YulIdentifier", + "src": "1159:3:20" + }, + "nativeSrc": "1159:28:20", + "nodeType": "YulFunctionCall", + "src": "1159:28:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "1149:6:20", + "nodeType": "YulIdentifier", + "src": "1149:6:20" + } + ] + } + ] + }, + "name": "round_up_to_mul_of_32", + "nativeSrc": "1091:102:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1122:5:20", + "nodeType": "YulTypedName", + "src": "1122:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "1132:6:20", + "nodeType": "YulTypedName", + "src": "1132:6:20", + "type": "" + } + ], + "src": "1091:102:20" + }, + { + "body": { + "nativeSrc": "1227:152:20", + "nodeType": "YulBlock", + "src": "1227:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1244:1:20", + "nodeType": "YulLiteral", + "src": "1244:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1247:77:20", + "nodeType": "YulLiteral", + "src": "1247:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1237:6:20", + "nodeType": "YulIdentifier", + "src": "1237:6:20" + }, + "nativeSrc": "1237:88:20", + "nodeType": "YulFunctionCall", + "src": "1237:88:20" + }, + "nativeSrc": "1237:88:20", + "nodeType": "YulExpressionStatement", + "src": "1237:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1341:1:20", + "nodeType": "YulLiteral", + "src": "1341:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "1344:4:20", + "nodeType": "YulLiteral", + "src": "1344:4:20", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1334:6:20", + "nodeType": "YulIdentifier", + "src": "1334:6:20" + }, + "nativeSrc": "1334:15:20", + "nodeType": "YulFunctionCall", + "src": "1334:15:20" + }, + "nativeSrc": "1334:15:20", + "nodeType": "YulExpressionStatement", + "src": "1334:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1365:1:20", + "nodeType": "YulLiteral", + "src": "1365:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1368:4:20", + "nodeType": "YulLiteral", + "src": "1368:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1358:6:20", + "nodeType": "YulIdentifier", + "src": "1358:6:20" + }, + "nativeSrc": "1358:15:20", + "nodeType": "YulFunctionCall", + "src": "1358:15:20" + }, + "nativeSrc": "1358:15:20", + "nodeType": "YulExpressionStatement", + "src": "1358:15:20" + } + ] + }, + "name": "panic_error_0x41", + "nativeSrc": "1199:180:20", + "nodeType": "YulFunctionDefinition", + "src": "1199:180:20" + }, + { + "body": { + "nativeSrc": "1428:238:20", + "nodeType": "YulBlock", + "src": "1428:238:20", + "statements": [ + { + "nativeSrc": "1438:58:20", + "nodeType": "YulVariableDeclaration", + "src": "1438:58:20", + "value": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "1460:6:20", + "nodeType": "YulIdentifier", + "src": "1460:6:20" + }, + { + "arguments": [ + { + "name": "size", + "nativeSrc": "1490:4:20", + "nodeType": "YulIdentifier", + "src": "1490:4:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "1468:21:20", + "nodeType": "YulIdentifier", + "src": "1468:21:20" + }, + "nativeSrc": "1468:27:20", + "nodeType": "YulFunctionCall", + "src": "1468:27:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1456:3:20", + "nodeType": "YulIdentifier", + "src": "1456:3:20" + }, + "nativeSrc": "1456:40:20", + "nodeType": "YulFunctionCall", + "src": "1456:40:20" + }, + "variables": [ + { + "name": "newFreePtr", + "nativeSrc": "1442:10:20", + "nodeType": "YulTypedName", + "src": "1442:10:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "1607:22:20", + "nodeType": "YulBlock", + "src": "1607:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "1609:16:20", + "nodeType": "YulIdentifier", + "src": "1609:16:20" + }, + "nativeSrc": "1609:18:20", + "nodeType": "YulFunctionCall", + "src": "1609:18:20" + }, + "nativeSrc": "1609:18:20", + "nodeType": "YulExpressionStatement", + "src": "1609:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "1550:10:20", + "nodeType": "YulIdentifier", + "src": "1550:10:20" + }, + { + "kind": "number", + "nativeSrc": "1562:18:20", + "nodeType": "YulLiteral", + "src": "1562:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "1547:2:20", + "nodeType": "YulIdentifier", + "src": "1547:2:20" + }, + "nativeSrc": "1547:34:20", + "nodeType": "YulFunctionCall", + "src": "1547:34:20" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "1586:10:20", + "nodeType": "YulIdentifier", + "src": "1586:10:20" + }, + { + "name": "memPtr", + "nativeSrc": "1598:6:20", + "nodeType": "YulIdentifier", + "src": "1598:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "1583:2:20", + "nodeType": "YulIdentifier", + "src": "1583:2:20" + }, + "nativeSrc": "1583:22:20", + "nodeType": "YulFunctionCall", + "src": "1583:22:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "1544:2:20", + "nodeType": "YulIdentifier", + "src": "1544:2:20" + }, + "nativeSrc": "1544:62:20", + "nodeType": "YulFunctionCall", + "src": "1544:62:20" + }, + "nativeSrc": "1541:88:20", + "nodeType": "YulIf", + "src": "1541:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1645:2:20", + "nodeType": "YulLiteral", + "src": "1645:2:20", + "type": "", + "value": "64" + }, + { + "name": "newFreePtr", + "nativeSrc": "1649:10:20", + "nodeType": "YulIdentifier", + "src": "1649:10:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1638:6:20", + "nodeType": "YulIdentifier", + "src": "1638:6:20" + }, + "nativeSrc": "1638:22:20", + "nodeType": "YulFunctionCall", + "src": "1638:22:20" + }, + "nativeSrc": "1638:22:20", + "nodeType": "YulExpressionStatement", + "src": "1638:22:20" + } + ] + }, + "name": "finalize_allocation", + "nativeSrc": "1385:281:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "1414:6:20", + "nodeType": "YulTypedName", + "src": "1414:6:20", + "type": "" + }, + { + "name": "size", + "nativeSrc": "1422:4:20", + "nodeType": "YulTypedName", + "src": "1422:4:20", + "type": "" + } + ], + "src": "1385:281:20" + }, + { + "body": { + "nativeSrc": "1713:88:20", + "nodeType": "YulBlock", + "src": "1713:88:20", + "statements": [ + { + "nativeSrc": "1723:30:20", + "nodeType": "YulAssignment", + "src": "1723:30:20", + "value": { + "arguments": [], + "functionName": { + "name": "allocate_unbounded", + "nativeSrc": "1733:18:20", + "nodeType": "YulIdentifier", + "src": "1733:18:20" + }, + "nativeSrc": "1733:20:20", + "nodeType": "YulFunctionCall", + "src": "1733:20:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "1723:6:20", + "nodeType": "YulIdentifier", + "src": "1723:6:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "1782:6:20", + "nodeType": "YulIdentifier", + "src": "1782:6:20" + }, + { + "name": "size", + "nativeSrc": "1790:4:20", + "nodeType": "YulIdentifier", + "src": "1790:4:20" + } + ], + "functionName": { + "name": "finalize_allocation", + "nativeSrc": "1762:19:20", + "nodeType": "YulIdentifier", + "src": "1762:19:20" + }, + "nativeSrc": "1762:33:20", + "nodeType": "YulFunctionCall", + "src": "1762:33:20" + }, + "nativeSrc": "1762:33:20", + "nodeType": "YulExpressionStatement", + "src": "1762:33:20" + } + ] + }, + "name": "allocate_memory", + "nativeSrc": "1672:129:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "size", + "nativeSrc": "1697:4:20", + "nodeType": "YulTypedName", + "src": "1697:4:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "1706:6:20", + "nodeType": "YulTypedName", + "src": "1706:6:20", + "type": "" + } + ], + "src": "1672:129:20" + }, + { + "body": { + "nativeSrc": "1873:241:20", + "nodeType": "YulBlock", + "src": "1873:241:20", + "statements": [ + { + "body": { + "nativeSrc": "1978:22:20", + "nodeType": "YulBlock", + "src": "1978:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "1980:16:20", + "nodeType": "YulIdentifier", + "src": "1980:16:20" + }, + "nativeSrc": "1980:18:20", + "nodeType": "YulFunctionCall", + "src": "1980:18:20" + }, + "nativeSrc": "1980:18:20", + "nodeType": "YulExpressionStatement", + "src": "1980:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nativeSrc": "1950:6:20", + "nodeType": "YulIdentifier", + "src": "1950:6:20" + }, + { + "kind": "number", + "nativeSrc": "1958:18:20", + "nodeType": "YulLiteral", + "src": "1958:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "1947:2:20", + "nodeType": "YulIdentifier", + "src": "1947:2:20" + }, + "nativeSrc": "1947:30:20", + "nodeType": "YulFunctionCall", + "src": "1947:30:20" + }, + "nativeSrc": "1944:56:20", + "nodeType": "YulIf", + "src": "1944:56:20" + }, + { + "nativeSrc": "2010:37:20", + "nodeType": "YulAssignment", + "src": "2010:37:20", + "value": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2040:6:20", + "nodeType": "YulIdentifier", + "src": "2040:6:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "2018:21:20", + "nodeType": "YulIdentifier", + "src": "2018:21:20" + }, + "nativeSrc": "2018:29:20", + "nodeType": "YulFunctionCall", + "src": "2018:29:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2010:4:20", + "nodeType": "YulIdentifier", + "src": "2010:4:20" + } + ] + }, + { + "nativeSrc": "2084:23:20", + "nodeType": "YulAssignment", + "src": "2084:23:20", + "value": { + "arguments": [ + { + "name": "size", + "nativeSrc": "2096:4:20", + "nodeType": "YulIdentifier", + "src": "2096:4:20" + }, + { + "kind": "number", + "nativeSrc": "2102:4:20", + "nodeType": "YulLiteral", + "src": "2102:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2092:3:20", + "nodeType": "YulIdentifier", + "src": "2092:3:20" + }, + "nativeSrc": "2092:15:20", + "nodeType": "YulFunctionCall", + "src": "2092:15:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2084:4:20", + "nodeType": "YulIdentifier", + "src": "2084:4:20" + } + ] + } + ] + }, + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "1807:307:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "length", + "nativeSrc": "1857:6:20", + "nodeType": "YulTypedName", + "src": "1857:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "size", + "nativeSrc": "1868:4:20", + "nodeType": "YulTypedName", + "src": "1868:4:20", + "type": "" + } + ], + "src": "1807:307:20" + }, + { + "body": { + "nativeSrc": "2182:186:20", + "nodeType": "YulBlock", + "src": "2182:186:20", + "statements": [ + { + "nativeSrc": "2193:10:20", + "nodeType": "YulVariableDeclaration", + "src": "2193:10:20", + "value": { + "kind": "number", + "nativeSrc": "2202:1:20", + "nodeType": "YulLiteral", + "src": "2202:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nativeSrc": "2197:1:20", + "nodeType": "YulTypedName", + "src": "2197:1:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "2262:63:20", + "nodeType": "YulBlock", + "src": "2262:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "2287:3:20", + "nodeType": "YulIdentifier", + "src": "2287:3:20" + }, + { + "name": "i", + "nativeSrc": "2292:1:20", + "nodeType": "YulIdentifier", + "src": "2292:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2283:3:20", + "nodeType": "YulIdentifier", + "src": "2283:3:20" + }, + "nativeSrc": "2283:11:20", + "nodeType": "YulFunctionCall", + "src": "2283:11:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "2306:3:20", + "nodeType": "YulIdentifier", + "src": "2306:3:20" + }, + { + "name": "i", + "nativeSrc": "2311:1:20", + "nodeType": "YulIdentifier", + "src": "2311:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2302:3:20", + "nodeType": "YulIdentifier", + "src": "2302:3:20" + }, + "nativeSrc": "2302:11:20", + "nodeType": "YulFunctionCall", + "src": "2302:11:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "2296:5:20", + "nodeType": "YulIdentifier", + "src": "2296:5:20" + }, + "nativeSrc": "2296:18:20", + "nodeType": "YulFunctionCall", + "src": "2296:18:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2276:6:20", + "nodeType": "YulIdentifier", + "src": "2276:6:20" + }, + "nativeSrc": "2276:39:20", + "nodeType": "YulFunctionCall", + "src": "2276:39:20" + }, + "nativeSrc": "2276:39:20", + "nodeType": "YulExpressionStatement", + "src": "2276:39:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nativeSrc": "2223:1:20", + "nodeType": "YulIdentifier", + "src": "2223:1:20" + }, + { + "name": "length", + "nativeSrc": "2226:6:20", + "nodeType": "YulIdentifier", + "src": "2226:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "2220:2:20", + "nodeType": "YulIdentifier", + "src": "2220:2:20" + }, + "nativeSrc": "2220:13:20", + "nodeType": "YulFunctionCall", + "src": "2220:13:20" + }, + "nativeSrc": "2212:113:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "2234:19:20", + "nodeType": "YulBlock", + "src": "2234:19:20", + "statements": [ + { + "nativeSrc": "2236:15:20", + "nodeType": "YulAssignment", + "src": "2236:15:20", + "value": { + "arguments": [ + { + "name": "i", + "nativeSrc": "2245:1:20", + "nodeType": "YulIdentifier", + "src": "2245:1:20" + }, + { + "kind": "number", + "nativeSrc": "2248:2:20", + "nodeType": "YulLiteral", + "src": "2248:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2241:3:20", + "nodeType": "YulIdentifier", + "src": "2241:3:20" + }, + "nativeSrc": "2241:10:20", + "nodeType": "YulFunctionCall", + "src": "2241:10:20" + }, + "variableNames": [ + { + "name": "i", + "nativeSrc": "2236:1:20", + "nodeType": "YulIdentifier", + "src": "2236:1:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "2216:3:20", + "nodeType": "YulBlock", + "src": "2216:3:20", + "statements": [] + }, + "src": "2212:113:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "2345:3:20", + "nodeType": "YulIdentifier", + "src": "2345:3:20" + }, + { + "name": "length", + "nativeSrc": "2350:6:20", + "nodeType": "YulIdentifier", + "src": "2350:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2341:3:20", + "nodeType": "YulIdentifier", + "src": "2341:3:20" + }, + "nativeSrc": "2341:16:20", + "nodeType": "YulFunctionCall", + "src": "2341:16:20" + }, + { + "kind": "number", + "nativeSrc": "2359:1:20", + "nodeType": "YulLiteral", + "src": "2359:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2334:6:20", + "nodeType": "YulIdentifier", + "src": "2334:6:20" + }, + "nativeSrc": "2334:27:20", + "nodeType": "YulFunctionCall", + "src": "2334:27:20" + }, + "nativeSrc": "2334:27:20", + "nodeType": "YulExpressionStatement", + "src": "2334:27:20" + } + ] + }, + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "2120:248:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "2164:3:20", + "nodeType": "YulTypedName", + "src": "2164:3:20", + "type": "" + }, + { + "name": "dst", + "nativeSrc": "2169:3:20", + "nodeType": "YulTypedName", + "src": "2169:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2174:6:20", + "nodeType": "YulTypedName", + "src": "2174:6:20", + "type": "" + } + ], + "src": "2120:248:20" + }, + { + "body": { + "nativeSrc": "2468:338:20", + "nodeType": "YulBlock", + "src": "2468:338:20", + "statements": [ + { + "nativeSrc": "2478:74:20", + "nodeType": "YulAssignment", + "src": "2478:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nativeSrc": "2544:6:20", + "nodeType": "YulIdentifier", + "src": "2544:6:20" + } + ], + "functionName": { + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "2503:40:20", + "nodeType": "YulIdentifier", + "src": "2503:40:20" + }, + "nativeSrc": "2503:48:20", + "nodeType": "YulFunctionCall", + "src": "2503:48:20" + } + ], + "functionName": { + "name": "allocate_memory", + "nativeSrc": "2487:15:20", + "nodeType": "YulIdentifier", + "src": "2487:15:20" + }, + "nativeSrc": "2487:65:20", + "nodeType": "YulFunctionCall", + "src": "2487:65:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "2478:5:20", + "nodeType": "YulIdentifier", + "src": "2478:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "array", + "nativeSrc": "2568:5:20", + "nodeType": "YulIdentifier", + "src": "2568:5:20" + }, + { + "name": "length", + "nativeSrc": "2575:6:20", + "nodeType": "YulIdentifier", + "src": "2575:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2561:6:20", + "nodeType": "YulIdentifier", + "src": "2561:6:20" + }, + "nativeSrc": "2561:21:20", + "nodeType": "YulFunctionCall", + "src": "2561:21:20" + }, + "nativeSrc": "2561:21:20", + "nodeType": "YulExpressionStatement", + "src": "2561:21:20" + }, + { + "nativeSrc": "2591:27:20", + "nodeType": "YulVariableDeclaration", + "src": "2591:27:20", + "value": { + "arguments": [ + { + "name": "array", + "nativeSrc": "2606:5:20", + "nodeType": "YulIdentifier", + "src": "2606:5:20" + }, + { + "kind": "number", + "nativeSrc": "2613:4:20", + "nodeType": "YulLiteral", + "src": "2613:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2602:3:20", + "nodeType": "YulIdentifier", + "src": "2602:3:20" + }, + "nativeSrc": "2602:16:20", + "nodeType": "YulFunctionCall", + "src": "2602:16:20" + }, + "variables": [ + { + "name": "dst", + "nativeSrc": "2595:3:20", + "nodeType": "YulTypedName", + "src": "2595:3:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "2656:83:20", + "nodeType": "YulBlock", + "src": "2656:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "2658:77:20", + "nodeType": "YulIdentifier", + "src": "2658:77:20" + }, + "nativeSrc": "2658:79:20", + "nodeType": "YulFunctionCall", + "src": "2658:79:20" + }, + "nativeSrc": "2658:79:20", + "nodeType": "YulExpressionStatement", + "src": "2658:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "2637:3:20", + "nodeType": "YulIdentifier", + "src": "2637:3:20" + }, + { + "name": "length", + "nativeSrc": "2642:6:20", + "nodeType": "YulIdentifier", + "src": "2642:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2633:3:20", + "nodeType": "YulIdentifier", + "src": "2633:3:20" + }, + "nativeSrc": "2633:16:20", + "nodeType": "YulFunctionCall", + "src": "2633:16:20" + }, + { + "name": "end", + "nativeSrc": "2651:3:20", + "nodeType": "YulIdentifier", + "src": "2651:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2630:2:20", + "nodeType": "YulIdentifier", + "src": "2630:2:20" + }, + "nativeSrc": "2630:25:20", + "nodeType": "YulFunctionCall", + "src": "2630:25:20" + }, + "nativeSrc": "2627:112:20", + "nodeType": "YulIf", + "src": "2627:112:20" + }, + { + "expression": { + "arguments": [ + { + "name": "src", + "nativeSrc": "2783:3:20", + "nodeType": "YulIdentifier", + "src": "2783:3:20" + }, + { + "name": "dst", + "nativeSrc": "2788:3:20", + "nodeType": "YulIdentifier", + "src": "2788:3:20" + }, + { + "name": "length", + "nativeSrc": "2793:6:20", + "nodeType": "YulIdentifier", + "src": "2793:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "2748:34:20", + "nodeType": "YulIdentifier", + "src": "2748:34:20" + }, + "nativeSrc": "2748:52:20", + "nodeType": "YulFunctionCall", + "src": "2748:52:20" + }, + "nativeSrc": "2748:52:20", + "nodeType": "YulExpressionStatement", + "src": "2748:52:20" + } + ] + }, + "name": "abi_decode_available_length_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "2374:432:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "2441:3:20", + "nodeType": "YulTypedName", + "src": "2441:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2446:6:20", + "nodeType": "YulTypedName", + "src": "2446:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "2454:3:20", + "nodeType": "YulTypedName", + "src": "2454:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "2462:5:20", + "nodeType": "YulTypedName", + "src": "2462:5:20", + "type": "" + } + ], + "src": "2374:432:20" + }, + { + "body": { + "nativeSrc": "2897:281:20", + "nodeType": "YulBlock", + "src": "2897:281:20", + "statements": [ + { + "body": { + "nativeSrc": "2946:83:20", + "nodeType": "YulBlock", + "src": "2946:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "2948:77:20", + "nodeType": "YulIdentifier", + "src": "2948:77:20" + }, + "nativeSrc": "2948:79:20", + "nodeType": "YulFunctionCall", + "src": "2948:79:20" + }, + "nativeSrc": "2948:79:20", + "nodeType": "YulExpressionStatement", + "src": "2948:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2925:6:20", + "nodeType": "YulIdentifier", + "src": "2925:6:20" + }, + { + "kind": "number", + "nativeSrc": "2933:4:20", + "nodeType": "YulLiteral", + "src": "2933:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2921:3:20", + "nodeType": "YulIdentifier", + "src": "2921:3:20" + }, + "nativeSrc": "2921:17:20", + "nodeType": "YulFunctionCall", + "src": "2921:17:20" + }, + { + "name": "end", + "nativeSrc": "2940:3:20", + "nodeType": "YulIdentifier", + "src": "2940:3:20" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "2917:3:20", + "nodeType": "YulIdentifier", + "src": "2917:3:20" + }, + "nativeSrc": "2917:27:20", + "nodeType": "YulFunctionCall", + "src": "2917:27:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "2910:6:20", + "nodeType": "YulIdentifier", + "src": "2910:6:20" + }, + "nativeSrc": "2910:35:20", + "nodeType": "YulFunctionCall", + "src": "2910:35:20" + }, + "nativeSrc": "2907:122:20", + "nodeType": "YulIf", + "src": "2907:122:20" + }, + { + "nativeSrc": "3038:27:20", + "nodeType": "YulVariableDeclaration", + "src": "3038:27:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3058:6:20", + "nodeType": "YulIdentifier", + "src": "3058:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "3052:5:20", + "nodeType": "YulIdentifier", + "src": "3052:5:20" + }, + "nativeSrc": "3052:13:20", + "nodeType": "YulFunctionCall", + "src": "3052:13:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "3042:6:20", + "nodeType": "YulTypedName", + "src": "3042:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3074:98:20", + "nodeType": "YulAssignment", + "src": "3074:98:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3145:6:20", + "nodeType": "YulIdentifier", + "src": "3145:6:20" + }, + { + "kind": "number", + "nativeSrc": "3153:4:20", + "nodeType": "YulLiteral", + "src": "3153:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3141:3:20", + "nodeType": "YulIdentifier", + "src": "3141:3:20" + }, + "nativeSrc": "3141:17:20", + "nodeType": "YulFunctionCall", + "src": "3141:17:20" + }, + { + "name": "length", + "nativeSrc": "3160:6:20", + "nodeType": "YulIdentifier", + "src": "3160:6:20" + }, + { + "name": "end", + "nativeSrc": "3168:3:20", + "nodeType": "YulIdentifier", + "src": "3168:3:20" + } + ], + "functionName": { + "name": "abi_decode_available_length_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "3083:57:20", + "nodeType": "YulIdentifier", + "src": "3083:57:20" + }, + "nativeSrc": "3083:89:20", + "nodeType": "YulFunctionCall", + "src": "3083:89:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "3074:5:20", + "nodeType": "YulIdentifier", + "src": "3074:5:20" + } + ] + } + ] + }, + "name": "abi_decode_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "2825:353:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "2875:6:20", + "nodeType": "YulTypedName", + "src": "2875:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "2883:3:20", + "nodeType": "YulTypedName", + "src": "2883:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "2891:5:20", + "nodeType": "YulTypedName", + "src": "2891:5:20", + "type": "" + } + ], + "src": "2825:353:20" + }, + { + "body": { + "nativeSrc": "3287:575:20", + "nodeType": "YulBlock", + "src": "3287:575:20", + "statements": [ + { + "body": { + "nativeSrc": "3333:83:20", + "nodeType": "YulBlock", + "src": "3333:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "3335:77:20", + "nodeType": "YulIdentifier", + "src": "3335:77:20" + }, + "nativeSrc": "3335:79:20", + "nodeType": "YulFunctionCall", + "src": "3335:79:20" + }, + "nativeSrc": "3335:79:20", + "nodeType": "YulExpressionStatement", + "src": "3335:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "3308:7:20", + "nodeType": "YulIdentifier", + "src": "3308:7:20" + }, + { + "name": "headStart", + "nativeSrc": "3317:9:20", + "nodeType": "YulIdentifier", + "src": "3317:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3304:3:20", + "nodeType": "YulIdentifier", + "src": "3304:3:20" + }, + "nativeSrc": "3304:23:20", + "nodeType": "YulFunctionCall", + "src": "3304:23:20" + }, + { + "kind": "number", + "nativeSrc": "3329:2:20", + "nodeType": "YulLiteral", + "src": "3329:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "3300:3:20", + "nodeType": "YulIdentifier", + "src": "3300:3:20" + }, + "nativeSrc": "3300:32:20", + "nodeType": "YulFunctionCall", + "src": "3300:32:20" + }, + "nativeSrc": "3297:119:20", + "nodeType": "YulIf", + "src": "3297:119:20" + }, + { + "nativeSrc": "3426:128:20", + "nodeType": "YulBlock", + "src": "3426:128:20", + "statements": [ + { + "nativeSrc": "3441:15:20", + "nodeType": "YulVariableDeclaration", + "src": "3441:15:20", + "value": { + "kind": "number", + "nativeSrc": "3455:1:20", + "nodeType": "YulLiteral", + "src": "3455:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3445:6:20", + "nodeType": "YulTypedName", + "src": "3445:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3470:74:20", + "nodeType": "YulAssignment", + "src": "3470:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3516:9:20", + "nodeType": "YulIdentifier", + "src": "3516:9:20" + }, + { + "name": "offset", + "nativeSrc": "3527:6:20", + "nodeType": "YulIdentifier", + "src": "3527:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3512:3:20", + "nodeType": "YulIdentifier", + "src": "3512:3:20" + }, + "nativeSrc": "3512:22:20", + "nodeType": "YulFunctionCall", + "src": "3512:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3536:7:20", + "nodeType": "YulIdentifier", + "src": "3536:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "3480:31:20", + "nodeType": "YulIdentifier", + "src": "3480:31:20" + }, + "nativeSrc": "3480:64:20", + "nodeType": "YulFunctionCall", + "src": "3480:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "3470:6:20", + "nodeType": "YulIdentifier", + "src": "3470:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3564:291:20", + "nodeType": "YulBlock", + "src": "3564:291:20", + "statements": [ + { + "nativeSrc": "3579:39:20", + "nodeType": "YulVariableDeclaration", + "src": "3579:39:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3603:9:20", + "nodeType": "YulIdentifier", + "src": "3603:9:20" + }, + { + "kind": "number", + "nativeSrc": "3614:2:20", + "nodeType": "YulLiteral", + "src": "3614:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3599:3:20", + "nodeType": "YulIdentifier", + "src": "3599:3:20" + }, + "nativeSrc": "3599:18:20", + "nodeType": "YulFunctionCall", + "src": "3599:18:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "3593:5:20", + "nodeType": "YulIdentifier", + "src": "3593:5:20" + }, + "nativeSrc": "3593:25:20", + "nodeType": "YulFunctionCall", + "src": "3593:25:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3583:6:20", + "nodeType": "YulTypedName", + "src": "3583:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "3665:83:20", + "nodeType": "YulBlock", + "src": "3665:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "3667:77:20", + "nodeType": "YulIdentifier", + "src": "3667:77:20" + }, + "nativeSrc": "3667:79:20", + "nodeType": "YulFunctionCall", + "src": "3667:79:20" + }, + "nativeSrc": "3667:79:20", + "nodeType": "YulExpressionStatement", + "src": "3667:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3637:6:20", + "nodeType": "YulIdentifier", + "src": "3637:6:20" + }, + { + "kind": "number", + "nativeSrc": "3645:18:20", + "nodeType": "YulLiteral", + "src": "3645:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "3634:2:20", + "nodeType": "YulIdentifier", + "src": "3634:2:20" + }, + "nativeSrc": "3634:30:20", + "nodeType": "YulFunctionCall", + "src": "3634:30:20" + }, + "nativeSrc": "3631:117:20", + "nodeType": "YulIf", + "src": "3631:117:20" + }, + { + "nativeSrc": "3762:83:20", + "nodeType": "YulAssignment", + "src": "3762:83:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3817:9:20", + "nodeType": "YulIdentifier", + "src": "3817:9:20" + }, + { + "name": "offset", + "nativeSrc": "3828:6:20", + "nodeType": "YulIdentifier", + "src": "3828:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3813:3:20", + "nodeType": "YulIdentifier", + "src": "3813:3:20" + }, + "nativeSrc": "3813:22:20", + "nodeType": "YulFunctionCall", + "src": "3813:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3837:7:20", + "nodeType": "YulIdentifier", + "src": "3837:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "3772:40:20", + "nodeType": "YulIdentifier", + "src": "3772:40:20" + }, + "nativeSrc": "3772:73:20", + "nodeType": "YulFunctionCall", + "src": "3772:73:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "3762:6:20", + "nodeType": "YulIdentifier", + "src": "3762:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory", + "nativeSrc": "3184:678:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "3249:9:20", + "nodeType": "YulTypedName", + "src": "3249:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "3260:7:20", + "nodeType": "YulTypedName", + "src": "3260:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "3272:6:20", + "nodeType": "YulTypedName", + "src": "3272:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "3280:6:20", + "nodeType": "YulTypedName", + "src": "3280:6:20", + "type": "" + } + ], + "src": "3184:678:20" + }, + { + "body": { + "nativeSrc": "3933:53:20", + "nodeType": "YulBlock", + "src": "3933:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "3950:3:20", + "nodeType": "YulIdentifier", + "src": "3950:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "3973:5:20", + "nodeType": "YulIdentifier", + "src": "3973:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "3955:17:20", + "nodeType": "YulIdentifier", + "src": "3955:17:20" + }, + "nativeSrc": "3955:24:20", + "nodeType": "YulFunctionCall", + "src": "3955:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3943:6:20", + "nodeType": "YulIdentifier", + "src": "3943:6:20" + }, + "nativeSrc": "3943:37:20", + "nodeType": "YulFunctionCall", + "src": "3943:37:20" + }, + "nativeSrc": "3943:37:20", + "nodeType": "YulExpressionStatement", + "src": "3943:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "3868:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "3921:5:20", + "nodeType": "YulTypedName", + "src": "3921:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "3928:3:20", + "nodeType": "YulTypedName", + "src": "3928:3:20", + "type": "" + } + ], + "src": "3868:118:20" + }, + { + "body": { + "nativeSrc": "4090:124:20", + "nodeType": "YulBlock", + "src": "4090:124:20", + "statements": [ + { + "nativeSrc": "4100:26:20", + "nodeType": "YulAssignment", + "src": "4100:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4112:9:20", + "nodeType": "YulIdentifier", + "src": "4112:9:20" + }, + { + "kind": "number", + "nativeSrc": "4123:2:20", + "nodeType": "YulLiteral", + "src": "4123:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4108:3:20", + "nodeType": "YulIdentifier", + "src": "4108:3:20" + }, + "nativeSrc": "4108:18:20", + "nodeType": "YulFunctionCall", + "src": "4108:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4100:4:20", + "nodeType": "YulIdentifier", + "src": "4100:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "4180:6:20", + "nodeType": "YulIdentifier", + "src": "4180:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4193:9:20", + "nodeType": "YulIdentifier", + "src": "4193:9:20" + }, + { + "kind": "number", + "nativeSrc": "4204:1:20", + "nodeType": "YulLiteral", + "src": "4204:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4189:3:20", + "nodeType": "YulIdentifier", + "src": "4189:3:20" + }, + "nativeSrc": "4189:17:20", + "nodeType": "YulFunctionCall", + "src": "4189:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4136:43:20", + "nodeType": "YulIdentifier", + "src": "4136:43:20" + }, + "nativeSrc": "4136:71:20", + "nodeType": "YulFunctionCall", + "src": "4136:71:20" + }, + "nativeSrc": "4136:71:20", + "nodeType": "YulExpressionStatement", + "src": "4136:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "3992:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4062:9:20", + "nodeType": "YulTypedName", + "src": "4062:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4074:6:20", + "nodeType": "YulTypedName", + "src": "4074:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4085:4:20", + "nodeType": "YulTypedName", + "src": "4085:4:20", + "type": "" + } + ], + "src": "3992:222:20" + }, + { + "body": { + "nativeSrc": "4278:40:20", + "nodeType": "YulBlock", + "src": "4278:40:20", + "statements": [ + { + "nativeSrc": "4289:22:20", + "nodeType": "YulAssignment", + "src": "4289:22:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "4305:5:20", + "nodeType": "YulIdentifier", + "src": "4305:5:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "4299:5:20", + "nodeType": "YulIdentifier", + "src": "4299:5:20" + }, + "nativeSrc": "4299:12:20", + "nodeType": "YulFunctionCall", + "src": "4299:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "4289:6:20", + "nodeType": "YulIdentifier", + "src": "4289:6:20" + } + ] + } + ] + }, + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "4220:98:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4261:5:20", + "nodeType": "YulTypedName", + "src": "4261:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "4271:6:20", + "nodeType": "YulTypedName", + "src": "4271:6:20", + "type": "" + } + ], + "src": "4220:98:20" + }, + { + "body": { + "nativeSrc": "4437:34:20", + "nodeType": "YulBlock", + "src": "4437:34:20", + "statements": [ + { + "nativeSrc": "4447:18:20", + "nodeType": "YulAssignment", + "src": "4447:18:20", + "value": { + "name": "pos", + "nativeSrc": "4462:3:20", + "nodeType": "YulIdentifier", + "src": "4462:3:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "4447:11:20", + "nodeType": "YulIdentifier", + "src": "4447:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4324:147:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "4409:3:20", + "nodeType": "YulTypedName", + "src": "4409:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "4414:6:20", + "nodeType": "YulTypedName", + "src": "4414:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "4425:11:20", + "nodeType": "YulTypedName", + "src": "4425:11:20", + "type": "" + } + ], + "src": "4324:147:20" + }, + { + "body": { + "nativeSrc": "4585:278:20", + "nodeType": "YulBlock", + "src": "4585:278:20", + "statements": [ + { + "nativeSrc": "4595:52:20", + "nodeType": "YulVariableDeclaration", + "src": "4595:52:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "4641:5:20", + "nodeType": "YulIdentifier", + "src": "4641:5:20" + } + ], + "functionName": { + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "4609:31:20", + "nodeType": "YulIdentifier", + "src": "4609:31:20" + }, + "nativeSrc": "4609:38:20", + "nodeType": "YulFunctionCall", + "src": "4609:38:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "4599:6:20", + "nodeType": "YulTypedName", + "src": "4599:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4656:95:20", + "nodeType": "YulAssignment", + "src": "4656:95:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4739:3:20", + "nodeType": "YulIdentifier", + "src": "4739:3:20" + }, + { + "name": "length", + "nativeSrc": "4744:6:20", + "nodeType": "YulIdentifier", + "src": "4744:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4663:75:20", + "nodeType": "YulIdentifier", + "src": "4663:75:20" + }, + "nativeSrc": "4663:88:20", + "nodeType": "YulFunctionCall", + "src": "4663:88:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "4656:3:20", + "nodeType": "YulIdentifier", + "src": "4656:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "4799:5:20", + "nodeType": "YulIdentifier", + "src": "4799:5:20" + }, + { + "kind": "number", + "nativeSrc": "4806:4:20", + "nodeType": "YulLiteral", + "src": "4806:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4795:3:20", + "nodeType": "YulIdentifier", + "src": "4795:3:20" + }, + "nativeSrc": "4795:16:20", + "nodeType": "YulFunctionCall", + "src": "4795:16:20" + }, + { + "name": "pos", + "nativeSrc": "4813:3:20", + "nodeType": "YulIdentifier", + "src": "4813:3:20" + }, + { + "name": "length", + "nativeSrc": "4818:6:20", + "nodeType": "YulIdentifier", + "src": "4818:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "4760:34:20", + "nodeType": "YulIdentifier", + "src": "4760:34:20" + }, + "nativeSrc": "4760:65:20", + "nodeType": "YulFunctionCall", + "src": "4760:65:20" + }, + "nativeSrc": "4760:65:20", + "nodeType": "YulExpressionStatement", + "src": "4760:65:20" + }, + { + "nativeSrc": "4834:23:20", + "nodeType": "YulAssignment", + "src": "4834:23:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4845:3:20", + "nodeType": "YulIdentifier", + "src": "4845:3:20" + }, + { + "name": "length", + "nativeSrc": "4850:6:20", + "nodeType": "YulIdentifier", + "src": "4850:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4841:3:20", + "nodeType": "YulIdentifier", + "src": "4841:3:20" + }, + "nativeSrc": "4841:16:20", + "nodeType": "YulFunctionCall", + "src": "4841:16:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "4834:3:20", + "nodeType": "YulIdentifier", + "src": "4834:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4477:386:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4566:5:20", + "nodeType": "YulTypedName", + "src": "4566:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "4573:3:20", + "nodeType": "YulTypedName", + "src": "4573:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "4581:3:20", + "nodeType": "YulTypedName", + "src": "4581:3:20", + "type": "" + } + ], + "src": "4477:386:20" + }, + { + "body": { + "nativeSrc": "5003:137:20", + "nodeType": "YulBlock", + "src": "5003:137:20", + "statements": [ + { + "nativeSrc": "5014:100:20", + "nodeType": "YulAssignment", + "src": "5014:100:20", + "value": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "5101:6:20", + "nodeType": "YulIdentifier", + "src": "5101:6:20" + }, + { + "name": "pos", + "nativeSrc": "5110:3:20", + "nodeType": "YulIdentifier", + "src": "5110:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5021:79:20", + "nodeType": "YulIdentifier", + "src": "5021:79:20" + }, + "nativeSrc": "5021:93:20", + "nodeType": "YulFunctionCall", + "src": "5021:93:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5014:3:20", + "nodeType": "YulIdentifier", + "src": "5014:3:20" + } + ] + }, + { + "nativeSrc": "5124:10:20", + "nodeType": "YulAssignment", + "src": "5124:10:20", + "value": { + "name": "pos", + "nativeSrc": "5131:3:20", + "nodeType": "YulIdentifier", + "src": "5131:3:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "5124:3:20", + "nodeType": "YulIdentifier", + "src": "5124:3:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nativeSrc": "4869:271:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "4982:3:20", + "nodeType": "YulTypedName", + "src": "4982:3:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4988:6:20", + "nodeType": "YulTypedName", + "src": "4988:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "4999:3:20", + "nodeType": "YulTypedName", + "src": "4999:3:20", + "type": "" + } + ], + "src": "4869:271:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\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 allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_bytes_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n\n }\n\n function abi_decode_available_length_t_bytes_memory_ptr_fromMemory(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_bytes_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_memory_to_memory_with_cleanup(src, dst, length)\n }\n\n // bytes\n function abi_decode_t_bytes_memory_ptr_fromMemory(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := mload(offset)\n array := abi_decode_available_length_t_bytes_memory_ptr_fromMemory(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := mload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1 := abi_decode_t_bytes_memory_ptr_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function array_length_t_bytes_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_bytes_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value0) -> end {\n\n pos := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n end := pos\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040526040516106e53803806106e583398181016040528101906100259190610512565b610035828261003c60201b60201c565b50506105f6565b61004b826100c160201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a26000815111156100ae576100a8828261019460201b60201c565b506100bd565b6100bc61021e60201b60201c565b5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff163b0361011d57806040517f4c9c8ce3000000000000000000000000000000000000000000000000000000008152600401610114919061057d565b60405180910390fd5b806101507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61025b60201b60201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000808473ffffffffffffffffffffffffffffffffffffffff16846040516101be91906105df565b600060405180830381855af49150503d80600081146101f9576040519150601f19603f3d011682016040523d82523d6000602084013e6101fe565b606091505b509150915061021485838361026560201b60201c565b9250505092915050565b6000341115610259576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000819050919050565b6060826102805761027b826102fa60201b60201c565b6102f2565b600082511480156102a8575060008473ffffffffffffffffffffffffffffffffffffffff163b145b156102ea57836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016102e1919061057d565b60405180910390fd5b8190506102f3565b5b9392505050565b60008151111561030d5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061037e82610353565b9050919050565b61038e81610373565b811461039957600080fd5b50565b6000815190506103ab81610385565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610404826103bb565b810181811067ffffffffffffffff82111715610423576104226103cc565b5b80604052505050565b600061043661033f565b905061044282826103fb565b919050565b600067ffffffffffffffff821115610462576104616103cc565b5b61046b826103bb565b9050602081019050919050565b60005b8381101561049657808201518184015260208101905061047b565b60008484015250505050565b60006104b56104b084610447565b61042c565b9050828152602081018484840111156104d1576104d06103b6565b5b6104dc848285610478565b509392505050565b600082601f8301126104f9576104f86103b1565b5b81516105098482602086016104a2565b91505092915050565b6000806040838503121561052957610528610349565b5b60006105378582860161039c565b925050602083015167ffffffffffffffff8111156105585761055761034e565b5b610564858286016104e4565b9150509250929050565b61057781610373565b82525050565b6000602082019050610592600083018461056e565b92915050565b600081519050919050565b600081905092915050565b60006105b982610598565b6105c381856105a3565b93506105d3818560208601610478565b80840191505092915050565b60006105eb82846105ae565b915081905092915050565b60e1806106046000396000f3fe6080604052600a600c565b005b60186014601a565b6027565b565b60006022604c565b905090565b3660008037600080366000845af43d6000803e80600081146047573d6000f35b3d6000fd5b600060787f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b60a1565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081905091905056fea2646970667358221220f4b64fb665ef9c337aa61e585ada6c731fb7179ed462a6f25efc37fe1df457c464736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x6E5 CODESIZE SUB DUP1 PUSH2 0x6E5 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x25 SWAP2 SWAP1 PUSH2 0x512 JUMP JUMPDEST PUSH2 0x35 DUP3 DUP3 PUSH2 0x3C PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP PUSH2 0x5F6 JUMP JUMPDEST PUSH2 0x4B DUP3 PUSH2 0xC1 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0xAE JUMPI PUSH2 0xA8 DUP3 DUP3 PUSH2 0x194 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP PUSH2 0xBD JUMP JUMPDEST PUSH2 0xBC PUSH2 0x21E PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE SUB PUSH2 0x11D JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x4C9C8CE300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x114 SWAP2 SWAP1 PUSH2 0x57D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x150 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x25B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD PUSH2 0x1BE SWAP2 SWAP1 PUSH2 0x5DF JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1F9 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1FE JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x214 DUP6 DUP4 DUP4 PUSH2 0x265 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLVALUE GT ISZERO PUSH2 0x259 JUMPI PUSH1 0x40 MLOAD PUSH32 0xB398979F00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 DUP3 PUSH2 0x280 JUMPI PUSH2 0x27B DUP3 PUSH2 0x2FA PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x2F2 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD EQ DUP1 ISZERO PUSH2 0x2A8 JUMPI POP PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE EQ JUMPDEST ISZERO PUSH2 0x2EA JUMPI DUP4 PUSH1 0x40 MLOAD PUSH32 0x9996B31500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2E1 SWAP2 SWAP1 PUSH2 0x57D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 SWAP1 POP PUSH2 0x2F3 JUMP JUMPDEST JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0x30D JUMPI DUP1 MLOAD DUP1 DUP3 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x1425EA4200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x37E DUP3 PUSH2 0x353 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x38E DUP2 PUSH2 0x373 JUMP JUMPDEST DUP2 EQ PUSH2 0x399 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x3AB DUP2 PUSH2 0x385 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP 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 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x404 DUP3 PUSH2 0x3BB JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x423 JUMPI PUSH2 0x422 PUSH2 0x3CC JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x436 PUSH2 0x33F JUMP JUMPDEST SWAP1 POP PUSH2 0x442 DUP3 DUP3 PUSH2 0x3FB JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x462 JUMPI PUSH2 0x461 PUSH2 0x3CC JUMP JUMPDEST JUMPDEST PUSH2 0x46B DUP3 PUSH2 0x3BB JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x496 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x47B JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4B5 PUSH2 0x4B0 DUP5 PUSH2 0x447 JUMP JUMPDEST PUSH2 0x42C JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x4D1 JUMPI PUSH2 0x4D0 PUSH2 0x3B6 JUMP JUMPDEST JUMPDEST PUSH2 0x4DC DUP5 DUP3 DUP6 PUSH2 0x478 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x4F9 JUMPI PUSH2 0x4F8 PUSH2 0x3B1 JUMP JUMPDEST JUMPDEST DUP2 MLOAD PUSH2 0x509 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x4A2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x529 JUMPI PUSH2 0x528 PUSH2 0x349 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x537 DUP6 DUP3 DUP7 ADD PUSH2 0x39C JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x558 JUMPI PUSH2 0x557 PUSH2 0x34E JUMP JUMPDEST JUMPDEST PUSH2 0x564 DUP6 DUP3 DUP7 ADD PUSH2 0x4E4 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x577 DUP2 PUSH2 0x373 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x592 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x56E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5B9 DUP3 PUSH2 0x598 JUMP JUMPDEST PUSH2 0x5C3 DUP2 DUP6 PUSH2 0x5A3 JUMP JUMPDEST SWAP4 POP PUSH2 0x5D3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x478 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5EB DUP3 DUP5 PUSH2 0x5AE JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0xE1 DUP1 PUSH2 0x604 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0xA PUSH1 0xC JUMP JUMPDEST STOP JUMPDEST PUSH1 0x18 PUSH1 0x14 PUSH1 0x1A JUMP JUMPDEST PUSH1 0x27 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x22 PUSH1 0x4C JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 PUSH1 0x0 DUP2 EQ PUSH1 0x47 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x78 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH1 0xA1 JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DELEGATECALL 0xB6 0x4F 0xB6 PUSH6 0xEF9C337AA61E PC GAS 0xDA PUSH13 0x731FB7179ED462A6F25EFC37FE SAR DELEGATECALL JUMPI 0xC4 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "599:1116:2:-:0;;;1080:133;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1154:52;1184:14;1200:5;1154:29;;;:52;;:::i;:::-;1080:133;;599:1116;;2779:335:3;2870:37;2889:17;2870:18;;;:37;;:::i;:::-;2931:17;2922:27;;;;;;;;;;;;2978:1;2964:4;:11;:15;2960:148;;;2995:53;3024:17;3043:4;2995:28;;;:53;;:::i;:::-;;2960:148;;;3079:18;:16;;;:18;;:::i;:::-;2960:148;2779:335;;:::o;2186:281::-;2296:1;2263:17;:29;;;:34;2259:119;;2349:17;2320:47;;;;;;;;;;;:::i;:::-;;;;;;;;2259:119;2443:17;2387:47;1327:66;2414:19;;2387:26;;;:47;;:::i;:::-;:53;;;:73;;;;;;;;;;;;;;;;;;2186:281;:::o;4106:253:8:-;4189:12;4214;4228:23;4255:6;:19;;4275:4;4255:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4213:67;;;;4297:55;4324:6;4332:7;4341:10;4297:26;;;:55;;:::i;:::-;4290:62;;;;4106:253;;;;:::o;6598:122:3:-;6660:1;6648:9;:13;6644:70;;;6684:19;;;;;;;;;;;;;;6644:70;6598:122::o;1684:190:11:-;1745:21;1854:4;1844:14;;1684:190;;;:::o;4625:582:8:-;4769:12;4798:7;4793:408;;4821:19;4829:10;4821:7;;;:19;;:::i;:::-;4793:408;;;5066:1;5045:10;:17;:22;:49;;;;;5093:1;5071:6;:18;;;:23;5045:49;5041:119;;;5138:6;5121:24;;;;;;;;;;;:::i;:::-;;;;;;;;5041:119;5180:10;5173:17;;;;4793:408;4625:582;;;;;;:::o;5743:516::-;5894:1;5874:10;:17;:21;5870:383;;;6102:10;6096:17;6158:15;6145:10;6141:2;6137:19;6130:44;5870:383;6225:17;;;;;;;;;;;;;;7:75:20;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:117::-;954:1;951;944:12;968:117;1077:1;1074;1067:12;1091:102;1132:6;1183:2;1179:7;1174:2;1167:5;1163:14;1159:28;1149:38;;1091:102;;;:::o;1199:180::-;1247:77;1244:1;1237:88;1344:4;1341:1;1334:15;1368:4;1365:1;1358:15;1385:281;1468:27;1490:4;1468:27;:::i;:::-;1460:6;1456:40;1598:6;1586:10;1583:22;1562:18;1550:10;1547:34;1544:62;1541:88;;;1609:18;;:::i;:::-;1541:88;1649:10;1645:2;1638:22;1428:238;1385:281;;:::o;1672:129::-;1706:6;1733:20;;:::i;:::-;1723:30;;1762:33;1790:4;1782:6;1762:33;:::i;:::-;1672:129;;;:::o;1807:307::-;1868:4;1958:18;1950:6;1947:30;1944:56;;;1980:18;;:::i;:::-;1944:56;2018:29;2040:6;2018:29;:::i;:::-;2010:37;;2102:4;2096;2092:15;2084:23;;1807:307;;;:::o;2120:248::-;2202:1;2212:113;2226:6;2223:1;2220:13;2212:113;;;2311:1;2306:3;2302:11;2296:18;2292:1;2287:3;2283:11;2276:39;2248:2;2245:1;2241:10;2236:15;;2212:113;;;2359:1;2350:6;2345:3;2341:16;2334:27;2182:186;2120:248;;;:::o;2374:432::-;2462:5;2487:65;2503:48;2544:6;2503:48;:::i;:::-;2487:65;:::i;:::-;2478:74;;2575:6;2568:5;2561:21;2613:4;2606:5;2602:16;2651:3;2642:6;2637:3;2633:16;2630:25;2627:112;;;2658:79;;:::i;:::-;2627:112;2748:52;2793:6;2788:3;2783;2748:52;:::i;:::-;2468:338;2374:432;;;;;:::o;2825:353::-;2891:5;2940:3;2933:4;2925:6;2921:17;2917:27;2907:122;;2948:79;;:::i;:::-;2907:122;3058:6;3052:13;3083:89;3168:3;3160:6;3153:4;3145:6;3141:17;3083:89;:::i;:::-;3074:98;;2897:281;2825:353;;;;:::o;3184:678::-;3272:6;3280;3329:2;3317:9;3308:7;3304:23;3300:32;3297:119;;;3335:79;;:::i;:::-;3297:119;3455:1;3480:64;3536:7;3527:6;3516:9;3512:22;3480:64;:::i;:::-;3470:74;;3426:128;3614:2;3603:9;3599:18;3593:25;3645:18;3637:6;3634:30;3631:117;;;3667:79;;:::i;:::-;3631:117;3772:73;3837:7;3828:6;3817:9;3813:22;3772:73;:::i;:::-;3762:83;;3564:291;3184:678;;;;;:::o;3868:118::-;3955:24;3973:5;3955:24;:::i;:::-;3950:3;3943:37;3868:118;;:::o;3992:222::-;4085:4;4123:2;4112:9;4108:18;4100:26;;4136:71;4204:1;4193:9;4189:17;4180:6;4136:71;:::i;:::-;3992:222;;;;:::o;4220:98::-;4271:6;4305:5;4299:12;4289:22;;4220:98;;;:::o;4324:147::-;4425:11;4462:3;4447:18;;4324:147;;;;:::o;4477:386::-;4581:3;4609:38;4641:5;4609:38;:::i;:::-;4663:88;4744:6;4739:3;4663:88;:::i;:::-;4656:95;;4760:65;4818:6;4813:3;4806:4;4799:5;4795:16;4760:65;:::i;:::-;4850:6;4845:3;4841:16;4834:23;;4585:278;4477:386;;;;:::o;4869:271::-;4999:3;5021:93;5110:3;5101:6;5021:93;:::i;:::-;5014:100;;5131:3;5124:10;;4869:271;;;;:::o;599:1116:2:-;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@_544": { + "entryPoint": null, + "id": 544, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_delegate_520": { + "entryPoint": 39, + "id": 520, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_fallback_536": { + "entryPoint": 12, + "id": 536, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_implementation_205": { + "entryPoint": 26, + "id": 205, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getAddressSlot_1100": { + "entryPoint": 161, + "id": 1100, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getImplementation_267": { + "entryPoint": 76, + "id": 267, + "parameterSlots": 0, + "returnSlots": 1 + } + }, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "6080604052600a600c565b005b60186014601a565b6027565b565b60006022604c565b905090565b3660008037600080366000845af43d6000803e80600081146047573d6000f35b3d6000fd5b600060787f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b60a1565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081905091905056fea2646970667358221220f4b64fb665ef9c337aa61e585ada6c731fb7179ed462a6f25efc37fe1df457c464736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0xA PUSH1 0xC JUMP JUMPDEST STOP JUMPDEST PUSH1 0x18 PUSH1 0x14 PUSH1 0x1A JUMP JUMPDEST PUSH1 0x27 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x22 PUSH1 0x4C JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 PUSH1 0x0 DUP2 EQ PUSH1 0x47 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x78 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH1 0xA1 JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DELEGATECALL 0xB6 0x4F 0xB6 PUSH6 0xEF9C337AA61E PC GAS 0xDA PUSH13 0x731FB7179ED462A6F25EFC37FE SAR DELEGATECALL JUMPI 0xC4 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "599:1116:2:-:0;;;2649:11:4;:9;:11::i;:::-;599:1116:2;2323:83:4;2371:28;2381:17;:15;:17::i;:::-;2371:9;:28::i;:::-;2323:83::o;1581:132:2:-;1648:7;1674:32;:30;:32::i;:::-;1667:39;;1581:132;:::o;949:895:4:-;1287:14;1284:1;1281;1268:34;1501:1;1498;1482:14;1479:1;1463:14;1456:5;1443:60;1577:16;1574:1;1571;1556:38;1615:6;1687:1;1682:66;;;;1797:16;1794:1;1787:27;1682:66;1717:16;1714:1;1707:27;1957:138:3;2009:7;2035:47;1327:66;2062:19;;2035:26;:47::i;:::-;:53;;;;;;;;;;;;2028:60;;1957:138;:::o;1684:190:11:-;1745:21;1854:4;1844:14;;1684:190;;;:::o" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"details\":\"This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an implementation address that can be changed. This address is stored in storage in the location specified by https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the implementation behind the proxy.\",\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}]},\"events\":{\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the upgradeable proxy with an initial implementation specified by `implementation`. If `_data` is nonempty, it's used as data in a delegate call to `implementation`. This will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity constructor. Requirements: - If `data` is empty, `msg.value` must be zero.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":\"ERC1967Proxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"keccak256\":\"0xbfb6695731de677140fbf76c772ab08c4233a122fb51ac28ac120fc49bbbc4ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://68f8fded7cc318efa15874b7c6a983fe17a4a955d72d240353a9a4ca1e1b824c\",\"dweb:/ipfs/QmdcmBL9Qo4Tk3Dby4wFYabGyot9JNeLPxpSXZUgUm92BV\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a\",\"dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc3f2ec76a3de8ed7a7007c46166f5550c72c7709e3fc7e8bb3111a7191cdedbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e73efb4c2ca655882dc237c6b4f234a9bd36d97159d8fcaa837eb01171f726ac\",\"dweb:/ipfs/QmTNnnv7Gu5fs5G1ZMh7Fexp8N4XUs3XrNAngjcxgiss3e\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol": { + "ERC1967Utils": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "admin", + "type": "address" + } + ], + "name": "ERC1967InvalidAdmin", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "ERC1967InvalidBeacon", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "ERC1967InvalidImplementation", + "type": "error" + }, + { + "inputs": [], + "name": "ERC1967NonPayable", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "BeaconUpgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122019782ab6471fde690e755e64f379f4b249a6cd1c9f704fa1177c9ba91110eb5664736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 NOT PUSH25 0x2AB6471FDE690E755E64F379F4B249A6CD1C9F704FA1177C9B 0xA9 GT LT 0xEB JUMP PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "449:6273:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122019782ab6471fde690e755e64f379f4b249a6cd1c9f704fa1177c9ba91110eb5664736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 NOT PUSH25 0x2AB6471FDE690E755E64F379F4B249A6CD1C9F704FA1177C9B 0xA9 GT LT 0xEB JUMP PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "449:6273:3:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidAdmin\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidBeacon\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"This abstract contract provides getters and event emitting update functions for https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\",\"errors\":{\"ERC1967InvalidAdmin(address)\":[{\"details\":\"The `admin` of the proxy is invalid.\"}],\"ERC1967InvalidBeacon(address)\":[{\"details\":\"The `beacon` of the proxy is invalid.\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}]},\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"ADMIN_SLOT\":{\"details\":\"Storage slot with the admin of the contract. This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1.\"},\"BEACON_SLOT\":{\"details\":\"The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. This is the keccak-256 hash of \\\"eip1967.proxy.beacon\\\" subtracted by 1.\"},\"IMPLEMENTATION_SLOT\":{\"details\":\"Storage slot with the address of the current implementation. This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":\"ERC1967Utils\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a\",\"dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/proxy/Proxy.sol": { + "Proxy": { + "abi": [ + { + "stateMutability": "payable", + "type": "fallback" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"details\":\"This abstract contract provides a fallback function that delegates all calls to another contract using the EVM instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to be specified by overriding the virtual {_implementation} function. Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a different contract through the {_delegate} function. The success and return data of the delegated call will be returned back to the caller of the proxy.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/Proxy.sol\":\"Proxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc3f2ec76a3de8ed7a7007c46166f5550c72c7709e3fc7e8bb3111a7191cdedbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e73efb4c2ca655882dc237c6b4f234a9bd36d97159d8fcaa837eb01171f726ac\",\"dweb:/ipfs/QmTNnnv7Gu5fs5G1ZMh7Fexp8N4XUs3XrNAngjcxgiss3e\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/proxy/beacon/IBeacon.sol": { + "IBeacon": { + "abi": [ + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": { + "implementation()": "5c60da1b" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is the interface that {BeaconProxy} expects of its beacon.\",\"kind\":\"dev\",\"methods\":{\"implementation()\":{\"details\":\"Must return an address that can be used as a delegate call target. {UpgradeableBeacon} will check that this address is a contract.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":\"IBeacon\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol": { + "ProxyAdmin": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "initialOwner", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "OwnableInvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "OwnableUnauthorizedAccount", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "UPGRADE_INTERFACE_VERSION", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract ITransparentUpgradeableProxy", + "name": "proxy", + "type": "address" + }, + { + "internalType": "address", + "name": "implementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": { + "@_50": { + "entryPoint": null, + "id": 50, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_578": { + "entryPoint": null, + "id": 578, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_transferOwnership_146": { + "entryPoint": 187, + "id": 146, + "parameterSlots": 1, + "returnSlots": 0 + }, + "abi_decode_t_address_fromMemory": { + "entryPoint": 461, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 482, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 527, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 542, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 420, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 388, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 383, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_t_address": { + "entryPoint": 438, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:1551:20", + "nodeType": "YulBlock", + "src": "0:1551:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:81:20", + "nodeType": "YulBlock", + "src": "379:81:20", + "statements": [ + { + "nativeSrc": "389:65:20", + "nodeType": "YulAssignment", + "src": "389:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "404:5:20", + "nodeType": "YulIdentifier", + "src": "404:5:20" + }, + { + "kind": "number", + "nativeSrc": "411:42:20", + "nodeType": "YulLiteral", + "src": "411:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "400:3:20", + "nodeType": "YulIdentifier", + "src": "400:3:20" + }, + "nativeSrc": "400:54:20", + "nodeType": "YulFunctionCall", + "src": "400:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "334:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:126:20" + }, + { + "body": { + "nativeSrc": "511:51:20", + "nodeType": "YulBlock", + "src": "511:51:20", + "statements": [ + { + "nativeSrc": "521:35:20", + "nodeType": "YulAssignment", + "src": "521:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "550:5:20", + "nodeType": "YulIdentifier", + "src": "550:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "532:17:20", + "nodeType": "YulIdentifier", + "src": "532:17:20" + }, + "nativeSrc": "532:24:20", + "nodeType": "YulFunctionCall", + "src": "532:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "521:7:20", + "nodeType": "YulIdentifier", + "src": "521:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "466:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "493:5:20", + "nodeType": "YulTypedName", + "src": "493:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "503:7:20", + "nodeType": "YulTypedName", + "src": "503:7:20", + "type": "" + } + ], + "src": "466:96:20" + }, + { + "body": { + "nativeSrc": "611:79:20", + "nodeType": "YulBlock", + "src": "611:79:20", + "statements": [ + { + "body": { + "nativeSrc": "668:16:20", + "nodeType": "YulBlock", + "src": "668:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "677:1:20", + "nodeType": "YulLiteral", + "src": "677:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "680:1:20", + "nodeType": "YulLiteral", + "src": "680:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "670:6:20", + "nodeType": "YulIdentifier", + "src": "670:6:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulFunctionCall", + "src": "670:12:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulExpressionStatement", + "src": "670:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "634:5:20", + "nodeType": "YulIdentifier", + "src": "634:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "659:5:20", + "nodeType": "YulIdentifier", + "src": "659:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "641:17:20", + "nodeType": "YulIdentifier", + "src": "641:17:20" + }, + "nativeSrc": "641:24:20", + "nodeType": "YulFunctionCall", + "src": "641:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "631:2:20", + "nodeType": "YulIdentifier", + "src": "631:2:20" + }, + "nativeSrc": "631:35:20", + "nodeType": "YulFunctionCall", + "src": "631:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "624:6:20", + "nodeType": "YulIdentifier", + "src": "624:6:20" + }, + "nativeSrc": "624:43:20", + "nodeType": "YulFunctionCall", + "src": "624:43:20" + }, + "nativeSrc": "621:63:20", + "nodeType": "YulIf", + "src": "621:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "568:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "604:5:20", + "nodeType": "YulTypedName", + "src": "604:5:20", + "type": "" + } + ], + "src": "568:122:20" + }, + { + "body": { + "nativeSrc": "759:80:20", + "nodeType": "YulBlock", + "src": "759:80:20", + "statements": [ + { + "nativeSrc": "769:22:20", + "nodeType": "YulAssignment", + "src": "769:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "784:6:20", + "nodeType": "YulIdentifier", + "src": "784:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "778:5:20", + "nodeType": "YulIdentifier", + "src": "778:5:20" + }, + "nativeSrc": "778:13:20", + "nodeType": "YulFunctionCall", + "src": "778:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "769:5:20", + "nodeType": "YulIdentifier", + "src": "769:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "827:5:20", + "nodeType": "YulIdentifier", + "src": "827:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "800:26:20", + "nodeType": "YulIdentifier", + "src": "800:26:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulFunctionCall", + "src": "800:33:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulExpressionStatement", + "src": "800:33:20" + } + ] + }, + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "696:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "737:6:20", + "nodeType": "YulTypedName", + "src": "737:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "745:3:20", + "nodeType": "YulTypedName", + "src": "745:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "753:5:20", + "nodeType": "YulTypedName", + "src": "753:5:20", + "type": "" + } + ], + "src": "696:143:20" + }, + { + "body": { + "nativeSrc": "922:274:20", + "nodeType": "YulBlock", + "src": "922:274:20", + "statements": [ + { + "body": { + "nativeSrc": "968:83:20", + "nodeType": "YulBlock", + "src": "968:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "970:77:20", + "nodeType": "YulIdentifier", + "src": "970:77:20" + }, + "nativeSrc": "970:79:20", + "nodeType": "YulFunctionCall", + "src": "970:79:20" + }, + "nativeSrc": "970:79:20", + "nodeType": "YulExpressionStatement", + "src": "970:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "943:7:20", + "nodeType": "YulIdentifier", + "src": "943:7:20" + }, + { + "name": "headStart", + "nativeSrc": "952:9:20", + "nodeType": "YulIdentifier", + "src": "952:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "939:3:20", + "nodeType": "YulIdentifier", + "src": "939:3:20" + }, + "nativeSrc": "939:23:20", + "nodeType": "YulFunctionCall", + "src": "939:23:20" + }, + { + "kind": "number", + "nativeSrc": "964:2:20", + "nodeType": "YulLiteral", + "src": "964:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "935:3:20", + "nodeType": "YulIdentifier", + "src": "935:3:20" + }, + "nativeSrc": "935:32:20", + "nodeType": "YulFunctionCall", + "src": "935:32:20" + }, + "nativeSrc": "932:119:20", + "nodeType": "YulIf", + "src": "932:119:20" + }, + { + "nativeSrc": "1061:128:20", + "nodeType": "YulBlock", + "src": "1061:128:20", + "statements": [ + { + "nativeSrc": "1076:15:20", + "nodeType": "YulVariableDeclaration", + "src": "1076:15:20", + "value": { + "kind": "number", + "nativeSrc": "1090:1:20", + "nodeType": "YulLiteral", + "src": "1090:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1080:6:20", + "nodeType": "YulTypedName", + "src": "1080:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1105:74:20", + "nodeType": "YulAssignment", + "src": "1105:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1151:9:20", + "nodeType": "YulIdentifier", + "src": "1151:9:20" + }, + { + "name": "offset", + "nativeSrc": "1162:6:20", + "nodeType": "YulIdentifier", + "src": "1162:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1147:3:20", + "nodeType": "YulIdentifier", + "src": "1147:3:20" + }, + "nativeSrc": "1147:22:20", + "nodeType": "YulFunctionCall", + "src": "1147:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1171:7:20", + "nodeType": "YulIdentifier", + "src": "1171:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "1115:31:20", + "nodeType": "YulIdentifier", + "src": "1115:31:20" + }, + "nativeSrc": "1115:64:20", + "nodeType": "YulFunctionCall", + "src": "1115:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "1105:6:20", + "nodeType": "YulIdentifier", + "src": "1105:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nativeSrc": "845:351:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "892:9:20", + "nodeType": "YulTypedName", + "src": "892:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "903:7:20", + "nodeType": "YulTypedName", + "src": "903:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "915:6:20", + "nodeType": "YulTypedName", + "src": "915:6:20", + "type": "" + } + ], + "src": "845:351:20" + }, + { + "body": { + "nativeSrc": "1267:53:20", + "nodeType": "YulBlock", + "src": "1267:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "1284:3:20", + "nodeType": "YulIdentifier", + "src": "1284:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1307:5:20", + "nodeType": "YulIdentifier", + "src": "1307:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "1289:17:20", + "nodeType": "YulIdentifier", + "src": "1289:17:20" + }, + "nativeSrc": "1289:24:20", + "nodeType": "YulFunctionCall", + "src": "1289:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1277:6:20", + "nodeType": "YulIdentifier", + "src": "1277:6:20" + }, + "nativeSrc": "1277:37:20", + "nodeType": "YulFunctionCall", + "src": "1277:37:20" + }, + "nativeSrc": "1277:37:20", + "nodeType": "YulExpressionStatement", + "src": "1277:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "1202:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1255:5:20", + "nodeType": "YulTypedName", + "src": "1255:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "1262:3:20", + "nodeType": "YulTypedName", + "src": "1262:3:20", + "type": "" + } + ], + "src": "1202:118:20" + }, + { + "body": { + "nativeSrc": "1424:124:20", + "nodeType": "YulBlock", + "src": "1424:124:20", + "statements": [ + { + "nativeSrc": "1434:26:20", + "nodeType": "YulAssignment", + "src": "1434:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1446:9:20", + "nodeType": "YulIdentifier", + "src": "1446:9:20" + }, + { + "kind": "number", + "nativeSrc": "1457:2:20", + "nodeType": "YulLiteral", + "src": "1457:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1442:3:20", + "nodeType": "YulIdentifier", + "src": "1442:3:20" + }, + "nativeSrc": "1442:18:20", + "nodeType": "YulFunctionCall", + "src": "1442:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "1434:4:20", + "nodeType": "YulIdentifier", + "src": "1434:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "1514:6:20", + "nodeType": "YulIdentifier", + "src": "1514:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1527:9:20", + "nodeType": "YulIdentifier", + "src": "1527:9:20" + }, + { + "kind": "number", + "nativeSrc": "1538:1:20", + "nodeType": "YulLiteral", + "src": "1538:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1523:3:20", + "nodeType": "YulIdentifier", + "src": "1523:3:20" + }, + "nativeSrc": "1523:17:20", + "nodeType": "YulFunctionCall", + "src": "1523:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "1470:43:20", + "nodeType": "YulIdentifier", + "src": "1470:43:20" + }, + "nativeSrc": "1470:71:20", + "nodeType": "YulFunctionCall", + "src": "1470:71:20" + }, + "nativeSrc": "1470:71:20", + "nodeType": "YulExpressionStatement", + "src": "1470:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "1326:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "1396:9:20", + "nodeType": "YulTypedName", + "src": "1396:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "1408:6:20", + "nodeType": "YulTypedName", + "src": "1408:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "1419:4:20", + "nodeType": "YulTypedName", + "src": "1419:4:20", + "type": "" + } + ], + "src": "1326:222:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address_fromMemory(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_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50604051610a2b380380610a2b833981810160405281019061003291906101e2565b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036100a55760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161009c919061021e565b60405180910390fd5b6100b4816100bb60201b60201c565b5050610239565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101af82610184565b9050919050565b6101bf816101a4565b81146101ca57600080fd5b50565b6000815190506101dc816101b6565b92915050565b6000602082840312156101f8576101f761017f565b5b6000610206848285016101cd565b91505092915050565b610218816101a4565b82525050565b6000602082019050610233600083018461020f565b92915050565b6107e3806102486000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610091578063ad3cb1cc146100ad578063f2fde38b146100d8575b600080fd5b34801561005b57600080fd5b50610064610101565b005b34801561007257600080fd5b5061007b610115565b604051610088919061040c565b60405180910390f35b6100ab60048036038101906100a691906105eb565b61013e565b005b3480156100b957600080fd5b506100c26101b9565b6040516100cf91906106d9565b60405180910390f35b3480156100e457600080fd5b506100ff60048036038101906100fa91906106fb565b6101f2565b005b610109610278565b61011360006102ff565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610146610278565b8273ffffffffffffffffffffffffffffffffffffffff16634f1ef2863484846040518463ffffffff1660e01b815260040161018292919061077d565b6000604051808303818588803b15801561019b57600080fd5b505af11580156101af573d6000803e3d6000fd5b5050505050505050565b6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6101fa610278565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361026c5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610263919061040c565b60405180910390fd5b610275816102ff565b50565b6102806103c3565b73ffffffffffffffffffffffffffffffffffffffff1661029e610115565b73ffffffffffffffffffffffffffffffffffffffff16146102fd576102c16103c3565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016102f4919061040c565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103f6826103cb565b9050919050565b610406816103eb565b82525050565b600060208201905061042160008301846103fd565b92915050565b6000604051905090565b600080fd5b600080fd5b6000610446826103eb565b9050919050565b6104568161043b565b811461046157600080fd5b50565b6000813590506104738161044d565b92915050565b610482816103eb565b811461048d57600080fd5b50565b60008135905061049f81610479565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6104f8826104af565b810181811067ffffffffffffffff82111715610517576105166104c0565b5b80604052505050565b600061052a610427565b905061053682826104ef565b919050565b600067ffffffffffffffff821115610556576105556104c0565b5b61055f826104af565b9050602081019050919050565b82818337600083830152505050565b600061058e6105898461053b565b610520565b9050828152602081018484840111156105aa576105a96104aa565b5b6105b584828561056c565b509392505050565b600082601f8301126105d2576105d16104a5565b5b81356105e284826020860161057b565b91505092915050565b60008060006060848603121561060457610603610431565b5b600061061286828701610464565b935050602061062386828701610490565b925050604084013567ffffffffffffffff81111561064457610643610436565b5b610650868287016105bd565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610694578082015181840152602081019050610679565b60008484015250505050565b60006106ab8261065a565b6106b58185610665565b93506106c5818560208601610676565b6106ce816104af565b840191505092915050565b600060208201905081810360008301526106f381846106a0565b905092915050565b60006020828403121561071157610710610431565b5b600061071f84828501610490565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061074f82610728565b6107598185610733565b9350610769818560208601610676565b610772816104af565b840191505092915050565b600060408201905061079260008301856103fd565b81810360208301526107a48184610744565b9050939250505056fea26469706673582212207baa771409eae5083c71e95f60df546b11a1b6cd507fd487b5af0bc72db119c664736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xA2B CODESIZE SUB DUP1 PUSH2 0xA2B DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x32 SWAP2 SWAP1 PUSH2 0x1E2 JUMP JUMPDEST DUP1 PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xA5 JUMPI PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9C SWAP2 SWAP1 PUSH2 0x21E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xB4 DUP2 PUSH2 0xBB PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP PUSH2 0x239 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1AF DUP3 PUSH2 0x184 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1BF DUP2 PUSH2 0x1A4 JUMP JUMPDEST DUP2 EQ PUSH2 0x1CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1DC DUP2 PUSH2 0x1B6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1F8 JUMPI PUSH2 0x1F7 PUSH2 0x17F JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x206 DUP5 DUP3 DUP6 ADD PUSH2 0x1CD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x218 DUP2 PUSH2 0x1A4 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x233 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x20F JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x7E3 DUP1 PUSH2 0x248 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x715018A6 EQ PUSH2 0x4F JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x66 JUMPI DUP1 PUSH4 0x9623609D EQ PUSH2 0x91 JUMPI DUP1 PUSH4 0xAD3CB1CC EQ PUSH2 0xAD JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xD8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x64 PUSH2 0x101 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x72 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x7B PUSH2 0x115 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x88 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA6 SWAP2 SWAP1 PUSH2 0x5EB JUMP JUMPDEST PUSH2 0x13E JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC2 PUSH2 0x1B9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x6D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFA SWAP2 SWAP1 PUSH2 0x6FB JUMP JUMPDEST PUSH2 0x1F2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x109 PUSH2 0x278 JUMP JUMPDEST PUSH2 0x113 PUSH1 0x0 PUSH2 0x2FF JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x146 PUSH2 0x278 JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x4F1EF286 CALLVALUE DUP5 DUP5 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x182 SWAP3 SWAP2 SWAP1 PUSH2 0x77D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x19B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1AF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x352E302E30000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 JUMP JUMPDEST PUSH2 0x1FA PUSH2 0x278 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x26C JUMPI PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x263 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x275 DUP2 PUSH2 0x2FF JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x280 PUSH2 0x3C3 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x29E PUSH2 0x115 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x2FD JUMPI PUSH2 0x2C1 PUSH2 0x3C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x118CDAA700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2F4 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3F6 DUP3 PUSH2 0x3CB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x406 DUP2 PUSH2 0x3EB JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x421 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3FD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x446 DUP3 PUSH2 0x3EB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x456 DUP2 PUSH2 0x43B JUMP JUMPDEST DUP2 EQ PUSH2 0x461 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x473 DUP2 PUSH2 0x44D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x482 DUP2 PUSH2 0x3EB JUMP JUMPDEST DUP2 EQ PUSH2 0x48D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x49F DUP2 PUSH2 0x479 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP 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 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x4F8 DUP3 PUSH2 0x4AF JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x517 JUMPI PUSH2 0x516 PUSH2 0x4C0 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x52A PUSH2 0x427 JUMP JUMPDEST SWAP1 POP PUSH2 0x536 DUP3 DUP3 PUSH2 0x4EF JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x556 JUMPI PUSH2 0x555 PUSH2 0x4C0 JUMP JUMPDEST JUMPDEST PUSH2 0x55F DUP3 PUSH2 0x4AF JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x58E PUSH2 0x589 DUP5 PUSH2 0x53B JUMP JUMPDEST PUSH2 0x520 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x5AA JUMPI PUSH2 0x5A9 PUSH2 0x4AA JUMP JUMPDEST JUMPDEST PUSH2 0x5B5 DUP5 DUP3 DUP6 PUSH2 0x56C JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5D2 JUMPI PUSH2 0x5D1 PUSH2 0x4A5 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x5E2 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x57B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x604 JUMPI PUSH2 0x603 PUSH2 0x431 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x612 DUP7 DUP3 DUP8 ADD PUSH2 0x464 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x623 DUP7 DUP3 DUP8 ADD PUSH2 0x490 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x644 JUMPI PUSH2 0x643 PUSH2 0x436 JUMP JUMPDEST JUMPDEST PUSH2 0x650 DUP7 DUP3 DUP8 ADD PUSH2 0x5BD JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x694 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x679 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6AB DUP3 PUSH2 0x65A JUMP JUMPDEST PUSH2 0x6B5 DUP2 DUP6 PUSH2 0x665 JUMP JUMPDEST SWAP4 POP PUSH2 0x6C5 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x676 JUMP JUMPDEST PUSH2 0x6CE DUP2 PUSH2 0x4AF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x6F3 DUP2 DUP5 PUSH2 0x6A0 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x711 JUMPI PUSH2 0x710 PUSH2 0x431 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x71F DUP5 DUP3 DUP6 ADD PUSH2 0x490 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x74F DUP3 PUSH2 0x728 JUMP JUMPDEST PUSH2 0x759 DUP2 DUP6 PUSH2 0x733 JUMP JUMPDEST SWAP4 POP PUSH2 0x769 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x676 JUMP JUMPDEST PUSH2 0x772 DUP2 PUSH2 0x4AF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x792 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x3FD JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x7A4 DUP2 DUP5 PUSH2 0x744 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH28 0xAA771409EAE5083C71E95F60DF546B11A1B6CD507FD487B5AF0BC72D 0xB1 NOT 0xC6 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "502:1442:6:-:0;;;1309:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1351:12;1297:1:0;1273:26;;:12;:26;;;1269:95;;1350:1;1322:31;;;;;;;;;;;:::i;:::-;;;;;;;;1269:95;1373:32;1392:12;1373:18;;;:32;;:::i;:::-;1225:187;1309:58:6;502:1442;;2912:187:0;2985:16;3004:6;;;;;;;;;;;2985:25;;3029:8;3020:6;;:17;;;;;;;;;;;;;;;;;;3083:8;3052:40;;3073:8;3052:40;;;;;;;;;;;;2975:124;2912:187;:::o;88:117:20:-;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:351::-;915:6;964:2;952:9;943:7;939:23;935:32;932:119;;;970:79;;:::i;:::-;932:119;1090:1;1115:64;1171:7;1162:6;1151:9;1147:22;1115:64;:::i;:::-;1105:74;;1061:128;845:351;;;;:::o;1202:118::-;1289:24;1307:5;1289:24;:::i;:::-;1284:3;1277:37;1202:118;;:::o;1326:222::-;1419:4;1457:2;1446:9;1442:18;1434:26;;1470:71;1538:1;1527:9;1523:17;1514:6;1470:71;:::i;:::-;1326:222;;;;:::o;502:1442:6:-;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@UPGRADE_INTERFACE_VERSION_568": { + "entryPoint": 441, + "id": 568, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkOwner_84": { + "entryPoint": 632, + "id": 84, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_msgSender_1050": { + "entryPoint": 963, + "id": 1050, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_transferOwnership_146": { + "entryPoint": 767, + "id": 146, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@owner_67": { + "entryPoint": 277, + "id": 67, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@renounceOwnership_98": { + "entryPoint": 257, + "id": 98, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@transferOwnership_126": { + "entryPoint": 498, + "id": 126, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@upgradeAndCall_602": { + "entryPoint": 318, + "id": 602, + "parameterSlots": 3, + "returnSlots": 0 + }, + "abi_decode_available_length_t_bytes_memory_ptr": { + "entryPoint": 1403, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_decode_t_address": { + "entryPoint": 1168, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bytes_memory_ptr": { + "entryPoint": 1469, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_contract$_ITransparentUpgradeableProxy_$624": { + "entryPoint": 1124, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 1787, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_ITransparentUpgradeableProxy_$624t_addresst_bytes_memory_ptr": { + "entryPoint": 1515, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 1021, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack": { + "entryPoint": 1860, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { + "entryPoint": 1696, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 1036, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr__fromStack_reversed": { + "entryPoint": 1917, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 1753, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_memory": { + "entryPoint": 1312, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": 1063, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_allocation_size_t_bytes_memory_ptr": { + "entryPoint": 1339, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_length_t_bytes_memory_ptr": { + "entryPoint": 1832, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_length_t_string_memory_ptr": { + "entryPoint": 1626, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack": { + "entryPoint": 1843, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { + "entryPoint": 1637, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 1003, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_contract$_ITransparentUpgradeableProxy_$624": { + "entryPoint": 1083, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 971, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "copy_calldata_to_memory_with_cleanup": { + "entryPoint": 1388, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "copy_memory_to_memory_with_cleanup": { + "entryPoint": 1654, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "finalize_allocation": { + "entryPoint": 1263, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 1216, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { + "entryPoint": 1189, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { + "entryPoint": 1194, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": 1078, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 1073, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "round_up_to_mul_of_32": { + "entryPoint": 1199, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "validator_revert_t_address": { + "entryPoint": 1145, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_contract$_ITransparentUpgradeableProxy_$624": { + "entryPoint": 1101, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:7488:20", + "nodeType": "YulBlock", + "src": "0:7488:20", + "statements": [ + { + "body": { + "nativeSrc": "52:81:20", + "nodeType": "YulBlock", + "src": "52:81:20", + "statements": [ + { + "nativeSrc": "62:65:20", + "nodeType": "YulAssignment", + "src": "62:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "77:5:20", + "nodeType": "YulIdentifier", + "src": "77:5:20" + }, + { + "kind": "number", + "nativeSrc": "84:42:20", + "nodeType": "YulLiteral", + "src": "84:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "73:3:20", + "nodeType": "YulIdentifier", + "src": "73:3:20" + }, + "nativeSrc": "73:54:20", + "nodeType": "YulFunctionCall", + "src": "73:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "62:7:20", + "nodeType": "YulIdentifier", + "src": "62:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "7:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "34:5:20", + "nodeType": "YulTypedName", + "src": "34:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "44:7:20", + "nodeType": "YulTypedName", + "src": "44:7:20", + "type": "" + } + ], + "src": "7:126:20" + }, + { + "body": { + "nativeSrc": "184:51:20", + "nodeType": "YulBlock", + "src": "184:51:20", + "statements": [ + { + "nativeSrc": "194:35:20", + "nodeType": "YulAssignment", + "src": "194:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "223:5:20", + "nodeType": "YulIdentifier", + "src": "223:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "205:17:20", + "nodeType": "YulIdentifier", + "src": "205:17:20" + }, + "nativeSrc": "205:24:20", + "nodeType": "YulFunctionCall", + "src": "205:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "194:7:20", + "nodeType": "YulIdentifier", + "src": "194:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "139:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "166:5:20", + "nodeType": "YulTypedName", + "src": "166:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "176:7:20", + "nodeType": "YulTypedName", + "src": "176:7:20", + "type": "" + } + ], + "src": "139:96:20" + }, + { + "body": { + "nativeSrc": "306:53:20", + "nodeType": "YulBlock", + "src": "306:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "323:3:20", + "nodeType": "YulIdentifier", + "src": "323:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "346:5:20", + "nodeType": "YulIdentifier", + "src": "346:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "328:17:20", + "nodeType": "YulIdentifier", + "src": "328:17:20" + }, + "nativeSrc": "328:24:20", + "nodeType": "YulFunctionCall", + "src": "328:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "316:6:20", + "nodeType": "YulIdentifier", + "src": "316:6:20" + }, + "nativeSrc": "316:37:20", + "nodeType": "YulFunctionCall", + "src": "316:37:20" + }, + "nativeSrc": "316:37:20", + "nodeType": "YulExpressionStatement", + "src": "316:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "241:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "294:5:20", + "nodeType": "YulTypedName", + "src": "294:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "301:3:20", + "nodeType": "YulTypedName", + "src": "301:3:20", + "type": "" + } + ], + "src": "241:118:20" + }, + { + "body": { + "nativeSrc": "463:124:20", + "nodeType": "YulBlock", + "src": "463:124:20", + "statements": [ + { + "nativeSrc": "473:26:20", + "nodeType": "YulAssignment", + "src": "473:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "485:9:20", + "nodeType": "YulIdentifier", + "src": "485:9:20" + }, + { + "kind": "number", + "nativeSrc": "496:2:20", + "nodeType": "YulLiteral", + "src": "496:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "481:3:20", + "nodeType": "YulIdentifier", + "src": "481:3:20" + }, + "nativeSrc": "481:18:20", + "nodeType": "YulFunctionCall", + "src": "481:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "473:4:20", + "nodeType": "YulIdentifier", + "src": "473:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "553:6:20", + "nodeType": "YulIdentifier", + "src": "553:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "566:9:20", + "nodeType": "YulIdentifier", + "src": "566:9:20" + }, + { + "kind": "number", + "nativeSrc": "577:1:20", + "nodeType": "YulLiteral", + "src": "577:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "562:3:20", + "nodeType": "YulIdentifier", + "src": "562:3:20" + }, + "nativeSrc": "562:17:20", + "nodeType": "YulFunctionCall", + "src": "562:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "509:43:20", + "nodeType": "YulIdentifier", + "src": "509:43:20" + }, + "nativeSrc": "509:71:20", + "nodeType": "YulFunctionCall", + "src": "509:71:20" + }, + "nativeSrc": "509:71:20", + "nodeType": "YulExpressionStatement", + "src": "509:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "365:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "435:9:20", + "nodeType": "YulTypedName", + "src": "435:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "447:6:20", + "nodeType": "YulTypedName", + "src": "447:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "458:4:20", + "nodeType": "YulTypedName", + "src": "458:4:20", + "type": "" + } + ], + "src": "365:222:20" + }, + { + "body": { + "nativeSrc": "633:35:20", + "nodeType": "YulBlock", + "src": "633:35:20", + "statements": [ + { + "nativeSrc": "643:19:20", + "nodeType": "YulAssignment", + "src": "643:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "659:2:20", + "nodeType": "YulLiteral", + "src": "659:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "653:5:20", + "nodeType": "YulIdentifier", + "src": "653:5:20" + }, + "nativeSrc": "653:9:20", + "nodeType": "YulFunctionCall", + "src": "653:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "643:6:20", + "nodeType": "YulIdentifier", + "src": "643:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "593:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "626:6:20", + "nodeType": "YulTypedName", + "src": "626:6:20", + "type": "" + } + ], + "src": "593:75:20" + }, + { + "body": { + "nativeSrc": "763:28:20", + "nodeType": "YulBlock", + "src": "763:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "780:1:20", + "nodeType": "YulLiteral", + "src": "780:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "783:1:20", + "nodeType": "YulLiteral", + "src": "783:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "773:6:20", + "nodeType": "YulIdentifier", + "src": "773:6:20" + }, + "nativeSrc": "773:12:20", + "nodeType": "YulFunctionCall", + "src": "773:12:20" + }, + "nativeSrc": "773:12:20", + "nodeType": "YulExpressionStatement", + "src": "773:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "674:117:20", + "nodeType": "YulFunctionDefinition", + "src": "674:117:20" + }, + { + "body": { + "nativeSrc": "886:28:20", + "nodeType": "YulBlock", + "src": "886:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "903:1:20", + "nodeType": "YulLiteral", + "src": "903:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "906:1:20", + "nodeType": "YulLiteral", + "src": "906:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "896:6:20", + "nodeType": "YulIdentifier", + "src": "896:6:20" + }, + "nativeSrc": "896:12:20", + "nodeType": "YulFunctionCall", + "src": "896:12:20" + }, + "nativeSrc": "896:12:20", + "nodeType": "YulExpressionStatement", + "src": "896:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "797:117:20", + "nodeType": "YulFunctionDefinition", + "src": "797:117:20" + }, + { + "body": { + "nativeSrc": "1001:51:20", + "nodeType": "YulBlock", + "src": "1001:51:20", + "statements": [ + { + "nativeSrc": "1011:35:20", + "nodeType": "YulAssignment", + "src": "1011:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1040:5:20", + "nodeType": "YulIdentifier", + "src": "1040:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "1022:17:20", + "nodeType": "YulIdentifier", + "src": "1022:17:20" + }, + "nativeSrc": "1022:24:20", + "nodeType": "YulFunctionCall", + "src": "1022:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "1011:7:20", + "nodeType": "YulIdentifier", + "src": "1011:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_contract$_ITransparentUpgradeableProxy_$624", + "nativeSrc": "920:132:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "983:5:20", + "nodeType": "YulTypedName", + "src": "983:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "993:7:20", + "nodeType": "YulTypedName", + "src": "993:7:20", + "type": "" + } + ], + "src": "920:132:20" + }, + { + "body": { + "nativeSrc": "1137:115:20", + "nodeType": "YulBlock", + "src": "1137:115:20", + "statements": [ + { + "body": { + "nativeSrc": "1230:16:20", + "nodeType": "YulBlock", + "src": "1230:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1239:1:20", + "nodeType": "YulLiteral", + "src": "1239:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1242:1:20", + "nodeType": "YulLiteral", + "src": "1242:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1232:6:20", + "nodeType": "YulIdentifier", + "src": "1232:6:20" + }, + "nativeSrc": "1232:12:20", + "nodeType": "YulFunctionCall", + "src": "1232:12:20" + }, + "nativeSrc": "1232:12:20", + "nodeType": "YulExpressionStatement", + "src": "1232:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1160:5:20", + "nodeType": "YulIdentifier", + "src": "1160:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1221:5:20", + "nodeType": "YulIdentifier", + "src": "1221:5:20" + } + ], + "functionName": { + "name": "cleanup_t_contract$_ITransparentUpgradeableProxy_$624", + "nativeSrc": "1167:53:20", + "nodeType": "YulIdentifier", + "src": "1167:53:20" + }, + "nativeSrc": "1167:60:20", + "nodeType": "YulFunctionCall", + "src": "1167:60:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "1157:2:20", + "nodeType": "YulIdentifier", + "src": "1157:2:20" + }, + "nativeSrc": "1157:71:20", + "nodeType": "YulFunctionCall", + "src": "1157:71:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "1150:6:20", + "nodeType": "YulIdentifier", + "src": "1150:6:20" + }, + "nativeSrc": "1150:79:20", + "nodeType": "YulFunctionCall", + "src": "1150:79:20" + }, + "nativeSrc": "1147:99:20", + "nodeType": "YulIf", + "src": "1147:99:20" + } + ] + }, + "name": "validator_revert_t_contract$_ITransparentUpgradeableProxy_$624", + "nativeSrc": "1058:194:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1130:5:20", + "nodeType": "YulTypedName", + "src": "1130:5:20", + "type": "" + } + ], + "src": "1058:194:20" + }, + { + "body": { + "nativeSrc": "1346:123:20", + "nodeType": "YulBlock", + "src": "1346:123:20", + "statements": [ + { + "nativeSrc": "1356:29:20", + "nodeType": "YulAssignment", + "src": "1356:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "1378:6:20", + "nodeType": "YulIdentifier", + "src": "1378:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "1365:12:20", + "nodeType": "YulIdentifier", + "src": "1365:12:20" + }, + "nativeSrc": "1365:20:20", + "nodeType": "YulFunctionCall", + "src": "1365:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "1356:5:20", + "nodeType": "YulIdentifier", + "src": "1356:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1457:5:20", + "nodeType": "YulIdentifier", + "src": "1457:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_contract$_ITransparentUpgradeableProxy_$624", + "nativeSrc": "1394:62:20", + "nodeType": "YulIdentifier", + "src": "1394:62:20" + }, + "nativeSrc": "1394:69:20", + "nodeType": "YulFunctionCall", + "src": "1394:69:20" + }, + "nativeSrc": "1394:69:20", + "nodeType": "YulExpressionStatement", + "src": "1394:69:20" + } + ] + }, + "name": "abi_decode_t_contract$_ITransparentUpgradeableProxy_$624", + "nativeSrc": "1258:211:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "1324:6:20", + "nodeType": "YulTypedName", + "src": "1324:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "1332:3:20", + "nodeType": "YulTypedName", + "src": "1332:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "1340:5:20", + "nodeType": "YulTypedName", + "src": "1340:5:20", + "type": "" + } + ], + "src": "1258:211:20" + }, + { + "body": { + "nativeSrc": "1518:79:20", + "nodeType": "YulBlock", + "src": "1518:79:20", + "statements": [ + { + "body": { + "nativeSrc": "1575:16:20", + "nodeType": "YulBlock", + "src": "1575:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1584:1:20", + "nodeType": "YulLiteral", + "src": "1584:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1587:1:20", + "nodeType": "YulLiteral", + "src": "1587:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1577:6:20", + "nodeType": "YulIdentifier", + "src": "1577:6:20" + }, + "nativeSrc": "1577:12:20", + "nodeType": "YulFunctionCall", + "src": "1577:12:20" + }, + "nativeSrc": "1577:12:20", + "nodeType": "YulExpressionStatement", + "src": "1577:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1541:5:20", + "nodeType": "YulIdentifier", + "src": "1541:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1566:5:20", + "nodeType": "YulIdentifier", + "src": "1566:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "1548:17:20", + "nodeType": "YulIdentifier", + "src": "1548:17:20" + }, + "nativeSrc": "1548:24:20", + "nodeType": "YulFunctionCall", + "src": "1548:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "1538:2:20", + "nodeType": "YulIdentifier", + "src": "1538:2:20" + }, + "nativeSrc": "1538:35:20", + "nodeType": "YulFunctionCall", + "src": "1538:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "1531:6:20", + "nodeType": "YulIdentifier", + "src": "1531:6:20" + }, + "nativeSrc": "1531:43:20", + "nodeType": "YulFunctionCall", + "src": "1531:43:20" + }, + "nativeSrc": "1528:63:20", + "nodeType": "YulIf", + "src": "1528:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "1475:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1511:5:20", + "nodeType": "YulTypedName", + "src": "1511:5:20", + "type": "" + } + ], + "src": "1475:122:20" + }, + { + "body": { + "nativeSrc": "1655:87:20", + "nodeType": "YulBlock", + "src": "1655:87:20", + "statements": [ + { + "nativeSrc": "1665:29:20", + "nodeType": "YulAssignment", + "src": "1665:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "1687:6:20", + "nodeType": "YulIdentifier", + "src": "1687:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "1674:12:20", + "nodeType": "YulIdentifier", + "src": "1674:12:20" + }, + "nativeSrc": "1674:20:20", + "nodeType": "YulFunctionCall", + "src": "1674:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "1665:5:20", + "nodeType": "YulIdentifier", + "src": "1665:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1730:5:20", + "nodeType": "YulIdentifier", + "src": "1730:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "1703:26:20", + "nodeType": "YulIdentifier", + "src": "1703:26:20" + }, + "nativeSrc": "1703:33:20", + "nodeType": "YulFunctionCall", + "src": "1703:33:20" + }, + "nativeSrc": "1703:33:20", + "nodeType": "YulExpressionStatement", + "src": "1703:33:20" + } + ] + }, + "name": "abi_decode_t_address", + "nativeSrc": "1603:139:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "1633:6:20", + "nodeType": "YulTypedName", + "src": "1633:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "1641:3:20", + "nodeType": "YulTypedName", + "src": "1641:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "1649:5:20", + "nodeType": "YulTypedName", + "src": "1649:5:20", + "type": "" + } + ], + "src": "1603:139:20" + }, + { + "body": { + "nativeSrc": "1837:28:20", + "nodeType": "YulBlock", + "src": "1837:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1854:1:20", + "nodeType": "YulLiteral", + "src": "1854:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1857:1:20", + "nodeType": "YulLiteral", + "src": "1857:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1847:6:20", + "nodeType": "YulIdentifier", + "src": "1847:6:20" + }, + "nativeSrc": "1847:12:20", + "nodeType": "YulFunctionCall", + "src": "1847:12:20" + }, + "nativeSrc": "1847:12:20", + "nodeType": "YulExpressionStatement", + "src": "1847:12:20" + } + ] + }, + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "1748:117:20", + "nodeType": "YulFunctionDefinition", + "src": "1748:117:20" + }, + { + "body": { + "nativeSrc": "1960:28:20", + "nodeType": "YulBlock", + "src": "1960:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1977:1:20", + "nodeType": "YulLiteral", + "src": "1977:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1980:1:20", + "nodeType": "YulLiteral", + "src": "1980:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1970:6:20", + "nodeType": "YulIdentifier", + "src": "1970:6:20" + }, + "nativeSrc": "1970:12:20", + "nodeType": "YulFunctionCall", + "src": "1970:12:20" + }, + "nativeSrc": "1970:12:20", + "nodeType": "YulExpressionStatement", + "src": "1970:12:20" + } + ] + }, + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "1871:117:20", + "nodeType": "YulFunctionDefinition", + "src": "1871:117:20" + }, + { + "body": { + "nativeSrc": "2042:54:20", + "nodeType": "YulBlock", + "src": "2042:54:20", + "statements": [ + { + "nativeSrc": "2052:38:20", + "nodeType": "YulAssignment", + "src": "2052:38:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "2070:5:20", + "nodeType": "YulIdentifier", + "src": "2070:5:20" + }, + { + "kind": "number", + "nativeSrc": "2077:2:20", + "nodeType": "YulLiteral", + "src": "2077:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2066:3:20", + "nodeType": "YulIdentifier", + "src": "2066:3:20" + }, + "nativeSrc": "2066:14:20", + "nodeType": "YulFunctionCall", + "src": "2066:14:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2086:2:20", + "nodeType": "YulLiteral", + "src": "2086:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "2082:3:20", + "nodeType": "YulIdentifier", + "src": "2082:3:20" + }, + "nativeSrc": "2082:7:20", + "nodeType": "YulFunctionCall", + "src": "2082:7:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "2062:3:20", + "nodeType": "YulIdentifier", + "src": "2062:3:20" + }, + "nativeSrc": "2062:28:20", + "nodeType": "YulFunctionCall", + "src": "2062:28:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "2052:6:20", + "nodeType": "YulIdentifier", + "src": "2052:6:20" + } + ] + } + ] + }, + "name": "round_up_to_mul_of_32", + "nativeSrc": "1994:102:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "2025:5:20", + "nodeType": "YulTypedName", + "src": "2025:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "2035:6:20", + "nodeType": "YulTypedName", + "src": "2035:6:20", + "type": "" + } + ], + "src": "1994:102:20" + }, + { + "body": { + "nativeSrc": "2130:152:20", + "nodeType": "YulBlock", + "src": "2130:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2147:1:20", + "nodeType": "YulLiteral", + "src": "2147:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2150:77:20", + "nodeType": "YulLiteral", + "src": "2150:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2140:6:20", + "nodeType": "YulIdentifier", + "src": "2140:6:20" + }, + "nativeSrc": "2140:88:20", + "nodeType": "YulFunctionCall", + "src": "2140:88:20" + }, + "nativeSrc": "2140:88:20", + "nodeType": "YulExpressionStatement", + "src": "2140:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2244:1:20", + "nodeType": "YulLiteral", + "src": "2244:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "2247:4:20", + "nodeType": "YulLiteral", + "src": "2247:4:20", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2237:6:20", + "nodeType": "YulIdentifier", + "src": "2237:6:20" + }, + "nativeSrc": "2237:15:20", + "nodeType": "YulFunctionCall", + "src": "2237:15:20" + }, + "nativeSrc": "2237:15:20", + "nodeType": "YulExpressionStatement", + "src": "2237:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2268:1:20", + "nodeType": "YulLiteral", + "src": "2268:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2271:4:20", + "nodeType": "YulLiteral", + "src": "2271:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2261:6:20", + "nodeType": "YulIdentifier", + "src": "2261:6:20" + }, + "nativeSrc": "2261:15:20", + "nodeType": "YulFunctionCall", + "src": "2261:15:20" + }, + "nativeSrc": "2261:15:20", + "nodeType": "YulExpressionStatement", + "src": "2261:15:20" + } + ] + }, + "name": "panic_error_0x41", + "nativeSrc": "2102:180:20", + "nodeType": "YulFunctionDefinition", + "src": "2102:180:20" + }, + { + "body": { + "nativeSrc": "2331:238:20", + "nodeType": "YulBlock", + "src": "2331:238:20", + "statements": [ + { + "nativeSrc": "2341:58:20", + "nodeType": "YulVariableDeclaration", + "src": "2341:58:20", + "value": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "2363:6:20", + "nodeType": "YulIdentifier", + "src": "2363:6:20" + }, + { + "arguments": [ + { + "name": "size", + "nativeSrc": "2393:4:20", + "nodeType": "YulIdentifier", + "src": "2393:4:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "2371:21:20", + "nodeType": "YulIdentifier", + "src": "2371:21:20" + }, + "nativeSrc": "2371:27:20", + "nodeType": "YulFunctionCall", + "src": "2371:27:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2359:3:20", + "nodeType": "YulIdentifier", + "src": "2359:3:20" + }, + "nativeSrc": "2359:40:20", + "nodeType": "YulFunctionCall", + "src": "2359:40:20" + }, + "variables": [ + { + "name": "newFreePtr", + "nativeSrc": "2345:10:20", + "nodeType": "YulTypedName", + "src": "2345:10:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "2510:22:20", + "nodeType": "YulBlock", + "src": "2510:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "2512:16:20", + "nodeType": "YulIdentifier", + "src": "2512:16:20" + }, + "nativeSrc": "2512:18:20", + "nodeType": "YulFunctionCall", + "src": "2512:18:20" + }, + "nativeSrc": "2512:18:20", + "nodeType": "YulExpressionStatement", + "src": "2512:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "2453:10:20", + "nodeType": "YulIdentifier", + "src": "2453:10:20" + }, + { + "kind": "number", + "nativeSrc": "2465:18:20", + "nodeType": "YulLiteral", + "src": "2465:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2450:2:20", + "nodeType": "YulIdentifier", + "src": "2450:2:20" + }, + "nativeSrc": "2450:34:20", + "nodeType": "YulFunctionCall", + "src": "2450:34:20" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "2489:10:20", + "nodeType": "YulIdentifier", + "src": "2489:10:20" + }, + { + "name": "memPtr", + "nativeSrc": "2501:6:20", + "nodeType": "YulIdentifier", + "src": "2501:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "2486:2:20", + "nodeType": "YulIdentifier", + "src": "2486:2:20" + }, + "nativeSrc": "2486:22:20", + "nodeType": "YulFunctionCall", + "src": "2486:22:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "2447:2:20", + "nodeType": "YulIdentifier", + "src": "2447:2:20" + }, + "nativeSrc": "2447:62:20", + "nodeType": "YulFunctionCall", + "src": "2447:62:20" + }, + "nativeSrc": "2444:88:20", + "nodeType": "YulIf", + "src": "2444:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2548:2:20", + "nodeType": "YulLiteral", + "src": "2548:2:20", + "type": "", + "value": "64" + }, + { + "name": "newFreePtr", + "nativeSrc": "2552:10:20", + "nodeType": "YulIdentifier", + "src": "2552:10:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2541:6:20", + "nodeType": "YulIdentifier", + "src": "2541:6:20" + }, + "nativeSrc": "2541:22:20", + "nodeType": "YulFunctionCall", + "src": "2541:22:20" + }, + "nativeSrc": "2541:22:20", + "nodeType": "YulExpressionStatement", + "src": "2541:22:20" + } + ] + }, + "name": "finalize_allocation", + "nativeSrc": "2288:281:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "2317:6:20", + "nodeType": "YulTypedName", + "src": "2317:6:20", + "type": "" + }, + { + "name": "size", + "nativeSrc": "2325:4:20", + "nodeType": "YulTypedName", + "src": "2325:4:20", + "type": "" + } + ], + "src": "2288:281:20" + }, + { + "body": { + "nativeSrc": "2616:88:20", + "nodeType": "YulBlock", + "src": "2616:88:20", + "statements": [ + { + "nativeSrc": "2626:30:20", + "nodeType": "YulAssignment", + "src": "2626:30:20", + "value": { + "arguments": [], + "functionName": { + "name": "allocate_unbounded", + "nativeSrc": "2636:18:20", + "nodeType": "YulIdentifier", + "src": "2636:18:20" + }, + "nativeSrc": "2636:20:20", + "nodeType": "YulFunctionCall", + "src": "2636:20:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "2626:6:20", + "nodeType": "YulIdentifier", + "src": "2626:6:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "2685:6:20", + "nodeType": "YulIdentifier", + "src": "2685:6:20" + }, + { + "name": "size", + "nativeSrc": "2693:4:20", + "nodeType": "YulIdentifier", + "src": "2693:4:20" + } + ], + "functionName": { + "name": "finalize_allocation", + "nativeSrc": "2665:19:20", + "nodeType": "YulIdentifier", + "src": "2665:19:20" + }, + "nativeSrc": "2665:33:20", + "nodeType": "YulFunctionCall", + "src": "2665:33:20" + }, + "nativeSrc": "2665:33:20", + "nodeType": "YulExpressionStatement", + "src": "2665:33:20" + } + ] + }, + "name": "allocate_memory", + "nativeSrc": "2575:129:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "size", + "nativeSrc": "2600:4:20", + "nodeType": "YulTypedName", + "src": "2600:4:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "2609:6:20", + "nodeType": "YulTypedName", + "src": "2609:6:20", + "type": "" + } + ], + "src": "2575:129:20" + }, + { + "body": { + "nativeSrc": "2776:241:20", + "nodeType": "YulBlock", + "src": "2776:241:20", + "statements": [ + { + "body": { + "nativeSrc": "2881:22:20", + "nodeType": "YulBlock", + "src": "2881:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "2883:16:20", + "nodeType": "YulIdentifier", + "src": "2883:16:20" + }, + "nativeSrc": "2883:18:20", + "nodeType": "YulFunctionCall", + "src": "2883:18:20" + }, + "nativeSrc": "2883:18:20", + "nodeType": "YulExpressionStatement", + "src": "2883:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2853:6:20", + "nodeType": "YulIdentifier", + "src": "2853:6:20" + }, + { + "kind": "number", + "nativeSrc": "2861:18:20", + "nodeType": "YulLiteral", + "src": "2861:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2850:2:20", + "nodeType": "YulIdentifier", + "src": "2850:2:20" + }, + "nativeSrc": "2850:30:20", + "nodeType": "YulFunctionCall", + "src": "2850:30:20" + }, + "nativeSrc": "2847:56:20", + "nodeType": "YulIf", + "src": "2847:56:20" + }, + { + "nativeSrc": "2913:37:20", + "nodeType": "YulAssignment", + "src": "2913:37:20", + "value": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2943:6:20", + "nodeType": "YulIdentifier", + "src": "2943:6:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "2921:21:20", + "nodeType": "YulIdentifier", + "src": "2921:21:20" + }, + "nativeSrc": "2921:29:20", + "nodeType": "YulFunctionCall", + "src": "2921:29:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2913:4:20", + "nodeType": "YulIdentifier", + "src": "2913:4:20" + } + ] + }, + { + "nativeSrc": "2987:23:20", + "nodeType": "YulAssignment", + "src": "2987:23:20", + "value": { + "arguments": [ + { + "name": "size", + "nativeSrc": "2999:4:20", + "nodeType": "YulIdentifier", + "src": "2999:4:20" + }, + { + "kind": "number", + "nativeSrc": "3005:4:20", + "nodeType": "YulLiteral", + "src": "3005:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2995:3:20", + "nodeType": "YulIdentifier", + "src": "2995:3:20" + }, + "nativeSrc": "2995:15:20", + "nodeType": "YulFunctionCall", + "src": "2995:15:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2987:4:20", + "nodeType": "YulIdentifier", + "src": "2987:4:20" + } + ] + } + ] + }, + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "2710:307:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "length", + "nativeSrc": "2760:6:20", + "nodeType": "YulTypedName", + "src": "2760:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "size", + "nativeSrc": "2771:4:20", + "nodeType": "YulTypedName", + "src": "2771:4:20", + "type": "" + } + ], + "src": "2710:307:20" + }, + { + "body": { + "nativeSrc": "3087:84:20", + "nodeType": "YulBlock", + "src": "3087:84:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "dst", + "nativeSrc": "3111:3:20", + "nodeType": "YulIdentifier", + "src": "3111:3:20" + }, + { + "name": "src", + "nativeSrc": "3116:3:20", + "nodeType": "YulIdentifier", + "src": "3116:3:20" + }, + { + "name": "length", + "nativeSrc": "3121:6:20", + "nodeType": "YulIdentifier", + "src": "3121:6:20" + } + ], + "functionName": { + "name": "calldatacopy", + "nativeSrc": "3098:12:20", + "nodeType": "YulIdentifier", + "src": "3098:12:20" + }, + "nativeSrc": "3098:30:20", + "nodeType": "YulFunctionCall", + "src": "3098:30:20" + }, + "nativeSrc": "3098:30:20", + "nodeType": "YulExpressionStatement", + "src": "3098:30:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "3148:3:20", + "nodeType": "YulIdentifier", + "src": "3148:3:20" + }, + { + "name": "length", + "nativeSrc": "3153:6:20", + "nodeType": "YulIdentifier", + "src": "3153:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3144:3:20", + "nodeType": "YulIdentifier", + "src": "3144:3:20" + }, + "nativeSrc": "3144:16:20", + "nodeType": "YulFunctionCall", + "src": "3144:16:20" + }, + { + "kind": "number", + "nativeSrc": "3162:1:20", + "nodeType": "YulLiteral", + "src": "3162:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3137:6:20", + "nodeType": "YulIdentifier", + "src": "3137:6:20" + }, + "nativeSrc": "3137:27:20", + "nodeType": "YulFunctionCall", + "src": "3137:27:20" + }, + "nativeSrc": "3137:27:20", + "nodeType": "YulExpressionStatement", + "src": "3137:27:20" + } + ] + }, + "name": "copy_calldata_to_memory_with_cleanup", + "nativeSrc": "3023:148:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "3069:3:20", + "nodeType": "YulTypedName", + "src": "3069:3:20", + "type": "" + }, + { + "name": "dst", + "nativeSrc": "3074:3:20", + "nodeType": "YulTypedName", + "src": "3074:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "3079:6:20", + "nodeType": "YulTypedName", + "src": "3079:6:20", + "type": "" + } + ], + "src": "3023:148:20" + }, + { + "body": { + "nativeSrc": "3260:340:20", + "nodeType": "YulBlock", + "src": "3260:340:20", + "statements": [ + { + "nativeSrc": "3270:74:20", + "nodeType": "YulAssignment", + "src": "3270:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nativeSrc": "3336:6:20", + "nodeType": "YulIdentifier", + "src": "3336:6:20" + } + ], + "functionName": { + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "3295:40:20", + "nodeType": "YulIdentifier", + "src": "3295:40:20" + }, + "nativeSrc": "3295:48:20", + "nodeType": "YulFunctionCall", + "src": "3295:48:20" + } + ], + "functionName": { + "name": "allocate_memory", + "nativeSrc": "3279:15:20", + "nodeType": "YulIdentifier", + "src": "3279:15:20" + }, + "nativeSrc": "3279:65:20", + "nodeType": "YulFunctionCall", + "src": "3279:65:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "3270:5:20", + "nodeType": "YulIdentifier", + "src": "3270:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "array", + "nativeSrc": "3360:5:20", + "nodeType": "YulIdentifier", + "src": "3360:5:20" + }, + { + "name": "length", + "nativeSrc": "3367:6:20", + "nodeType": "YulIdentifier", + "src": "3367:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3353:6:20", + "nodeType": "YulIdentifier", + "src": "3353:6:20" + }, + "nativeSrc": "3353:21:20", + "nodeType": "YulFunctionCall", + "src": "3353:21:20" + }, + "nativeSrc": "3353:21:20", + "nodeType": "YulExpressionStatement", + "src": "3353:21:20" + }, + { + "nativeSrc": "3383:27:20", + "nodeType": "YulVariableDeclaration", + "src": "3383:27:20", + "value": { + "arguments": [ + { + "name": "array", + "nativeSrc": "3398:5:20", + "nodeType": "YulIdentifier", + "src": "3398:5:20" + }, + { + "kind": "number", + "nativeSrc": "3405:4:20", + "nodeType": "YulLiteral", + "src": "3405:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3394:3:20", + "nodeType": "YulIdentifier", + "src": "3394:3:20" + }, + "nativeSrc": "3394:16:20", + "nodeType": "YulFunctionCall", + "src": "3394:16:20" + }, + "variables": [ + { + "name": "dst", + "nativeSrc": "3387:3:20", + "nodeType": "YulTypedName", + "src": "3387:3:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "3448:83:20", + "nodeType": "YulBlock", + "src": "3448:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "3450:77:20", + "nodeType": "YulIdentifier", + "src": "3450:77:20" + }, + "nativeSrc": "3450:79:20", + "nodeType": "YulFunctionCall", + "src": "3450:79:20" + }, + "nativeSrc": "3450:79:20", + "nodeType": "YulExpressionStatement", + "src": "3450:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "3429:3:20", + "nodeType": "YulIdentifier", + "src": "3429:3:20" + }, + { + "name": "length", + "nativeSrc": "3434:6:20", + "nodeType": "YulIdentifier", + "src": "3434:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3425:3:20", + "nodeType": "YulIdentifier", + "src": "3425:3:20" + }, + "nativeSrc": "3425:16:20", + "nodeType": "YulFunctionCall", + "src": "3425:16:20" + }, + { + "name": "end", + "nativeSrc": "3443:3:20", + "nodeType": "YulIdentifier", + "src": "3443:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "3422:2:20", + "nodeType": "YulIdentifier", + "src": "3422:2:20" + }, + "nativeSrc": "3422:25:20", + "nodeType": "YulFunctionCall", + "src": "3422:25:20" + }, + "nativeSrc": "3419:112:20", + "nodeType": "YulIf", + "src": "3419:112:20" + }, + { + "expression": { + "arguments": [ + { + "name": "src", + "nativeSrc": "3577:3:20", + "nodeType": "YulIdentifier", + "src": "3577:3:20" + }, + { + "name": "dst", + "nativeSrc": "3582:3:20", + "nodeType": "YulIdentifier", + "src": "3582:3:20" + }, + { + "name": "length", + "nativeSrc": "3587:6:20", + "nodeType": "YulIdentifier", + "src": "3587:6:20" + } + ], + "functionName": { + "name": "copy_calldata_to_memory_with_cleanup", + "nativeSrc": "3540:36:20", + "nodeType": "YulIdentifier", + "src": "3540:36:20" + }, + "nativeSrc": "3540:54:20", + "nodeType": "YulFunctionCall", + "src": "3540:54:20" + }, + "nativeSrc": "3540:54:20", + "nodeType": "YulExpressionStatement", + "src": "3540:54:20" + } + ] + }, + "name": "abi_decode_available_length_t_bytes_memory_ptr", + "nativeSrc": "3177:423:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "3233:3:20", + "nodeType": "YulTypedName", + "src": "3233:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "3238:6:20", + "nodeType": "YulTypedName", + "src": "3238:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "3246:3:20", + "nodeType": "YulTypedName", + "src": "3246:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "3254:5:20", + "nodeType": "YulTypedName", + "src": "3254:5:20", + "type": "" + } + ], + "src": "3177:423:20" + }, + { + "body": { + "nativeSrc": "3680:277:20", + "nodeType": "YulBlock", + "src": "3680:277:20", + "statements": [ + { + "body": { + "nativeSrc": "3729:83:20", + "nodeType": "YulBlock", + "src": "3729:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "3731:77:20", + "nodeType": "YulIdentifier", + "src": "3731:77:20" + }, + "nativeSrc": "3731:79:20", + "nodeType": "YulFunctionCall", + "src": "3731:79:20" + }, + "nativeSrc": "3731:79:20", + "nodeType": "YulExpressionStatement", + "src": "3731:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3708:6:20", + "nodeType": "YulIdentifier", + "src": "3708:6:20" + }, + { + "kind": "number", + "nativeSrc": "3716:4:20", + "nodeType": "YulLiteral", + "src": "3716:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3704:3:20", + "nodeType": "YulIdentifier", + "src": "3704:3:20" + }, + "nativeSrc": "3704:17:20", + "nodeType": "YulFunctionCall", + "src": "3704:17:20" + }, + { + "name": "end", + "nativeSrc": "3723:3:20", + "nodeType": "YulIdentifier", + "src": "3723:3:20" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "3700:3:20", + "nodeType": "YulIdentifier", + "src": "3700:3:20" + }, + "nativeSrc": "3700:27:20", + "nodeType": "YulFunctionCall", + "src": "3700:27:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "3693:6:20", + "nodeType": "YulIdentifier", + "src": "3693:6:20" + }, + "nativeSrc": "3693:35:20", + "nodeType": "YulFunctionCall", + "src": "3693:35:20" + }, + "nativeSrc": "3690:122:20", + "nodeType": "YulIf", + "src": "3690:122:20" + }, + { + "nativeSrc": "3821:34:20", + "nodeType": "YulVariableDeclaration", + "src": "3821:34:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3848:6:20", + "nodeType": "YulIdentifier", + "src": "3848:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "3835:12:20", + "nodeType": "YulIdentifier", + "src": "3835:12:20" + }, + "nativeSrc": "3835:20:20", + "nodeType": "YulFunctionCall", + "src": "3835:20:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "3825:6:20", + "nodeType": "YulTypedName", + "src": "3825:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3864:87:20", + "nodeType": "YulAssignment", + "src": "3864:87:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3924:6:20", + "nodeType": "YulIdentifier", + "src": "3924:6:20" + }, + { + "kind": "number", + "nativeSrc": "3932:4:20", + "nodeType": "YulLiteral", + "src": "3932:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3920:3:20", + "nodeType": "YulIdentifier", + "src": "3920:3:20" + }, + "nativeSrc": "3920:17:20", + "nodeType": "YulFunctionCall", + "src": "3920:17:20" + }, + { + "name": "length", + "nativeSrc": "3939:6:20", + "nodeType": "YulIdentifier", + "src": "3939:6:20" + }, + { + "name": "end", + "nativeSrc": "3947:3:20", + "nodeType": "YulIdentifier", + "src": "3947:3:20" + } + ], + "functionName": { + "name": "abi_decode_available_length_t_bytes_memory_ptr", + "nativeSrc": "3873:46:20", + "nodeType": "YulIdentifier", + "src": "3873:46:20" + }, + "nativeSrc": "3873:78:20", + "nodeType": "YulFunctionCall", + "src": "3873:78:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "3864:5:20", + "nodeType": "YulIdentifier", + "src": "3864:5:20" + } + ] + } + ] + }, + "name": "abi_decode_t_bytes_memory_ptr", + "nativeSrc": "3619:338:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "3658:6:20", + "nodeType": "YulTypedName", + "src": "3658:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "3666:3:20", + "nodeType": "YulTypedName", + "src": "3666:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "3674:5:20", + "nodeType": "YulTypedName", + "src": "3674:5:20", + "type": "" + } + ], + "src": "3619:338:20" + }, + { + "body": { + "nativeSrc": "4108:724:20", + "nodeType": "YulBlock", + "src": "4108:724:20", + "statements": [ + { + "body": { + "nativeSrc": "4154:83:20", + "nodeType": "YulBlock", + "src": "4154:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "4156:77:20", + "nodeType": "YulIdentifier", + "src": "4156:77:20" + }, + "nativeSrc": "4156:79:20", + "nodeType": "YulFunctionCall", + "src": "4156:79:20" + }, + "nativeSrc": "4156:79:20", + "nodeType": "YulExpressionStatement", + "src": "4156:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "4129:7:20", + "nodeType": "YulIdentifier", + "src": "4129:7:20" + }, + { + "name": "headStart", + "nativeSrc": "4138:9:20", + "nodeType": "YulIdentifier", + "src": "4138:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "4125:3:20", + "nodeType": "YulIdentifier", + "src": "4125:3:20" + }, + "nativeSrc": "4125:23:20", + "nodeType": "YulFunctionCall", + "src": "4125:23:20" + }, + { + "kind": "number", + "nativeSrc": "4150:2:20", + "nodeType": "YulLiteral", + "src": "4150:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "4121:3:20", + "nodeType": "YulIdentifier", + "src": "4121:3:20" + }, + "nativeSrc": "4121:32:20", + "nodeType": "YulFunctionCall", + "src": "4121:32:20" + }, + "nativeSrc": "4118:119:20", + "nodeType": "YulIf", + "src": "4118:119:20" + }, + { + "nativeSrc": "4247:153:20", + "nodeType": "YulBlock", + "src": "4247:153:20", + "statements": [ + { + "nativeSrc": "4262:15:20", + "nodeType": "YulVariableDeclaration", + "src": "4262:15:20", + "value": { + "kind": "number", + "nativeSrc": "4276:1:20", + "nodeType": "YulLiteral", + "src": "4276:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4266:6:20", + "nodeType": "YulTypedName", + "src": "4266:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4291:99:20", + "nodeType": "YulAssignment", + "src": "4291:99:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4362:9:20", + "nodeType": "YulIdentifier", + "src": "4362:9:20" + }, + { + "name": "offset", + "nativeSrc": "4373:6:20", + "nodeType": "YulIdentifier", + "src": "4373:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4358:3:20", + "nodeType": "YulIdentifier", + "src": "4358:3:20" + }, + "nativeSrc": "4358:22:20", + "nodeType": "YulFunctionCall", + "src": "4358:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4382:7:20", + "nodeType": "YulIdentifier", + "src": "4382:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_contract$_ITransparentUpgradeableProxy_$624", + "nativeSrc": "4301:56:20", + "nodeType": "YulIdentifier", + "src": "4301:56:20" + }, + "nativeSrc": "4301:89:20", + "nodeType": "YulFunctionCall", + "src": "4301:89:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "4291:6:20", + "nodeType": "YulIdentifier", + "src": "4291:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "4410:118:20", + "nodeType": "YulBlock", + "src": "4410:118:20", + "statements": [ + { + "nativeSrc": "4425:16:20", + "nodeType": "YulVariableDeclaration", + "src": "4425:16:20", + "value": { + "kind": "number", + "nativeSrc": "4439:2:20", + "nodeType": "YulLiteral", + "src": "4439:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4429:6:20", + "nodeType": "YulTypedName", + "src": "4429:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4455:63:20", + "nodeType": "YulAssignment", + "src": "4455:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4490:9:20", + "nodeType": "YulIdentifier", + "src": "4490:9:20" + }, + { + "name": "offset", + "nativeSrc": "4501:6:20", + "nodeType": "YulIdentifier", + "src": "4501:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4486:3:20", + "nodeType": "YulIdentifier", + "src": "4486:3:20" + }, + "nativeSrc": "4486:22:20", + "nodeType": "YulFunctionCall", + "src": "4486:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4510:7:20", + "nodeType": "YulIdentifier", + "src": "4510:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "4465:20:20", + "nodeType": "YulIdentifier", + "src": "4465:20:20" + }, + "nativeSrc": "4465:53:20", + "nodeType": "YulFunctionCall", + "src": "4465:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "4455:6:20", + "nodeType": "YulIdentifier", + "src": "4455:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "4538:287:20", + "nodeType": "YulBlock", + "src": "4538:287:20", + "statements": [ + { + "nativeSrc": "4553:46:20", + "nodeType": "YulVariableDeclaration", + "src": "4553:46:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4584:9:20", + "nodeType": "YulIdentifier", + "src": "4584:9:20" + }, + { + "kind": "number", + "nativeSrc": "4595:2:20", + "nodeType": "YulLiteral", + "src": "4595:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4580:3:20", + "nodeType": "YulIdentifier", + "src": "4580:3:20" + }, + "nativeSrc": "4580:18:20", + "nodeType": "YulFunctionCall", + "src": "4580:18:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "4567:12:20", + "nodeType": "YulIdentifier", + "src": "4567:12:20" + }, + "nativeSrc": "4567:32:20", + "nodeType": "YulFunctionCall", + "src": "4567:32:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4557:6:20", + "nodeType": "YulTypedName", + "src": "4557:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "4646:83:20", + "nodeType": "YulBlock", + "src": "4646:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "4648:77:20", + "nodeType": "YulIdentifier", + "src": "4648:77:20" + }, + "nativeSrc": "4648:79:20", + "nodeType": "YulFunctionCall", + "src": "4648:79:20" + }, + "nativeSrc": "4648:79:20", + "nodeType": "YulExpressionStatement", + "src": "4648:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "4618:6:20", + "nodeType": "YulIdentifier", + "src": "4618:6:20" + }, + { + "kind": "number", + "nativeSrc": "4626:18:20", + "nodeType": "YulLiteral", + "src": "4626:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "4615:2:20", + "nodeType": "YulIdentifier", + "src": "4615:2:20" + }, + "nativeSrc": "4615:30:20", + "nodeType": "YulFunctionCall", + "src": "4615:30:20" + }, + "nativeSrc": "4612:117:20", + "nodeType": "YulIf", + "src": "4612:117:20" + }, + { + "nativeSrc": "4743:72:20", + "nodeType": "YulAssignment", + "src": "4743:72:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4787:9:20", + "nodeType": "YulIdentifier", + "src": "4787:9:20" + }, + { + "name": "offset", + "nativeSrc": "4798:6:20", + "nodeType": "YulIdentifier", + "src": "4798:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4783:3:20", + "nodeType": "YulIdentifier", + "src": "4783:3:20" + }, + "nativeSrc": "4783:22:20", + "nodeType": "YulFunctionCall", + "src": "4783:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4807:7:20", + "nodeType": "YulIdentifier", + "src": "4807:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_memory_ptr", + "nativeSrc": "4753:29:20", + "nodeType": "YulIdentifier", + "src": "4753:29:20" + }, + "nativeSrc": "4753:62:20", + "nodeType": "YulFunctionCall", + "src": "4753:62:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "4743:6:20", + "nodeType": "YulIdentifier", + "src": "4743:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_ITransparentUpgradeableProxy_$624t_addresst_bytes_memory_ptr", + "nativeSrc": "3963:869:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4062:9:20", + "nodeType": "YulTypedName", + "src": "4062:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "4073:7:20", + "nodeType": "YulTypedName", + "src": "4073:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "4085:6:20", + "nodeType": "YulTypedName", + "src": "4085:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "4093:6:20", + "nodeType": "YulTypedName", + "src": "4093:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "4101:6:20", + "nodeType": "YulTypedName", + "src": "4101:6:20", + "type": "" + } + ], + "src": "3963:869:20" + }, + { + "body": { + "nativeSrc": "4897:40:20", + "nodeType": "YulBlock", + "src": "4897:40:20", + "statements": [ + { + "nativeSrc": "4908:22:20", + "nodeType": "YulAssignment", + "src": "4908:22:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "4924:5:20", + "nodeType": "YulIdentifier", + "src": "4924:5:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "4918:5:20", + "nodeType": "YulIdentifier", + "src": "4918:5:20" + }, + "nativeSrc": "4918:12:20", + "nodeType": "YulFunctionCall", + "src": "4918:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "4908:6:20", + "nodeType": "YulIdentifier", + "src": "4908:6:20" + } + ] + } + ] + }, + "name": "array_length_t_string_memory_ptr", + "nativeSrc": "4838:99:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4880:5:20", + "nodeType": "YulTypedName", + "src": "4880:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "4890:6:20", + "nodeType": "YulTypedName", + "src": "4890:6:20", + "type": "" + } + ], + "src": "4838:99:20" + }, + { + "body": { + "nativeSrc": "5039:73:20", + "nodeType": "YulBlock", + "src": "5039:73:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5056:3:20", + "nodeType": "YulIdentifier", + "src": "5056:3:20" + }, + { + "name": "length", + "nativeSrc": "5061:6:20", + "nodeType": "YulIdentifier", + "src": "5061:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "5049:6:20", + "nodeType": "YulIdentifier", + "src": "5049:6:20" + }, + "nativeSrc": "5049:19:20", + "nodeType": "YulFunctionCall", + "src": "5049:19:20" + }, + "nativeSrc": "5049:19:20", + "nodeType": "YulExpressionStatement", + "src": "5049:19:20" + }, + { + "nativeSrc": "5077:29:20", + "nodeType": "YulAssignment", + "src": "5077:29:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5096:3:20", + "nodeType": "YulIdentifier", + "src": "5096:3:20" + }, + { + "kind": "number", + "nativeSrc": "5101:4:20", + "nodeType": "YulLiteral", + "src": "5101:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5092:3:20", + "nodeType": "YulIdentifier", + "src": "5092:3:20" + }, + "nativeSrc": "5092:14:20", + "nodeType": "YulFunctionCall", + "src": "5092:14:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "5077:11:20", + "nodeType": "YulIdentifier", + "src": "5077:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "4943:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "5011:3:20", + "nodeType": "YulTypedName", + "src": "5011:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "5016:6:20", + "nodeType": "YulTypedName", + "src": "5016:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "5027:11:20", + "nodeType": "YulTypedName", + "src": "5027:11:20", + "type": "" + } + ], + "src": "4943:169:20" + }, + { + "body": { + "nativeSrc": "5180:186:20", + "nodeType": "YulBlock", + "src": "5180:186:20", + "statements": [ + { + "nativeSrc": "5191:10:20", + "nodeType": "YulVariableDeclaration", + "src": "5191:10:20", + "value": { + "kind": "number", + "nativeSrc": "5200:1:20", + "nodeType": "YulLiteral", + "src": "5200:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nativeSrc": "5195:1:20", + "nodeType": "YulTypedName", + "src": "5195:1:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "5260:63:20", + "nodeType": "YulBlock", + "src": "5260:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "5285:3:20", + "nodeType": "YulIdentifier", + "src": "5285:3:20" + }, + { + "name": "i", + "nativeSrc": "5290:1:20", + "nodeType": "YulIdentifier", + "src": "5290:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5281:3:20", + "nodeType": "YulIdentifier", + "src": "5281:3:20" + }, + "nativeSrc": "5281:11:20", + "nodeType": "YulFunctionCall", + "src": "5281:11:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "5304:3:20", + "nodeType": "YulIdentifier", + "src": "5304:3:20" + }, + { + "name": "i", + "nativeSrc": "5309:1:20", + "nodeType": "YulIdentifier", + "src": "5309:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5300:3:20", + "nodeType": "YulIdentifier", + "src": "5300:3:20" + }, + "nativeSrc": "5300:11:20", + "nodeType": "YulFunctionCall", + "src": "5300:11:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "5294:5:20", + "nodeType": "YulIdentifier", + "src": "5294:5:20" + }, + "nativeSrc": "5294:18:20", + "nodeType": "YulFunctionCall", + "src": "5294:18:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "5274:6:20", + "nodeType": "YulIdentifier", + "src": "5274:6:20" + }, + "nativeSrc": "5274:39:20", + "nodeType": "YulFunctionCall", + "src": "5274:39:20" + }, + "nativeSrc": "5274:39:20", + "nodeType": "YulExpressionStatement", + "src": "5274:39:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nativeSrc": "5221:1:20", + "nodeType": "YulIdentifier", + "src": "5221:1:20" + }, + { + "name": "length", + "nativeSrc": "5224:6:20", + "nodeType": "YulIdentifier", + "src": "5224:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "5218:2:20", + "nodeType": "YulIdentifier", + "src": "5218:2:20" + }, + "nativeSrc": "5218:13:20", + "nodeType": "YulFunctionCall", + "src": "5218:13:20" + }, + "nativeSrc": "5210:113:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "5232:19:20", + "nodeType": "YulBlock", + "src": "5232:19:20", + "statements": [ + { + "nativeSrc": "5234:15:20", + "nodeType": "YulAssignment", + "src": "5234:15:20", + "value": { + "arguments": [ + { + "name": "i", + "nativeSrc": "5243:1:20", + "nodeType": "YulIdentifier", + "src": "5243:1:20" + }, + { + "kind": "number", + "nativeSrc": "5246:2:20", + "nodeType": "YulLiteral", + "src": "5246:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5239:3:20", + "nodeType": "YulIdentifier", + "src": "5239:3:20" + }, + "nativeSrc": "5239:10:20", + "nodeType": "YulFunctionCall", + "src": "5239:10:20" + }, + "variableNames": [ + { + "name": "i", + "nativeSrc": "5234:1:20", + "nodeType": "YulIdentifier", + "src": "5234:1:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "5214:3:20", + "nodeType": "YulBlock", + "src": "5214:3:20", + "statements": [] + }, + "src": "5210:113:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "5343:3:20", + "nodeType": "YulIdentifier", + "src": "5343:3:20" + }, + { + "name": "length", + "nativeSrc": "5348:6:20", + "nodeType": "YulIdentifier", + "src": "5348:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5339:3:20", + "nodeType": "YulIdentifier", + "src": "5339:3:20" + }, + "nativeSrc": "5339:16:20", + "nodeType": "YulFunctionCall", + "src": "5339:16:20" + }, + { + "kind": "number", + "nativeSrc": "5357:1:20", + "nodeType": "YulLiteral", + "src": "5357:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "5332:6:20", + "nodeType": "YulIdentifier", + "src": "5332:6:20" + }, + "nativeSrc": "5332:27:20", + "nodeType": "YulFunctionCall", + "src": "5332:27:20" + }, + "nativeSrc": "5332:27:20", + "nodeType": "YulExpressionStatement", + "src": "5332:27:20" + } + ] + }, + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "5118:248:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "5162:3:20", + "nodeType": "YulTypedName", + "src": "5162:3:20", + "type": "" + }, + { + "name": "dst", + "nativeSrc": "5167:3:20", + "nodeType": "YulTypedName", + "src": "5167:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "5172:6:20", + "nodeType": "YulTypedName", + "src": "5172:6:20", + "type": "" + } + ], + "src": "5118:248:20" + }, + { + "body": { + "nativeSrc": "5464:285:20", + "nodeType": "YulBlock", + "src": "5464:285:20", + "statements": [ + { + "nativeSrc": "5474:53:20", + "nodeType": "YulVariableDeclaration", + "src": "5474:53:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "5521:5:20", + "nodeType": "YulIdentifier", + "src": "5521:5:20" + } + ], + "functionName": { + "name": "array_length_t_string_memory_ptr", + "nativeSrc": "5488:32:20", + "nodeType": "YulIdentifier", + "src": "5488:32:20" + }, + "nativeSrc": "5488:39:20", + "nodeType": "YulFunctionCall", + "src": "5488:39:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "5478:6:20", + "nodeType": "YulTypedName", + "src": "5478:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5536:78:20", + "nodeType": "YulAssignment", + "src": "5536:78:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5602:3:20", + "nodeType": "YulIdentifier", + "src": "5602:3:20" + }, + { + "name": "length", + "nativeSrc": "5607:6:20", + "nodeType": "YulIdentifier", + "src": "5607:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "5543:58:20", + "nodeType": "YulIdentifier", + "src": "5543:58:20" + }, + "nativeSrc": "5543:71:20", + "nodeType": "YulFunctionCall", + "src": "5543:71:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5536:3:20", + "nodeType": "YulIdentifier", + "src": "5536:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "5662:5:20", + "nodeType": "YulIdentifier", + "src": "5662:5:20" + }, + { + "kind": "number", + "nativeSrc": "5669:4:20", + "nodeType": "YulLiteral", + "src": "5669:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5658:3:20", + "nodeType": "YulIdentifier", + "src": "5658:3:20" + }, + "nativeSrc": "5658:16:20", + "nodeType": "YulFunctionCall", + "src": "5658:16:20" + }, + { + "name": "pos", + "nativeSrc": "5676:3:20", + "nodeType": "YulIdentifier", + "src": "5676:3:20" + }, + { + "name": "length", + "nativeSrc": "5681:6:20", + "nodeType": "YulIdentifier", + "src": "5681:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "5623:34:20", + "nodeType": "YulIdentifier", + "src": "5623:34:20" + }, + "nativeSrc": "5623:65:20", + "nodeType": "YulFunctionCall", + "src": "5623:65:20" + }, + "nativeSrc": "5623:65:20", + "nodeType": "YulExpressionStatement", + "src": "5623:65:20" + }, + { + "nativeSrc": "5697:46:20", + "nodeType": "YulAssignment", + "src": "5697:46:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5708:3:20", + "nodeType": "YulIdentifier", + "src": "5708:3:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "5735:6:20", + "nodeType": "YulIdentifier", + "src": "5735:6:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "5713:21:20", + "nodeType": "YulIdentifier", + "src": "5713:21:20" + }, + "nativeSrc": "5713:29:20", + "nodeType": "YulFunctionCall", + "src": "5713:29:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5704:3:20", + "nodeType": "YulIdentifier", + "src": "5704:3:20" + }, + "nativeSrc": "5704:39:20", + "nodeType": "YulFunctionCall", + "src": "5704:39:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "5697:3:20", + "nodeType": "YulIdentifier", + "src": "5697:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nativeSrc": "5372:377:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "5445:5:20", + "nodeType": "YulTypedName", + "src": "5445:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "5452:3:20", + "nodeType": "YulTypedName", + "src": "5452:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "5460:3:20", + "nodeType": "YulTypedName", + "src": "5460:3:20", + "type": "" + } + ], + "src": "5372:377:20" + }, + { + "body": { + "nativeSrc": "5873:195:20", + "nodeType": "YulBlock", + "src": "5873:195:20", + "statements": [ + { + "nativeSrc": "5883:26:20", + "nodeType": "YulAssignment", + "src": "5883:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5895:9:20", + "nodeType": "YulIdentifier", + "src": "5895:9:20" + }, + { + "kind": "number", + "nativeSrc": "5906:2:20", + "nodeType": "YulLiteral", + "src": "5906:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5891:3:20", + "nodeType": "YulIdentifier", + "src": "5891:3:20" + }, + "nativeSrc": "5891:18:20", + "nodeType": "YulFunctionCall", + "src": "5891:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "5883:4:20", + "nodeType": "YulIdentifier", + "src": "5883:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5930:9:20", + "nodeType": "YulIdentifier", + "src": "5930:9:20" + }, + { + "kind": "number", + "nativeSrc": "5941:1:20", + "nodeType": "YulLiteral", + "src": "5941:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5926:3:20", + "nodeType": "YulIdentifier", + "src": "5926:3:20" + }, + "nativeSrc": "5926:17:20", + "nodeType": "YulFunctionCall", + "src": "5926:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "5949:4:20", + "nodeType": "YulIdentifier", + "src": "5949:4:20" + }, + { + "name": "headStart", + "nativeSrc": "5955:9:20", + "nodeType": "YulIdentifier", + "src": "5955:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "5945:3:20", + "nodeType": "YulIdentifier", + "src": "5945:3:20" + }, + "nativeSrc": "5945:20:20", + "nodeType": "YulFunctionCall", + "src": "5945:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "5919:6:20", + "nodeType": "YulIdentifier", + "src": "5919:6:20" + }, + "nativeSrc": "5919:47:20", + "nodeType": "YulFunctionCall", + "src": "5919:47:20" + }, + "nativeSrc": "5919:47:20", + "nodeType": "YulExpressionStatement", + "src": "5919:47:20" + }, + { + "nativeSrc": "5975:86:20", + "nodeType": "YulAssignment", + "src": "5975:86:20", + "value": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "6047:6:20", + "nodeType": "YulIdentifier", + "src": "6047:6:20" + }, + { + "name": "tail", + "nativeSrc": "6056:4:20", + "nodeType": "YulIdentifier", + "src": "6056:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nativeSrc": "5983:63:20", + "nodeType": "YulIdentifier", + "src": "5983:63:20" + }, + "nativeSrc": "5983:78:20", + "nodeType": "YulFunctionCall", + "src": "5983:78:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "5975:4:20", + "nodeType": "YulIdentifier", + "src": "5975:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "5755:313:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "5845:9:20", + "nodeType": "YulTypedName", + "src": "5845:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "5857:6:20", + "nodeType": "YulTypedName", + "src": "5857:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "5868:4:20", + "nodeType": "YulTypedName", + "src": "5868:4:20", + "type": "" + } + ], + "src": "5755:313:20" + }, + { + "body": { + "nativeSrc": "6140:263:20", + "nodeType": "YulBlock", + "src": "6140:263:20", + "statements": [ + { + "body": { + "nativeSrc": "6186:83:20", + "nodeType": "YulBlock", + "src": "6186:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "6188:77:20", + "nodeType": "YulIdentifier", + "src": "6188:77:20" + }, + "nativeSrc": "6188:79:20", + "nodeType": "YulFunctionCall", + "src": "6188:79:20" + }, + "nativeSrc": "6188:79:20", + "nodeType": "YulExpressionStatement", + "src": "6188:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "6161:7:20", + "nodeType": "YulIdentifier", + "src": "6161:7:20" + }, + { + "name": "headStart", + "nativeSrc": "6170:9:20", + "nodeType": "YulIdentifier", + "src": "6170:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "6157:3:20", + "nodeType": "YulIdentifier", + "src": "6157:3:20" + }, + "nativeSrc": "6157:23:20", + "nodeType": "YulFunctionCall", + "src": "6157:23:20" + }, + { + "kind": "number", + "nativeSrc": "6182:2:20", + "nodeType": "YulLiteral", + "src": "6182:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "6153:3:20", + "nodeType": "YulIdentifier", + "src": "6153:3:20" + }, + "nativeSrc": "6153:32:20", + "nodeType": "YulFunctionCall", + "src": "6153:32:20" + }, + "nativeSrc": "6150:119:20", + "nodeType": "YulIf", + "src": "6150:119:20" + }, + { + "nativeSrc": "6279:117:20", + "nodeType": "YulBlock", + "src": "6279:117:20", + "statements": [ + { + "nativeSrc": "6294:15:20", + "nodeType": "YulVariableDeclaration", + "src": "6294:15:20", + "value": { + "kind": "number", + "nativeSrc": "6308:1:20", + "nodeType": "YulLiteral", + "src": "6308:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "6298:6:20", + "nodeType": "YulTypedName", + "src": "6298:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6323:63:20", + "nodeType": "YulAssignment", + "src": "6323:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6358:9:20", + "nodeType": "YulIdentifier", + "src": "6358:9:20" + }, + { + "name": "offset", + "nativeSrc": "6369:6:20", + "nodeType": "YulIdentifier", + "src": "6369:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6354:3:20", + "nodeType": "YulIdentifier", + "src": "6354:3:20" + }, + "nativeSrc": "6354:22:20", + "nodeType": "YulFunctionCall", + "src": "6354:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6378:7:20", + "nodeType": "YulIdentifier", + "src": "6378:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "6333:20:20", + "nodeType": "YulIdentifier", + "src": "6333:20:20" + }, + "nativeSrc": "6333:53:20", + "nodeType": "YulFunctionCall", + "src": "6333:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "6323:6:20", + "nodeType": "YulIdentifier", + "src": "6323:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nativeSrc": "6074:329:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "6110:9:20", + "nodeType": "YulTypedName", + "src": "6110:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "6121:7:20", + "nodeType": "YulTypedName", + "src": "6121:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "6133:6:20", + "nodeType": "YulTypedName", + "src": "6133:6:20", + "type": "" + } + ], + "src": "6074:329:20" + }, + { + "body": { + "nativeSrc": "6467:40:20", + "nodeType": "YulBlock", + "src": "6467:40:20", + "statements": [ + { + "nativeSrc": "6478:22:20", + "nodeType": "YulAssignment", + "src": "6478:22:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "6494:5:20", + "nodeType": "YulIdentifier", + "src": "6494:5:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "6488:5:20", + "nodeType": "YulIdentifier", + "src": "6488:5:20" + }, + "nativeSrc": "6488:12:20", + "nodeType": "YulFunctionCall", + "src": "6488:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "6478:6:20", + "nodeType": "YulIdentifier", + "src": "6478:6:20" + } + ] + } + ] + }, + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "6409:98:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "6450:5:20", + "nodeType": "YulTypedName", + "src": "6450:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "6460:6:20", + "nodeType": "YulTypedName", + "src": "6460:6:20", + "type": "" + } + ], + "src": "6409:98:20" + }, + { + "body": { + "nativeSrc": "6608:73:20", + "nodeType": "YulBlock", + "src": "6608:73:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "6625:3:20", + "nodeType": "YulIdentifier", + "src": "6625:3:20" + }, + { + "name": "length", + "nativeSrc": "6630:6:20", + "nodeType": "YulIdentifier", + "src": "6630:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "6618:6:20", + "nodeType": "YulIdentifier", + "src": "6618:6:20" + }, + "nativeSrc": "6618:19:20", + "nodeType": "YulFunctionCall", + "src": "6618:19:20" + }, + "nativeSrc": "6618:19:20", + "nodeType": "YulExpressionStatement", + "src": "6618:19:20" + }, + { + "nativeSrc": "6646:29:20", + "nodeType": "YulAssignment", + "src": "6646:29:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "6665:3:20", + "nodeType": "YulIdentifier", + "src": "6665:3:20" + }, + { + "kind": "number", + "nativeSrc": "6670:4:20", + "nodeType": "YulLiteral", + "src": "6670:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6661:3:20", + "nodeType": "YulIdentifier", + "src": "6661:3:20" + }, + "nativeSrc": "6661:14:20", + "nodeType": "YulFunctionCall", + "src": "6661:14:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "6646:11:20", + "nodeType": "YulIdentifier", + "src": "6646:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack", + "nativeSrc": "6513:168:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "6580:3:20", + "nodeType": "YulTypedName", + "src": "6580:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "6585:6:20", + "nodeType": "YulTypedName", + "src": "6585:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "6596:11:20", + "nodeType": "YulTypedName", + "src": "6596:11:20", + "type": "" + } + ], + "src": "6513:168:20" + }, + { + "body": { + "nativeSrc": "6777:283:20", + "nodeType": "YulBlock", + "src": "6777:283:20", + "statements": [ + { + "nativeSrc": "6787:52:20", + "nodeType": "YulVariableDeclaration", + "src": "6787:52:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "6833:5:20", + "nodeType": "YulIdentifier", + "src": "6833:5:20" + } + ], + "functionName": { + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "6801:31:20", + "nodeType": "YulIdentifier", + "src": "6801:31:20" + }, + "nativeSrc": "6801:38:20", + "nodeType": "YulFunctionCall", + "src": "6801:38:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "6791:6:20", + "nodeType": "YulTypedName", + "src": "6791:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6848:77:20", + "nodeType": "YulAssignment", + "src": "6848:77:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "6913:3:20", + "nodeType": "YulIdentifier", + "src": "6913:3:20" + }, + { + "name": "length", + "nativeSrc": "6918:6:20", + "nodeType": "YulIdentifier", + "src": "6918:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack", + "nativeSrc": "6855:57:20", + "nodeType": "YulIdentifier", + "src": "6855:57:20" + }, + "nativeSrc": "6855:70:20", + "nodeType": "YulFunctionCall", + "src": "6855:70:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "6848:3:20", + "nodeType": "YulIdentifier", + "src": "6848:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "6973:5:20", + "nodeType": "YulIdentifier", + "src": "6973:5:20" + }, + { + "kind": "number", + "nativeSrc": "6980:4:20", + "nodeType": "YulLiteral", + "src": "6980:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6969:3:20", + "nodeType": "YulIdentifier", + "src": "6969:3:20" + }, + "nativeSrc": "6969:16:20", + "nodeType": "YulFunctionCall", + "src": "6969:16:20" + }, + { + "name": "pos", + "nativeSrc": "6987:3:20", + "nodeType": "YulIdentifier", + "src": "6987:3:20" + }, + { + "name": "length", + "nativeSrc": "6992:6:20", + "nodeType": "YulIdentifier", + "src": "6992:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "6934:34:20", + "nodeType": "YulIdentifier", + "src": "6934:34:20" + }, + "nativeSrc": "6934:65:20", + "nodeType": "YulFunctionCall", + "src": "6934:65:20" + }, + "nativeSrc": "6934:65:20", + "nodeType": "YulExpressionStatement", + "src": "6934:65:20" + }, + { + "nativeSrc": "7008:46:20", + "nodeType": "YulAssignment", + "src": "7008:46:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "7019:3:20", + "nodeType": "YulIdentifier", + "src": "7019:3:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "7046:6:20", + "nodeType": "YulIdentifier", + "src": "7046:6:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "7024:21:20", + "nodeType": "YulIdentifier", + "src": "7024:21:20" + }, + "nativeSrc": "7024:29:20", + "nodeType": "YulFunctionCall", + "src": "7024:29:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7015:3:20", + "nodeType": "YulIdentifier", + "src": "7015:3:20" + }, + "nativeSrc": "7015:39:20", + "nodeType": "YulFunctionCall", + "src": "7015:39:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "7008:3:20", + "nodeType": "YulIdentifier", + "src": "7008:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack", + "nativeSrc": "6687:373:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "6758:5:20", + "nodeType": "YulTypedName", + "src": "6758:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "6765:3:20", + "nodeType": "YulTypedName", + "src": "6765:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "6773:3:20", + "nodeType": "YulTypedName", + "src": "6773:3:20", + "type": "" + } + ], + "src": "6687:373:20" + }, + { + "body": { + "nativeSrc": "7210:275:20", + "nodeType": "YulBlock", + "src": "7210:275:20", + "statements": [ + { + "nativeSrc": "7220:26:20", + "nodeType": "YulAssignment", + "src": "7220:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7232:9:20", + "nodeType": "YulIdentifier", + "src": "7232:9:20" + }, + { + "kind": "number", + "nativeSrc": "7243:2:20", + "nodeType": "YulLiteral", + "src": "7243:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7228:3:20", + "nodeType": "YulIdentifier", + "src": "7228:3:20" + }, + "nativeSrc": "7228:18:20", + "nodeType": "YulFunctionCall", + "src": "7228:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "7220:4:20", + "nodeType": "YulIdentifier", + "src": "7220:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "7300:6:20", + "nodeType": "YulIdentifier", + "src": "7300:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7313:9:20", + "nodeType": "YulIdentifier", + "src": "7313:9:20" + }, + { + "kind": "number", + "nativeSrc": "7324:1:20", + "nodeType": "YulLiteral", + "src": "7324:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7309:3:20", + "nodeType": "YulIdentifier", + "src": "7309:3:20" + }, + "nativeSrc": "7309:17:20", + "nodeType": "YulFunctionCall", + "src": "7309:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "7256:43:20", + "nodeType": "YulIdentifier", + "src": "7256:43:20" + }, + "nativeSrc": "7256:71:20", + "nodeType": "YulFunctionCall", + "src": "7256:71:20" + }, + "nativeSrc": "7256:71:20", + "nodeType": "YulExpressionStatement", + "src": "7256:71:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7348:9:20", + "nodeType": "YulIdentifier", + "src": "7348:9:20" + }, + { + "kind": "number", + "nativeSrc": "7359:2:20", + "nodeType": "YulLiteral", + "src": "7359:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7344:3:20", + "nodeType": "YulIdentifier", + "src": "7344:3:20" + }, + "nativeSrc": "7344:18:20", + "nodeType": "YulFunctionCall", + "src": "7344:18:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "7368:4:20", + "nodeType": "YulIdentifier", + "src": "7368:4:20" + }, + { + "name": "headStart", + "nativeSrc": "7374:9:20", + "nodeType": "YulIdentifier", + "src": "7374:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "7364:3:20", + "nodeType": "YulIdentifier", + "src": "7364:3:20" + }, + "nativeSrc": "7364:20:20", + "nodeType": "YulFunctionCall", + "src": "7364:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "7337:6:20", + "nodeType": "YulIdentifier", + "src": "7337:6:20" + }, + "nativeSrc": "7337:48:20", + "nodeType": "YulFunctionCall", + "src": "7337:48:20" + }, + "nativeSrc": "7337:48:20", + "nodeType": "YulExpressionStatement", + "src": "7337:48:20" + }, + { + "nativeSrc": "7394:84:20", + "nodeType": "YulAssignment", + "src": "7394:84:20", + "value": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "7464:6:20", + "nodeType": "YulIdentifier", + "src": "7464:6:20" + }, + { + "name": "tail", + "nativeSrc": "7473:4:20", + "nodeType": "YulIdentifier", + "src": "7473:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack", + "nativeSrc": "7402:61:20", + "nodeType": "YulIdentifier", + "src": "7402:61:20" + }, + "nativeSrc": "7402:76:20", + "nodeType": "YulFunctionCall", + "src": "7402:76:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "7394:4:20", + "nodeType": "YulIdentifier", + "src": "7394:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_address_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr__fromStack_reversed", + "nativeSrc": "7066:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "7174:9:20", + "nodeType": "YulTypedName", + "src": "7174:9:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "7186:6:20", + "nodeType": "YulTypedName", + "src": "7186:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "7194:6:20", + "nodeType": "YulTypedName", + "src": "7194:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "7205:4:20", + "nodeType": "YulTypedName", + "src": "7205:4:20", + "type": "" + } + ], + "src": "7066:419:20" + } + ] + }, + "contents": "{\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_contract$_ITransparentUpgradeableProxy_$624(value) -> cleaned {\n cleaned := cleanup_t_address(value)\n }\n\n function validator_revert_t_contract$_ITransparentUpgradeableProxy_$624(value) {\n if iszero(eq(value, cleanup_t_contract$_ITransparentUpgradeableProxy_$624(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_contract$_ITransparentUpgradeableProxy_$624(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_contract$_ITransparentUpgradeableProxy_$624(value)\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 abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\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 allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_bytes_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_calldata_to_memory_with_cleanup(src, dst, length) {\n\n calldatacopy(dst, src, length)\n mstore(add(dst, length), 0)\n\n }\n\n function abi_decode_available_length_t_bytes_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_bytes_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory_with_cleanup(src, dst, length)\n }\n\n // bytes\n function abi_decode_t_bytes_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_bytes_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_contract$_ITransparentUpgradeableProxy_$624t_addresst_bytes_memory_ptr(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_contract$_ITransparentUpgradeableProxy_$624(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 64))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value2 := abi_decode_t_bytes_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function abi_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 array_length_t_bytes_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_bytes_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_address_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack(value1, tail)\n\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610091578063ad3cb1cc146100ad578063f2fde38b146100d8575b600080fd5b34801561005b57600080fd5b50610064610101565b005b34801561007257600080fd5b5061007b610115565b604051610088919061040c565b60405180910390f35b6100ab60048036038101906100a691906105eb565b61013e565b005b3480156100b957600080fd5b506100c26101b9565b6040516100cf91906106d9565b60405180910390f35b3480156100e457600080fd5b506100ff60048036038101906100fa91906106fb565b6101f2565b005b610109610278565b61011360006102ff565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610146610278565b8273ffffffffffffffffffffffffffffffffffffffff16634f1ef2863484846040518463ffffffff1660e01b815260040161018292919061077d565b6000604051808303818588803b15801561019b57600080fd5b505af11580156101af573d6000803e3d6000fd5b5050505050505050565b6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6101fa610278565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361026c5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610263919061040c565b60405180910390fd5b610275816102ff565b50565b6102806103c3565b73ffffffffffffffffffffffffffffffffffffffff1661029e610115565b73ffffffffffffffffffffffffffffffffffffffff16146102fd576102c16103c3565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016102f4919061040c565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103f6826103cb565b9050919050565b610406816103eb565b82525050565b600060208201905061042160008301846103fd565b92915050565b6000604051905090565b600080fd5b600080fd5b6000610446826103eb565b9050919050565b6104568161043b565b811461046157600080fd5b50565b6000813590506104738161044d565b92915050565b610482816103eb565b811461048d57600080fd5b50565b60008135905061049f81610479565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6104f8826104af565b810181811067ffffffffffffffff82111715610517576105166104c0565b5b80604052505050565b600061052a610427565b905061053682826104ef565b919050565b600067ffffffffffffffff821115610556576105556104c0565b5b61055f826104af565b9050602081019050919050565b82818337600083830152505050565b600061058e6105898461053b565b610520565b9050828152602081018484840111156105aa576105a96104aa565b5b6105b584828561056c565b509392505050565b600082601f8301126105d2576105d16104a5565b5b81356105e284826020860161057b565b91505092915050565b60008060006060848603121561060457610603610431565b5b600061061286828701610464565b935050602061062386828701610490565b925050604084013567ffffffffffffffff81111561064457610643610436565b5b610650868287016105bd565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610694578082015181840152602081019050610679565b60008484015250505050565b60006106ab8261065a565b6106b58185610665565b93506106c5818560208601610676565b6106ce816104af565b840191505092915050565b600060208201905081810360008301526106f381846106a0565b905092915050565b60006020828403121561071157610710610431565b5b600061071f84828501610490565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061074f82610728565b6107598185610733565b9350610769818560208601610676565b610772816104af565b840191505092915050565b600060408201905061079260008301856103fd565b81810360208301526107a48184610744565b9050939250505056fea26469706673582212207baa771409eae5083c71e95f60df546b11a1b6cd507fd487b5af0bc72db119c664736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x715018A6 EQ PUSH2 0x4F JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x66 JUMPI DUP1 PUSH4 0x9623609D EQ PUSH2 0x91 JUMPI DUP1 PUSH4 0xAD3CB1CC EQ PUSH2 0xAD JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xD8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x64 PUSH2 0x101 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x72 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x7B PUSH2 0x115 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x88 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA6 SWAP2 SWAP1 PUSH2 0x5EB JUMP JUMPDEST PUSH2 0x13E JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC2 PUSH2 0x1B9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x6D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFA SWAP2 SWAP1 PUSH2 0x6FB JUMP JUMPDEST PUSH2 0x1F2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x109 PUSH2 0x278 JUMP JUMPDEST PUSH2 0x113 PUSH1 0x0 PUSH2 0x2FF JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x146 PUSH2 0x278 JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x4F1EF286 CALLVALUE DUP5 DUP5 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x182 SWAP3 SWAP2 SWAP1 PUSH2 0x77D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x19B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1AF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x352E302E30000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 JUMP JUMPDEST PUSH2 0x1FA PUSH2 0x278 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x26C JUMPI PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x263 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x275 DUP2 PUSH2 0x2FF JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x280 PUSH2 0x3C3 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x29E PUSH2 0x115 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x2FD JUMPI PUSH2 0x2C1 PUSH2 0x3C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x118CDAA700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2F4 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3F6 DUP3 PUSH2 0x3CB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x406 DUP2 PUSH2 0x3EB JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x421 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3FD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x446 DUP3 PUSH2 0x3EB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x456 DUP2 PUSH2 0x43B JUMP JUMPDEST DUP2 EQ PUSH2 0x461 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x473 DUP2 PUSH2 0x44D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x482 DUP2 PUSH2 0x3EB JUMP JUMPDEST DUP2 EQ PUSH2 0x48D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x49F DUP2 PUSH2 0x479 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP 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 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x4F8 DUP3 PUSH2 0x4AF JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x517 JUMPI PUSH2 0x516 PUSH2 0x4C0 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x52A PUSH2 0x427 JUMP JUMPDEST SWAP1 POP PUSH2 0x536 DUP3 DUP3 PUSH2 0x4EF JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x556 JUMPI PUSH2 0x555 PUSH2 0x4C0 JUMP JUMPDEST JUMPDEST PUSH2 0x55F DUP3 PUSH2 0x4AF JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x58E PUSH2 0x589 DUP5 PUSH2 0x53B JUMP JUMPDEST PUSH2 0x520 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x5AA JUMPI PUSH2 0x5A9 PUSH2 0x4AA JUMP JUMPDEST JUMPDEST PUSH2 0x5B5 DUP5 DUP3 DUP6 PUSH2 0x56C JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5D2 JUMPI PUSH2 0x5D1 PUSH2 0x4A5 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x5E2 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x57B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x604 JUMPI PUSH2 0x603 PUSH2 0x431 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x612 DUP7 DUP3 DUP8 ADD PUSH2 0x464 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x623 DUP7 DUP3 DUP8 ADD PUSH2 0x490 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x644 JUMPI PUSH2 0x643 PUSH2 0x436 JUMP JUMPDEST JUMPDEST PUSH2 0x650 DUP7 DUP3 DUP8 ADD PUSH2 0x5BD JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x694 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x679 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6AB DUP3 PUSH2 0x65A JUMP JUMPDEST PUSH2 0x6B5 DUP2 DUP6 PUSH2 0x665 JUMP JUMPDEST SWAP4 POP PUSH2 0x6C5 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x676 JUMP JUMPDEST PUSH2 0x6CE DUP2 PUSH2 0x4AF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x6F3 DUP2 DUP5 PUSH2 0x6A0 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x711 JUMPI PUSH2 0x710 PUSH2 0x431 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x71F DUP5 DUP3 DUP6 ADD PUSH2 0x490 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x74F DUP3 PUSH2 0x728 JUMP JUMPDEST PUSH2 0x759 DUP2 DUP6 PUSH2 0x733 JUMP JUMPDEST SWAP4 POP PUSH2 0x769 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x676 JUMP JUMPDEST PUSH2 0x772 DUP2 PUSH2 0x4AF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x792 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x3FD JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x7A4 DUP2 DUP5 PUSH2 0x744 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH28 0xAA771409EAE5083C71E95F60DF546B11A1B6CD507FD487B5AF0BC72D 0xB1 NOT 0xC6 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "502:1442:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2293:101:0;;;;;;;;;;;;;:::i;:::-;;1638:85;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1697:245:6;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1167:58;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2543:215:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2293:101;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;1638:85::-;1684:7;1710:6;;;;;;;;;;;1703:13;;1638:85;:::o;1697:245:6:-;1531:13:0;:11;:13::i;:::-;1873:5:6::1;:22;;;1903:9;1914:14;1930:4;1873:62;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;1697:245:::0;;;:::o;1167:58::-;;;;;;;;;;;;;;;;;;;:::o;2543:215:0:-;1531:13;:11;:13::i;:::-;2647:1:::1;2627:22;;:8;:22;;::::0;2623:91:::1;;2700:1;2672:31;;;;;;;;;;;:::i;:::-;;;;;;;;2623:91;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;1796:162::-;1866:12;:10;:12::i;:::-;1855:23;;:7;:5;:7::i;:::-;:23;;;1851:101;;1928:12;:10;:12::i;:::-;1901:40;;;;;;;;;;;:::i;:::-;;;;;;;;1851:101;1796:162::o;2912:187::-;2985:16;3004:6;;;;;;;;;;;2985:25;;3029:8;3020:6;;:17;;;;;;;;;;;;;;;;;;3083:8;3052:40;;3073:8;3052:40;;;;;;;;;;;;2975:124;2912:187;:::o;656:96:10:-;709:7;735:10;728:17;;656:96;:::o;7:126:20:-;44:7;84:42;77:5;73:54;62:65;;7:126;;;:::o;139:96::-;176:7;205:24;223:5;205:24;:::i;:::-;194:35;;139:96;;;:::o;241:118::-;328:24;346:5;328:24;:::i;:::-;323:3;316:37;241:118;;:::o;365:222::-;458:4;496:2;485:9;481:18;473:26;;509:71;577:1;566:9;562:17;553:6;509:71;:::i;:::-;365:222;;;;:::o;593:75::-;626:6;659:2;653:9;643:19;;593:75;:::o;674:117::-;783:1;780;773:12;797:117;906:1;903;896:12;920:132;993:7;1022:24;1040:5;1022:24;:::i;:::-;1011:35;;920:132;;;:::o;1058:194::-;1167:60;1221:5;1167:60;:::i;:::-;1160:5;1157:71;1147:99;;1242:1;1239;1232:12;1147:99;1058:194;:::o;1258:211::-;1340:5;1378:6;1365:20;1356:29;;1394:69;1457:5;1394:69;:::i;:::-;1258:211;;;;:::o;1475:122::-;1548:24;1566:5;1548:24;:::i;:::-;1541:5;1538:35;1528:63;;1587:1;1584;1577:12;1528:63;1475:122;:::o;1603:139::-;1649:5;1687:6;1674:20;1665:29;;1703:33;1730:5;1703:33;:::i;:::-;1603:139;;;;:::o;1748:117::-;1857:1;1854;1847:12;1871:117;1980:1;1977;1970:12;1994:102;2035:6;2086:2;2082:7;2077:2;2070:5;2066:14;2062:28;2052:38;;1994:102;;;:::o;2102:180::-;2150:77;2147:1;2140:88;2247:4;2244:1;2237:15;2271:4;2268:1;2261:15;2288:281;2371:27;2393:4;2371:27;:::i;:::-;2363:6;2359:40;2501:6;2489:10;2486:22;2465:18;2453:10;2450:34;2447:62;2444:88;;;2512:18;;:::i;:::-;2444:88;2552:10;2548:2;2541:22;2331:238;2288:281;;:::o;2575:129::-;2609:6;2636:20;;:::i;:::-;2626:30;;2665:33;2693:4;2685:6;2665:33;:::i;:::-;2575:129;;;:::o;2710:307::-;2771:4;2861:18;2853:6;2850:30;2847:56;;;2883:18;;:::i;:::-;2847:56;2921:29;2943:6;2921:29;:::i;:::-;2913:37;;3005:4;2999;2995:15;2987:23;;2710:307;;;:::o;3023:148::-;3121:6;3116:3;3111;3098:30;3162:1;3153:6;3148:3;3144:16;3137:27;3023:148;;;:::o;3177:423::-;3254:5;3279:65;3295:48;3336:6;3295:48;:::i;:::-;3279:65;:::i;:::-;3270:74;;3367:6;3360:5;3353:21;3405:4;3398:5;3394:16;3443:3;3434:6;3429:3;3425:16;3422:25;3419:112;;;3450:79;;:::i;:::-;3419:112;3540:54;3587:6;3582:3;3577;3540:54;:::i;:::-;3260:340;3177:423;;;;;:::o;3619:338::-;3674:5;3723:3;3716:4;3708:6;3704:17;3700:27;3690:122;;3731:79;;:::i;:::-;3690:122;3848:6;3835:20;3873:78;3947:3;3939:6;3932:4;3924:6;3920:17;3873:78;:::i;:::-;3864:87;;3680:277;3619:338;;;;:::o;3963:869::-;4085:6;4093;4101;4150:2;4138:9;4129:7;4125:23;4121:32;4118:119;;;4156:79;;:::i;:::-;4118:119;4276:1;4301:89;4382:7;4373:6;4362:9;4358:22;4301:89;:::i;:::-;4291:99;;4247:153;4439:2;4465:53;4510:7;4501:6;4490:9;4486:22;4465:53;:::i;:::-;4455:63;;4410:118;4595:2;4584:9;4580:18;4567:32;4626:18;4618:6;4615:30;4612:117;;;4648:79;;:::i;:::-;4612:117;4753:62;4807:7;4798:6;4787:9;4783:22;4753:62;:::i;:::-;4743:72;;4538:287;3963:869;;;;;:::o;4838:99::-;4890:6;4924:5;4918:12;4908:22;;4838:99;;;:::o;4943:169::-;5027:11;5061:6;5056:3;5049:19;5101:4;5096:3;5092:14;5077:29;;4943:169;;;;:::o;5118:248::-;5200:1;5210:113;5224:6;5221:1;5218:13;5210:113;;;5309:1;5304:3;5300:11;5294:18;5290:1;5285:3;5281:11;5274:39;5246:2;5243:1;5239:10;5234:15;;5210:113;;;5357:1;5348:6;5343:3;5339:16;5332:27;5180:186;5118:248;;;:::o;5372:377::-;5460:3;5488:39;5521:5;5488:39;:::i;:::-;5543:71;5607:6;5602:3;5543:71;:::i;:::-;5536:78;;5623:65;5681:6;5676:3;5669:4;5662:5;5658:16;5623:65;:::i;:::-;5713:29;5735:6;5713:29;:::i;:::-;5708:3;5704:39;5697:46;;5464:285;5372:377;;;;:::o;5755:313::-;5868:4;5906:2;5895:9;5891:18;5883:26;;5955:9;5949:4;5945:20;5941:1;5930:9;5926:17;5919:47;5983:78;6056:4;6047:6;5983:78;:::i;:::-;5975:86;;5755:313;;;;:::o;6074:329::-;6133:6;6182:2;6170:9;6161:7;6157:23;6153:32;6150:119;;;6188:79;;:::i;:::-;6150:119;6308:1;6333:53;6378:7;6369:6;6358:9;6354:22;6333:53;:::i;:::-;6323:63;;6279:117;6074:329;;;;:::o;6409:98::-;6460:6;6494:5;6488:12;6478:22;;6409:98;;;:::o;6513:168::-;6596:11;6630:6;6625:3;6618:19;6670:4;6665:3;6661:14;6646:29;;6513:168;;;;:::o;6687:373::-;6773:3;6801:38;6833:5;6801:38;:::i;:::-;6855:70;6918:6;6913:3;6855:70;:::i;:::-;6848:77;;6934:65;6992:6;6987:3;6980:4;6973:5;6969:16;6934:65;:::i;:::-;7024:29;7046:6;7024:29;:::i;:::-;7019:3;7015:39;7008:46;;6777:283;6687:373;;;;:::o;7066:419::-;7205:4;7243:2;7232:9;7228:18;7220:26;;7256:71;7324:1;7313:9;7309:17;7300:6;7256:71;:::i;:::-;7374:9;7368:4;7364:20;7359:2;7348:9;7344:18;7337:48;7402:76;7473:4;7464:6;7402:76;:::i;:::-;7394:84;;7066:419;;;;;:::o" + }, + "methodIdentifiers": { + "UPGRADE_INTERFACE_VERSION()": "ad3cb1cc", + "owner()": "8da5cb5b", + "renounceOwnership()": "715018a6", + "transferOwnership(address)": "f2fde38b", + "upgradeAndCall(address,address,bytes)": "9623609d" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ITransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.\",\"errors\":{\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Sets the initial owner who can perform upgrades.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"upgradeAndCall(address,address,bytes)\":{\"details\":\"Upgrades `proxy` to `implementation` and calls a function on the new implementation. See {TransparentUpgradeableProxy-_dispatchUpgradeToAndCall}. Requirements: - This contract must be the admin of `proxy`. - If `data` is empty, `msg.value` must be zero.\"}},\"stateVariables\":{\"UPGRADE_INTERFACE_VERSION\":{\"details\":\"The version of the upgrade interface of the contract. If this getter is missing, both `upgrade(address)` and `upgradeAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called, while `upgradeAndCall` will invoke the `receive` function if the second argument is the empty byte string. If the getter returns `\\\"5.0.0\\\"`, only `upgradeAndCall(address,bytes)` is present, and the second argument must be the empty byte string if no function should be called, making it impossible to invoke the `receive` function during an upgrade.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol\":\"ProxyAdmin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6917f8a323e7811f041aecd4d9fd6e92455a6fba38a797ac6f6e208c7912b79d\",\"dweb:/ipfs/QmShuYv55wYHGi4EFkDB8QfF7ZCHoKk2efyz3AWY1ExSq7\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"keccak256\":\"0xbfb6695731de677140fbf76c772ab08c4233a122fb51ac28ac120fc49bbbc4ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://68f8fded7cc318efa15874b7c6a983fe17a4a955d72d240353a9a4ca1e1b824c\",\"dweb:/ipfs/QmdcmBL9Qo4Tk3Dby4wFYabGyot9JNeLPxpSXZUgUm92BV\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a\",\"dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc3f2ec76a3de8ed7a7007c46166f5550c72c7709e3fc7e8bb3111a7191cdedbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e73efb4c2ca655882dc237c6b4f234a9bd36d97159d8fcaa837eb01171f726ac\",\"dweb:/ipfs/QmTNnnv7Gu5fs5G1ZMh7Fexp8N4XUs3XrNAngjcxgiss3e\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol\":{\"keccak256\":\"0x371c3467dccfbb2ac03b0edb4fadaacb9ad382772cee7850a3e73f39a56d102c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3574f1cc3ff2cb985a1385949bd3c76888e8dcf59e6a770ccb15c79b145b39bb\",\"dweb:/ipfs/QmXZDrFibUAMqjoRrpKxV3ma5RR9YfJXZyMrLWJ3bix9gi\"]},\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\":{\"keccak256\":\"0xbc9babed4d136e6cc1e74354aa66538a234f3808645fbe30463b4a7b7d8ca789\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75fd9323b206da2a87924fca2ca996dbd04ae0963f79f66fb8a0ef94bf283a3d\",\"dweb:/ipfs/QmYSoLcvpq8gRo8doLP4nnB43UAT1D3KvfFJRDSD2y4nYu\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol": { + "ITransparentUpgradeableProxy": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "BeaconUpgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": { + "upgradeToAndCall(address,bytes)": "4f1ef286" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy} does not implement this interface directly, and its upgradeability mechanism is implemented by an internal dispatch mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not include them in the ABI so this interface must be used to interact with it.\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\":\"ITransparentUpgradeableProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6917f8a323e7811f041aecd4d9fd6e92455a6fba38a797ac6f6e208c7912b79d\",\"dweb:/ipfs/QmShuYv55wYHGi4EFkDB8QfF7ZCHoKk2efyz3AWY1ExSq7\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"keccak256\":\"0xbfb6695731de677140fbf76c772ab08c4233a122fb51ac28ac120fc49bbbc4ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://68f8fded7cc318efa15874b7c6a983fe17a4a955d72d240353a9a4ca1e1b824c\",\"dweb:/ipfs/QmdcmBL9Qo4Tk3Dby4wFYabGyot9JNeLPxpSXZUgUm92BV\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a\",\"dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc3f2ec76a3de8ed7a7007c46166f5550c72c7709e3fc7e8bb3111a7191cdedbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e73efb4c2ca655882dc237c6b4f234a9bd36d97159d8fcaa837eb01171f726ac\",\"dweb:/ipfs/QmTNnnv7Gu5fs5G1ZMh7Fexp8N4XUs3XrNAngjcxgiss3e\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol\":{\"keccak256\":\"0x371c3467dccfbb2ac03b0edb4fadaacb9ad382772cee7850a3e73f39a56d102c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3574f1cc3ff2cb985a1385949bd3c76888e8dcf59e6a770ccb15c79b145b39bb\",\"dweb:/ipfs/QmXZDrFibUAMqjoRrpKxV3ma5RR9YfJXZyMrLWJ3bix9gi\"]},\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\":{\"keccak256\":\"0xbc9babed4d136e6cc1e74354aa66538a234f3808645fbe30463b4a7b7d8ca789\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75fd9323b206da2a87924fca2ca996dbd04ae0963f79f66fb8a0ef94bf283a3d\",\"dweb:/ipfs/QmYSoLcvpq8gRo8doLP4nnB43UAT1D3KvfFJRDSD2y4nYu\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]}},\"version\":1}" + }, + "TransparentUpgradeableProxy": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_logic", + "type": "address" + }, + { + "internalType": "address", + "name": "initialOwner", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "admin", + "type": "address" + } + ], + "name": "ERC1967InvalidAdmin", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "ERC1967InvalidImplementation", + "type": "error" + }, + { + "inputs": [], + "name": "ERC1967NonPayable", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [], + "name": "ProxyDeniedAdminAccess", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + } + ], + "evm": { + "bytecode": { + "functionDebugData": { + "@_193": { + "entryPoint": null, + "id": 193, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_665": { + "entryPoint": null, + "id": 665, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_checkNonPayable_508": { + "entryPoint": 776, + "id": 508, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_proxyAdmin_674": { + "entryPoint": 329, + "id": 674, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revert_990": { + "entryPoint": 1322, + "id": 990, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_setAdmin_376": { + "entryPoint": 930, + "id": 376, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_setImplementation_294": { + "entryPoint": 427, + "id": 294, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@changeAdmin_393": { + "entryPoint": 339, + "id": 393, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@functionDelegateCall_910": { + "entryPoint": 638, + "id": 910, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@getAddressSlot_1100": { + "entryPoint": 1163, + "id": 1100, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getAdmin_345": { + "entryPoint": 837, + "id": 345, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@upgradeToAndCall_328": { + "entryPoint": 196, + "id": 328, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@verifyCallResultFromTarget_950": { + "entryPoint": 1173, + "id": 950, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_decode_available_length_t_bytes_memory_ptr_fromMemory": { + "entryPoint": 1759, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_decode_t_address_fromMemory": { + "entryPoint": 1497, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bytes_memory_ptr_fromMemory": { + "entryPoint": 1825, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_addresst_bytes_memory_ptr_fromMemory": { + "entryPoint": 1871, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 1982, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 2087, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 2136, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 1997, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed": { + "entryPoint": 2024, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "allocate_memory": { + "entryPoint": 1641, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": 1404, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_allocation_size_t_bytes_memory_ptr": { + "entryPoint": 1668, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_length_t_bytes_memory_ptr": { + "entryPoint": 2065, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 2076, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 1456, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 1424, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "copy_memory_to_memory_with_cleanup": { + "entryPoint": 1717, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "finalize_allocation": { + "entryPoint": 1592, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 1545, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { + "entryPoint": 1518, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { + "entryPoint": 1523, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": 1419, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 1414, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "round_up_to_mul_of_32": { + "entryPoint": 1528, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "validator_revert_t_address": { + "entryPoint": 1474, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:5637:20", + "nodeType": "YulBlock", + "src": "0:5637:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:81:20", + "nodeType": "YulBlock", + "src": "379:81:20", + "statements": [ + { + "nativeSrc": "389:65:20", + "nodeType": "YulAssignment", + "src": "389:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "404:5:20", + "nodeType": "YulIdentifier", + "src": "404:5:20" + }, + { + "kind": "number", + "nativeSrc": "411:42:20", + "nodeType": "YulLiteral", + "src": "411:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "400:3:20", + "nodeType": "YulIdentifier", + "src": "400:3:20" + }, + "nativeSrc": "400:54:20", + "nodeType": "YulFunctionCall", + "src": "400:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "334:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:126:20" + }, + { + "body": { + "nativeSrc": "511:51:20", + "nodeType": "YulBlock", + "src": "511:51:20", + "statements": [ + { + "nativeSrc": "521:35:20", + "nodeType": "YulAssignment", + "src": "521:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "550:5:20", + "nodeType": "YulIdentifier", + "src": "550:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "532:17:20", + "nodeType": "YulIdentifier", + "src": "532:17:20" + }, + "nativeSrc": "532:24:20", + "nodeType": "YulFunctionCall", + "src": "532:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "521:7:20", + "nodeType": "YulIdentifier", + "src": "521:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "466:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "493:5:20", + "nodeType": "YulTypedName", + "src": "493:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "503:7:20", + "nodeType": "YulTypedName", + "src": "503:7:20", + "type": "" + } + ], + "src": "466:96:20" + }, + { + "body": { + "nativeSrc": "611:79:20", + "nodeType": "YulBlock", + "src": "611:79:20", + "statements": [ + { + "body": { + "nativeSrc": "668:16:20", + "nodeType": "YulBlock", + "src": "668:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "677:1:20", + "nodeType": "YulLiteral", + "src": "677:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "680:1:20", + "nodeType": "YulLiteral", + "src": "680:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "670:6:20", + "nodeType": "YulIdentifier", + "src": "670:6:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulFunctionCall", + "src": "670:12:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulExpressionStatement", + "src": "670:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "634:5:20", + "nodeType": "YulIdentifier", + "src": "634:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "659:5:20", + "nodeType": "YulIdentifier", + "src": "659:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "641:17:20", + "nodeType": "YulIdentifier", + "src": "641:17:20" + }, + "nativeSrc": "641:24:20", + "nodeType": "YulFunctionCall", + "src": "641:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "631:2:20", + "nodeType": "YulIdentifier", + "src": "631:2:20" + }, + "nativeSrc": "631:35:20", + "nodeType": "YulFunctionCall", + "src": "631:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "624:6:20", + "nodeType": "YulIdentifier", + "src": "624:6:20" + }, + "nativeSrc": "624:43:20", + "nodeType": "YulFunctionCall", + "src": "624:43:20" + }, + "nativeSrc": "621:63:20", + "nodeType": "YulIf", + "src": "621:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "568:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "604:5:20", + "nodeType": "YulTypedName", + "src": "604:5:20", + "type": "" + } + ], + "src": "568:122:20" + }, + { + "body": { + "nativeSrc": "759:80:20", + "nodeType": "YulBlock", + "src": "759:80:20", + "statements": [ + { + "nativeSrc": "769:22:20", + "nodeType": "YulAssignment", + "src": "769:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "784:6:20", + "nodeType": "YulIdentifier", + "src": "784:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "778:5:20", + "nodeType": "YulIdentifier", + "src": "778:5:20" + }, + "nativeSrc": "778:13:20", + "nodeType": "YulFunctionCall", + "src": "778:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "769:5:20", + "nodeType": "YulIdentifier", + "src": "769:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "827:5:20", + "nodeType": "YulIdentifier", + "src": "827:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "800:26:20", + "nodeType": "YulIdentifier", + "src": "800:26:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulFunctionCall", + "src": "800:33:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulExpressionStatement", + "src": "800:33:20" + } + ] + }, + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "696:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "737:6:20", + "nodeType": "YulTypedName", + "src": "737:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "745:3:20", + "nodeType": "YulTypedName", + "src": "745:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "753:5:20", + "nodeType": "YulTypedName", + "src": "753:5:20", + "type": "" + } + ], + "src": "696:143:20" + }, + { + "body": { + "nativeSrc": "934:28:20", + "nodeType": "YulBlock", + "src": "934:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "951:1:20", + "nodeType": "YulLiteral", + "src": "951:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "954:1:20", + "nodeType": "YulLiteral", + "src": "954:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "944:6:20", + "nodeType": "YulIdentifier", + "src": "944:6:20" + }, + "nativeSrc": "944:12:20", + "nodeType": "YulFunctionCall", + "src": "944:12:20" + }, + "nativeSrc": "944:12:20", + "nodeType": "YulExpressionStatement", + "src": "944:12:20" + } + ] + }, + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "845:117:20", + "nodeType": "YulFunctionDefinition", + "src": "845:117:20" + }, + { + "body": { + "nativeSrc": "1057:28:20", + "nodeType": "YulBlock", + "src": "1057:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1074:1:20", + "nodeType": "YulLiteral", + "src": "1074:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1077:1:20", + "nodeType": "YulLiteral", + "src": "1077:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1067:6:20", + "nodeType": "YulIdentifier", + "src": "1067:6:20" + }, + "nativeSrc": "1067:12:20", + "nodeType": "YulFunctionCall", + "src": "1067:12:20" + }, + "nativeSrc": "1067:12:20", + "nodeType": "YulExpressionStatement", + "src": "1067:12:20" + } + ] + }, + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "968:117:20", + "nodeType": "YulFunctionDefinition", + "src": "968:117:20" + }, + { + "body": { + "nativeSrc": "1139:54:20", + "nodeType": "YulBlock", + "src": "1139:54:20", + "statements": [ + { + "nativeSrc": "1149:38:20", + "nodeType": "YulAssignment", + "src": "1149:38:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1167:5:20", + "nodeType": "YulIdentifier", + "src": "1167:5:20" + }, + { + "kind": "number", + "nativeSrc": "1174:2:20", + "nodeType": "YulLiteral", + "src": "1174:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1163:3:20", + "nodeType": "YulIdentifier", + "src": "1163:3:20" + }, + "nativeSrc": "1163:14:20", + "nodeType": "YulFunctionCall", + "src": "1163:14:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1183:2:20", + "nodeType": "YulLiteral", + "src": "1183:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "1179:3:20", + "nodeType": "YulIdentifier", + "src": "1179:3:20" + }, + "nativeSrc": "1179:7:20", + "nodeType": "YulFunctionCall", + "src": "1179:7:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "1159:3:20", + "nodeType": "YulIdentifier", + "src": "1159:3:20" + }, + "nativeSrc": "1159:28:20", + "nodeType": "YulFunctionCall", + "src": "1159:28:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "1149:6:20", + "nodeType": "YulIdentifier", + "src": "1149:6:20" + } + ] + } + ] + }, + "name": "round_up_to_mul_of_32", + "nativeSrc": "1091:102:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1122:5:20", + "nodeType": "YulTypedName", + "src": "1122:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "1132:6:20", + "nodeType": "YulTypedName", + "src": "1132:6:20", + "type": "" + } + ], + "src": "1091:102:20" + }, + { + "body": { + "nativeSrc": "1227:152:20", + "nodeType": "YulBlock", + "src": "1227:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1244:1:20", + "nodeType": "YulLiteral", + "src": "1244:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1247:77:20", + "nodeType": "YulLiteral", + "src": "1247:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1237:6:20", + "nodeType": "YulIdentifier", + "src": "1237:6:20" + }, + "nativeSrc": "1237:88:20", + "nodeType": "YulFunctionCall", + "src": "1237:88:20" + }, + "nativeSrc": "1237:88:20", + "nodeType": "YulExpressionStatement", + "src": "1237:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1341:1:20", + "nodeType": "YulLiteral", + "src": "1341:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "1344:4:20", + "nodeType": "YulLiteral", + "src": "1344:4:20", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1334:6:20", + "nodeType": "YulIdentifier", + "src": "1334:6:20" + }, + "nativeSrc": "1334:15:20", + "nodeType": "YulFunctionCall", + "src": "1334:15:20" + }, + "nativeSrc": "1334:15:20", + "nodeType": "YulExpressionStatement", + "src": "1334:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1365:1:20", + "nodeType": "YulLiteral", + "src": "1365:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1368:4:20", + "nodeType": "YulLiteral", + "src": "1368:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1358:6:20", + "nodeType": "YulIdentifier", + "src": "1358:6:20" + }, + "nativeSrc": "1358:15:20", + "nodeType": "YulFunctionCall", + "src": "1358:15:20" + }, + "nativeSrc": "1358:15:20", + "nodeType": "YulExpressionStatement", + "src": "1358:15:20" + } + ] + }, + "name": "panic_error_0x41", + "nativeSrc": "1199:180:20", + "nodeType": "YulFunctionDefinition", + "src": "1199:180:20" + }, + { + "body": { + "nativeSrc": "1428:238:20", + "nodeType": "YulBlock", + "src": "1428:238:20", + "statements": [ + { + "nativeSrc": "1438:58:20", + "nodeType": "YulVariableDeclaration", + "src": "1438:58:20", + "value": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "1460:6:20", + "nodeType": "YulIdentifier", + "src": "1460:6:20" + }, + { + "arguments": [ + { + "name": "size", + "nativeSrc": "1490:4:20", + "nodeType": "YulIdentifier", + "src": "1490:4:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "1468:21:20", + "nodeType": "YulIdentifier", + "src": "1468:21:20" + }, + "nativeSrc": "1468:27:20", + "nodeType": "YulFunctionCall", + "src": "1468:27:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1456:3:20", + "nodeType": "YulIdentifier", + "src": "1456:3:20" + }, + "nativeSrc": "1456:40:20", + "nodeType": "YulFunctionCall", + "src": "1456:40:20" + }, + "variables": [ + { + "name": "newFreePtr", + "nativeSrc": "1442:10:20", + "nodeType": "YulTypedName", + "src": "1442:10:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "1607:22:20", + "nodeType": "YulBlock", + "src": "1607:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "1609:16:20", + "nodeType": "YulIdentifier", + "src": "1609:16:20" + }, + "nativeSrc": "1609:18:20", + "nodeType": "YulFunctionCall", + "src": "1609:18:20" + }, + "nativeSrc": "1609:18:20", + "nodeType": "YulExpressionStatement", + "src": "1609:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "1550:10:20", + "nodeType": "YulIdentifier", + "src": "1550:10:20" + }, + { + "kind": "number", + "nativeSrc": "1562:18:20", + "nodeType": "YulLiteral", + "src": "1562:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "1547:2:20", + "nodeType": "YulIdentifier", + "src": "1547:2:20" + }, + "nativeSrc": "1547:34:20", + "nodeType": "YulFunctionCall", + "src": "1547:34:20" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "1586:10:20", + "nodeType": "YulIdentifier", + "src": "1586:10:20" + }, + { + "name": "memPtr", + "nativeSrc": "1598:6:20", + "nodeType": "YulIdentifier", + "src": "1598:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "1583:2:20", + "nodeType": "YulIdentifier", + "src": "1583:2:20" + }, + "nativeSrc": "1583:22:20", + "nodeType": "YulFunctionCall", + "src": "1583:22:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "1544:2:20", + "nodeType": "YulIdentifier", + "src": "1544:2:20" + }, + "nativeSrc": "1544:62:20", + "nodeType": "YulFunctionCall", + "src": "1544:62:20" + }, + "nativeSrc": "1541:88:20", + "nodeType": "YulIf", + "src": "1541:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1645:2:20", + "nodeType": "YulLiteral", + "src": "1645:2:20", + "type": "", + "value": "64" + }, + { + "name": "newFreePtr", + "nativeSrc": "1649:10:20", + "nodeType": "YulIdentifier", + "src": "1649:10:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1638:6:20", + "nodeType": "YulIdentifier", + "src": "1638:6:20" + }, + "nativeSrc": "1638:22:20", + "nodeType": "YulFunctionCall", + "src": "1638:22:20" + }, + "nativeSrc": "1638:22:20", + "nodeType": "YulExpressionStatement", + "src": "1638:22:20" + } + ] + }, + "name": "finalize_allocation", + "nativeSrc": "1385:281:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "1414:6:20", + "nodeType": "YulTypedName", + "src": "1414:6:20", + "type": "" + }, + { + "name": "size", + "nativeSrc": "1422:4:20", + "nodeType": "YulTypedName", + "src": "1422:4:20", + "type": "" + } + ], + "src": "1385:281:20" + }, + { + "body": { + "nativeSrc": "1713:88:20", + "nodeType": "YulBlock", + "src": "1713:88:20", + "statements": [ + { + "nativeSrc": "1723:30:20", + "nodeType": "YulAssignment", + "src": "1723:30:20", + "value": { + "arguments": [], + "functionName": { + "name": "allocate_unbounded", + "nativeSrc": "1733:18:20", + "nodeType": "YulIdentifier", + "src": "1733:18:20" + }, + "nativeSrc": "1733:20:20", + "nodeType": "YulFunctionCall", + "src": "1733:20:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "1723:6:20", + "nodeType": "YulIdentifier", + "src": "1723:6:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "1782:6:20", + "nodeType": "YulIdentifier", + "src": "1782:6:20" + }, + { + "name": "size", + "nativeSrc": "1790:4:20", + "nodeType": "YulIdentifier", + "src": "1790:4:20" + } + ], + "functionName": { + "name": "finalize_allocation", + "nativeSrc": "1762:19:20", + "nodeType": "YulIdentifier", + "src": "1762:19:20" + }, + "nativeSrc": "1762:33:20", + "nodeType": "YulFunctionCall", + "src": "1762:33:20" + }, + "nativeSrc": "1762:33:20", + "nodeType": "YulExpressionStatement", + "src": "1762:33:20" + } + ] + }, + "name": "allocate_memory", + "nativeSrc": "1672:129:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "size", + "nativeSrc": "1697:4:20", + "nodeType": "YulTypedName", + "src": "1697:4:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "1706:6:20", + "nodeType": "YulTypedName", + "src": "1706:6:20", + "type": "" + } + ], + "src": "1672:129:20" + }, + { + "body": { + "nativeSrc": "1873:241:20", + "nodeType": "YulBlock", + "src": "1873:241:20", + "statements": [ + { + "body": { + "nativeSrc": "1978:22:20", + "nodeType": "YulBlock", + "src": "1978:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "1980:16:20", + "nodeType": "YulIdentifier", + "src": "1980:16:20" + }, + "nativeSrc": "1980:18:20", + "nodeType": "YulFunctionCall", + "src": "1980:18:20" + }, + "nativeSrc": "1980:18:20", + "nodeType": "YulExpressionStatement", + "src": "1980:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nativeSrc": "1950:6:20", + "nodeType": "YulIdentifier", + "src": "1950:6:20" + }, + { + "kind": "number", + "nativeSrc": "1958:18:20", + "nodeType": "YulLiteral", + "src": "1958:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "1947:2:20", + "nodeType": "YulIdentifier", + "src": "1947:2:20" + }, + "nativeSrc": "1947:30:20", + "nodeType": "YulFunctionCall", + "src": "1947:30:20" + }, + "nativeSrc": "1944:56:20", + "nodeType": "YulIf", + "src": "1944:56:20" + }, + { + "nativeSrc": "2010:37:20", + "nodeType": "YulAssignment", + "src": "2010:37:20", + "value": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2040:6:20", + "nodeType": "YulIdentifier", + "src": "2040:6:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "2018:21:20", + "nodeType": "YulIdentifier", + "src": "2018:21:20" + }, + "nativeSrc": "2018:29:20", + "nodeType": "YulFunctionCall", + "src": "2018:29:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2010:4:20", + "nodeType": "YulIdentifier", + "src": "2010:4:20" + } + ] + }, + { + "nativeSrc": "2084:23:20", + "nodeType": "YulAssignment", + "src": "2084:23:20", + "value": { + "arguments": [ + { + "name": "size", + "nativeSrc": "2096:4:20", + "nodeType": "YulIdentifier", + "src": "2096:4:20" + }, + { + "kind": "number", + "nativeSrc": "2102:4:20", + "nodeType": "YulLiteral", + "src": "2102:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2092:3:20", + "nodeType": "YulIdentifier", + "src": "2092:3:20" + }, + "nativeSrc": "2092:15:20", + "nodeType": "YulFunctionCall", + "src": "2092:15:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2084:4:20", + "nodeType": "YulIdentifier", + "src": "2084:4:20" + } + ] + } + ] + }, + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "1807:307:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "length", + "nativeSrc": "1857:6:20", + "nodeType": "YulTypedName", + "src": "1857:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "size", + "nativeSrc": "1868:4:20", + "nodeType": "YulTypedName", + "src": "1868:4:20", + "type": "" + } + ], + "src": "1807:307:20" + }, + { + "body": { + "nativeSrc": "2182:186:20", + "nodeType": "YulBlock", + "src": "2182:186:20", + "statements": [ + { + "nativeSrc": "2193:10:20", + "nodeType": "YulVariableDeclaration", + "src": "2193:10:20", + "value": { + "kind": "number", + "nativeSrc": "2202:1:20", + "nodeType": "YulLiteral", + "src": "2202:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nativeSrc": "2197:1:20", + "nodeType": "YulTypedName", + "src": "2197:1:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "2262:63:20", + "nodeType": "YulBlock", + "src": "2262:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "2287:3:20", + "nodeType": "YulIdentifier", + "src": "2287:3:20" + }, + { + "name": "i", + "nativeSrc": "2292:1:20", + "nodeType": "YulIdentifier", + "src": "2292:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2283:3:20", + "nodeType": "YulIdentifier", + "src": "2283:3:20" + }, + "nativeSrc": "2283:11:20", + "nodeType": "YulFunctionCall", + "src": "2283:11:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "2306:3:20", + "nodeType": "YulIdentifier", + "src": "2306:3:20" + }, + { + "name": "i", + "nativeSrc": "2311:1:20", + "nodeType": "YulIdentifier", + "src": "2311:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2302:3:20", + "nodeType": "YulIdentifier", + "src": "2302:3:20" + }, + "nativeSrc": "2302:11:20", + "nodeType": "YulFunctionCall", + "src": "2302:11:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "2296:5:20", + "nodeType": "YulIdentifier", + "src": "2296:5:20" + }, + "nativeSrc": "2296:18:20", + "nodeType": "YulFunctionCall", + "src": "2296:18:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2276:6:20", + "nodeType": "YulIdentifier", + "src": "2276:6:20" + }, + "nativeSrc": "2276:39:20", + "nodeType": "YulFunctionCall", + "src": "2276:39:20" + }, + "nativeSrc": "2276:39:20", + "nodeType": "YulExpressionStatement", + "src": "2276:39:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nativeSrc": "2223:1:20", + "nodeType": "YulIdentifier", + "src": "2223:1:20" + }, + { + "name": "length", + "nativeSrc": "2226:6:20", + "nodeType": "YulIdentifier", + "src": "2226:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "2220:2:20", + "nodeType": "YulIdentifier", + "src": "2220:2:20" + }, + "nativeSrc": "2220:13:20", + "nodeType": "YulFunctionCall", + "src": "2220:13:20" + }, + "nativeSrc": "2212:113:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "2234:19:20", + "nodeType": "YulBlock", + "src": "2234:19:20", + "statements": [ + { + "nativeSrc": "2236:15:20", + "nodeType": "YulAssignment", + "src": "2236:15:20", + "value": { + "arguments": [ + { + "name": "i", + "nativeSrc": "2245:1:20", + "nodeType": "YulIdentifier", + "src": "2245:1:20" + }, + { + "kind": "number", + "nativeSrc": "2248:2:20", + "nodeType": "YulLiteral", + "src": "2248:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2241:3:20", + "nodeType": "YulIdentifier", + "src": "2241:3:20" + }, + "nativeSrc": "2241:10:20", + "nodeType": "YulFunctionCall", + "src": "2241:10:20" + }, + "variableNames": [ + { + "name": "i", + "nativeSrc": "2236:1:20", + "nodeType": "YulIdentifier", + "src": "2236:1:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "2216:3:20", + "nodeType": "YulBlock", + "src": "2216:3:20", + "statements": [] + }, + "src": "2212:113:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "2345:3:20", + "nodeType": "YulIdentifier", + "src": "2345:3:20" + }, + { + "name": "length", + "nativeSrc": "2350:6:20", + "nodeType": "YulIdentifier", + "src": "2350:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2341:3:20", + "nodeType": "YulIdentifier", + "src": "2341:3:20" + }, + "nativeSrc": "2341:16:20", + "nodeType": "YulFunctionCall", + "src": "2341:16:20" + }, + { + "kind": "number", + "nativeSrc": "2359:1:20", + "nodeType": "YulLiteral", + "src": "2359:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2334:6:20", + "nodeType": "YulIdentifier", + "src": "2334:6:20" + }, + "nativeSrc": "2334:27:20", + "nodeType": "YulFunctionCall", + "src": "2334:27:20" + }, + "nativeSrc": "2334:27:20", + "nodeType": "YulExpressionStatement", + "src": "2334:27:20" + } + ] + }, + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "2120:248:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "2164:3:20", + "nodeType": "YulTypedName", + "src": "2164:3:20", + "type": "" + }, + { + "name": "dst", + "nativeSrc": "2169:3:20", + "nodeType": "YulTypedName", + "src": "2169:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2174:6:20", + "nodeType": "YulTypedName", + "src": "2174:6:20", + "type": "" + } + ], + "src": "2120:248:20" + }, + { + "body": { + "nativeSrc": "2468:338:20", + "nodeType": "YulBlock", + "src": "2468:338:20", + "statements": [ + { + "nativeSrc": "2478:74:20", + "nodeType": "YulAssignment", + "src": "2478:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nativeSrc": "2544:6:20", + "nodeType": "YulIdentifier", + "src": "2544:6:20" + } + ], + "functionName": { + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "2503:40:20", + "nodeType": "YulIdentifier", + "src": "2503:40:20" + }, + "nativeSrc": "2503:48:20", + "nodeType": "YulFunctionCall", + "src": "2503:48:20" + } + ], + "functionName": { + "name": "allocate_memory", + "nativeSrc": "2487:15:20", + "nodeType": "YulIdentifier", + "src": "2487:15:20" + }, + "nativeSrc": "2487:65:20", + "nodeType": "YulFunctionCall", + "src": "2487:65:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "2478:5:20", + "nodeType": "YulIdentifier", + "src": "2478:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "array", + "nativeSrc": "2568:5:20", + "nodeType": "YulIdentifier", + "src": "2568:5:20" + }, + { + "name": "length", + "nativeSrc": "2575:6:20", + "nodeType": "YulIdentifier", + "src": "2575:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2561:6:20", + "nodeType": "YulIdentifier", + "src": "2561:6:20" + }, + "nativeSrc": "2561:21:20", + "nodeType": "YulFunctionCall", + "src": "2561:21:20" + }, + "nativeSrc": "2561:21:20", + "nodeType": "YulExpressionStatement", + "src": "2561:21:20" + }, + { + "nativeSrc": "2591:27:20", + "nodeType": "YulVariableDeclaration", + "src": "2591:27:20", + "value": { + "arguments": [ + { + "name": "array", + "nativeSrc": "2606:5:20", + "nodeType": "YulIdentifier", + "src": "2606:5:20" + }, + { + "kind": "number", + "nativeSrc": "2613:4:20", + "nodeType": "YulLiteral", + "src": "2613:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2602:3:20", + "nodeType": "YulIdentifier", + "src": "2602:3:20" + }, + "nativeSrc": "2602:16:20", + "nodeType": "YulFunctionCall", + "src": "2602:16:20" + }, + "variables": [ + { + "name": "dst", + "nativeSrc": "2595:3:20", + "nodeType": "YulTypedName", + "src": "2595:3:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "2656:83:20", + "nodeType": "YulBlock", + "src": "2656:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "2658:77:20", + "nodeType": "YulIdentifier", + "src": "2658:77:20" + }, + "nativeSrc": "2658:79:20", + "nodeType": "YulFunctionCall", + "src": "2658:79:20" + }, + "nativeSrc": "2658:79:20", + "nodeType": "YulExpressionStatement", + "src": "2658:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "2637:3:20", + "nodeType": "YulIdentifier", + "src": "2637:3:20" + }, + { + "name": "length", + "nativeSrc": "2642:6:20", + "nodeType": "YulIdentifier", + "src": "2642:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2633:3:20", + "nodeType": "YulIdentifier", + "src": "2633:3:20" + }, + "nativeSrc": "2633:16:20", + "nodeType": "YulFunctionCall", + "src": "2633:16:20" + }, + { + "name": "end", + "nativeSrc": "2651:3:20", + "nodeType": "YulIdentifier", + "src": "2651:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2630:2:20", + "nodeType": "YulIdentifier", + "src": "2630:2:20" + }, + "nativeSrc": "2630:25:20", + "nodeType": "YulFunctionCall", + "src": "2630:25:20" + }, + "nativeSrc": "2627:112:20", + "nodeType": "YulIf", + "src": "2627:112:20" + }, + { + "expression": { + "arguments": [ + { + "name": "src", + "nativeSrc": "2783:3:20", + "nodeType": "YulIdentifier", + "src": "2783:3:20" + }, + { + "name": "dst", + "nativeSrc": "2788:3:20", + "nodeType": "YulIdentifier", + "src": "2788:3:20" + }, + { + "name": "length", + "nativeSrc": "2793:6:20", + "nodeType": "YulIdentifier", + "src": "2793:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "2748:34:20", + "nodeType": "YulIdentifier", + "src": "2748:34:20" + }, + "nativeSrc": "2748:52:20", + "nodeType": "YulFunctionCall", + "src": "2748:52:20" + }, + "nativeSrc": "2748:52:20", + "nodeType": "YulExpressionStatement", + "src": "2748:52:20" + } + ] + }, + "name": "abi_decode_available_length_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "2374:432:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "2441:3:20", + "nodeType": "YulTypedName", + "src": "2441:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2446:6:20", + "nodeType": "YulTypedName", + "src": "2446:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "2454:3:20", + "nodeType": "YulTypedName", + "src": "2454:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "2462:5:20", + "nodeType": "YulTypedName", + "src": "2462:5:20", + "type": "" + } + ], + "src": "2374:432:20" + }, + { + "body": { + "nativeSrc": "2897:281:20", + "nodeType": "YulBlock", + "src": "2897:281:20", + "statements": [ + { + "body": { + "nativeSrc": "2946:83:20", + "nodeType": "YulBlock", + "src": "2946:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "2948:77:20", + "nodeType": "YulIdentifier", + "src": "2948:77:20" + }, + "nativeSrc": "2948:79:20", + "nodeType": "YulFunctionCall", + "src": "2948:79:20" + }, + "nativeSrc": "2948:79:20", + "nodeType": "YulExpressionStatement", + "src": "2948:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2925:6:20", + "nodeType": "YulIdentifier", + "src": "2925:6:20" + }, + { + "kind": "number", + "nativeSrc": "2933:4:20", + "nodeType": "YulLiteral", + "src": "2933:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2921:3:20", + "nodeType": "YulIdentifier", + "src": "2921:3:20" + }, + "nativeSrc": "2921:17:20", + "nodeType": "YulFunctionCall", + "src": "2921:17:20" + }, + { + "name": "end", + "nativeSrc": "2940:3:20", + "nodeType": "YulIdentifier", + "src": "2940:3:20" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "2917:3:20", + "nodeType": "YulIdentifier", + "src": "2917:3:20" + }, + "nativeSrc": "2917:27:20", + "nodeType": "YulFunctionCall", + "src": "2917:27:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "2910:6:20", + "nodeType": "YulIdentifier", + "src": "2910:6:20" + }, + "nativeSrc": "2910:35:20", + "nodeType": "YulFunctionCall", + "src": "2910:35:20" + }, + "nativeSrc": "2907:122:20", + "nodeType": "YulIf", + "src": "2907:122:20" + }, + { + "nativeSrc": "3038:27:20", + "nodeType": "YulVariableDeclaration", + "src": "3038:27:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3058:6:20", + "nodeType": "YulIdentifier", + "src": "3058:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "3052:5:20", + "nodeType": "YulIdentifier", + "src": "3052:5:20" + }, + "nativeSrc": "3052:13:20", + "nodeType": "YulFunctionCall", + "src": "3052:13:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "3042:6:20", + "nodeType": "YulTypedName", + "src": "3042:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3074:98:20", + "nodeType": "YulAssignment", + "src": "3074:98:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3145:6:20", + "nodeType": "YulIdentifier", + "src": "3145:6:20" + }, + { + "kind": "number", + "nativeSrc": "3153:4:20", + "nodeType": "YulLiteral", + "src": "3153:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3141:3:20", + "nodeType": "YulIdentifier", + "src": "3141:3:20" + }, + "nativeSrc": "3141:17:20", + "nodeType": "YulFunctionCall", + "src": "3141:17:20" + }, + { + "name": "length", + "nativeSrc": "3160:6:20", + "nodeType": "YulIdentifier", + "src": "3160:6:20" + }, + { + "name": "end", + "nativeSrc": "3168:3:20", + "nodeType": "YulIdentifier", + "src": "3168:3:20" + } + ], + "functionName": { + "name": "abi_decode_available_length_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "3083:57:20", + "nodeType": "YulIdentifier", + "src": "3083:57:20" + }, + "nativeSrc": "3083:89:20", + "nodeType": "YulFunctionCall", + "src": "3083:89:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "3074:5:20", + "nodeType": "YulIdentifier", + "src": "3074:5:20" + } + ] + } + ] + }, + "name": "abi_decode_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "2825:353:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "2875:6:20", + "nodeType": "YulTypedName", + "src": "2875:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "2883:3:20", + "nodeType": "YulTypedName", + "src": "2883:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "2891:5:20", + "nodeType": "YulTypedName", + "src": "2891:5:20", + "type": "" + } + ], + "src": "2825:353:20" + }, + { + "body": { + "nativeSrc": "3304:714:20", + "nodeType": "YulBlock", + "src": "3304:714:20", + "statements": [ + { + "body": { + "nativeSrc": "3350:83:20", + "nodeType": "YulBlock", + "src": "3350:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "3352:77:20", + "nodeType": "YulIdentifier", + "src": "3352:77:20" + }, + "nativeSrc": "3352:79:20", + "nodeType": "YulFunctionCall", + "src": "3352:79:20" + }, + "nativeSrc": "3352:79:20", + "nodeType": "YulExpressionStatement", + "src": "3352:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "3325:7:20", + "nodeType": "YulIdentifier", + "src": "3325:7:20" + }, + { + "name": "headStart", + "nativeSrc": "3334:9:20", + "nodeType": "YulIdentifier", + "src": "3334:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3321:3:20", + "nodeType": "YulIdentifier", + "src": "3321:3:20" + }, + "nativeSrc": "3321:23:20", + "nodeType": "YulFunctionCall", + "src": "3321:23:20" + }, + { + "kind": "number", + "nativeSrc": "3346:2:20", + "nodeType": "YulLiteral", + "src": "3346:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "3317:3:20", + "nodeType": "YulIdentifier", + "src": "3317:3:20" + }, + "nativeSrc": "3317:32:20", + "nodeType": "YulFunctionCall", + "src": "3317:32:20" + }, + "nativeSrc": "3314:119:20", + "nodeType": "YulIf", + "src": "3314:119:20" + }, + { + "nativeSrc": "3443:128:20", + "nodeType": "YulBlock", + "src": "3443:128:20", + "statements": [ + { + "nativeSrc": "3458:15:20", + "nodeType": "YulVariableDeclaration", + "src": "3458:15:20", + "value": { + "kind": "number", + "nativeSrc": "3472:1:20", + "nodeType": "YulLiteral", + "src": "3472:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3462:6:20", + "nodeType": "YulTypedName", + "src": "3462:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3487:74:20", + "nodeType": "YulAssignment", + "src": "3487:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3533:9:20", + "nodeType": "YulIdentifier", + "src": "3533:9:20" + }, + { + "name": "offset", + "nativeSrc": "3544:6:20", + "nodeType": "YulIdentifier", + "src": "3544:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3529:3:20", + "nodeType": "YulIdentifier", + "src": "3529:3:20" + }, + "nativeSrc": "3529:22:20", + "nodeType": "YulFunctionCall", + "src": "3529:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3553:7:20", + "nodeType": "YulIdentifier", + "src": "3553:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "3497:31:20", + "nodeType": "YulIdentifier", + "src": "3497:31:20" + }, + "nativeSrc": "3497:64:20", + "nodeType": "YulFunctionCall", + "src": "3497:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "3487:6:20", + "nodeType": "YulIdentifier", + "src": "3487:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3581:129:20", + "nodeType": "YulBlock", + "src": "3581:129:20", + "statements": [ + { + "nativeSrc": "3596:16:20", + "nodeType": "YulVariableDeclaration", + "src": "3596:16:20", + "value": { + "kind": "number", + "nativeSrc": "3610:2:20", + "nodeType": "YulLiteral", + "src": "3610:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3600:6:20", + "nodeType": "YulTypedName", + "src": "3600:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3626:74:20", + "nodeType": "YulAssignment", + "src": "3626:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3672:9:20", + "nodeType": "YulIdentifier", + "src": "3672:9:20" + }, + { + "name": "offset", + "nativeSrc": "3683:6:20", + "nodeType": "YulIdentifier", + "src": "3683:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3668:3:20", + "nodeType": "YulIdentifier", + "src": "3668:3:20" + }, + "nativeSrc": "3668:22:20", + "nodeType": "YulFunctionCall", + "src": "3668:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3692:7:20", + "nodeType": "YulIdentifier", + "src": "3692:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "3636:31:20", + "nodeType": "YulIdentifier", + "src": "3636:31:20" + }, + "nativeSrc": "3636:64:20", + "nodeType": "YulFunctionCall", + "src": "3636:64:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "3626:6:20", + "nodeType": "YulIdentifier", + "src": "3626:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3720:291:20", + "nodeType": "YulBlock", + "src": "3720:291:20", + "statements": [ + { + "nativeSrc": "3735:39:20", + "nodeType": "YulVariableDeclaration", + "src": "3735:39:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3759:9:20", + "nodeType": "YulIdentifier", + "src": "3759:9:20" + }, + { + "kind": "number", + "nativeSrc": "3770:2:20", + "nodeType": "YulLiteral", + "src": "3770:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3755:3:20", + "nodeType": "YulIdentifier", + "src": "3755:3:20" + }, + "nativeSrc": "3755:18:20", + "nodeType": "YulFunctionCall", + "src": "3755:18:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "3749:5:20", + "nodeType": "YulIdentifier", + "src": "3749:5:20" + }, + "nativeSrc": "3749:25:20", + "nodeType": "YulFunctionCall", + "src": "3749:25:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3739:6:20", + "nodeType": "YulTypedName", + "src": "3739:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "3821:83:20", + "nodeType": "YulBlock", + "src": "3821:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "3823:77:20", + "nodeType": "YulIdentifier", + "src": "3823:77:20" + }, + "nativeSrc": "3823:79:20", + "nodeType": "YulFunctionCall", + "src": "3823:79:20" + }, + "nativeSrc": "3823:79:20", + "nodeType": "YulExpressionStatement", + "src": "3823:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3793:6:20", + "nodeType": "YulIdentifier", + "src": "3793:6:20" + }, + { + "kind": "number", + "nativeSrc": "3801:18:20", + "nodeType": "YulLiteral", + "src": "3801:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "3790:2:20", + "nodeType": "YulIdentifier", + "src": "3790:2:20" + }, + "nativeSrc": "3790:30:20", + "nodeType": "YulFunctionCall", + "src": "3790:30:20" + }, + "nativeSrc": "3787:117:20", + "nodeType": "YulIf", + "src": "3787:117:20" + }, + { + "nativeSrc": "3918:83:20", + "nodeType": "YulAssignment", + "src": "3918:83:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3973:9:20", + "nodeType": "YulIdentifier", + "src": "3973:9:20" + }, + { + "name": "offset", + "nativeSrc": "3984:6:20", + "nodeType": "YulIdentifier", + "src": "3984:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3969:3:20", + "nodeType": "YulIdentifier", + "src": "3969:3:20" + }, + "nativeSrc": "3969:22:20", + "nodeType": "YulFunctionCall", + "src": "3969:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3993:7:20", + "nodeType": "YulIdentifier", + "src": "3993:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_memory_ptr_fromMemory", + "nativeSrc": "3928:40:20", + "nodeType": "YulIdentifier", + "src": "3928:40:20" + }, + "nativeSrc": "3928:73:20", + "nodeType": "YulFunctionCall", + "src": "3928:73:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "3918:6:20", + "nodeType": "YulIdentifier", + "src": "3918:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_bytes_memory_ptr_fromMemory", + "nativeSrc": "3184:834:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "3258:9:20", + "nodeType": "YulTypedName", + "src": "3258:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "3269:7:20", + "nodeType": "YulTypedName", + "src": "3269:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "3281:6:20", + "nodeType": "YulTypedName", + "src": "3281:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "3289:6:20", + "nodeType": "YulTypedName", + "src": "3289:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "3297:6:20", + "nodeType": "YulTypedName", + "src": "3297:6:20", + "type": "" + } + ], + "src": "3184:834:20" + }, + { + "body": { + "nativeSrc": "4089:53:20", + "nodeType": "YulBlock", + "src": "4089:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4106:3:20", + "nodeType": "YulIdentifier", + "src": "4106:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "4129:5:20", + "nodeType": "YulIdentifier", + "src": "4129:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "4111:17:20", + "nodeType": "YulIdentifier", + "src": "4111:17:20" + }, + "nativeSrc": "4111:24:20", + "nodeType": "YulFunctionCall", + "src": "4111:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "4099:6:20", + "nodeType": "YulIdentifier", + "src": "4099:6:20" + }, + "nativeSrc": "4099:37:20", + "nodeType": "YulFunctionCall", + "src": "4099:37:20" + }, + "nativeSrc": "4099:37:20", + "nodeType": "YulExpressionStatement", + "src": "4099:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4024:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4077:5:20", + "nodeType": "YulTypedName", + "src": "4077:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "4084:3:20", + "nodeType": "YulTypedName", + "src": "4084:3:20", + "type": "" + } + ], + "src": "4024:118:20" + }, + { + "body": { + "nativeSrc": "4246:124:20", + "nodeType": "YulBlock", + "src": "4246:124:20", + "statements": [ + { + "nativeSrc": "4256:26:20", + "nodeType": "YulAssignment", + "src": "4256:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4268:9:20", + "nodeType": "YulIdentifier", + "src": "4268:9:20" + }, + { + "kind": "number", + "nativeSrc": "4279:2:20", + "nodeType": "YulLiteral", + "src": "4279:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4264:3:20", + "nodeType": "YulIdentifier", + "src": "4264:3:20" + }, + "nativeSrc": "4264:18:20", + "nodeType": "YulFunctionCall", + "src": "4264:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4256:4:20", + "nodeType": "YulIdentifier", + "src": "4256:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "4336:6:20", + "nodeType": "YulIdentifier", + "src": "4336:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4349:9:20", + "nodeType": "YulIdentifier", + "src": "4349:9:20" + }, + { + "kind": "number", + "nativeSrc": "4360:1:20", + "nodeType": "YulLiteral", + "src": "4360:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4345:3:20", + "nodeType": "YulIdentifier", + "src": "4345:3:20" + }, + "nativeSrc": "4345:17:20", + "nodeType": "YulFunctionCall", + "src": "4345:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4292:43:20", + "nodeType": "YulIdentifier", + "src": "4292:43:20" + }, + "nativeSrc": "4292:71:20", + "nodeType": "YulFunctionCall", + "src": "4292:71:20" + }, + "nativeSrc": "4292:71:20", + "nodeType": "YulExpressionStatement", + "src": "4292:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "4148:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4218:9:20", + "nodeType": "YulTypedName", + "src": "4218:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4230:6:20", + "nodeType": "YulTypedName", + "src": "4230:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4241:4:20", + "nodeType": "YulTypedName", + "src": "4241:4:20", + "type": "" + } + ], + "src": "4148:222:20" + }, + { + "body": { + "nativeSrc": "4502:206:20", + "nodeType": "YulBlock", + "src": "4502:206:20", + "statements": [ + { + "nativeSrc": "4512:26:20", + "nodeType": "YulAssignment", + "src": "4512:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4524:9:20", + "nodeType": "YulIdentifier", + "src": "4524:9:20" + }, + { + "kind": "number", + "nativeSrc": "4535:2:20", + "nodeType": "YulLiteral", + "src": "4535:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4520:3:20", + "nodeType": "YulIdentifier", + "src": "4520:3:20" + }, + "nativeSrc": "4520:18:20", + "nodeType": "YulFunctionCall", + "src": "4520:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4512:4:20", + "nodeType": "YulIdentifier", + "src": "4512:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "4592:6:20", + "nodeType": "YulIdentifier", + "src": "4592:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4605:9:20", + "nodeType": "YulIdentifier", + "src": "4605:9:20" + }, + { + "kind": "number", + "nativeSrc": "4616:1:20", + "nodeType": "YulLiteral", + "src": "4616:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4601:3:20", + "nodeType": "YulIdentifier", + "src": "4601:3:20" + }, + "nativeSrc": "4601:17:20", + "nodeType": "YulFunctionCall", + "src": "4601:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4548:43:20", + "nodeType": "YulIdentifier", + "src": "4548:43:20" + }, + "nativeSrc": "4548:71:20", + "nodeType": "YulFunctionCall", + "src": "4548:71:20" + }, + "nativeSrc": "4548:71:20", + "nodeType": "YulExpressionStatement", + "src": "4548:71:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "4673:6:20", + "nodeType": "YulIdentifier", + "src": "4673:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4686:9:20", + "nodeType": "YulIdentifier", + "src": "4686:9:20" + }, + { + "kind": "number", + "nativeSrc": "4697:2:20", + "nodeType": "YulLiteral", + "src": "4697:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4682:3:20", + "nodeType": "YulIdentifier", + "src": "4682:3:20" + }, + "nativeSrc": "4682:18:20", + "nodeType": "YulFunctionCall", + "src": "4682:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4629:43:20", + "nodeType": "YulIdentifier", + "src": "4629:43:20" + }, + "nativeSrc": "4629:72:20", + "nodeType": "YulFunctionCall", + "src": "4629:72:20" + }, + "nativeSrc": "4629:72:20", + "nodeType": "YulExpressionStatement", + "src": "4629:72:20" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed", + "nativeSrc": "4376:332:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4466:9:20", + "nodeType": "YulTypedName", + "src": "4466:9:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "4478:6:20", + "nodeType": "YulTypedName", + "src": "4478:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4486:6:20", + "nodeType": "YulTypedName", + "src": "4486:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4497:4:20", + "nodeType": "YulTypedName", + "src": "4497:4:20", + "type": "" + } + ], + "src": "4376:332:20" + }, + { + "body": { + "nativeSrc": "4772:40:20", + "nodeType": "YulBlock", + "src": "4772:40:20", + "statements": [ + { + "nativeSrc": "4783:22:20", + "nodeType": "YulAssignment", + "src": "4783:22:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "4799:5:20", + "nodeType": "YulIdentifier", + "src": "4799:5:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "4793:5:20", + "nodeType": "YulIdentifier", + "src": "4793:5:20" + }, + "nativeSrc": "4793:12:20", + "nodeType": "YulFunctionCall", + "src": "4793:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "4783:6:20", + "nodeType": "YulIdentifier", + "src": "4783:6:20" + } + ] + } + ] + }, + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "4714:98:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4755:5:20", + "nodeType": "YulTypedName", + "src": "4755:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "4765:6:20", + "nodeType": "YulTypedName", + "src": "4765:6:20", + "type": "" + } + ], + "src": "4714:98:20" + }, + { + "body": { + "nativeSrc": "4931:34:20", + "nodeType": "YulBlock", + "src": "4931:34:20", + "statements": [ + { + "nativeSrc": "4941:18:20", + "nodeType": "YulAssignment", + "src": "4941:18:20", + "value": { + "name": "pos", + "nativeSrc": "4956:3:20", + "nodeType": "YulIdentifier", + "src": "4956:3:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "4941:11:20", + "nodeType": "YulIdentifier", + "src": "4941:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4818:147:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "4903:3:20", + "nodeType": "YulTypedName", + "src": "4903:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "4908:6:20", + "nodeType": "YulTypedName", + "src": "4908:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "4919:11:20", + "nodeType": "YulTypedName", + "src": "4919:11:20", + "type": "" + } + ], + "src": "4818:147:20" + }, + { + "body": { + "nativeSrc": "5079:278:20", + "nodeType": "YulBlock", + "src": "5079:278:20", + "statements": [ + { + "nativeSrc": "5089:52:20", + "nodeType": "YulVariableDeclaration", + "src": "5089:52:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "5135:5:20", + "nodeType": "YulIdentifier", + "src": "5135:5:20" + } + ], + "functionName": { + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "5103:31:20", + "nodeType": "YulIdentifier", + "src": "5103:31:20" + }, + "nativeSrc": "5103:38:20", + "nodeType": "YulFunctionCall", + "src": "5103:38:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "5093:6:20", + "nodeType": "YulTypedName", + "src": "5093:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5150:95:20", + "nodeType": "YulAssignment", + "src": "5150:95:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5233:3:20", + "nodeType": "YulIdentifier", + "src": "5233:3:20" + }, + { + "name": "length", + "nativeSrc": "5238:6:20", + "nodeType": "YulIdentifier", + "src": "5238:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5157:75:20", + "nodeType": "YulIdentifier", + "src": "5157:75:20" + }, + "nativeSrc": "5157:88:20", + "nodeType": "YulFunctionCall", + "src": "5157:88:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5150:3:20", + "nodeType": "YulIdentifier", + "src": "5150:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "5293:5:20", + "nodeType": "YulIdentifier", + "src": "5293:5:20" + }, + { + "kind": "number", + "nativeSrc": "5300:4:20", + "nodeType": "YulLiteral", + "src": "5300:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5289:3:20", + "nodeType": "YulIdentifier", + "src": "5289:3:20" + }, + "nativeSrc": "5289:16:20", + "nodeType": "YulFunctionCall", + "src": "5289:16:20" + }, + { + "name": "pos", + "nativeSrc": "5307:3:20", + "nodeType": "YulIdentifier", + "src": "5307:3:20" + }, + { + "name": "length", + "nativeSrc": "5312:6:20", + "nodeType": "YulIdentifier", + "src": "5312:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "5254:34:20", + "nodeType": "YulIdentifier", + "src": "5254:34:20" + }, + "nativeSrc": "5254:65:20", + "nodeType": "YulFunctionCall", + "src": "5254:65:20" + }, + "nativeSrc": "5254:65:20", + "nodeType": "YulExpressionStatement", + "src": "5254:65:20" + }, + { + "nativeSrc": "5328:23:20", + "nodeType": "YulAssignment", + "src": "5328:23:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5339:3:20", + "nodeType": "YulIdentifier", + "src": "5339:3:20" + }, + { + "name": "length", + "nativeSrc": "5344:6:20", + "nodeType": "YulIdentifier", + "src": "5344:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5335:3:20", + "nodeType": "YulIdentifier", + "src": "5335:3:20" + }, + "nativeSrc": "5335:16:20", + "nodeType": "YulFunctionCall", + "src": "5335:16:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "5328:3:20", + "nodeType": "YulIdentifier", + "src": "5328:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4971:386:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "5060:5:20", + "nodeType": "YulTypedName", + "src": "5060:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "5067:3:20", + "nodeType": "YulTypedName", + "src": "5067:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "5075:3:20", + "nodeType": "YulTypedName", + "src": "5075:3:20", + "type": "" + } + ], + "src": "4971:386:20" + }, + { + "body": { + "nativeSrc": "5497:137:20", + "nodeType": "YulBlock", + "src": "5497:137:20", + "statements": [ + { + "nativeSrc": "5508:100:20", + "nodeType": "YulAssignment", + "src": "5508:100:20", + "value": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "5595:6:20", + "nodeType": "YulIdentifier", + "src": "5595:6:20" + }, + { + "name": "pos", + "nativeSrc": "5604:3:20", + "nodeType": "YulIdentifier", + "src": "5604:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5515:79:20", + "nodeType": "YulIdentifier", + "src": "5515:79:20" + }, + "nativeSrc": "5515:93:20", + "nodeType": "YulFunctionCall", + "src": "5515:93:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5508:3:20", + "nodeType": "YulIdentifier", + "src": "5508:3:20" + } + ] + }, + { + "nativeSrc": "5618:10:20", + "nodeType": "YulAssignment", + "src": "5618:10:20", + "value": { + "name": "pos", + "nativeSrc": "5625:3:20", + "nodeType": "YulIdentifier", + "src": "5625:3:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "5618:3:20", + "nodeType": "YulIdentifier", + "src": "5618:3:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nativeSrc": "5363:271:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "5476:3:20", + "nodeType": "YulTypedName", + "src": "5476:3:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "5482:6:20", + "nodeType": "YulTypedName", + "src": "5482:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "5493:3:20", + "nodeType": "YulTypedName", + "src": "5493:3:20", + "type": "" + } + ], + "src": "5363:271:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\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 allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_bytes_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n\n }\n\n function abi_decode_available_length_t_bytes_memory_ptr_fromMemory(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_bytes_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_memory_to_memory_with_cleanup(src, dst, length)\n }\n\n // bytes\n function abi_decode_t_bytes_memory_ptr_fromMemory(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := mload(offset)\n array := abi_decode_available_length_t_bytes_memory_ptr_fromMemory(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_addresst_addresst_bytes_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := mload(add(headStart, 64))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value2 := abi_decode_t_bytes_memory_ptr_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_address_to_t_address_fromStack(value1, add(headStart, 32))\n\n }\n\n function array_length_t_bytes_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_bytes_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value0) -> end {\n\n pos := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n end := pos\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60a0604052604051611ae5380380611ae58339818101604052810190610025919061074f565b828161003782826100c460201b60201c565b5050816040516100469061056f565b61005091906107cd565b604051809103906000f08015801561006c573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506100bc6100b161014960201b60201c565b61015360201b60201c565b50505061086f565b6100d3826101ab60201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a260008151111561013657610130828261027e60201b60201c565b50610145565b61014461030860201b60201c565b5b5050565b6000608051905090565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61018261034560201b60201c565b826040516101919291906107e8565b60405180910390a16101a8816103a260201b60201c565b50565b60008173ffffffffffffffffffffffffffffffffffffffff163b0361020757806040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526004016101fe91906107cd565b60405180910390fd5b8061023a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61048b60201b60201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000808473ffffffffffffffffffffffffffffffffffffffff16846040516102a89190610858565b600060405180830381855af49150503d80600081146102e3576040519150601f19603f3d011682016040523d82523d6000602084013e6102e8565b606091505b50915091506102fe85838361049560201b60201c565b9250505092915050565b6000341115610343576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60006103797fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61048b60201b60201c565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036104145760006040517f62e77ba200000000000000000000000000000000000000000000000000000000815260040161040b91906107cd565b60405180910390fd5b806104477fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b61048b60201b60201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000819050919050565b6060826104b0576104ab8261052a60201b60201c565b610522565b600082511480156104d8575060008473ffffffffffffffffffffffffffffffffffffffff163b145b1561051a57836040517f9996b31500000000000000000000000000000000000000000000000000000000815260040161051191906107cd565b60405180910390fd5b819050610523565b5b9392505050565b60008151111561053d5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a2b806110ba83390190565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105bb82610590565b9050919050565b6105cb816105b0565b81146105d657600080fd5b50565b6000815190506105e8816105c2565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610641826105f8565b810181811067ffffffffffffffff821117156106605761065f610609565b5b80604052505050565b600061067361057c565b905061067f8282610638565b919050565b600067ffffffffffffffff82111561069f5761069e610609565b5b6106a8826105f8565b9050602081019050919050565b60005b838110156106d35780820151818401526020810190506106b8565b60008484015250505050565b60006106f26106ed84610684565b610669565b90508281526020810184848401111561070e5761070d6105f3565b5b6107198482856106b5565b509392505050565b600082601f830112610736576107356105ee565b5b81516107468482602086016106df565b91505092915050565b60008060006060848603121561076857610767610586565b5b6000610776868287016105d9565b9350506020610787868287016105d9565b925050604084015167ffffffffffffffff8111156107a8576107a761058b565b5b6107b486828701610721565b9150509250925092565b6107c7816105b0565b82525050565b60006020820190506107e260008301846107be565b92915050565b60006040820190506107fd60008301856107be565b61080a60208301846107be565b9392505050565b600081519050919050565b600081905092915050565b600061083282610811565b61083c818561081c565b935061084c8185602086016106b5565b80840191505092915050565b60006108648284610827565b915081905092915050565b60805161083061088a600039600061010601526108306000f3fe608060405261000c61000e565b005b610016610102565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036100f757634f1ef28660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166000357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146100ea576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100f261012a565b610100565b6100ff610160565b5b565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000806000366004908092610141939291906104f1565b81019061014e91906106da565b9150915061015c8282610172565b5050565b61017061016b6101e5565b6101f4565b565b61017b8261021a565b8173ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a26000815111156101d8576101d282826102e7565b506101e1565b6101e061036b565b5b5050565b60006101ef6103a8565b905090565b3660008037600080366000845af43d6000803e8060008114610215573d6000f35b3d6000fd5b60008173ffffffffffffffffffffffffffffffffffffffff163b0361027657806040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815260040161026d9190610757565b60405180910390fd5b806102a37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6103ff565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000808473ffffffffffffffffffffffffffffffffffffffff168460405161031191906107e3565b600060405180830381855af49150503d806000811461034c576040519150601f19603f3d011682016040523d82523d6000602084013e610351565b606091505b5091509150610361858383610409565b9250505092915050565b60003411156103a6576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60006103d67f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6103ff565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000819050919050565b60608261041e5761041982610498565b610490565b60008251148015610446575060008473ffffffffffffffffffffffffffffffffffffffff163b145b1561048857836040517f9996b31500000000000000000000000000000000000000000000000000000000815260040161047f9190610757565b60405180910390fd5b819050610491565b5b9392505050565b6000815111156104ab5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604051905090565b600080fd5b600080fd5b60008085851115610505576105046104e7565b5b83861115610516576105156104ec565b5b6001850283019150848603905094509492505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061056182610536565b9050919050565b61057181610556565b811461057c57600080fd5b50565b60008135905061058e81610568565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6105e78261059e565b810181811067ffffffffffffffff82111715610606576106056105af565b5b80604052505050565b60006106196104dd565b905061062582826105de565b919050565b600067ffffffffffffffff821115610645576106446105af565b5b61064e8261059e565b9050602081019050919050565b82818337600083830152505050565b600061067d6106788461062a565b61060f565b90508281526020810184848401111561069957610698610599565b5b6106a484828561065b565b509392505050565b600082601f8301126106c1576106c0610594565b5b81356106d184826020860161066a565b91505092915050565b600080604083850312156106f1576106f061052c565b5b60006106ff8582860161057f565b925050602083013567ffffffffffffffff8111156107205761071f610531565b5b61072c858286016106ac565b9150509250929050565b600061074182610536565b9050919050565b61075181610736565b82525050565b600060208201905061076c6000830184610748565b92915050565b600081519050919050565b600081905092915050565b60005b838110156107a657808201518184015260208101905061078b565b60008484015250505050565b60006107bd82610772565b6107c7818561077d565b93506107d7818560208601610788565b80840191505092915050565b60006107ef82846107b2565b91508190509291505056fea264697066735822122084eee66f637082aaeba4fe604bf5d46830c8fb5c3a38d6b59fb60a44b2f3960f64736f6c634300081b0033608060405234801561001057600080fd5b50604051610a2b380380610a2b833981810160405281019061003291906101e2565b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036100a55760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161009c919061021e565b60405180910390fd5b6100b4816100bb60201b60201c565b5050610239565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101af82610184565b9050919050565b6101bf816101a4565b81146101ca57600080fd5b50565b6000815190506101dc816101b6565b92915050565b6000602082840312156101f8576101f761017f565b5b6000610206848285016101cd565b91505092915050565b610218816101a4565b82525050565b6000602082019050610233600083018461020f565b92915050565b6107e3806102486000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610091578063ad3cb1cc146100ad578063f2fde38b146100d8575b600080fd5b34801561005b57600080fd5b50610064610101565b005b34801561007257600080fd5b5061007b610115565b604051610088919061040c565b60405180910390f35b6100ab60048036038101906100a691906105eb565b61013e565b005b3480156100b957600080fd5b506100c26101b9565b6040516100cf91906106d9565b60405180910390f35b3480156100e457600080fd5b506100ff60048036038101906100fa91906106fb565b6101f2565b005b610109610278565b61011360006102ff565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610146610278565b8273ffffffffffffffffffffffffffffffffffffffff16634f1ef2863484846040518463ffffffff1660e01b815260040161018292919061077d565b6000604051808303818588803b15801561019b57600080fd5b505af11580156101af573d6000803e3d6000fd5b5050505050505050565b6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6101fa610278565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361026c5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610263919061040c565b60405180910390fd5b610275816102ff565b50565b6102806103c3565b73ffffffffffffffffffffffffffffffffffffffff1661029e610115565b73ffffffffffffffffffffffffffffffffffffffff16146102fd576102c16103c3565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016102f4919061040c565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103f6826103cb565b9050919050565b610406816103eb565b82525050565b600060208201905061042160008301846103fd565b92915050565b6000604051905090565b600080fd5b600080fd5b6000610446826103eb565b9050919050565b6104568161043b565b811461046157600080fd5b50565b6000813590506104738161044d565b92915050565b610482816103eb565b811461048d57600080fd5b50565b60008135905061049f81610479565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6104f8826104af565b810181811067ffffffffffffffff82111715610517576105166104c0565b5b80604052505050565b600061052a610427565b905061053682826104ef565b919050565b600067ffffffffffffffff821115610556576105556104c0565b5b61055f826104af565b9050602081019050919050565b82818337600083830152505050565b600061058e6105898461053b565b610520565b9050828152602081018484840111156105aa576105a96104aa565b5b6105b584828561056c565b509392505050565b600082601f8301126105d2576105d16104a5565b5b81356105e284826020860161057b565b91505092915050565b60008060006060848603121561060457610603610431565b5b600061061286828701610464565b935050602061062386828701610490565b925050604084013567ffffffffffffffff81111561064457610643610436565b5b610650868287016105bd565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610694578082015181840152602081019050610679565b60008484015250505050565b60006106ab8261065a565b6106b58185610665565b93506106c5818560208601610676565b6106ce816104af565b840191505092915050565b600060208201905081810360008301526106f381846106a0565b905092915050565b60006020828403121561071157610710610431565b5b600061071f84828501610490565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061074f82610728565b6107598185610733565b9350610769818560208601610676565b610772816104af565b840191505092915050565b600060408201905061079260008301856103fd565b81810360208301526107a48184610744565b9050939250505056fea26469706673582212207baa771409eae5083c71e95f60df546b11a1b6cd507fd487b5af0bc72db119c664736f6c634300081b0033", + "opcodes": "PUSH1 0xA0 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x1AE5 CODESIZE SUB DUP1 PUSH2 0x1AE5 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x25 SWAP2 SWAP1 PUSH2 0x74F JUMP JUMPDEST DUP3 DUP2 PUSH2 0x37 DUP3 DUP3 PUSH2 0xC4 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP DUP2 PUSH1 0x40 MLOAD PUSH2 0x46 SWAP1 PUSH2 0x56F JUMP JUMPDEST PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH2 0x6C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x80 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP PUSH2 0xBC PUSH2 0xB1 PUSH2 0x149 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x153 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP POP PUSH2 0x86F JUMP JUMPDEST PUSH2 0xD3 DUP3 PUSH2 0x1AB PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0x136 JUMPI PUSH2 0x130 DUP3 DUP3 PUSH2 0x27E PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP PUSH2 0x145 JUMP JUMPDEST PUSH2 0x144 PUSH2 0x308 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH32 0x7E644D79422F17C01E4894B5F4F588D331EBFA28653D42AE832DC59E38C9798F PUSH2 0x182 PUSH2 0x345 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP3 PUSH1 0x40 MLOAD PUSH2 0x191 SWAP3 SWAP2 SWAP1 PUSH2 0x7E8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH2 0x1A8 DUP2 PUSH2 0x3A2 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE SUB PUSH2 0x207 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x4C9C8CE300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1FE SWAP2 SWAP1 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x23A PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x48B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD PUSH2 0x2A8 SWAP2 SWAP1 PUSH2 0x858 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x2E3 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x2E8 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x2FE DUP6 DUP4 DUP4 PUSH2 0x495 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLVALUE GT ISZERO PUSH2 0x343 JUMPI PUSH1 0x40 MLOAD PUSH32 0xB398979F00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x379 PUSH32 0xB53127684A568B3173AE13B9F8A6016E243E63B6E8EE1178D6A717850B5D6103 PUSH1 0x0 SHL PUSH2 0x48B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x414 JUMPI PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0x62E77BA200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x40B SWAP2 SWAP1 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x447 PUSH32 0xB53127684A568B3173AE13B9F8A6016E243E63B6E8EE1178D6A717850B5D6103 PUSH1 0x0 SHL PUSH2 0x48B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 DUP3 PUSH2 0x4B0 JUMPI PUSH2 0x4AB DUP3 PUSH2 0x52A PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x522 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD EQ DUP1 ISZERO PUSH2 0x4D8 JUMPI POP PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE EQ JUMPDEST ISZERO PUSH2 0x51A JUMPI DUP4 PUSH1 0x40 MLOAD PUSH32 0x9996B31500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP2 SWAP1 PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 SWAP1 POP PUSH2 0x523 JUMP JUMPDEST JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0x53D JUMPI DUP1 MLOAD DUP1 DUP3 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x1425EA4200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xA2B DUP1 PUSH2 0x10BA DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5BB DUP3 PUSH2 0x590 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x5CB DUP2 PUSH2 0x5B0 JUMP JUMPDEST DUP2 EQ PUSH2 0x5D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x5E8 DUP2 PUSH2 0x5C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP 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 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x641 DUP3 PUSH2 0x5F8 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x660 JUMPI PUSH2 0x65F PUSH2 0x609 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x673 PUSH2 0x57C JUMP JUMPDEST SWAP1 POP PUSH2 0x67F DUP3 DUP3 PUSH2 0x638 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x69F JUMPI PUSH2 0x69E PUSH2 0x609 JUMP JUMPDEST JUMPDEST PUSH2 0x6A8 DUP3 PUSH2 0x5F8 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x6D3 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x6B8 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6F2 PUSH2 0x6ED DUP5 PUSH2 0x684 JUMP JUMPDEST PUSH2 0x669 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x70E JUMPI PUSH2 0x70D PUSH2 0x5F3 JUMP JUMPDEST JUMPDEST PUSH2 0x719 DUP5 DUP3 DUP6 PUSH2 0x6B5 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x736 JUMPI PUSH2 0x735 PUSH2 0x5EE JUMP JUMPDEST JUMPDEST DUP2 MLOAD PUSH2 0x746 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x6DF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x768 JUMPI PUSH2 0x767 PUSH2 0x586 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x776 DUP7 DUP3 DUP8 ADD PUSH2 0x5D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x787 DUP7 DUP3 DUP8 ADD PUSH2 0x5D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7A8 JUMPI PUSH2 0x7A7 PUSH2 0x58B JUMP JUMPDEST JUMPDEST PUSH2 0x7B4 DUP7 DUP3 DUP8 ADD PUSH2 0x721 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH2 0x7C7 DUP2 PUSH2 0x5B0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x7E2 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x7BE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x7FD PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x7BE JUMP JUMPDEST PUSH2 0x80A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x7BE JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x832 DUP3 PUSH2 0x811 JUMP JUMPDEST PUSH2 0x83C DUP2 DUP6 PUSH2 0x81C JUMP JUMPDEST SWAP4 POP PUSH2 0x84C DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x6B5 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x864 DUP3 DUP5 PUSH2 0x827 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH2 0x830 PUSH2 0x88A PUSH1 0x0 CODECOPY PUSH1 0x0 PUSH2 0x106 ADD MSTORE PUSH2 0x830 PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH2 0xC PUSH2 0xE JUMP JUMPDEST STOP JUMPDEST PUSH2 0x16 PUSH2 0x102 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xF7 JUMPI PUSH4 0x4F1EF286 PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x0 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND EQ PUSH2 0xEA JUMPI PUSH1 0x40 MLOAD PUSH32 0xD2B576EC00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xF2 PUSH2 0x12A JUMP JUMPDEST PUSH2 0x100 JUMP JUMPDEST PUSH2 0xFF PUSH2 0x160 JUMP JUMPDEST JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH32 0x0 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 CALLDATASIZE PUSH1 0x4 SWAP1 DUP1 SWAP3 PUSH2 0x141 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x4F1 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x14E SWAP2 SWAP1 PUSH2 0x6DA JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x15C DUP3 DUP3 PUSH2 0x172 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x170 PUSH2 0x16B PUSH2 0x1E5 JUMP JUMPDEST PUSH2 0x1F4 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x17B DUP3 PUSH2 0x21A JUMP JUMPDEST DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0x1D8 JUMPI PUSH2 0x1D2 DUP3 DUP3 PUSH2 0x2E7 JUMP JUMPDEST POP PUSH2 0x1E1 JUMP JUMPDEST PUSH2 0x1E0 PUSH2 0x36B JUMP JUMPDEST JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1EF PUSH2 0x3A8 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x215 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE SUB PUSH2 0x276 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x4C9C8CE300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x26D SWAP2 SWAP1 PUSH2 0x757 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x2A3 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x3FF JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD PUSH2 0x311 SWAP2 SWAP1 PUSH2 0x7E3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x34C JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x351 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x361 DUP6 DUP4 DUP4 PUSH2 0x409 JUMP JUMPDEST SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLVALUE GT ISZERO PUSH2 0x3A6 JUMPI PUSH1 0x40 MLOAD PUSH32 0xB398979F00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D6 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x3FF JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 DUP3 PUSH2 0x41E JUMPI PUSH2 0x419 DUP3 PUSH2 0x498 JUMP JUMPDEST PUSH2 0x490 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD EQ DUP1 ISZERO PUSH2 0x446 JUMPI POP PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE EQ JUMPDEST ISZERO PUSH2 0x488 JUMPI DUP4 PUSH1 0x40 MLOAD PUSH32 0x9996B31500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x47F SWAP2 SWAP1 PUSH2 0x757 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 SWAP1 POP PUSH2 0x491 JUMP JUMPDEST JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0x4AB JUMPI DUP1 MLOAD DUP1 DUP3 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x1425EA4200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP6 DUP6 GT ISZERO PUSH2 0x505 JUMPI PUSH2 0x504 PUSH2 0x4E7 JUMP JUMPDEST JUMPDEST DUP4 DUP7 GT ISZERO PUSH2 0x516 JUMPI PUSH2 0x515 PUSH2 0x4EC JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 MUL DUP4 ADD SWAP2 POP DUP5 DUP7 SUB SWAP1 POP SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x561 DUP3 PUSH2 0x536 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x571 DUP2 PUSH2 0x556 JUMP JUMPDEST DUP2 EQ PUSH2 0x57C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x58E DUP2 PUSH2 0x568 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP 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 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x5E7 DUP3 PUSH2 0x59E JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x606 JUMPI PUSH2 0x605 PUSH2 0x5AF JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x619 PUSH2 0x4DD JUMP JUMPDEST SWAP1 POP PUSH2 0x625 DUP3 DUP3 PUSH2 0x5DE JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x645 JUMPI PUSH2 0x644 PUSH2 0x5AF JUMP JUMPDEST JUMPDEST PUSH2 0x64E DUP3 PUSH2 0x59E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x67D PUSH2 0x678 DUP5 PUSH2 0x62A JUMP JUMPDEST PUSH2 0x60F JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x699 JUMPI PUSH2 0x698 PUSH2 0x599 JUMP JUMPDEST JUMPDEST PUSH2 0x6A4 DUP5 DUP3 DUP6 PUSH2 0x65B JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6C1 JUMPI PUSH2 0x6C0 PUSH2 0x594 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x6D1 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x66A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x6F1 JUMPI PUSH2 0x6F0 PUSH2 0x52C JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x6FF DUP6 DUP3 DUP7 ADD PUSH2 0x57F JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x720 JUMPI PUSH2 0x71F PUSH2 0x531 JUMP JUMPDEST JUMPDEST PUSH2 0x72C DUP6 DUP3 DUP7 ADD PUSH2 0x6AC JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x741 DUP3 PUSH2 0x536 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x751 DUP2 PUSH2 0x736 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x76C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x748 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x7A6 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x78B JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7BD DUP3 PUSH2 0x772 JUMP JUMPDEST PUSH2 0x7C7 DUP2 DUP6 PUSH2 0x77D JUMP JUMPDEST SWAP4 POP PUSH2 0x7D7 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x788 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7EF DUP3 DUP5 PUSH2 0x7B2 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP5 0xEE 0xE6 PUSH16 0x637082AAEBA4FE604BF5D46830C8FB5C GASPRICE CODESIZE 0xD6 0xB5 SWAP16 0xB6 EXP PREVRANDAO 0xB2 RETURN SWAP7 0xF PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xA2B CODESIZE SUB DUP1 PUSH2 0xA2B DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x32 SWAP2 SWAP1 PUSH2 0x1E2 JUMP JUMPDEST DUP1 PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xA5 JUMPI PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9C SWAP2 SWAP1 PUSH2 0x21E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xB4 DUP2 PUSH2 0xBB PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP PUSH2 0x239 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1AF DUP3 PUSH2 0x184 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1BF DUP2 PUSH2 0x1A4 JUMP JUMPDEST DUP2 EQ PUSH2 0x1CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1DC DUP2 PUSH2 0x1B6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1F8 JUMPI PUSH2 0x1F7 PUSH2 0x17F JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x206 DUP5 DUP3 DUP6 ADD PUSH2 0x1CD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x218 DUP2 PUSH2 0x1A4 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x233 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x20F JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x7E3 DUP1 PUSH2 0x248 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x715018A6 EQ PUSH2 0x4F JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x66 JUMPI DUP1 PUSH4 0x9623609D EQ PUSH2 0x91 JUMPI DUP1 PUSH4 0xAD3CB1CC EQ PUSH2 0xAD JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xD8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x64 PUSH2 0x101 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x72 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x7B PUSH2 0x115 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x88 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA6 SWAP2 SWAP1 PUSH2 0x5EB JUMP JUMPDEST PUSH2 0x13E JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC2 PUSH2 0x1B9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x6D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFA SWAP2 SWAP1 PUSH2 0x6FB JUMP JUMPDEST PUSH2 0x1F2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x109 PUSH2 0x278 JUMP JUMPDEST PUSH2 0x113 PUSH1 0x0 PUSH2 0x2FF JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x146 PUSH2 0x278 JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x4F1EF286 CALLVALUE DUP5 DUP5 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x182 SWAP3 SWAP2 SWAP1 PUSH2 0x77D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x19B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1AF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x352E302E30000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 JUMP JUMPDEST PUSH2 0x1FA PUSH2 0x278 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x26C JUMPI PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x263 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x275 DUP2 PUSH2 0x2FF JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x280 PUSH2 0x3C3 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x29E PUSH2 0x115 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x2FD JUMPI PUSH2 0x2C1 PUSH2 0x3C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x118CDAA700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2F4 SWAP2 SWAP1 PUSH2 0x40C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3F6 DUP3 PUSH2 0x3CB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x406 DUP2 PUSH2 0x3EB JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x421 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3FD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x446 DUP3 PUSH2 0x3EB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x456 DUP2 PUSH2 0x43B JUMP JUMPDEST DUP2 EQ PUSH2 0x461 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x473 DUP2 PUSH2 0x44D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x482 DUP2 PUSH2 0x3EB JUMP JUMPDEST DUP2 EQ PUSH2 0x48D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x49F DUP2 PUSH2 0x479 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP 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 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x4F8 DUP3 PUSH2 0x4AF JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x517 JUMPI PUSH2 0x516 PUSH2 0x4C0 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x52A PUSH2 0x427 JUMP JUMPDEST SWAP1 POP PUSH2 0x536 DUP3 DUP3 PUSH2 0x4EF JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x556 JUMPI PUSH2 0x555 PUSH2 0x4C0 JUMP JUMPDEST JUMPDEST PUSH2 0x55F DUP3 PUSH2 0x4AF JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x58E PUSH2 0x589 DUP5 PUSH2 0x53B JUMP JUMPDEST PUSH2 0x520 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x5AA JUMPI PUSH2 0x5A9 PUSH2 0x4AA JUMP JUMPDEST JUMPDEST PUSH2 0x5B5 DUP5 DUP3 DUP6 PUSH2 0x56C JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5D2 JUMPI PUSH2 0x5D1 PUSH2 0x4A5 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x5E2 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x57B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x604 JUMPI PUSH2 0x603 PUSH2 0x431 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x612 DUP7 DUP3 DUP8 ADD PUSH2 0x464 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x623 DUP7 DUP3 DUP8 ADD PUSH2 0x490 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x644 JUMPI PUSH2 0x643 PUSH2 0x436 JUMP JUMPDEST JUMPDEST PUSH2 0x650 DUP7 DUP3 DUP8 ADD PUSH2 0x5BD JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x694 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x679 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6AB DUP3 PUSH2 0x65A JUMP JUMPDEST PUSH2 0x6B5 DUP2 DUP6 PUSH2 0x665 JUMP JUMPDEST SWAP4 POP PUSH2 0x6C5 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x676 JUMP JUMPDEST PUSH2 0x6CE DUP2 PUSH2 0x4AF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x6F3 DUP2 DUP5 PUSH2 0x6A0 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x711 JUMPI PUSH2 0x710 PUSH2 0x431 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x71F DUP5 DUP3 DUP6 ADD PUSH2 0x490 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x74F DUP3 PUSH2 0x728 JUMP JUMPDEST PUSH2 0x759 DUP2 DUP6 PUSH2 0x733 JUMP JUMPDEST SWAP4 POP PUSH2 0x769 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x676 JUMP JUMPDEST PUSH2 0x772 DUP2 PUSH2 0x4AF JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x792 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x3FD JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x7A4 DUP2 DUP5 PUSH2 0x744 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH28 0xAA771409EAE5083C71E95F60DF546B11A1B6CD507FD487B5AF0BC72D 0xB1 NOT 0xC6 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "4145:2226:7:-:0;;;4988:296;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5079:6;5087:5;1154:52:2;1184:14;1200:5;1154:29;;;:52;;:::i;:::-;1080:133;;5136:12:7::1;5121:28;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;5104:46;;;;;;;;::::0;::::1;5238:39;5263:13;:11;;;:13;;:::i;:::-;5238:24;;;:39;;:::i;:::-;4988:296:::0;;;4145:2226;;2779:335:3;2870:37;2889:17;2870:18;;;:37;;:::i;:::-;2931:17;2922:27;;;;;;;;;;;;2978:1;2964:4;:11;:15;2960:148;;;2995:53;3024:17;3043:4;2995:28;;;:53;;:::i;:::-;;2960:148;;;3079:18;:16;;;:18;;:::i;:::-;2960:148;2779:335;;:::o;5351:88:7:-;5400:7;5426:6;;5419:13;;5351:88;:::o;4331:133:3:-;4394:34;4407:10;:8;;;:10;;:::i;:::-;4419:8;4394:34;;;;;;;:::i;:::-;;;;;;;;4438:19;4448:8;4438:9;;;:19;;:::i;:::-;4331:133;:::o;2186:281::-;2296:1;2263:17;:29;;;:34;2259:119;;2349:17;2320:47;;;;;;;;;;;:::i;:::-;;;;;;;;2259:119;2443:17;2387:47;1327:66;2414:19;;2387:26;;;:47;;:::i;:::-;:53;;;:73;;;;;;;;;;;;;;;;;;2186:281;:::o;4106:253:8:-;4189:12;4214;4228:23;4255:6;:19;;4275:4;4255:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4213:67;;;;4297:55;4324:6;4332:7;4341:10;4297:26;;;:55;;:::i;:::-;4290:62;;;;4106:253;;;;:::o;6598:122:3:-;6660:1;6648:9;:13;6644:70;;;6684:19;;;;;;;;;;;;;;6644:70;6598:122::o;3792:120::-;3835:7;3861:38;3374:66;3888:10;;3861:26;;;:38;;:::i;:::-;:44;;;;;;;;;;;;3854:51;;3792:120;:::o;3994:217::-;4073:1;4053:22;;:8;:22;;;4049:91;;4126:1;4098:31;;;;;;;;;;;:::i;:::-;;;;;;;;4049:91;4196:8;4149:38;3374:66;4176:10;;4149:26;;;:38;;:::i;:::-;:44;;;:55;;;;;;;;;;;;;;;;;;3994:217;:::o;1684:190:11:-;1745:21;1854:4;1844:14;;1684:190;;;:::o;4625:582:8:-;4769:12;4798:7;4793:408;;4821:19;4829:10;4821:7;;;:19;;:::i;:::-;4793:408;;;5066:1;5045:10;:17;:22;:49;;;;;5093:1;5071:6;:18;;;:23;5045:49;5041:119;;;5138:6;5121:24;;;;;;;;;;;:::i;:::-;;;;;;;;5041:119;5180:10;5173:17;;;;4793:408;4625:582;;;;;;:::o;5743:516::-;5894:1;5874:10;:17;:21;5870:383;;;6102:10;6096:17;6158:15;6145:10;6141:2;6137:19;6130:44;5870:383;6225:17;;;;;;;;;;;;;;4145:2226:7;;;;;;;;:::o;7:75:20:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:117::-;954:1;951;944:12;968:117;1077:1;1074;1067:12;1091:102;1132:6;1183:2;1179:7;1174:2;1167:5;1163:14;1159:28;1149:38;;1091:102;;;:::o;1199:180::-;1247:77;1244:1;1237:88;1344:4;1341:1;1334:15;1368:4;1365:1;1358:15;1385:281;1468:27;1490:4;1468:27;:::i;:::-;1460:6;1456:40;1598:6;1586:10;1583:22;1562:18;1550:10;1547:34;1544:62;1541:88;;;1609:18;;:::i;:::-;1541:88;1649:10;1645:2;1638:22;1428:238;1385:281;;:::o;1672:129::-;1706:6;1733:20;;:::i;:::-;1723:30;;1762:33;1790:4;1782:6;1762:33;:::i;:::-;1672:129;;;:::o;1807:307::-;1868:4;1958:18;1950:6;1947:30;1944:56;;;1980:18;;:::i;:::-;1944:56;2018:29;2040:6;2018:29;:::i;:::-;2010:37;;2102:4;2096;2092:15;2084:23;;1807:307;;;:::o;2120:248::-;2202:1;2212:113;2226:6;2223:1;2220:13;2212:113;;;2311:1;2306:3;2302:11;2296:18;2292:1;2287:3;2283:11;2276:39;2248:2;2245:1;2241:10;2236:15;;2212:113;;;2359:1;2350:6;2345:3;2341:16;2334:27;2182:186;2120:248;;;:::o;2374:432::-;2462:5;2487:65;2503:48;2544:6;2503:48;:::i;:::-;2487:65;:::i;:::-;2478:74;;2575:6;2568:5;2561:21;2613:4;2606:5;2602:16;2651:3;2642:6;2637:3;2633:16;2630:25;2627:112;;;2658:79;;:::i;:::-;2627:112;2748:52;2793:6;2788:3;2783;2748:52;:::i;:::-;2468:338;2374:432;;;;;:::o;2825:353::-;2891:5;2940:3;2933:4;2925:6;2921:17;2917:27;2907:122;;2948:79;;:::i;:::-;2907:122;3058:6;3052:13;3083:89;3168:3;3160:6;3153:4;3145:6;3141:17;3083:89;:::i;:::-;3074:98;;2897:281;2825:353;;;;:::o;3184:834::-;3281:6;3289;3297;3346:2;3334:9;3325:7;3321:23;3317:32;3314:119;;;3352:79;;:::i;:::-;3314:119;3472:1;3497:64;3553:7;3544:6;3533:9;3529:22;3497:64;:::i;:::-;3487:74;;3443:128;3610:2;3636:64;3692:7;3683:6;3672:9;3668:22;3636:64;:::i;:::-;3626:74;;3581:129;3770:2;3759:9;3755:18;3749:25;3801:18;3793:6;3790:30;3787:117;;;3823:79;;:::i;:::-;3787:117;3928:73;3993:7;3984:6;3973:9;3969:22;3928:73;:::i;:::-;3918:83;;3720:291;3184:834;;;;;:::o;4024:118::-;4111:24;4129:5;4111:24;:::i;:::-;4106:3;4099:37;4024:118;;:::o;4148:222::-;4241:4;4279:2;4268:9;4264:18;4256:26;;4292:71;4360:1;4349:9;4345:17;4336:6;4292:71;:::i;:::-;4148:222;;;;:::o;4376:332::-;4497:4;4535:2;4524:9;4520:18;4512:26;;4548:71;4616:1;4605:9;4601:17;4592:6;4548:71;:::i;:::-;4629:72;4697:2;4686:9;4682:18;4673:6;4629:72;:::i;:::-;4376:332;;;;;:::o;4714:98::-;4765:6;4799:5;4793:12;4783:22;;4714:98;;;:::o;4818:147::-;4919:11;4956:3;4941:18;;4818:147;;;;:::o;4971:386::-;5075:3;5103:38;5135:5;5103:38;:::i;:::-;5157:88;5238:6;5233:3;5157:88;:::i;:::-;5150:95;;5254:65;5312:6;5307:3;5300:4;5293:5;5289:16;5254:65;:::i;:::-;5344:6;5339:3;5335:16;5328:23;;5079:278;4971:386;;;;:::o;5363:271::-;5493:3;5515:93;5604:3;5595:6;5515:93;:::i;:::-;5508:100;;5625:3;5618:10;;5363:271;;;;:::o;4145:2226:7:-;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@_544": { + "entryPoint": null, + "id": 544, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkNonPayable_508": { + "entryPoint": 875, + "id": 508, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_delegate_520": { + "entryPoint": 500, + "id": 520, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_dispatchUpgradeToAndCall_737": { + "entryPoint": 298, + "id": 737, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_fallback_536": { + "entryPoint": 352, + "id": 536, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_fallback_708": { + "entryPoint": 14, + "id": 708, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_implementation_205": { + "entryPoint": 485, + "id": 205, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_proxyAdmin_674": { + "entryPoint": 258, + "id": 674, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revert_990": { + "entryPoint": 1176, + "id": 990, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_setImplementation_294": { + "entryPoint": 538, + "id": 294, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@functionDelegateCall_910": { + "entryPoint": 743, + "id": 910, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@getAddressSlot_1100": { + "entryPoint": 1023, + "id": 1100, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getImplementation_267": { + "entryPoint": 936, + "id": 267, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@upgradeToAndCall_328": { + "entryPoint": 370, + "id": 328, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@verifyCallResultFromTarget_950": { + "entryPoint": 1033, + "id": 950, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_decode_available_length_t_bytes_memory_ptr": { + "entryPoint": 1642, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_decode_t_address_payable": { + "entryPoint": 1407, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bytes_memory_ptr": { + "entryPoint": 1708, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_payablet_bytes_memory_ptr": { + "entryPoint": 1754, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 1864, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 1970, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 2019, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 1879, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_memory": { + "entryPoint": 1551, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": 1245, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_allocation_size_t_bytes_memory_ptr": { + "entryPoint": 1578, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_length_t_bytes_memory_ptr": { + "entryPoint": 1906, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 1917, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "calldata_array_index_range_access_t_bytes_calldata_ptr": { + "entryPoint": 1265, + "id": null, + "parameterSlots": 4, + "returnSlots": 2 + }, + "cleanup_t_address": { + "entryPoint": 1846, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_address_payable": { + "entryPoint": 1366, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 1334, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "copy_calldata_to_memory_with_cleanup": { + "entryPoint": 1627, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "copy_memory_to_memory_with_cleanup": { + "entryPoint": 1928, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "finalize_allocation": { + "entryPoint": 1502, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 1455, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { + "entryPoint": 1428, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_46e3e63c93837e9efa638abb3b4e76ced8c11259a873f1381a0abdf6ae6a823c": { + "entryPoint": 1260, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_7678404c0552a58cf14944d1a786cf4c81aab3563e2735cb332aee47bbb57c4a": { + "entryPoint": 1255, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": { + "entryPoint": 1433, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": 1329, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 1324, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "round_up_to_mul_of_32": { + "entryPoint": 1438, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "validator_revert_t_address_payable": { + "entryPoint": 1384, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:6122:20", + "nodeType": "YulBlock", + "src": "0:6122:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_7678404c0552a58cf14944d1a786cf4c81aab3563e2735cb332aee47bbb57c4a", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_46e3e63c93837e9efa638abb3b4e76ced8c11259a873f1381a0abdf6ae6a823c", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "460:343:20", + "nodeType": "YulBlock", + "src": "460:343:20", + "statements": [ + { + "body": { + "nativeSrc": "498:83:20", + "nodeType": "YulBlock", + "src": "498:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_7678404c0552a58cf14944d1a786cf4c81aab3563e2735cb332aee47bbb57c4a", + "nativeSrc": "500:77:20", + "nodeType": "YulIdentifier", + "src": "500:77:20" + }, + "nativeSrc": "500:79:20", + "nodeType": "YulFunctionCall", + "src": "500:79:20" + }, + "nativeSrc": "500:79:20", + "nodeType": "YulExpressionStatement", + "src": "500:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "startIndex", + "nativeSrc": "476:10:20", + "nodeType": "YulIdentifier", + "src": "476:10:20" + }, + { + "name": "endIndex", + "nativeSrc": "488:8:20", + "nodeType": "YulIdentifier", + "src": "488:8:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "473:2:20", + "nodeType": "YulIdentifier", + "src": "473:2:20" + }, + "nativeSrc": "473:24:20", + "nodeType": "YulFunctionCall", + "src": "473:24:20" + }, + "nativeSrc": "470:111:20", + "nodeType": "YulIf", + "src": "470:111:20" + }, + { + "body": { + "nativeSrc": "614:83:20", + "nodeType": "YulBlock", + "src": "614:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_46e3e63c93837e9efa638abb3b4e76ced8c11259a873f1381a0abdf6ae6a823c", + "nativeSrc": "616:77:20", + "nodeType": "YulIdentifier", + "src": "616:77:20" + }, + "nativeSrc": "616:79:20", + "nodeType": "YulFunctionCall", + "src": "616:79:20" + }, + "nativeSrc": "616:79:20", + "nodeType": "YulExpressionStatement", + "src": "616:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "endIndex", + "nativeSrc": "596:8:20", + "nodeType": "YulIdentifier", + "src": "596:8:20" + }, + { + "name": "length", + "nativeSrc": "606:6:20", + "nodeType": "YulIdentifier", + "src": "606:6:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "593:2:20", + "nodeType": "YulIdentifier", + "src": "593:2:20" + }, + "nativeSrc": "593:20:20", + "nodeType": "YulFunctionCall", + "src": "593:20:20" + }, + "nativeSrc": "590:107:20", + "nodeType": "YulIf", + "src": "590:107:20" + }, + { + "nativeSrc": "706:44:20", + "nodeType": "YulAssignment", + "src": "706:44:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "723:6:20", + "nodeType": "YulIdentifier", + "src": "723:6:20" + }, + { + "arguments": [ + { + "name": "startIndex", + "nativeSrc": "735:10:20", + "nodeType": "YulIdentifier", + "src": "735:10:20" + }, + { + "kind": "number", + "nativeSrc": "747:1:20", + "nodeType": "YulLiteral", + "src": "747:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "731:3:20", + "nodeType": "YulIdentifier", + "src": "731:3:20" + }, + "nativeSrc": "731:18:20", + "nodeType": "YulFunctionCall", + "src": "731:18:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "719:3:20", + "nodeType": "YulIdentifier", + "src": "719:3:20" + }, + "nativeSrc": "719:31:20", + "nodeType": "YulFunctionCall", + "src": "719:31:20" + }, + "variableNames": [ + { + "name": "offsetOut", + "nativeSrc": "706:9:20", + "nodeType": "YulIdentifier", + "src": "706:9:20" + } + ] + }, + { + "nativeSrc": "759:38:20", + "nodeType": "YulAssignment", + "src": "759:38:20", + "value": { + "arguments": [ + { + "name": "endIndex", + "nativeSrc": "776:8:20", + "nodeType": "YulIdentifier", + "src": "776:8:20" + }, + { + "name": "startIndex", + "nativeSrc": "786:10:20", + "nodeType": "YulIdentifier", + "src": "786:10:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "772:3:20", + "nodeType": "YulIdentifier", + "src": "772:3:20" + }, + "nativeSrc": "772:25:20", + "nodeType": "YulFunctionCall", + "src": "772:25:20" + }, + "variableNames": [ + { + "name": "lengthOut", + "nativeSrc": "759:9:20", + "nodeType": "YulIdentifier", + "src": "759:9:20" + } + ] + } + ] + }, + "name": "calldata_array_index_range_access_t_bytes_calldata_ptr", + "nativeSrc": "334:469:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "398:6:20", + "nodeType": "YulTypedName", + "src": "398:6:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "406:6:20", + "nodeType": "YulTypedName", + "src": "406:6:20", + "type": "" + }, + { + "name": "startIndex", + "nativeSrc": "414:10:20", + "nodeType": "YulTypedName", + "src": "414:10:20", + "type": "" + }, + { + "name": "endIndex", + "nativeSrc": "426:8:20", + "nodeType": "YulTypedName", + "src": "426:8:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "offsetOut", + "nativeSrc": "439:9:20", + "nodeType": "YulTypedName", + "src": "439:9:20", + "type": "" + }, + { + "name": "lengthOut", + "nativeSrc": "450:9:20", + "nodeType": "YulTypedName", + "src": "450:9:20", + "type": "" + } + ], + "src": "334:469:20" + }, + { + "body": { + "nativeSrc": "898:28:20", + "nodeType": "YulBlock", + "src": "898:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "915:1:20", + "nodeType": "YulLiteral", + "src": "915:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "918:1:20", + "nodeType": "YulLiteral", + "src": "918:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "908:6:20", + "nodeType": "YulIdentifier", + "src": "908:6:20" + }, + "nativeSrc": "908:12:20", + "nodeType": "YulFunctionCall", + "src": "908:12:20" + }, + "nativeSrc": "908:12:20", + "nodeType": "YulExpressionStatement", + "src": "908:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "809:117:20", + "nodeType": "YulFunctionDefinition", + "src": "809:117:20" + }, + { + "body": { + "nativeSrc": "1021:28:20", + "nodeType": "YulBlock", + "src": "1021:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1038:1:20", + "nodeType": "YulLiteral", + "src": "1038:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1041:1:20", + "nodeType": "YulLiteral", + "src": "1041:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1031:6:20", + "nodeType": "YulIdentifier", + "src": "1031:6:20" + }, + "nativeSrc": "1031:12:20", + "nodeType": "YulFunctionCall", + "src": "1031:12:20" + }, + "nativeSrc": "1031:12:20", + "nodeType": "YulExpressionStatement", + "src": "1031:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "932:117:20", + "nodeType": "YulFunctionDefinition", + "src": "932:117:20" + }, + { + "body": { + "nativeSrc": "1100:81:20", + "nodeType": "YulBlock", + "src": "1100:81:20", + "statements": [ + { + "nativeSrc": "1110:65:20", + "nodeType": "YulAssignment", + "src": "1110:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1125:5:20", + "nodeType": "YulIdentifier", + "src": "1125:5:20" + }, + { + "kind": "number", + "nativeSrc": "1132:42:20", + "nodeType": "YulLiteral", + "src": "1132:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "1121:3:20", + "nodeType": "YulIdentifier", + "src": "1121:3:20" + }, + "nativeSrc": "1121:54:20", + "nodeType": "YulFunctionCall", + "src": "1121:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "1110:7:20", + "nodeType": "YulIdentifier", + "src": "1110:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "1055:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1082:5:20", + "nodeType": "YulTypedName", + "src": "1082:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "1092:7:20", + "nodeType": "YulTypedName", + "src": "1092:7:20", + "type": "" + } + ], + "src": "1055:126:20" + }, + { + "body": { + "nativeSrc": "1240:51:20", + "nodeType": "YulBlock", + "src": "1240:51:20", + "statements": [ + { + "nativeSrc": "1250:35:20", + "nodeType": "YulAssignment", + "src": "1250:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1279:5:20", + "nodeType": "YulIdentifier", + "src": "1279:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "1261:17:20", + "nodeType": "YulIdentifier", + "src": "1261:17:20" + }, + "nativeSrc": "1261:24:20", + "nodeType": "YulFunctionCall", + "src": "1261:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "1250:7:20", + "nodeType": "YulIdentifier", + "src": "1250:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address_payable", + "nativeSrc": "1187:104:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1222:5:20", + "nodeType": "YulTypedName", + "src": "1222:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "1232:7:20", + "nodeType": "YulTypedName", + "src": "1232:7:20", + "type": "" + } + ], + "src": "1187:104:20" + }, + { + "body": { + "nativeSrc": "1348:87:20", + "nodeType": "YulBlock", + "src": "1348:87:20", + "statements": [ + { + "body": { + "nativeSrc": "1413:16:20", + "nodeType": "YulBlock", + "src": "1413:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1422:1:20", + "nodeType": "YulLiteral", + "src": "1422:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1425:1:20", + "nodeType": "YulLiteral", + "src": "1425:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1415:6:20", + "nodeType": "YulIdentifier", + "src": "1415:6:20" + }, + "nativeSrc": "1415:12:20", + "nodeType": "YulFunctionCall", + "src": "1415:12:20" + }, + "nativeSrc": "1415:12:20", + "nodeType": "YulExpressionStatement", + "src": "1415:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1371:5:20", + "nodeType": "YulIdentifier", + "src": "1371:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1404:5:20", + "nodeType": "YulIdentifier", + "src": "1404:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address_payable", + "nativeSrc": "1378:25:20", + "nodeType": "YulIdentifier", + "src": "1378:25:20" + }, + "nativeSrc": "1378:32:20", + "nodeType": "YulFunctionCall", + "src": "1378:32:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "1368:2:20", + "nodeType": "YulIdentifier", + "src": "1368:2:20" + }, + "nativeSrc": "1368:43:20", + "nodeType": "YulFunctionCall", + "src": "1368:43:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "1361:6:20", + "nodeType": "YulIdentifier", + "src": "1361:6:20" + }, + "nativeSrc": "1361:51:20", + "nodeType": "YulFunctionCall", + "src": "1361:51:20" + }, + "nativeSrc": "1358:71:20", + "nodeType": "YulIf", + "src": "1358:71:20" + } + ] + }, + "name": "validator_revert_t_address_payable", + "nativeSrc": "1297:138:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1341:5:20", + "nodeType": "YulTypedName", + "src": "1341:5:20", + "type": "" + } + ], + "src": "1297:138:20" + }, + { + "body": { + "nativeSrc": "1501:95:20", + "nodeType": "YulBlock", + "src": "1501:95:20", + "statements": [ + { + "nativeSrc": "1511:29:20", + "nodeType": "YulAssignment", + "src": "1511:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "1533:6:20", + "nodeType": "YulIdentifier", + "src": "1533:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "1520:12:20", + "nodeType": "YulIdentifier", + "src": "1520:12:20" + }, + "nativeSrc": "1520:20:20", + "nodeType": "YulFunctionCall", + "src": "1520:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "1511:5:20", + "nodeType": "YulIdentifier", + "src": "1511:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1584:5:20", + "nodeType": "YulIdentifier", + "src": "1584:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address_payable", + "nativeSrc": "1549:34:20", + "nodeType": "YulIdentifier", + "src": "1549:34:20" + }, + "nativeSrc": "1549:41:20", + "nodeType": "YulFunctionCall", + "src": "1549:41:20" + }, + "nativeSrc": "1549:41:20", + "nodeType": "YulExpressionStatement", + "src": "1549:41:20" + } + ] + }, + "name": "abi_decode_t_address_payable", + "nativeSrc": "1441:155:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "1479:6:20", + "nodeType": "YulTypedName", + "src": "1479:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "1487:3:20", + "nodeType": "YulTypedName", + "src": "1487:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "1495:5:20", + "nodeType": "YulTypedName", + "src": "1495:5:20", + "type": "" + } + ], + "src": "1441:155:20" + }, + { + "body": { + "nativeSrc": "1691:28:20", + "nodeType": "YulBlock", + "src": "1691:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1708:1:20", + "nodeType": "YulLiteral", + "src": "1708:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1711:1:20", + "nodeType": "YulLiteral", + "src": "1711:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1701:6:20", + "nodeType": "YulIdentifier", + "src": "1701:6:20" + }, + "nativeSrc": "1701:12:20", + "nodeType": "YulFunctionCall", + "src": "1701:12:20" + }, + "nativeSrc": "1701:12:20", + "nodeType": "YulExpressionStatement", + "src": "1701:12:20" + } + ] + }, + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "1602:117:20", + "nodeType": "YulFunctionDefinition", + "src": "1602:117:20" + }, + { + "body": { + "nativeSrc": "1814:28:20", + "nodeType": "YulBlock", + "src": "1814:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1831:1:20", + "nodeType": "YulLiteral", + "src": "1831:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1834:1:20", + "nodeType": "YulLiteral", + "src": "1834:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1824:6:20", + "nodeType": "YulIdentifier", + "src": "1824:6:20" + }, + "nativeSrc": "1824:12:20", + "nodeType": "YulFunctionCall", + "src": "1824:12:20" + }, + "nativeSrc": "1824:12:20", + "nodeType": "YulExpressionStatement", + "src": "1824:12:20" + } + ] + }, + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "1725:117:20", + "nodeType": "YulFunctionDefinition", + "src": "1725:117:20" + }, + { + "body": { + "nativeSrc": "1896:54:20", + "nodeType": "YulBlock", + "src": "1896:54:20", + "statements": [ + { + "nativeSrc": "1906:38:20", + "nodeType": "YulAssignment", + "src": "1906:38:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1924:5:20", + "nodeType": "YulIdentifier", + "src": "1924:5:20" + }, + { + "kind": "number", + "nativeSrc": "1931:2:20", + "nodeType": "YulLiteral", + "src": "1931:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1920:3:20", + "nodeType": "YulIdentifier", + "src": "1920:3:20" + }, + "nativeSrc": "1920:14:20", + "nodeType": "YulFunctionCall", + "src": "1920:14:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1940:2:20", + "nodeType": "YulLiteral", + "src": "1940:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "1936:3:20", + "nodeType": "YulIdentifier", + "src": "1936:3:20" + }, + "nativeSrc": "1936:7:20", + "nodeType": "YulFunctionCall", + "src": "1936:7:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "1916:3:20", + "nodeType": "YulIdentifier", + "src": "1916:3:20" + }, + "nativeSrc": "1916:28:20", + "nodeType": "YulFunctionCall", + "src": "1916:28:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "1906:6:20", + "nodeType": "YulIdentifier", + "src": "1906:6:20" + } + ] + } + ] + }, + "name": "round_up_to_mul_of_32", + "nativeSrc": "1848:102:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1879:5:20", + "nodeType": "YulTypedName", + "src": "1879:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "1889:6:20", + "nodeType": "YulTypedName", + "src": "1889:6:20", + "type": "" + } + ], + "src": "1848:102:20" + }, + { + "body": { + "nativeSrc": "1984:152:20", + "nodeType": "YulBlock", + "src": "1984:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2001:1:20", + "nodeType": "YulLiteral", + "src": "2001:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2004:77:20", + "nodeType": "YulLiteral", + "src": "2004:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1994:6:20", + "nodeType": "YulIdentifier", + "src": "1994:6:20" + }, + "nativeSrc": "1994:88:20", + "nodeType": "YulFunctionCall", + "src": "1994:88:20" + }, + "nativeSrc": "1994:88:20", + "nodeType": "YulExpressionStatement", + "src": "1994:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2098:1:20", + "nodeType": "YulLiteral", + "src": "2098:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "2101:4:20", + "nodeType": "YulLiteral", + "src": "2101:4:20", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2091:6:20", + "nodeType": "YulIdentifier", + "src": "2091:6:20" + }, + "nativeSrc": "2091:15:20", + "nodeType": "YulFunctionCall", + "src": "2091:15:20" + }, + "nativeSrc": "2091:15:20", + "nodeType": "YulExpressionStatement", + "src": "2091:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2122:1:20", + "nodeType": "YulLiteral", + "src": "2122:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2125:4:20", + "nodeType": "YulLiteral", + "src": "2125:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2115:6:20", + "nodeType": "YulIdentifier", + "src": "2115:6:20" + }, + "nativeSrc": "2115:15:20", + "nodeType": "YulFunctionCall", + "src": "2115:15:20" + }, + "nativeSrc": "2115:15:20", + "nodeType": "YulExpressionStatement", + "src": "2115:15:20" + } + ] + }, + "name": "panic_error_0x41", + "nativeSrc": "1956:180:20", + "nodeType": "YulFunctionDefinition", + "src": "1956:180:20" + }, + { + "body": { + "nativeSrc": "2185:238:20", + "nodeType": "YulBlock", + "src": "2185:238:20", + "statements": [ + { + "nativeSrc": "2195:58:20", + "nodeType": "YulVariableDeclaration", + "src": "2195:58:20", + "value": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "2217:6:20", + "nodeType": "YulIdentifier", + "src": "2217:6:20" + }, + { + "arguments": [ + { + "name": "size", + "nativeSrc": "2247:4:20", + "nodeType": "YulIdentifier", + "src": "2247:4:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "2225:21:20", + "nodeType": "YulIdentifier", + "src": "2225:21:20" + }, + "nativeSrc": "2225:27:20", + "nodeType": "YulFunctionCall", + "src": "2225:27:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2213:3:20", + "nodeType": "YulIdentifier", + "src": "2213:3:20" + }, + "nativeSrc": "2213:40:20", + "nodeType": "YulFunctionCall", + "src": "2213:40:20" + }, + "variables": [ + { + "name": "newFreePtr", + "nativeSrc": "2199:10:20", + "nodeType": "YulTypedName", + "src": "2199:10:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "2364:22:20", + "nodeType": "YulBlock", + "src": "2364:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "2366:16:20", + "nodeType": "YulIdentifier", + "src": "2366:16:20" + }, + "nativeSrc": "2366:18:20", + "nodeType": "YulFunctionCall", + "src": "2366:18:20" + }, + "nativeSrc": "2366:18:20", + "nodeType": "YulExpressionStatement", + "src": "2366:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "2307:10:20", + "nodeType": "YulIdentifier", + "src": "2307:10:20" + }, + { + "kind": "number", + "nativeSrc": "2319:18:20", + "nodeType": "YulLiteral", + "src": "2319:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2304:2:20", + "nodeType": "YulIdentifier", + "src": "2304:2:20" + }, + "nativeSrc": "2304:34:20", + "nodeType": "YulFunctionCall", + "src": "2304:34:20" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nativeSrc": "2343:10:20", + "nodeType": "YulIdentifier", + "src": "2343:10:20" + }, + { + "name": "memPtr", + "nativeSrc": "2355:6:20", + "nodeType": "YulIdentifier", + "src": "2355:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "2340:2:20", + "nodeType": "YulIdentifier", + "src": "2340:2:20" + }, + "nativeSrc": "2340:22:20", + "nodeType": "YulFunctionCall", + "src": "2340:22:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "2301:2:20", + "nodeType": "YulIdentifier", + "src": "2301:2:20" + }, + "nativeSrc": "2301:62:20", + "nodeType": "YulFunctionCall", + "src": "2301:62:20" + }, + "nativeSrc": "2298:88:20", + "nodeType": "YulIf", + "src": "2298:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2402:2:20", + "nodeType": "YulLiteral", + "src": "2402:2:20", + "type": "", + "value": "64" + }, + { + "name": "newFreePtr", + "nativeSrc": "2406:10:20", + "nodeType": "YulIdentifier", + "src": "2406:10:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2395:6:20", + "nodeType": "YulIdentifier", + "src": "2395:6:20" + }, + "nativeSrc": "2395:22:20", + "nodeType": "YulFunctionCall", + "src": "2395:22:20" + }, + "nativeSrc": "2395:22:20", + "nodeType": "YulExpressionStatement", + "src": "2395:22:20" + } + ] + }, + "name": "finalize_allocation", + "nativeSrc": "2142:281:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "2171:6:20", + "nodeType": "YulTypedName", + "src": "2171:6:20", + "type": "" + }, + { + "name": "size", + "nativeSrc": "2179:4:20", + "nodeType": "YulTypedName", + "src": "2179:4:20", + "type": "" + } + ], + "src": "2142:281:20" + }, + { + "body": { + "nativeSrc": "2470:88:20", + "nodeType": "YulBlock", + "src": "2470:88:20", + "statements": [ + { + "nativeSrc": "2480:30:20", + "nodeType": "YulAssignment", + "src": "2480:30:20", + "value": { + "arguments": [], + "functionName": { + "name": "allocate_unbounded", + "nativeSrc": "2490:18:20", + "nodeType": "YulIdentifier", + "src": "2490:18:20" + }, + "nativeSrc": "2490:20:20", + "nodeType": "YulFunctionCall", + "src": "2490:20:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "2480:6:20", + "nodeType": "YulIdentifier", + "src": "2480:6:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "2539:6:20", + "nodeType": "YulIdentifier", + "src": "2539:6:20" + }, + { + "name": "size", + "nativeSrc": "2547:4:20", + "nodeType": "YulIdentifier", + "src": "2547:4:20" + } + ], + "functionName": { + "name": "finalize_allocation", + "nativeSrc": "2519:19:20", + "nodeType": "YulIdentifier", + "src": "2519:19:20" + }, + "nativeSrc": "2519:33:20", + "nodeType": "YulFunctionCall", + "src": "2519:33:20" + }, + "nativeSrc": "2519:33:20", + "nodeType": "YulExpressionStatement", + "src": "2519:33:20" + } + ] + }, + "name": "allocate_memory", + "nativeSrc": "2429:129:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "size", + "nativeSrc": "2454:4:20", + "nodeType": "YulTypedName", + "src": "2454:4:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "2463:6:20", + "nodeType": "YulTypedName", + "src": "2463:6:20", + "type": "" + } + ], + "src": "2429:129:20" + }, + { + "body": { + "nativeSrc": "2630:241:20", + "nodeType": "YulBlock", + "src": "2630:241:20", + "statements": [ + { + "body": { + "nativeSrc": "2735:22:20", + "nodeType": "YulBlock", + "src": "2735:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "2737:16:20", + "nodeType": "YulIdentifier", + "src": "2737:16:20" + }, + "nativeSrc": "2737:18:20", + "nodeType": "YulFunctionCall", + "src": "2737:18:20" + }, + "nativeSrc": "2737:18:20", + "nodeType": "YulExpressionStatement", + "src": "2737:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2707:6:20", + "nodeType": "YulIdentifier", + "src": "2707:6:20" + }, + { + "kind": "number", + "nativeSrc": "2715:18:20", + "nodeType": "YulLiteral", + "src": "2715:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2704:2:20", + "nodeType": "YulIdentifier", + "src": "2704:2:20" + }, + "nativeSrc": "2704:30:20", + "nodeType": "YulFunctionCall", + "src": "2704:30:20" + }, + "nativeSrc": "2701:56:20", + "nodeType": "YulIf", + "src": "2701:56:20" + }, + { + "nativeSrc": "2767:37:20", + "nodeType": "YulAssignment", + "src": "2767:37:20", + "value": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2797:6:20", + "nodeType": "YulIdentifier", + "src": "2797:6:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "2775:21:20", + "nodeType": "YulIdentifier", + "src": "2775:21:20" + }, + "nativeSrc": "2775:29:20", + "nodeType": "YulFunctionCall", + "src": "2775:29:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2767:4:20", + "nodeType": "YulIdentifier", + "src": "2767:4:20" + } + ] + }, + { + "nativeSrc": "2841:23:20", + "nodeType": "YulAssignment", + "src": "2841:23:20", + "value": { + "arguments": [ + { + "name": "size", + "nativeSrc": "2853:4:20", + "nodeType": "YulIdentifier", + "src": "2853:4:20" + }, + { + "kind": "number", + "nativeSrc": "2859:4:20", + "nodeType": "YulLiteral", + "src": "2859:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2849:3:20", + "nodeType": "YulIdentifier", + "src": "2849:3:20" + }, + "nativeSrc": "2849:15:20", + "nodeType": "YulFunctionCall", + "src": "2849:15:20" + }, + "variableNames": [ + { + "name": "size", + "nativeSrc": "2841:4:20", + "nodeType": "YulIdentifier", + "src": "2841:4:20" + } + ] + } + ] + }, + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "2564:307:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "length", + "nativeSrc": "2614:6:20", + "nodeType": "YulTypedName", + "src": "2614:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "size", + "nativeSrc": "2625:4:20", + "nodeType": "YulTypedName", + "src": "2625:4:20", + "type": "" + } + ], + "src": "2564:307:20" + }, + { + "body": { + "nativeSrc": "2941:84:20", + "nodeType": "YulBlock", + "src": "2941:84:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "dst", + "nativeSrc": "2965:3:20", + "nodeType": "YulIdentifier", + "src": "2965:3:20" + }, + { + "name": "src", + "nativeSrc": "2970:3:20", + "nodeType": "YulIdentifier", + "src": "2970:3:20" + }, + { + "name": "length", + "nativeSrc": "2975:6:20", + "nodeType": "YulIdentifier", + "src": "2975:6:20" + } + ], + "functionName": { + "name": "calldatacopy", + "nativeSrc": "2952:12:20", + "nodeType": "YulIdentifier", + "src": "2952:12:20" + }, + "nativeSrc": "2952:30:20", + "nodeType": "YulFunctionCall", + "src": "2952:30:20" + }, + "nativeSrc": "2952:30:20", + "nodeType": "YulExpressionStatement", + "src": "2952:30:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "3002:3:20", + "nodeType": "YulIdentifier", + "src": "3002:3:20" + }, + { + "name": "length", + "nativeSrc": "3007:6:20", + "nodeType": "YulIdentifier", + "src": "3007:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2998:3:20", + "nodeType": "YulIdentifier", + "src": "2998:3:20" + }, + "nativeSrc": "2998:16:20", + "nodeType": "YulFunctionCall", + "src": "2998:16:20" + }, + { + "kind": "number", + "nativeSrc": "3016:1:20", + "nodeType": "YulLiteral", + "src": "3016:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2991:6:20", + "nodeType": "YulIdentifier", + "src": "2991:6:20" + }, + "nativeSrc": "2991:27:20", + "nodeType": "YulFunctionCall", + "src": "2991:27:20" + }, + "nativeSrc": "2991:27:20", + "nodeType": "YulExpressionStatement", + "src": "2991:27:20" + } + ] + }, + "name": "copy_calldata_to_memory_with_cleanup", + "nativeSrc": "2877:148:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "2923:3:20", + "nodeType": "YulTypedName", + "src": "2923:3:20", + "type": "" + }, + { + "name": "dst", + "nativeSrc": "2928:3:20", + "nodeType": "YulTypedName", + "src": "2928:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2933:6:20", + "nodeType": "YulTypedName", + "src": "2933:6:20", + "type": "" + } + ], + "src": "2877:148:20" + }, + { + "body": { + "nativeSrc": "3114:340:20", + "nodeType": "YulBlock", + "src": "3114:340:20", + "statements": [ + { + "nativeSrc": "3124:74:20", + "nodeType": "YulAssignment", + "src": "3124:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nativeSrc": "3190:6:20", + "nodeType": "YulIdentifier", + "src": "3190:6:20" + } + ], + "functionName": { + "name": "array_allocation_size_t_bytes_memory_ptr", + "nativeSrc": "3149:40:20", + "nodeType": "YulIdentifier", + "src": "3149:40:20" + }, + "nativeSrc": "3149:48:20", + "nodeType": "YulFunctionCall", + "src": "3149:48:20" + } + ], + "functionName": { + "name": "allocate_memory", + "nativeSrc": "3133:15:20", + "nodeType": "YulIdentifier", + "src": "3133:15:20" + }, + "nativeSrc": "3133:65:20", + "nodeType": "YulFunctionCall", + "src": "3133:65:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "3124:5:20", + "nodeType": "YulIdentifier", + "src": "3124:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "array", + "nativeSrc": "3214:5:20", + "nodeType": "YulIdentifier", + "src": "3214:5:20" + }, + { + "name": "length", + "nativeSrc": "3221:6:20", + "nodeType": "YulIdentifier", + "src": "3221:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3207:6:20", + "nodeType": "YulIdentifier", + "src": "3207:6:20" + }, + "nativeSrc": "3207:21:20", + "nodeType": "YulFunctionCall", + "src": "3207:21:20" + }, + "nativeSrc": "3207:21:20", + "nodeType": "YulExpressionStatement", + "src": "3207:21:20" + }, + { + "nativeSrc": "3237:27:20", + "nodeType": "YulVariableDeclaration", + "src": "3237:27:20", + "value": { + "arguments": [ + { + "name": "array", + "nativeSrc": "3252:5:20", + "nodeType": "YulIdentifier", + "src": "3252:5:20" + }, + { + "kind": "number", + "nativeSrc": "3259:4:20", + "nodeType": "YulLiteral", + "src": "3259:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3248:3:20", + "nodeType": "YulIdentifier", + "src": "3248:3:20" + }, + "nativeSrc": "3248:16:20", + "nodeType": "YulFunctionCall", + "src": "3248:16:20" + }, + "variables": [ + { + "name": "dst", + "nativeSrc": "3241:3:20", + "nodeType": "YulTypedName", + "src": "3241:3:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "3302:83:20", + "nodeType": "YulBlock", + "src": "3302:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae", + "nativeSrc": "3304:77:20", + "nodeType": "YulIdentifier", + "src": "3304:77:20" + }, + "nativeSrc": "3304:79:20", + "nodeType": "YulFunctionCall", + "src": "3304:79:20" + }, + "nativeSrc": "3304:79:20", + "nodeType": "YulExpressionStatement", + "src": "3304:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "3283:3:20", + "nodeType": "YulIdentifier", + "src": "3283:3:20" + }, + { + "name": "length", + "nativeSrc": "3288:6:20", + "nodeType": "YulIdentifier", + "src": "3288:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3279:3:20", + "nodeType": "YulIdentifier", + "src": "3279:3:20" + }, + "nativeSrc": "3279:16:20", + "nodeType": "YulFunctionCall", + "src": "3279:16:20" + }, + { + "name": "end", + "nativeSrc": "3297:3:20", + "nodeType": "YulIdentifier", + "src": "3297:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "3276:2:20", + "nodeType": "YulIdentifier", + "src": "3276:2:20" + }, + "nativeSrc": "3276:25:20", + "nodeType": "YulFunctionCall", + "src": "3276:25:20" + }, + "nativeSrc": "3273:112:20", + "nodeType": "YulIf", + "src": "3273:112:20" + }, + { + "expression": { + "arguments": [ + { + "name": "src", + "nativeSrc": "3431:3:20", + "nodeType": "YulIdentifier", + "src": "3431:3:20" + }, + { + "name": "dst", + "nativeSrc": "3436:3:20", + "nodeType": "YulIdentifier", + "src": "3436:3:20" + }, + { + "name": "length", + "nativeSrc": "3441:6:20", + "nodeType": "YulIdentifier", + "src": "3441:6:20" + } + ], + "functionName": { + "name": "copy_calldata_to_memory_with_cleanup", + "nativeSrc": "3394:36:20", + "nodeType": "YulIdentifier", + "src": "3394:36:20" + }, + "nativeSrc": "3394:54:20", + "nodeType": "YulFunctionCall", + "src": "3394:54:20" + }, + "nativeSrc": "3394:54:20", + "nodeType": "YulExpressionStatement", + "src": "3394:54:20" + } + ] + }, + "name": "abi_decode_available_length_t_bytes_memory_ptr", + "nativeSrc": "3031:423:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "3087:3:20", + "nodeType": "YulTypedName", + "src": "3087:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "3092:6:20", + "nodeType": "YulTypedName", + "src": "3092:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "3100:3:20", + "nodeType": "YulTypedName", + "src": "3100:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "3108:5:20", + "nodeType": "YulTypedName", + "src": "3108:5:20", + "type": "" + } + ], + "src": "3031:423:20" + }, + { + "body": { + "nativeSrc": "3534:277:20", + "nodeType": "YulBlock", + "src": "3534:277:20", + "statements": [ + { + "body": { + "nativeSrc": "3583:83:20", + "nodeType": "YulBlock", + "src": "3583:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "3585:77:20", + "nodeType": "YulIdentifier", + "src": "3585:77:20" + }, + "nativeSrc": "3585:79:20", + "nodeType": "YulFunctionCall", + "src": "3585:79:20" + }, + "nativeSrc": "3585:79:20", + "nodeType": "YulExpressionStatement", + "src": "3585:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3562:6:20", + "nodeType": "YulIdentifier", + "src": "3562:6:20" + }, + { + "kind": "number", + "nativeSrc": "3570:4:20", + "nodeType": "YulLiteral", + "src": "3570:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3558:3:20", + "nodeType": "YulIdentifier", + "src": "3558:3:20" + }, + "nativeSrc": "3558:17:20", + "nodeType": "YulFunctionCall", + "src": "3558:17:20" + }, + { + "name": "end", + "nativeSrc": "3577:3:20", + "nodeType": "YulIdentifier", + "src": "3577:3:20" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "3554:3:20", + "nodeType": "YulIdentifier", + "src": "3554:3:20" + }, + "nativeSrc": "3554:27:20", + "nodeType": "YulFunctionCall", + "src": "3554:27:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "3547:6:20", + "nodeType": "YulIdentifier", + "src": "3547:6:20" + }, + "nativeSrc": "3547:35:20", + "nodeType": "YulFunctionCall", + "src": "3547:35:20" + }, + "nativeSrc": "3544:122:20", + "nodeType": "YulIf", + "src": "3544:122:20" + }, + { + "nativeSrc": "3675:34:20", + "nodeType": "YulVariableDeclaration", + "src": "3675:34:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3702:6:20", + "nodeType": "YulIdentifier", + "src": "3702:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "3689:12:20", + "nodeType": "YulIdentifier", + "src": "3689:12:20" + }, + "nativeSrc": "3689:20:20", + "nodeType": "YulFunctionCall", + "src": "3689:20:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "3679:6:20", + "nodeType": "YulTypedName", + "src": "3679:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3718:87:20", + "nodeType": "YulAssignment", + "src": "3718:87:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3778:6:20", + "nodeType": "YulIdentifier", + "src": "3778:6:20" + }, + { + "kind": "number", + "nativeSrc": "3786:4:20", + "nodeType": "YulLiteral", + "src": "3786:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3774:3:20", + "nodeType": "YulIdentifier", + "src": "3774:3:20" + }, + "nativeSrc": "3774:17:20", + "nodeType": "YulFunctionCall", + "src": "3774:17:20" + }, + { + "name": "length", + "nativeSrc": "3793:6:20", + "nodeType": "YulIdentifier", + "src": "3793:6:20" + }, + { + "name": "end", + "nativeSrc": "3801:3:20", + "nodeType": "YulIdentifier", + "src": "3801:3:20" + } + ], + "functionName": { + "name": "abi_decode_available_length_t_bytes_memory_ptr", + "nativeSrc": "3727:46:20", + "nodeType": "YulIdentifier", + "src": "3727:46:20" + }, + "nativeSrc": "3727:78:20", + "nodeType": "YulFunctionCall", + "src": "3727:78:20" + }, + "variableNames": [ + { + "name": "array", + "nativeSrc": "3718:5:20", + "nodeType": "YulIdentifier", + "src": "3718:5:20" + } + ] + } + ] + }, + "name": "abi_decode_t_bytes_memory_ptr", + "nativeSrc": "3473:338:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "3512:6:20", + "nodeType": "YulTypedName", + "src": "3512:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "3520:3:20", + "nodeType": "YulTypedName", + "src": "3520:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nativeSrc": "3528:5:20", + "nodeType": "YulTypedName", + "src": "3528:5:20", + "type": "" + } + ], + "src": "3473:338:20" + }, + { + "body": { + "nativeSrc": "3917:568:20", + "nodeType": "YulBlock", + "src": "3917:568:20", + "statements": [ + { + "body": { + "nativeSrc": "3963:83:20", + "nodeType": "YulBlock", + "src": "3963:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "3965:77:20", + "nodeType": "YulIdentifier", + "src": "3965:77:20" + }, + "nativeSrc": "3965:79:20", + "nodeType": "YulFunctionCall", + "src": "3965:79:20" + }, + "nativeSrc": "3965:79:20", + "nodeType": "YulExpressionStatement", + "src": "3965:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "3938:7:20", + "nodeType": "YulIdentifier", + "src": "3938:7:20" + }, + { + "name": "headStart", + "nativeSrc": "3947:9:20", + "nodeType": "YulIdentifier", + "src": "3947:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3934:3:20", + "nodeType": "YulIdentifier", + "src": "3934:3:20" + }, + "nativeSrc": "3934:23:20", + "nodeType": "YulFunctionCall", + "src": "3934:23:20" + }, + { + "kind": "number", + "nativeSrc": "3959:2:20", + "nodeType": "YulLiteral", + "src": "3959:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "3930:3:20", + "nodeType": "YulIdentifier", + "src": "3930:3:20" + }, + "nativeSrc": "3930:32:20", + "nodeType": "YulFunctionCall", + "src": "3930:32:20" + }, + "nativeSrc": "3927:119:20", + "nodeType": "YulIf", + "src": "3927:119:20" + }, + { + "nativeSrc": "4056:125:20", + "nodeType": "YulBlock", + "src": "4056:125:20", + "statements": [ + { + "nativeSrc": "4071:15:20", + "nodeType": "YulVariableDeclaration", + "src": "4071:15:20", + "value": { + "kind": "number", + "nativeSrc": "4085:1:20", + "nodeType": "YulLiteral", + "src": "4085:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4075:6:20", + "nodeType": "YulTypedName", + "src": "4075:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4100:71:20", + "nodeType": "YulAssignment", + "src": "4100:71:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4143:9:20", + "nodeType": "YulIdentifier", + "src": "4143:9:20" + }, + { + "name": "offset", + "nativeSrc": "4154:6:20", + "nodeType": "YulIdentifier", + "src": "4154:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4139:3:20", + "nodeType": "YulIdentifier", + "src": "4139:3:20" + }, + "nativeSrc": "4139:22:20", + "nodeType": "YulFunctionCall", + "src": "4139:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4163:7:20", + "nodeType": "YulIdentifier", + "src": "4163:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_payable", + "nativeSrc": "4110:28:20", + "nodeType": "YulIdentifier", + "src": "4110:28:20" + }, + "nativeSrc": "4110:61:20", + "nodeType": "YulFunctionCall", + "src": "4110:61:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "4100:6:20", + "nodeType": "YulIdentifier", + "src": "4100:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "4191:287:20", + "nodeType": "YulBlock", + "src": "4191:287:20", + "statements": [ + { + "nativeSrc": "4206:46:20", + "nodeType": "YulVariableDeclaration", + "src": "4206:46:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4237:9:20", + "nodeType": "YulIdentifier", + "src": "4237:9:20" + }, + { + "kind": "number", + "nativeSrc": "4248:2:20", + "nodeType": "YulLiteral", + "src": "4248:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4233:3:20", + "nodeType": "YulIdentifier", + "src": "4233:3:20" + }, + "nativeSrc": "4233:18:20", + "nodeType": "YulFunctionCall", + "src": "4233:18:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "4220:12:20", + "nodeType": "YulIdentifier", + "src": "4220:12:20" + }, + "nativeSrc": "4220:32:20", + "nodeType": "YulFunctionCall", + "src": "4220:32:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4210:6:20", + "nodeType": "YulTypedName", + "src": "4210:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "4299:83:20", + "nodeType": "YulBlock", + "src": "4299:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "4301:77:20", + "nodeType": "YulIdentifier", + "src": "4301:77:20" + }, + "nativeSrc": "4301:79:20", + "nodeType": "YulFunctionCall", + "src": "4301:79:20" + }, + "nativeSrc": "4301:79:20", + "nodeType": "YulExpressionStatement", + "src": "4301:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "4271:6:20", + "nodeType": "YulIdentifier", + "src": "4271:6:20" + }, + { + "kind": "number", + "nativeSrc": "4279:18:20", + "nodeType": "YulLiteral", + "src": "4279:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "4268:2:20", + "nodeType": "YulIdentifier", + "src": "4268:2:20" + }, + "nativeSrc": "4268:30:20", + "nodeType": "YulFunctionCall", + "src": "4268:30:20" + }, + "nativeSrc": "4265:117:20", + "nodeType": "YulIf", + "src": "4265:117:20" + }, + { + "nativeSrc": "4396:72:20", + "nodeType": "YulAssignment", + "src": "4396:72:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4440:9:20", + "nodeType": "YulIdentifier", + "src": "4440:9:20" + }, + { + "name": "offset", + "nativeSrc": "4451:6:20", + "nodeType": "YulIdentifier", + "src": "4451:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4436:3:20", + "nodeType": "YulIdentifier", + "src": "4436:3:20" + }, + "nativeSrc": "4436:22:20", + "nodeType": "YulFunctionCall", + "src": "4436:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4460:7:20", + "nodeType": "YulIdentifier", + "src": "4460:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_memory_ptr", + "nativeSrc": "4406:29:20", + "nodeType": "YulIdentifier", + "src": "4406:29:20" + }, + "nativeSrc": "4406:62:20", + "nodeType": "YulFunctionCall", + "src": "4406:62:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "4396:6:20", + "nodeType": "YulIdentifier", + "src": "4396:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_payablet_bytes_memory_ptr", + "nativeSrc": "3817:668:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "3879:9:20", + "nodeType": "YulTypedName", + "src": "3879:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "3890:7:20", + "nodeType": "YulTypedName", + "src": "3890:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "3902:6:20", + "nodeType": "YulTypedName", + "src": "3902:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "3910:6:20", + "nodeType": "YulTypedName", + "src": "3910:6:20", + "type": "" + } + ], + "src": "3817:668:20" + }, + { + "body": { + "nativeSrc": "4536:51:20", + "nodeType": "YulBlock", + "src": "4536:51:20", + "statements": [ + { + "nativeSrc": "4546:35:20", + "nodeType": "YulAssignment", + "src": "4546:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "4575:5:20", + "nodeType": "YulIdentifier", + "src": "4575:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "4557:17:20", + "nodeType": "YulIdentifier", + "src": "4557:17:20" + }, + "nativeSrc": "4557:24:20", + "nodeType": "YulFunctionCall", + "src": "4557:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "4546:7:20", + "nodeType": "YulIdentifier", + "src": "4546:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "4491:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4518:5:20", + "nodeType": "YulTypedName", + "src": "4518:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "4528:7:20", + "nodeType": "YulTypedName", + "src": "4528:7:20", + "type": "" + } + ], + "src": "4491:96:20" + }, + { + "body": { + "nativeSrc": "4658:53:20", + "nodeType": "YulBlock", + "src": "4658:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4675:3:20", + "nodeType": "YulIdentifier", + "src": "4675:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "4698:5:20", + "nodeType": "YulIdentifier", + "src": "4698:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "4680:17:20", + "nodeType": "YulIdentifier", + "src": "4680:17:20" + }, + "nativeSrc": "4680:24:20", + "nodeType": "YulFunctionCall", + "src": "4680:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "4668:6:20", + "nodeType": "YulIdentifier", + "src": "4668:6:20" + }, + "nativeSrc": "4668:37:20", + "nodeType": "YulFunctionCall", + "src": "4668:37:20" + }, + "nativeSrc": "4668:37:20", + "nodeType": "YulExpressionStatement", + "src": "4668:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4593:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4646:5:20", + "nodeType": "YulTypedName", + "src": "4646:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "4653:3:20", + "nodeType": "YulTypedName", + "src": "4653:3:20", + "type": "" + } + ], + "src": "4593:118:20" + }, + { + "body": { + "nativeSrc": "4815:124:20", + "nodeType": "YulBlock", + "src": "4815:124:20", + "statements": [ + { + "nativeSrc": "4825:26:20", + "nodeType": "YulAssignment", + "src": "4825:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4837:9:20", + "nodeType": "YulIdentifier", + "src": "4837:9:20" + }, + { + "kind": "number", + "nativeSrc": "4848:2:20", + "nodeType": "YulLiteral", + "src": "4848:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4833:3:20", + "nodeType": "YulIdentifier", + "src": "4833:3:20" + }, + "nativeSrc": "4833:18:20", + "nodeType": "YulFunctionCall", + "src": "4833:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4825:4:20", + "nodeType": "YulIdentifier", + "src": "4825:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "4905:6:20", + "nodeType": "YulIdentifier", + "src": "4905:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4918:9:20", + "nodeType": "YulIdentifier", + "src": "4918:9:20" + }, + { + "kind": "number", + "nativeSrc": "4929:1:20", + "nodeType": "YulLiteral", + "src": "4929:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4914:3:20", + "nodeType": "YulIdentifier", + "src": "4914:3:20" + }, + "nativeSrc": "4914:17:20", + "nodeType": "YulFunctionCall", + "src": "4914:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4861:43:20", + "nodeType": "YulIdentifier", + "src": "4861:43:20" + }, + "nativeSrc": "4861:71:20", + "nodeType": "YulFunctionCall", + "src": "4861:71:20" + }, + "nativeSrc": "4861:71:20", + "nodeType": "YulExpressionStatement", + "src": "4861:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "4717:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4787:9:20", + "nodeType": "YulTypedName", + "src": "4787:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4799:6:20", + "nodeType": "YulTypedName", + "src": "4799:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4810:4:20", + "nodeType": "YulTypedName", + "src": "4810:4:20", + "type": "" + } + ], + "src": "4717:222:20" + }, + { + "body": { + "nativeSrc": "5003:40:20", + "nodeType": "YulBlock", + "src": "5003:40:20", + "statements": [ + { + "nativeSrc": "5014:22:20", + "nodeType": "YulAssignment", + "src": "5014:22:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "5030:5:20", + "nodeType": "YulIdentifier", + "src": "5030:5:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "5024:5:20", + "nodeType": "YulIdentifier", + "src": "5024:5:20" + }, + "nativeSrc": "5024:12:20", + "nodeType": "YulFunctionCall", + "src": "5024:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "5014:6:20", + "nodeType": "YulIdentifier", + "src": "5014:6:20" + } + ] + } + ] + }, + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "4945:98:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4986:5:20", + "nodeType": "YulTypedName", + "src": "4986:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "4996:6:20", + "nodeType": "YulTypedName", + "src": "4996:6:20", + "type": "" + } + ], + "src": "4945:98:20" + }, + { + "body": { + "nativeSrc": "5162:34:20", + "nodeType": "YulBlock", + "src": "5162:34:20", + "statements": [ + { + "nativeSrc": "5172:18:20", + "nodeType": "YulAssignment", + "src": "5172:18:20", + "value": { + "name": "pos", + "nativeSrc": "5187:3:20", + "nodeType": "YulIdentifier", + "src": "5187:3:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "5172:11:20", + "nodeType": "YulIdentifier", + "src": "5172:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5049:147:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "5134:3:20", + "nodeType": "YulTypedName", + "src": "5134:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "5139:6:20", + "nodeType": "YulTypedName", + "src": "5139:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "5150:11:20", + "nodeType": "YulTypedName", + "src": "5150:11:20", + "type": "" + } + ], + "src": "5049:147:20" + }, + { + "body": { + "nativeSrc": "5264:186:20", + "nodeType": "YulBlock", + "src": "5264:186:20", + "statements": [ + { + "nativeSrc": "5275:10:20", + "nodeType": "YulVariableDeclaration", + "src": "5275:10:20", + "value": { + "kind": "number", + "nativeSrc": "5284:1:20", + "nodeType": "YulLiteral", + "src": "5284:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nativeSrc": "5279:1:20", + "nodeType": "YulTypedName", + "src": "5279:1:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "5344:63:20", + "nodeType": "YulBlock", + "src": "5344:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "5369:3:20", + "nodeType": "YulIdentifier", + "src": "5369:3:20" + }, + { + "name": "i", + "nativeSrc": "5374:1:20", + "nodeType": "YulIdentifier", + "src": "5374:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5365:3:20", + "nodeType": "YulIdentifier", + "src": "5365:3:20" + }, + "nativeSrc": "5365:11:20", + "nodeType": "YulFunctionCall", + "src": "5365:11:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "5388:3:20", + "nodeType": "YulIdentifier", + "src": "5388:3:20" + }, + { + "name": "i", + "nativeSrc": "5393:1:20", + "nodeType": "YulIdentifier", + "src": "5393:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5384:3:20", + "nodeType": "YulIdentifier", + "src": "5384:3:20" + }, + "nativeSrc": "5384:11:20", + "nodeType": "YulFunctionCall", + "src": "5384:11:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "5378:5:20", + "nodeType": "YulIdentifier", + "src": "5378:5:20" + }, + "nativeSrc": "5378:18:20", + "nodeType": "YulFunctionCall", + "src": "5378:18:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "5358:6:20", + "nodeType": "YulIdentifier", + "src": "5358:6:20" + }, + "nativeSrc": "5358:39:20", + "nodeType": "YulFunctionCall", + "src": "5358:39:20" + }, + "nativeSrc": "5358:39:20", + "nodeType": "YulExpressionStatement", + "src": "5358:39:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nativeSrc": "5305:1:20", + "nodeType": "YulIdentifier", + "src": "5305:1:20" + }, + { + "name": "length", + "nativeSrc": "5308:6:20", + "nodeType": "YulIdentifier", + "src": "5308:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "5302:2:20", + "nodeType": "YulIdentifier", + "src": "5302:2:20" + }, + "nativeSrc": "5302:13:20", + "nodeType": "YulFunctionCall", + "src": "5302:13:20" + }, + "nativeSrc": "5294:113:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "5316:19:20", + "nodeType": "YulBlock", + "src": "5316:19:20", + "statements": [ + { + "nativeSrc": "5318:15:20", + "nodeType": "YulAssignment", + "src": "5318:15:20", + "value": { + "arguments": [ + { + "name": "i", + "nativeSrc": "5327:1:20", + "nodeType": "YulIdentifier", + "src": "5327:1:20" + }, + { + "kind": "number", + "nativeSrc": "5330:2:20", + "nodeType": "YulLiteral", + "src": "5330:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5323:3:20", + "nodeType": "YulIdentifier", + "src": "5323:3:20" + }, + "nativeSrc": "5323:10:20", + "nodeType": "YulFunctionCall", + "src": "5323:10:20" + }, + "variableNames": [ + { + "name": "i", + "nativeSrc": "5318:1:20", + "nodeType": "YulIdentifier", + "src": "5318:1:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "5298:3:20", + "nodeType": "YulBlock", + "src": "5298:3:20", + "statements": [] + }, + "src": "5294:113:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "5427:3:20", + "nodeType": "YulIdentifier", + "src": "5427:3:20" + }, + { + "name": "length", + "nativeSrc": "5432:6:20", + "nodeType": "YulIdentifier", + "src": "5432:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5423:3:20", + "nodeType": "YulIdentifier", + "src": "5423:3:20" + }, + "nativeSrc": "5423:16:20", + "nodeType": "YulFunctionCall", + "src": "5423:16:20" + }, + { + "kind": "number", + "nativeSrc": "5441:1:20", + "nodeType": "YulLiteral", + "src": "5441:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "5416:6:20", + "nodeType": "YulIdentifier", + "src": "5416:6:20" + }, + "nativeSrc": "5416:27:20", + "nodeType": "YulFunctionCall", + "src": "5416:27:20" + }, + "nativeSrc": "5416:27:20", + "nodeType": "YulExpressionStatement", + "src": "5416:27:20" + } + ] + }, + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "5202:248:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "5246:3:20", + "nodeType": "YulTypedName", + "src": "5246:3:20", + "type": "" + }, + { + "name": "dst", + "nativeSrc": "5251:3:20", + "nodeType": "YulTypedName", + "src": "5251:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "5256:6:20", + "nodeType": "YulTypedName", + "src": "5256:6:20", + "type": "" + } + ], + "src": "5202:248:20" + }, + { + "body": { + "nativeSrc": "5564:278:20", + "nodeType": "YulBlock", + "src": "5564:278:20", + "statements": [ + { + "nativeSrc": "5574:52:20", + "nodeType": "YulVariableDeclaration", + "src": "5574:52:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "5620:5:20", + "nodeType": "YulIdentifier", + "src": "5620:5:20" + } + ], + "functionName": { + "name": "array_length_t_bytes_memory_ptr", + "nativeSrc": "5588:31:20", + "nodeType": "YulIdentifier", + "src": "5588:31:20" + }, + "nativeSrc": "5588:38:20", + "nodeType": "YulFunctionCall", + "src": "5588:38:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "5578:6:20", + "nodeType": "YulTypedName", + "src": "5578:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5635:95:20", + "nodeType": "YulAssignment", + "src": "5635:95:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5718:3:20", + "nodeType": "YulIdentifier", + "src": "5718:3:20" + }, + { + "name": "length", + "nativeSrc": "5723:6:20", + "nodeType": "YulIdentifier", + "src": "5723:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5642:75:20", + "nodeType": "YulIdentifier", + "src": "5642:75:20" + }, + "nativeSrc": "5642:88:20", + "nodeType": "YulFunctionCall", + "src": "5642:88:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5635:3:20", + "nodeType": "YulIdentifier", + "src": "5635:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "5778:5:20", + "nodeType": "YulIdentifier", + "src": "5778:5:20" + }, + { + "kind": "number", + "nativeSrc": "5785:4:20", + "nodeType": "YulLiteral", + "src": "5785:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5774:3:20", + "nodeType": "YulIdentifier", + "src": "5774:3:20" + }, + "nativeSrc": "5774:16:20", + "nodeType": "YulFunctionCall", + "src": "5774:16:20" + }, + { + "name": "pos", + "nativeSrc": "5792:3:20", + "nodeType": "YulIdentifier", + "src": "5792:3:20" + }, + { + "name": "length", + "nativeSrc": "5797:6:20", + "nodeType": "YulIdentifier", + "src": "5797:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "5739:34:20", + "nodeType": "YulIdentifier", + "src": "5739:34:20" + }, + "nativeSrc": "5739:65:20", + "nodeType": "YulFunctionCall", + "src": "5739:65:20" + }, + "nativeSrc": "5739:65:20", + "nodeType": "YulExpressionStatement", + "src": "5739:65:20" + }, + { + "nativeSrc": "5813:23:20", + "nodeType": "YulAssignment", + "src": "5813:23:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5824:3:20", + "nodeType": "YulIdentifier", + "src": "5824:3:20" + }, + { + "name": "length", + "nativeSrc": "5829:6:20", + "nodeType": "YulIdentifier", + "src": "5829:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5820:3:20", + "nodeType": "YulIdentifier", + "src": "5820:3:20" + }, + "nativeSrc": "5820:16:20", + "nodeType": "YulFunctionCall", + "src": "5820:16:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "5813:3:20", + "nodeType": "YulIdentifier", + "src": "5813:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5456:386:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "5545:5:20", + "nodeType": "YulTypedName", + "src": "5545:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "5552:3:20", + "nodeType": "YulTypedName", + "src": "5552:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "5560:3:20", + "nodeType": "YulTypedName", + "src": "5560:3:20", + "type": "" + } + ], + "src": "5456:386:20" + }, + { + "body": { + "nativeSrc": "5982:137:20", + "nodeType": "YulBlock", + "src": "5982:137:20", + "statements": [ + { + "nativeSrc": "5993:100:20", + "nodeType": "YulAssignment", + "src": "5993:100:20", + "value": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "6080:6:20", + "nodeType": "YulIdentifier", + "src": "6080:6:20" + }, + { + "name": "pos", + "nativeSrc": "6089:3:20", + "nodeType": "YulIdentifier", + "src": "6089:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "6000:79:20", + "nodeType": "YulIdentifier", + "src": "6000:79:20" + }, + "nativeSrc": "6000:93:20", + "nodeType": "YulFunctionCall", + "src": "6000:93:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5993:3:20", + "nodeType": "YulIdentifier", + "src": "5993:3:20" + } + ] + }, + { + "nativeSrc": "6103:10:20", + "nodeType": "YulAssignment", + "src": "6103:10:20", + "value": { + "name": "pos", + "nativeSrc": "6110:3:20", + "nodeType": "YulIdentifier", + "src": "6110:3:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "6103:3:20", + "nodeType": "YulIdentifier", + "src": "6103:3:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nativeSrc": "5848:271:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "5961:3:20", + "nodeType": "YulTypedName", + "src": "5961:3:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "5967:6:20", + "nodeType": "YulTypedName", + "src": "5967:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "5978:3:20", + "nodeType": "YulTypedName", + "src": "5978:3:20", + "type": "" + } + ], + "src": "5848:271:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_7678404c0552a58cf14944d1a786cf4c81aab3563e2735cb332aee47bbb57c4a() {\n revert(0, 0)\n }\n\n function revert_error_46e3e63c93837e9efa638abb3b4e76ced8c11259a873f1381a0abdf6ae6a823c() {\n revert(0, 0)\n }\n\n function calldata_array_index_range_access_t_bytes_calldata_ptr(offset, length, startIndex, endIndex) -> offsetOut, lengthOut {\n if gt(startIndex, endIndex) { revert_error_7678404c0552a58cf14944d1a786cf4c81aab3563e2735cb332aee47bbb57c4a() }\n if gt(endIndex, length) { revert_error_46e3e63c93837e9efa638abb3b4e76ced8c11259a873f1381a0abdf6ae6a823c() }\n offsetOut := add(offset, mul(startIndex, 1))\n lengthOut := sub(endIndex, startIndex)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address_payable(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address_payable(value)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\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 allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_bytes_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_calldata_to_memory_with_cleanup(src, dst, length) {\n\n calldatacopy(dst, src, length)\n mstore(add(dst, length), 0)\n\n }\n\n function abi_decode_available_length_t_bytes_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_bytes_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory_with_cleanup(src, dst, length)\n }\n\n // bytes\n function abi_decode_t_bytes_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_bytes_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_address_payablet_bytes_memory_ptr(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_payable(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1 := abi_decode_t_bytes_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function array_length_t_bytes_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n\n }\n\n function abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_bytes_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value0) -> end {\n\n pos := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n end := pos\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": { + "629": [ + { + "length": 32, + "start": 262 + } + ] + }, + "linkReferences": {}, + "object": "608060405261000c61000e565b005b610016610102565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036100f757634f1ef28660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166000357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146100ea576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100f261012a565b610100565b6100ff610160565b5b565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000806000366004908092610141939291906104f1565b81019061014e91906106da565b9150915061015c8282610172565b5050565b61017061016b6101e5565b6101f4565b565b61017b8261021a565b8173ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a26000815111156101d8576101d282826102e7565b506101e1565b6101e061036b565b5b5050565b60006101ef6103a8565b905090565b3660008037600080366000845af43d6000803e8060008114610215573d6000f35b3d6000fd5b60008173ffffffffffffffffffffffffffffffffffffffff163b0361027657806040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815260040161026d9190610757565b60405180910390fd5b806102a37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6103ff565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000808473ffffffffffffffffffffffffffffffffffffffff168460405161031191906107e3565b600060405180830381855af49150503d806000811461034c576040519150601f19603f3d011682016040523d82523d6000602084013e610351565b606091505b5091509150610361858383610409565b9250505092915050565b60003411156103a6576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60006103d67f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6103ff565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000819050919050565b60608261041e5761041982610498565b610490565b60008251148015610446575060008473ffffffffffffffffffffffffffffffffffffffff163b145b1561048857836040517f9996b31500000000000000000000000000000000000000000000000000000000815260040161047f9190610757565b60405180910390fd5b819050610491565b5b9392505050565b6000815111156104ab5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604051905090565b600080fd5b600080fd5b60008085851115610505576105046104e7565b5b83861115610516576105156104ec565b5b6001850283019150848603905094509492505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061056182610536565b9050919050565b61057181610556565b811461057c57600080fd5b50565b60008135905061058e81610568565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6105e78261059e565b810181811067ffffffffffffffff82111715610606576106056105af565b5b80604052505050565b60006106196104dd565b905061062582826105de565b919050565b600067ffffffffffffffff821115610645576106446105af565b5b61064e8261059e565b9050602081019050919050565b82818337600083830152505050565b600061067d6106788461062a565b61060f565b90508281526020810184848401111561069957610698610599565b5b6106a484828561065b565b509392505050565b600082601f8301126106c1576106c0610594565b5b81356106d184826020860161066a565b91505092915050565b600080604083850312156106f1576106f061052c565b5b60006106ff8582860161057f565b925050602083013567ffffffffffffffff8111156107205761071f610531565b5b61072c858286016106ac565b9150509250929050565b600061074182610536565b9050919050565b61075181610736565b82525050565b600060208201905061076c6000830184610748565b92915050565b600081519050919050565b600081905092915050565b60005b838110156107a657808201518184015260208101905061078b565b60008484015250505050565b60006107bd82610772565b6107c7818561077d565b93506107d7818560208601610788565b80840191505092915050565b60006107ef82846107b2565b91508190509291505056fea264697066735822122084eee66f637082aaeba4fe604bf5d46830c8fb5c3a38d6b59fb60a44b2f3960f64736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH2 0xC PUSH2 0xE JUMP JUMPDEST STOP JUMPDEST PUSH2 0x16 PUSH2 0x102 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xF7 JUMPI PUSH4 0x4F1EF286 PUSH1 0xE0 SHL PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x0 CALLDATALOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND EQ PUSH2 0xEA JUMPI PUSH1 0x40 MLOAD PUSH32 0xD2B576EC00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xF2 PUSH2 0x12A JUMP JUMPDEST PUSH2 0x100 JUMP JUMPDEST PUSH2 0xFF PUSH2 0x160 JUMP JUMPDEST JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH32 0x0 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 CALLDATASIZE PUSH1 0x4 SWAP1 DUP1 SWAP3 PUSH2 0x141 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x4F1 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x14E SWAP2 SWAP1 PUSH2 0x6DA JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x15C DUP3 DUP3 PUSH2 0x172 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x170 PUSH2 0x16B PUSH2 0x1E5 JUMP JUMPDEST PUSH2 0x1F4 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x17B DUP3 PUSH2 0x21A JUMP JUMPDEST DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0x1D8 JUMPI PUSH2 0x1D2 DUP3 DUP3 PUSH2 0x2E7 JUMP JUMPDEST POP PUSH2 0x1E1 JUMP JUMPDEST PUSH2 0x1E0 PUSH2 0x36B JUMP JUMPDEST JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1EF PUSH2 0x3A8 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x215 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE SUB PUSH2 0x276 JUMPI DUP1 PUSH1 0x40 MLOAD PUSH32 0x4C9C8CE300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x26D SWAP2 SWAP1 PUSH2 0x757 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x2A3 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x3FF JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD PUSH2 0x311 SWAP2 SWAP1 PUSH2 0x7E3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x34C JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x351 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x361 DUP6 DUP4 DUP4 PUSH2 0x409 JUMP JUMPDEST SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLVALUE GT ISZERO PUSH2 0x3A6 JUMPI PUSH1 0x40 MLOAD PUSH32 0xB398979F00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D6 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC PUSH1 0x0 SHL PUSH2 0x3FF JUMP JUMPDEST PUSH1 0x0 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 DUP3 PUSH2 0x41E JUMPI PUSH2 0x419 DUP3 PUSH2 0x498 JUMP JUMPDEST PUSH2 0x490 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD EQ DUP1 ISZERO PUSH2 0x446 JUMPI POP PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE EQ JUMPDEST ISZERO PUSH2 0x488 JUMPI DUP4 PUSH1 0x40 MLOAD PUSH32 0x9996B31500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x47F SWAP2 SWAP1 PUSH2 0x757 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 SWAP1 POP PUSH2 0x491 JUMP JUMPDEST JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD GT ISZERO PUSH2 0x4AB JUMPI DUP1 MLOAD DUP1 DUP3 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x1425EA4200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP6 DUP6 GT ISZERO PUSH2 0x505 JUMPI PUSH2 0x504 PUSH2 0x4E7 JUMP JUMPDEST JUMPDEST DUP4 DUP7 GT ISZERO PUSH2 0x516 JUMPI PUSH2 0x515 PUSH2 0x4EC JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 MUL DUP4 ADD SWAP2 POP DUP5 DUP7 SUB SWAP1 POP SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x561 DUP3 PUSH2 0x536 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x571 DUP2 PUSH2 0x556 JUMP JUMPDEST DUP2 EQ PUSH2 0x57C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x58E DUP2 PUSH2 0x568 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP 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 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x5E7 DUP3 PUSH2 0x59E JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x606 JUMPI PUSH2 0x605 PUSH2 0x5AF JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x619 PUSH2 0x4DD JUMP JUMPDEST SWAP1 POP PUSH2 0x625 DUP3 DUP3 PUSH2 0x5DE JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x645 JUMPI PUSH2 0x644 PUSH2 0x5AF JUMP JUMPDEST JUMPDEST PUSH2 0x64E DUP3 PUSH2 0x59E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x67D PUSH2 0x678 DUP5 PUSH2 0x62A JUMP JUMPDEST PUSH2 0x60F JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x699 JUMPI PUSH2 0x698 PUSH2 0x599 JUMP JUMPDEST JUMPDEST PUSH2 0x6A4 DUP5 DUP3 DUP6 PUSH2 0x65B JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6C1 JUMPI PUSH2 0x6C0 PUSH2 0x594 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x6D1 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x66A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x6F1 JUMPI PUSH2 0x6F0 PUSH2 0x52C JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x6FF DUP6 DUP3 DUP7 ADD PUSH2 0x57F JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x720 JUMPI PUSH2 0x71F PUSH2 0x531 JUMP JUMPDEST JUMPDEST PUSH2 0x72C DUP6 DUP3 DUP7 ADD PUSH2 0x6AC JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x741 DUP3 PUSH2 0x536 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x751 DUP2 PUSH2 0x736 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x76C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x748 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x7A6 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x78B JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7BD DUP3 PUSH2 0x772 JUMP JUMPDEST PUSH2 0x7C7 DUP2 DUP6 PUSH2 0x77D JUMP JUMPDEST SWAP4 POP PUSH2 0x7D7 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x788 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7EF DUP3 DUP5 PUSH2 0x7B2 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP5 0xEE 0xE6 PUSH16 0x637082AAEBA4FE604BF5D46830C8FB5C GASPRICE CODESIZE 0xD6 0xB5 SWAP16 0xB6 EXP PREVRANDAO 0xB2 RETURN SWAP7 0xF PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "4145:2226:7:-:0;;;2649:11:4;:9;:11::i;:::-;4145:2226:7;5581:369;5656:13;:11;:13::i;:::-;5642:27;;:10;:27;;;5638:306;;5700:54;;;5689:65;;;:7;;;;:65;;;;5685:201;;5781:24;;;;;;;;;;;;;;5685:201;5844:27;:25;:27::i;:::-;5638:306;;;5916:17;:15;:17::i;:::-;5638:306;5581:369::o;5351:88::-;5400:7;5426:6;5419:13;;5351:88;:::o;6152:217::-;6208:25;6235:17;6267:8;;6276:1;6267:12;;;;;;;;;:::i;:::-;6256:42;;;;;;;:::i;:::-;6207:91;;;;6308:54;6338:17;6357:4;6308:29;:54::i;:::-;6197:172;;6152:217::o;2323:83:4:-;2371:28;2381:17;:15;:17::i;:::-;2371:9;:28::i;:::-;2323:83::o;2779:335:3:-;2870:37;2889:17;2870:18;:37::i;:::-;2931:17;2922:27;;;;;;;;;;;;2978:1;2964:4;:11;:15;2960:148;;;2995:53;3024:17;3043:4;2995:28;:53::i;:::-;;2960:148;;;3079:18;:16;:18::i;:::-;2960:148;2779:335;;:::o;1581:132:2:-;1648:7;1674:32;:30;:32::i;:::-;1667:39;;1581:132;:::o;949:895:4:-;1287:14;1284:1;1281;1268:34;1501:1;1498;1482:14;1479:1;1463:14;1456:5;1443:60;1577:16;1574:1;1571;1556:38;1615:6;1687:1;1682:66;;;;1797:16;1794:1;1787:27;1682:66;1717:16;1714:1;1707:27;2186:281:3;2296:1;2263:17;:29;;;:34;2259:119;;2349:17;2320:47;;;;;;;;;;;:::i;:::-;;;;;;;;2259:119;2443:17;2387:47;1327:66;2414:19;;2387:26;:47::i;:::-;:53;;;:73;;;;;;;;;;;;;;;;;;2186:281;:::o;4106:253:8:-;4189:12;4214;4228:23;4255:6;:19;;4275:4;4255:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4213:67;;;;4297:55;4324:6;4332:7;4341:10;4297:26;:55::i;:::-;4290:62;;;;4106:253;;;;:::o;6598:122:3:-;6660:1;6648:9;:13;6644:70;;;6684:19;;;;;;;;;;;;;;6644:70;6598:122::o;1957:138::-;2009:7;2035:47;1327:66;2062:19;;2035:26;:47::i;:::-;:53;;;;;;;;;;;;2028:60;;1957:138;:::o;1684:190:11:-;1745:21;1854:4;1844:14;;1684:190;;;:::o;4625:582:8:-;4769:12;4798:7;4793:408;;4821:19;4829:10;4821:7;:19::i;:::-;4793:408;;;5066:1;5045:10;:17;:22;:49;;;;;5093:1;5071:6;:18;;;:23;5045:49;5041:119;;;5138:6;5121:24;;;;;;;;;;;:::i;:::-;;;;;;;;5041:119;5180:10;5173:17;;;;4793:408;4625:582;;;;;;:::o;5743:516::-;5894:1;5874:10;:17;:21;5870:383;;;6102:10;6096:17;6158:15;6145:10;6141:2;6137:19;6130:44;5870:383;6225:17;;;;;;;;;;;;;;7:75:20;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:469;439:9;450;488:8;476:10;473:24;470:111;;;500:79;;:::i;:::-;470:111;606:6;596:8;593:20;590:107;;;616:79;;:::i;:::-;590:107;747:1;735:10;731:18;723:6;719:31;706:44;;786:10;776:8;772:25;759:38;;334:469;;;;;;;:::o;809:117::-;918:1;915;908:12;932:117;1041:1;1038;1031:12;1055:126;1092:7;1132:42;1125:5;1121:54;1110:65;;1055:126;;;:::o;1187:104::-;1232:7;1261:24;1279:5;1261:24;:::i;:::-;1250:35;;1187:104;;;:::o;1297:138::-;1378:32;1404:5;1378:32;:::i;:::-;1371:5;1368:43;1358:71;;1425:1;1422;1415:12;1358:71;1297:138;:::o;1441:155::-;1495:5;1533:6;1520:20;1511:29;;1549:41;1584:5;1549:41;:::i;:::-;1441:155;;;;:::o;1602:117::-;1711:1;1708;1701:12;1725:117;1834:1;1831;1824:12;1848:102;1889:6;1940:2;1936:7;1931:2;1924:5;1920:14;1916:28;1906:38;;1848:102;;;:::o;1956:180::-;2004:77;2001:1;1994:88;2101:4;2098:1;2091:15;2125:4;2122:1;2115:15;2142:281;2225:27;2247:4;2225:27;:::i;:::-;2217:6;2213:40;2355:6;2343:10;2340:22;2319:18;2307:10;2304:34;2301:62;2298:88;;;2366:18;;:::i;:::-;2298:88;2406:10;2402:2;2395:22;2185:238;2142:281;;:::o;2429:129::-;2463:6;2490:20;;:::i;:::-;2480:30;;2519:33;2547:4;2539:6;2519:33;:::i;:::-;2429:129;;;:::o;2564:307::-;2625:4;2715:18;2707:6;2704:30;2701:56;;;2737:18;;:::i;:::-;2701:56;2775:29;2797:6;2775:29;:::i;:::-;2767:37;;2859:4;2853;2849:15;2841:23;;2564:307;;;:::o;2877:148::-;2975:6;2970:3;2965;2952:30;3016:1;3007:6;3002:3;2998:16;2991:27;2877:148;;;:::o;3031:423::-;3108:5;3133:65;3149:48;3190:6;3149:48;:::i;:::-;3133:65;:::i;:::-;3124:74;;3221:6;3214:5;3207:21;3259:4;3252:5;3248:16;3297:3;3288:6;3283:3;3279:16;3276:25;3273:112;;;3304:79;;:::i;:::-;3273:112;3394:54;3441:6;3436:3;3431;3394:54;:::i;:::-;3114:340;3031:423;;;;;:::o;3473:338::-;3528:5;3577:3;3570:4;3562:6;3558:17;3554:27;3544:122;;3585:79;;:::i;:::-;3544:122;3702:6;3689:20;3727:78;3801:3;3793:6;3786:4;3778:6;3774:17;3727:78;:::i;:::-;3718:87;;3534:277;3473:338;;;;:::o;3817:668::-;3902:6;3910;3959:2;3947:9;3938:7;3934:23;3930:32;3927:119;;;3965:79;;:::i;:::-;3927:119;4085:1;4110:61;4163:7;4154:6;4143:9;4139:22;4110:61;:::i;:::-;4100:71;;4056:125;4248:2;4237:9;4233:18;4220:32;4279:18;4271:6;4268:30;4265:117;;;4301:79;;:::i;:::-;4265:117;4406:62;4460:7;4451:6;4440:9;4436:22;4406:62;:::i;:::-;4396:72;;4191:287;3817:668;;;;;:::o;4491:96::-;4528:7;4557:24;4575:5;4557:24;:::i;:::-;4546:35;;4491:96;;;:::o;4593:118::-;4680:24;4698:5;4680:24;:::i;:::-;4675:3;4668:37;4593:118;;:::o;4717:222::-;4810:4;4848:2;4837:9;4833:18;4825:26;;4861:71;4929:1;4918:9;4914:17;4905:6;4861:71;:::i;:::-;4717:222;;;;:::o;4945:98::-;4996:6;5030:5;5024:12;5014:22;;4945:98;;;:::o;5049:147::-;5150:11;5187:3;5172:18;;5049:147;;;;:::o;5202:248::-;5284:1;5294:113;5308:6;5305:1;5302:13;5294:113;;;5393:1;5388:3;5384:11;5378:18;5374:1;5369:3;5365:11;5358:39;5330:2;5327:1;5323:10;5318:15;;5294:113;;;5441:1;5432:6;5427:3;5423:16;5416:27;5264:186;5202:248;;;:::o;5456:386::-;5560:3;5588:38;5620:5;5588:38;:::i;:::-;5642:88;5723:6;5718:3;5642:88;:::i;:::-;5635:95;;5739:65;5797:6;5792:3;5785:4;5778:5;5774:16;5739:65;:::i;:::-;5829:6;5824:3;5820:16;5813:23;;5564:278;5456:386;;;;:::o;5848:271::-;5978:3;6000:93;6089:3;6080:6;6000:93;:::i;:::-;5993:100;;6110:3;6103:10;;5848:271;;;;:::o" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidAdmin\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProxyDeniedAdminAccess\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"details\":\"This contract implements a proxy that is upgradeable through an associated {ProxyAdmin} instance. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches the {ITransparentUpgradeableProxy-upgradeToAndCall} function exposed by the proxy itself. 2. If the admin calls the proxy, it can call the `upgradeToAndCall` function but any other call won't be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error indicating the proxy admin cannot fallback to the target implementation. These properties mean that the admin account can only be used for upgrading the proxy, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. For this reason, the proxy deploys an instance of {ProxyAdmin} and allows upgrades only if they come through it. You should think of the `ProxyAdmin` instance as the administrative interface of the proxy, including the ability to change who can trigger upgrades by transferring ownership. NOTE: The real interface of this proxy is that defined in `ITransparentUpgradeableProxy`. This contract does not inherit from that interface, and instead `upgradeToAndCall` is implicitly implemented using a custom dispatch mechanism in `_fallback`. Consequently, the compiler will not produce an ABI for this contract. This is necessary to fully implement transparency without decoding reverts caused by selector clashes between the proxy and the implementation. NOTE: This proxy does not inherit from {Context} deliberately. The {ProxyAdmin} of this contract won't send a meta-transaction in any way, and any other meta-transaction setup should be made in the implementation contract. IMPORTANT: This contract avoids unnecessary storage reads by setting the admin only during construction as an immutable variable, preventing any changes thereafter. However, the admin slot defined in ERC-1967 can still be overwritten by the implementation logic pointed to by this proxy. In such cases, the contract may end up in an undesirable state where the admin slot is different from the actual admin. WARNING: It is not recommended to extend this contract to add additional external functions. If you do so, the compiler will not check that there are no selector conflicts, due to the note above. A selector clash between any new function and the functions declared in {ITransparentUpgradeableProxy} will be resolved in favor of the new one. This could render the `upgradeToAndCall` function inaccessible, preventing upgradeability and compromising transparency.\",\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"ERC1967InvalidAdmin(address)\":[{\"details\":\"The `admin` of the proxy is invalid.\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"ProxyDeniedAdminAccess()\":[{\"details\":\"The proxy caller is the current admin, and can't fallback to the proxy target.\"}]},\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes an upgradeable proxy managed by an instance of a {ProxyAdmin} with an `initialOwner`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\":\"TransparentUpgradeableProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0xb25a4f11fa80c702bf5cd85adec90e6f6f507f32f4a8e6f5dbc31e8c10029486\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6917f8a323e7811f041aecd4d9fd6e92455a6fba38a797ac6f6e208c7912b79d\",\"dweb:/ipfs/QmShuYv55wYHGi4EFkDB8QfF7ZCHoKk2efyz3AWY1ExSq7\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol\":{\"keccak256\":\"0xbfb6695731de677140fbf76c772ab08c4233a122fb51ac28ac120fc49bbbc4ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://68f8fded7cc318efa15874b7c6a983fe17a4a955d72d240353a9a4ca1e1b824c\",\"dweb:/ipfs/QmdcmBL9Qo4Tk3Dby4wFYabGyot9JNeLPxpSXZUgUm92BV\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a\",\"dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc3f2ec76a3de8ed7a7007c46166f5550c72c7709e3fc7e8bb3111a7191cdedbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e73efb4c2ca655882dc237c6b4f234a9bd36d97159d8fcaa837eb01171f726ac\",\"dweb:/ipfs/QmTNnnv7Gu5fs5G1ZMh7Fexp8N4XUs3XrNAngjcxgiss3e\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol\":{\"keccak256\":\"0x371c3467dccfbb2ac03b0edb4fadaacb9ad382772cee7850a3e73f39a56d102c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3574f1cc3ff2cb985a1385949bd3c76888e8dcf59e6a770ccb15c79b145b39bb\",\"dweb:/ipfs/QmXZDrFibUAMqjoRrpKxV3ma5RR9YfJXZyMrLWJ3bix9gi\"]},\"@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol\":{\"keccak256\":\"0xbc9babed4d136e6cc1e74354aa66538a234f3808645fbe30463b4a7b7d8ca789\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75fd9323b206da2a87924fca2ca996dbd04ae0963f79f66fb8a0ef94bf283a3d\",\"dweb:/ipfs/QmYSoLcvpq8gRo8doLP4nnB43UAT1D3KvfFJRDSD2y4nYu\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/utils/Address.sol": { + "Address": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "AddressInsufficientBalance", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b81bd401c66a8cf1592871d4edf01ec11ecb524a1afba756a394ce1563fe896264736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xB8 SHL 0xD4 ADD 0xC6 PUSH11 0x8CF1592871D4EDF01EC11E 0xCB MSTORE BLOBBASEFEE BYTE 0xFB 0xA7 JUMP LOG3 SWAP5 0xCE ISZERO PUSH4 0xFE896264 PUSH20 0x6F6C634300081B00330000000000000000000000 ", + "sourceMap": "195:6066:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b81bd401c66a8cf1592871d4edf01ec11ecb524a1afba756a394ce1563fe896264736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xB8 SHL 0xD4 ADD 0xC6 PUSH11 0x8CF1592871D4EDF01EC11E 0xCB MSTORE BLOBBASEFEE BYTE 0xFB 0xA7 JUMP LOG3 SWAP5 0xCE ISZERO PUSH4 0xFE896264 PUSH20 0x6F6C634300081B00330000000000000000000000 ", + "sourceMap": "195:6066:8:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"AddressInsufficientBalance(address)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Address.sol\":\"Address\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/utils/Base64.sol": { + "Base64": { + "abi": [], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f2b4c7b6f168ac0f5eba94dc63998bda54e54606c1b7ac3a2497a6f626f8b67c64736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLCODE 0xB4 0xC7 0xB6 CALL PUSH9 0xAC0F5EBA94DC63998B 0xDA SLOAD 0xE5 CHAINID MOD 0xC1 0xB7 0xAC GASPRICE 0x24 SWAP8 0xA6 0xF6 0x26 0xF8 0xB6 PUSH29 0x64736F6C634300081B0033000000000000000000000000000000000000 ", + "sourceMap": "202:3658:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f2b4c7b6f168ac0f5eba94dc63998bda54e54606c1b7ac3a2497a6f626f8b67c64736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLCODE 0xB4 0xC7 0xB6 CALL PUSH9 0xAC0F5EBA94DC63998B 0xDA SLOAD 0xE5 CHAINID MOD 0xC1 0xB7 0xAC GASPRICE 0x24 SWAP8 0xA6 0xF6 0x26 0xF8 0xB6 PUSH29 0x64736F6C634300081B0033000000000000000000000000000000000000 ", + "sourceMap": "202:3658:9:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides a set of functions to operate with Base64 strings.\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"_TABLE\":{\"details\":\"Base64 Encoding/Decoding Table\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Base64.sol\":\"Base64\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Base64.sol\":{\"keccak256\":\"0x09000342b85b1a06fa1f5b71bdeef7c449cd25799aac14fa9053d8abd18219aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7cdab282a9165b685fa86da3bd331c8e319e5a5c64e16599134e738934a77d4\",\"dweb:/ipfs/QmSLcE5FmDqVQbFDB6MzUzuFi4UhJVUQ1A2rT4aJGhpERT\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/utils/Context.sol": { + "Context": { + "abi": [], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/utils/StorageSlot.sol": { + "StorageSlot": { + "abi": [], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dc2e4aeb290881f8ed7ef709970c3d62124e1018ab547f9650c41cfa01f0179964736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDC 0x2E BLOBBASEFEE 0xEB 0x29 ADDMOD DUP2 0xF8 0xED PUSH31 0xF709970C3D62124E1018AB547F9650C41CFA01F0179964736F6C634300081B STOP CALLER ", + "sourceMap": "1245:2685:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dc2e4aeb290881f8ed7ef709970c3d62124e1018ab547f9650c41cfa01f0179964736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDC 0x2E BLOBBASEFEE 0xEB 0x29 ADDMOD DUP2 0xF8 0xED PUSH31 0xF709970C3D62124E1018AB547F9650C41CFA01F0179964736F6C634300081B STOP CALLER ", + "sourceMap": "1245:2685:11:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for reading and writing primitive types to specific storage slots. Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. This library helps with reading and writing to such slots without the need for inline assembly. The functions in this library return Slot structs that contain a `value` member that can be used to read or write. Example usage to set ERC1967 implementation slot: ```solidity contract ERC1967 { bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; function _getImplementation() internal view returns (address) { return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; } function _setImplementation(address newImplementation) internal { require(newImplementation.code.length > 0); StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } } ```\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/StorageSlot.sol\":\"StorageSlot\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/utils/Strings.sol": { + "Strings": { + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "length", + "type": "uint256" + } + ], + "name": "StringsInsufficientHexLength", + "type": "error" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202a975467ecd9536335104468c960536ec74ed5b871d4145fc0c02454100156a964736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2A SWAP8 SLOAD PUSH8 0xECD9536335104468 0xC9 PUSH1 0x53 PUSH15 0xC74ED5B871D4145FC0C02454100156 0xA9 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "251:2847:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202a975467ecd9536335104468c960536ec74ed5b871d4145fc0c02454100156a964736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2A SWAP8 SLOAD PUSH8 0xECD9536335104468 0xC9 PUSH1 0x53 PUSH15 0xC74ED5B871D4145FC0C02454100156 0xA9 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "251:2847:12:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"StringsInsufficientHexLength\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"String operations.\",\"errors\":{\"StringsInsufficientHexLength(uint256,uint256)\":[{\"details\":\"The `value` string doesn't fit in the specified `length`.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x55f102ea785d8399c0e58d1108e2d289506dde18abc6db1b7f68c1f9f9bc5792\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e52e0a7765c943ef14e5bcf11e46e6139fa044be564881378349236bf2e3453\",\"dweb:/ipfs/QmZEeeXoFPW47amyP35gfzomF9DixqqTEPwzBakv6cZw6i\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4ece9f0b9c8daca08c76b6b5405a6446b6f73b3a15fab7ff56e296cbd4a2c875\",\"dweb:/ipfs/QmQyRpyPRL5SQuAgj6SHmbir3foX65FJjbVTTQrA2EFg6L\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0x5f7e4076e175393767754387c962926577f1660dd9b810187b9002407656be72\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7d533a1c97cd43a57cd9c465f7ee8dd0e39ae93a8fb8ff8e5303a356b081cdcc\",\"dweb:/ipfs/QmVBEei6aTnvYNZp2CHYVNKyZS4q1KkjANfY39WVXZXVoT\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/utils/math/Math.sol": { + "Math": { + "abi": [ + { + "inputs": [], + "name": "MathOverflowedMulDiv", + "type": "error" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122069cffcc07f9e93be11576c935370032cdd46d76868d940499aaa7c4eb619073364736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH10 0xCFFCC07F9E93BE11576C SWAP4 MSTORE8 PUSH17 0x32CDD46D76868D940499AAA7C4EB61907 CALLER PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "203:14914:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122069cffcc07f9e93be11576c935370032cdd46d76868d940499aaa7c4eb619073364736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH10 0xCFFCC07F9E93BE11576C SWAP4 MSTORE8 PUSH17 0x32CDD46D76868D940499AAA7C4EB61907 CALLER PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "203:14914:13:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"MathOverflowedMulDiv\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Standard math utilities missing in the Solidity language.\",\"errors\":{\"MathOverflowedMulDiv()\":[{\"details\":\"Muldiv operation overflow.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/math/Math.sol\":\"Math\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4ece9f0b9c8daca08c76b6b5405a6446b6f73b3a15fab7ff56e296cbd4a2c875\",\"dweb:/ipfs/QmQyRpyPRL5SQuAgj6SHmbir3foX65FJjbVTTQrA2EFg6L\"]}},\"version\":1}" + } + }, + "@openzeppelin/contracts/utils/math/SignedMath.sol": { + "SignedMath": { + "abi": [], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220072ee4a21600928bbe6fc15f3bae7cc93d6780cc8d7271f8290358e3f3a1fca764736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SMOD 0x2E 0xE4 LOG2 AND STOP SWAP3 DUP12 0xBE PUSH16 0xC15F3BAE7CC93D6780CC8D7271F82903 PC 0xE3 RETURN LOG1 0xFC 0xA7 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "216:1047:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220072ee4a21600928bbe6fc15f3bae7cc93d6780cc8d7271f8290358e3f3a1fca764736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SMOD 0x2E 0xE4 LOG2 AND STOP SWAP3 DUP12 0xBE PUSH16 0xC15F3BAE7CC93D6780CC8D7271F82903 PC 0xE3 RETURN LOG1 0xFC 0xA7 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "216:1047:14:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Standard signed math utilities missing in the Solidity language.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/math/SignedMath.sol\":\"SignedMath\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0x5f7e4076e175393767754387c962926577f1660dd9b810187b9002407656be72\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7d533a1c97cd43a57cd9c465f7ee8dd0e39ae93a8fb8ff8e5303a356b081cdcc\",\"dweb:/ipfs/QmVBEei6aTnvYNZp2CHYVNKyZS4q1KkjANfY39WVXZXVoT\"]}},\"version\":1}" + } + }, + "@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol": { + "IPublicLockV13": { + "abi": [ + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "addLockManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "cancelAndRefund", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "expirationDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "expireAndRefundFor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_referrer", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "extend", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "freeTrialLength", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "gasRefundValue", + "outputs": [ + { + "internalType": "uint256", + "name": "_gasRefundValue", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getCancelAndRefundValue", + "outputs": [ + { + "internalType": "uint256", + "name": "refund", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "getHasValidKey", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_time", + "type": "uint256" + } + ], + "name": "getTransferFee", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_duration", + "type": "uint256" + } + ], + "name": "grantKeyExtension", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "_recipients", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "_expirationTimestamps", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_keyManagers", + "type": "address[]" + } + ], + "name": "grantKeys", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_lockCreator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_expirationDuration", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_keyPrice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_maxNumberOfKeys", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_lockName", + "type": "string" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "address", + "name": "_operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "isLockManager", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "isOwner", + "outputs": [ + { + "internalType": "bool", + "name": "isOwner", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "referrer", + "type": "address" + } + ], + "name": "isRenewable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "isValidKey", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "keyExpirationTimestampFor", + "outputs": [ + { + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "keyManagerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keyPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "lendKey", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "maxKeysPerAddress", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxNumberOfKeys", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenIdFrom", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_tokenIdTo", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "mergeKeys", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "_calldata", + "type": "bytes" + } + ], + "name": "migrate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "_name", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "numberOfOwners", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "onKeyCancelHook", + "outputs": [ + { + "internalType": "address", + "name": "hookAddress", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "onKeyExtendHook", + "outputs": [ + { + "internalType": "address", + "name": "hookAddress", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "onKeyGrantHook", + "outputs": [ + { + "internalType": "address", + "name": "hookAddress", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "onKeyPurchaseHook", + "outputs": [ + { + "internalType": "address", + "name": "hookAddress", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "onKeyTransferHook", + "outputs": [ + { + "internalType": "address", + "name": "hookAddress", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "onTokenURIHook", + "outputs": [ + { + "internalType": "address", + "name": "hookAddress", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "onValidKeyHook", + "outputs": [ + { + "internalType": "address", + "name": "hookAddress", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "publicLockVersion", + "outputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "_values", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "_recipients", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "_referrers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "_keyManagers", + "type": "address[]" + }, + { + "internalType": "bytes[]", + "name": "_data", + "type": "bytes[]" + } + ], + "name": "purchase", + "outputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_recipient", + "type": "address" + }, + { + "internalType": "address", + "name": "_referrer", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "purchasePriceFor", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_referrer", + "type": "address" + } + ], + "name": "referrerFees", + "outputs": [ + { + "internalType": "uint256", + "name": "referrerFee", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "refundPenaltyBasisPoints", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_referrer", + "type": "address" + } + ], + "name": "renewMembershipFor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceLockManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "schemaVersion", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "_approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_onKeyPurchaseHook", + "type": "address" + }, + { + "internalType": "address", + "name": "_onKeyCancelHook", + "type": "address" + }, + { + "internalType": "address", + "name": "_onValidKeyHook", + "type": "address" + }, + { + "internalType": "address", + "name": "_onTokenURIHook", + "type": "address" + }, + { + "internalType": "address", + "name": "_onKeyTransferHook", + "type": "address" + }, + { + "internalType": "address", + "name": "_onKeyExtendHook", + "type": "address" + }, + { + "internalType": "address", + "name": "_onKeyGrantHook", + "type": "address" + } + ], + "name": "setEventHooks", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_gasRefundValue", + "type": "uint256" + } + ], + "name": "setGasRefundValue", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_keyManager", + "type": "address" + } + ], + "name": "setKeyManagerOf", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_lockName", + "type": "string" + }, + { + "internalType": "string", + "name": "_lockSymbol", + "type": "string" + }, + { + "internalType": "string", + "name": "_baseTokenURI", + "type": "string" + } + ], + "name": "setLockMetadata", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "setOwner", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_referrer", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_feeBasisPoint", + "type": "uint256" + } + ], + "name": "setReferrerFee", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_timeShared", + "type": "uint256" + } + ], + "name": "shareKey", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "tokenAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_keyOwner", + "type": "address" + } + ], + "name": "totalKeys", + "outputs": [ + { + "internalType": "uint256", + "name": "numberOfKeys", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "_totalKeysCreated", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "transferFeeBasisPoints", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "unlendKey", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unlockProtocol", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_keyPrice", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + } + ], + "name": "updateKeyPricing", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newExpirationDuration", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_maxNumberOfKeys", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_maxKeysPerAcccount", + "type": "uint256" + } + ], + "name": "updateLockConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_freeTrialLength", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_refundPenaltyBasisPoints", + "type": "uint256" + } + ], + "name": "updateRefundPenalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "updateSchemaVersion", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_transferFeeBasisPoints", + "type": "uint256" + } + ], + "name": "updateTransferFee", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenAddress", + "type": "address" + }, + { + "internalType": "address payable", + "name": "_recipient", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "addLockManager(address)": "d2503485", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "burn(uint256)": "42966c68", + "cancelAndRefund(uint256)": "d32bfb6c", + "expirationDuration()": "11a4c03a", + "expireAndRefundFor(uint256,uint256)": "558b71e9", + "extend(uint256,uint256,address,bytes)": "d813cc19", + "freeTrialLength()": "a375cb05", + "gasRefundValue()": "6207a8da", + "getApproved(uint256)": "081812fc", + "getCancelAndRefundValue(uint256)": "92ac98a5", + "getHasValidKey(address)": "6d8ea5b4", + "getRoleAdmin(bytes32)": "248a9ca3", + "getTransferFee(uint256,uint256)": "b1a3b25d", + "grantKeyExtension(uint256,uint256)": "4cd38c1d", + "grantKeys(address[],uint256[],address[])": "81a3c943", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "initialize(address,uint256,address,uint256,uint256,string)": "6eadde43", + "isApprovedForAll(address,address)": "e985e9c5", + "isLockManager(address)": "aae4b8f7", + "isOwner(address)": "2f54bf6e", + "isRenewable(uint256,address)": "50878a47", + "isValidKey(uint256)": "a98d3623", + "keyExpirationTimestampFor(uint256)": "54b249fb", + "keyManagerOf(uint256)": "4d025fed", + "keyPrice()": "10e56973", + "lendKey(address,address,uint256)": "0c2db8d1", + "maxKeysPerAddress()": "d52e4a10", + "maxNumberOfKeys()": "74b6c106", + "mergeKeys(uint256,uint256,uint256)": "068208cd", + "migrate(bytes)": "8932a90d", + "name()": "06fdde03", + "numberOfOwners()": "93fd1844", + "onKeyCancelHook()": "217751bc", + "onKeyExtendHook()": "c907c3ec", + "onKeyGrantHook()": "b129694e", + "onKeyPurchaseHook()": "2d33dd5b", + "onKeyTransferHook()": "389f07e8", + "onTokenURIHook()": "7ec2a724", + "onValidKeyHook()": "26e9ca07", + "owner()": "8da5cb5b", + "ownerOf(uint256)": "6352211e", + "publicLockVersion()": "d1bbd49c", + "purchase(uint256[],address[],address[],address[],bytes[])": "33818997", + "purchasePriceFor(address,address,bytes)": "097ba333", + "referrerFees(address)": "c23135dd", + "refundPenaltyBasisPoints()": "56e0d51f", + "renewMembershipFor(uint256,address)": "8505fe95", + "renounceLockManager()": "f0ba6040", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "safeTransferFrom(address,address,uint256)": "42842e0e", + "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde", + "schemaVersion()": "4e2ce6d3", + "setApprovalForAll(address,bool)": "a22cb465", + "setEventHooks(address,address,address,address,address,address,address)": "74cac47d", + "setGasRefundValue(uint256)": "f5766b39", + "setKeyManagerOf(uint256,address)": "b11d7ec1", + "setLockMetadata(string,string,string)": "d1b8759b", + "setOwner(address)": "13af4035", + "setReferrerFee(address,uint256)": "debe2b0d", + "shareKey(address,uint256,uint256)": "f12c6b6e", + "supportsInterface(bytes4)": "01ffc9a7", + "symbol()": "95d89b41", + "tokenAddress()": "9d76ea58", + "tokenByIndex(uint256)": "4f6ccce7", + "tokenOfOwnerByIndex(address,uint256)": "2f745c59", + "tokenURI(uint256)": "c87b56dd", + "totalKeys(address)": "812eecd4", + "totalSupply()": "18160ddd", + "transferFeeBasisPoints()": "183767da", + "transferFrom(address,address,uint256)": "23b872dd", + "unlendKey(address,uint256)": "407dc589", + "unlockProtocol()": "0f15023b", + "updateKeyPricing(uint256,address)": "a2e4cd2e", + "updateLockConfig(uint256,uint256,uint256)": "282478df", + "updateRefundPenalty(uint256,uint256)": "39f46986", + "updateSchemaVersion()": "f32e8b24", + "updateTransferFee(uint256)": "8577a6d5", + "withdraw(address,address,uint256)": "d9caed12" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addLockManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"cancelAndRefund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"expirationDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"expireAndRefundFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_referrer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"extend\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"freeTrialLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasRefundValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_gasRefundValue\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getCancelAndRefundValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"refund\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getHasValidKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_time\",\"type\":\"uint256\"}],\"name\":\"getTransferFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_duration\",\"type\":\"uint256\"}],\"name\":\"grantKeyExtension\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_expirationTimestamps\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_keyManagers\",\"type\":\"address[]\"}],\"name\":\"grantKeys\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lockCreator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_expirationDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_keyPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxNumberOfKeys\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_lockName\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isLockManager\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOwner\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"isRenewable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"isValidKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"keyExpirationTimestampFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"keyManagerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"keyPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"lendKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxKeysPerAddress\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxNumberOfKeys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenIdFrom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenIdTo\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mergeKeys\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"numberOfOwners\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onKeyCancelHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onKeyExtendHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onKeyGrantHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onKeyPurchaseHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onKeyTransferHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onTokenURIHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onValidKeyHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"publicLockVersion\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_values\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_recipients\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_referrers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_keyManagers\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_data\",\"type\":\"bytes[]\"}],\"name\":\"purchase\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_referrer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"purchasePriceFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_referrer\",\"type\":\"address\"}],\"name\":\"referrerFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"referrerFee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refundPenaltyBasisPoints\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_referrer\",\"type\":\"address\"}],\"name\":\"renewMembershipFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceLockManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"schemaVersion\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_onKeyPurchaseHook\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_onKeyCancelHook\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_onValidKeyHook\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_onTokenURIHook\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_onKeyTransferHook\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_onKeyExtendHook\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_onKeyGrantHook\",\"type\":\"address\"}],\"name\":\"setEventHooks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_gasRefundValue\",\"type\":\"uint256\"}],\"name\":\"setGasRefundValue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_keyManager\",\"type\":\"address\"}],\"name\":\"setKeyManagerOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_lockName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_lockSymbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_baseTokenURI\",\"type\":\"string\"}],\"name\":\"setLockMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_referrer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_feeBasisPoint\",\"type\":\"uint256\"}],\"name\":\"setReferrerFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timeShared\",\"type\":\"uint256\"}],\"name\":\"shareKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_keyOwner\",\"type\":\"address\"}],\"name\":\"totalKeys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numberOfKeys\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_totalKeysCreated\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferFeeBasisPoints\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"unlendKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockProtocol\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_keyPrice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenAddress\",\"type\":\"address\"}],\"name\":\"updateKeyPricing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newExpirationDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxNumberOfKeys\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxKeysPerAcccount\",\"type\":\"uint256\"}],\"name\":\"updateLockConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_freeTrialLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_refundPenaltyBasisPoints\",\"type\":\"uint256\"}],\"name\":\"updateRefundPenalty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateSchemaVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_transferFeeBasisPoints\",\"type\":\"uint256\"}],\"name\":\"updateTransferFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddress\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"balanceOf(address)\":{\"returns\":{\"balance\":\"The number of valid keys owned by `_keyOwner`\"}},\"burn(uint256)\":{\"params\":{\"_tokenId\":\"the id of token to burn\"}},\"cancelAndRefund(uint256)\":{\"details\":\"allows the key manager to expire a given tokenId and send a refund to the keyOwner based on the amount of time remaining.\",\"params\":{\"_tokenId\":\"The id of the key to cancel.\"}},\"expireAndRefundFor(uint256,uint256)\":{\"details\":\"Invoked by a Lock manager to expire the user's key and perform a refund and cancellation of the keyThrows if called by other than a Lock managerThrows if _keyOwner does not have a valid key\",\"params\":{\"_amount\":\"The amount to refund to the key-owner\",\"_tokenId\":\"The key id we wish to refund to\"}},\"extend(uint256,uint256,address,bytes)\":{\"details\":\"Extend functionThrows if lock is disabled or key does not exist for _recipient. Throws if _recipient == address(0).\",\"params\":{\"_data\":\"arbitrary data populated by the front-end which initiated the sale\",\"_referrer\":\"address of the user making the referral\",\"_tokenId\":\"the id of the key to extend\",\"_value\":\"the number of tokens to pay for this purchase >= the current keyPrice - any applicable discount (_value is ignored when using ETH)\"}},\"gasRefundValue()\":{\"details\":\"Returns the value/price to be refunded to the sender on purchase\"},\"getApproved(uint256)\":{\"details\":\"Throws if `_tokenId` is not a valid NFT.\",\"params\":{\"_tokenId\":\"The NFT to find the approved address for\"},\"returns\":{\"operator\":\"The approved address for this NFT, or the zero address if there is none\"}},\"getCancelAndRefundValue(uint256)\":{\"details\":\"Determines how much of a refund a key owner would receive if they issued\",\"params\":{\"_tokenId\":\"the id of the token to get the refund value for.\"},\"returns\":{\"refund\":\"the amount of tokens refunded\"}},\"getHasValidKey(address)\":{\"params\":{\"_user\":\"The address of the key owner\"}},\"getTransferFee(uint256,uint256)\":{\"details\":\"Throws if _tokenId does not have a valid key\",\"params\":{\"_time\":\"The amount of time to calculate the fee for.\",\"_tokenId\":\"The id of the key check the transfer fee for.\"},\"returns\":{\"_0\":\"The transfer fee in seconds.\"}},\"grantKeyExtension(uint256,uint256)\":{\"details\":\"set `_duration` to 0 to use the default duration of the lock\",\"params\":{\"_duration\":\"The duration in secondes to add ot the key\",\"_tokenId\":\"The id of the token to extend\"}},\"grantKeys(address[],uint256[],address[])\":{\"details\":\"Throws if called by other than a Lock manager\",\"params\":{\"_expirationTimestamps\":\"An array of expiration Timestamps for the keys being granted\",\"_recipients\":\"An array of receiving addresses\"},\"returns\":{\"_0\":\"the ids of the granted tokens\"}},\"isApprovedForAll(address,address)\":{\"details\":\"Tells whether an operator is approved by a given keyManager\",\"params\":{\"_operator\":\"operator address which you want to query the approval of\",\"_owner\":\"owner address which you want to query the approval of\"},\"returns\":{\"_0\":\"bool whether the given operator is approved by the given owner\"}},\"isRenewable(uint256,address)\":{\"details\":\"helper to check if a key is currently renewable it will revert if the pricing or duration of the lock have been modified unfavorably since the key was bought(price increase or duration decrease). It will also revert if a lock is not renewable or if the key is not ready for renewal yet (at least 90% expired).\",\"params\":{\"referrer\":\"the address where to send the referrer fee\",\"tokenId\":\"the id of the token to check\"},\"returns\":{\"_0\":\"true if the terms has changed\"}},\"isValidKey(uint256)\":{\"params\":{\"_tokenId\":\"the id of the key to check validity\"}},\"keyExpirationTimestampFor(uint256)\":{\"details\":\"Returns the key's ExpirationTimestamp field for a given owner.Returns 0 if the owner has never owned a key for this lock\",\"params\":{\"_tokenId\":\"the id of the key\"}},\"lendKey(address,address,uint256)\":{\"params\":{\"from\":\"the owner of token to transfer\",\"to\":\"the address that will receive the token\",\"tokenId\":\"the id of the token\"}},\"maxKeysPerAddress()\":{\"returns\":{\"_0\":\"the maximum number of key allowed for a single address\"}},\"mergeKeys(uint256,uint256,uint256)\":{\"params\":{\"_amount\":\"the amount of time to transfer (in seconds)\",\"_tokenIdFrom\":\"the id of the token to substract time from\",\"_tokenIdTo\":\"the id of the destination token to add time\"}},\"migrate(bytes)\":{\"details\":\"when all record schemas are sucessfully upgraded, this function will update the `schemaVersion` variable to the latest/current lock version\",\"params\":{\"_calldata\":\"an ABI-encoded representation of the params (v10: the number of records to migrate as `uint`)\"}},\"onKeyCancelHook()\":{\"returns\":{\"hookAddress\":\"address of the hook\"}},\"onKeyExtendHook()\":{\"returns\":{\"hookAddress\":\"the address ok the hook\"}},\"onKeyGrantHook()\":{\"returns\":{\"hookAddress\":\"the address ok the hook\"}},\"onKeyPurchaseHook()\":{\"returns\":{\"hookAddress\":\"address of the hook\"}},\"onKeyTransferHook()\":{\"returns\":{\"hookAddress\":\"address of the hook\"}},\"onTokenURIHook()\":{\"returns\":{\"hookAddress\":\"address of the hook\"}},\"onValidKeyHook()\":{\"returns\":{\"hookAddress\":\"address of the hook\"}},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the NFT specified by `tokenId`.\"},\"publicLockVersion()\":{\"returns\":{\"_0\":\"The current version number.\"}},\"purchase(uint256[],address[],address[],address[],bytes[])\":{\"details\":\"Purchase functionSetting _value to keyPrice exactly doubles as a security feature. That way if the lock owner increases the price while my transaction is pending I can't be charged more than I expected (only applicable to ERC-20 when more than keyPrice is approved for spending).\",\"params\":{\"_data\":\"array of arbitrary data populated by the front-end which initiated the sale\",\"_keyManagers\":\"optional array of addresses to grant managing rights to a specific address on creation\",\"_recipients\":\"array of addresses of the recipients of the purchased key\",\"_referrers\":\"array of addresses of the users making the referral\",\"_values\":\"array of tokens amount to pay for this purchase >= the current keyPrice - any applicable discount (_values is ignored when using ETH)\"},\"returns\":{\"tokenIds\":\"the ids of the created tokens\"}},\"purchasePriceFor(address,address,bytes)\":{\"details\":\"this considers any discount from Unlock or the OnKeyPurchase hook.\"},\"referrerFees(address)\":{\"params\":{\"_referrer\":\"the address of the referrer\"},\"returns\":{\"referrerFee\":\"the percentage of the keyPrice to be sent to the referrer (in basis points)\"}},\"renewMembershipFor(uint256,address)\":{\"params\":{\"_referrer\":\"the address of the person to be granted UDT\",\"_tokenId\":\"the ID fo the token to renew\"}},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Transfers a specific NFT (`tokenId`) from one account (`from`) to another (`to`). Requirements: - `from`, `to` cannot be zero. - `tokenId` must be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this NFT by either `approve` or `setApprovalForAll`.\"},\"schemaVersion()\":{\"details\":\"will return 0 if no ;igration has ever been run\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Sets or unsets the approval of a given operator An operator is allowed to transfer all tokens of the sender on their behalf\",\"params\":{\"_approved\":\"representing the status of the approval to be set\",\"_operator\":\"operator address to set the approval\"}},\"setEventHooks(address,address,address,address,address,address,address)\":{\"params\":{\"_onKeyCancelHook\":\"Hook called when the internal `_cancelAndRefund` function is called\",\"_onKeyExtendHook\":\"Hook called when a key is extended or renewed\",\"_onKeyGrantHook\":\"Hook called when a key is granted\",\"_onKeyPurchaseHook\":\"Hook called when the `purchase` function is called\",\"_onKeyTransferHook\":\"Hook called when a key is transfered\",\"_onTokenURIHook\":\"Hook called to generate a data URI used for NFT metadata\",\"_onValidKeyHook\":\"Hook called to determine if the contract should overide the status for a given address\"}},\"setGasRefundValue(uint256)\":{\"details\":\"Set the value to be refunded to the sender on purchase\",\"params\":{\"_gasRefundValue\":\"price in wei or token in smallest price unit\"}},\"setKeyManagerOf(uint256,address)\":{\"params\":{\"_keyManager\":\"The address to assign the rights to for the given key\",\"_tokenId\":\"The id of the key to assign rights for\"}},\"setLockMetadata(string,string,string)\":{\"params\":{\"_baseTokenURI\":\"the baseTokenURI for this Lock\",\"_lockName\":\"a descriptive name for this Lock.\",\"_lockSymbol\":\"a Symbol for this Lock (default to KEY).\"}},\"setReferrerFee(address,uint256)\":{\"details\":\"To send a fixed percentage of the key price to all referrers, sett a percentage to `address(0)`\",\"params\":{\"_feeBasisPoint\":\"the percentage of the price to be used for this specific referrer (in basis points)\",\"_referrer\":\"the address of the referrer\"}},\"shareKey(address,uint256,uint256)\":{\"details\":\"Throws if key is not valid.Throws if `_to` is the zero addressEmit Transfer event\",\"params\":{\"_timeShared\":\"The amount of time shared checks if `_to` is a smart contract (code size > 0). If so, it calls `onERC721Received` on `_to` and throws if the return value is not `bytes4(keccak256('onERC721Received(address,address,uint,bytes)'))`.\",\"_to\":\"The recipient of the shared key\",\"_tokenId\":\"the key to share\"}},\"symbol()\":{\"details\":\"Gets the token symbol\",\"returns\":{\"_0\":\"string representing the token symbol\"}},\"tokenURI(uint256)\":{\"details\":\"Throws if `_tokenId` is not a valid NFT. URIs are defined in RFC 3986. The URI may point to a JSON file that conforms to the \\\"ERC721 Metadata JSON Schema\\\". https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\",\"params\":{\"_tokenId\":\"The tokenID we're inquiring about\"},\"returns\":{\"_0\":\"String representing the URI for the requested token\"}},\"totalKeys(address)\":{\"params\":{\"_keyOwner\":\"address for which we are retrieving the total number of keys\"},\"returns\":{\"numberOfKeys\":\"total number of keys owned by the address\"}},\"totalSupply()\":{\"returns\":{\"_totalKeysCreated\":\"the total number of keys, valid or not\"}},\"transferFrom(address,address,uint256)\":{\"details\":\"Requirements: if the caller is not `from`, it must be approved to move this token by either `approve` or `setApprovalForAll`. The key manager will be reset to address zero after the transfer\",\"params\":{\"from\":\"the owner of token to transfer\",\"to\":\"the address that will receive the token\",\"tokenId\":\"the id of the token\"}},\"unlendKey(address,uint256)\":{\"details\":\"Only the key manager of the token can call this function\",\"params\":{\"_recipient\":\"the address that will receive the token ownership\",\"_tokenId\":\"the id of the token\"}},\"updateKeyPricing(uint256,address)\":{\"details\":\"Throws if called by other than a Lock managerThrows if lock has been disabledThrows if _tokenAddress is not a valid token\",\"params\":{\"_keyPrice\":\"The new price to set for keys\",\"_tokenAddress\":\"The address of the erc20 token to use for pricing the keys, or 0 to use ETH\"}},\"updateLockConfig(uint256,uint256,uint256)\":{\"details\":\"_maxNumberOfKeys Can't be smaller than the existing supply\",\"params\":{\"_maxKeysPerAcccount\":\"the maximum amount of key a single user can own\",\"_maxNumberOfKeys\":\"uint the maximum number of keys\",\"_newExpirationDuration\":\"the new amount of time for each key purchased or type(uint).max for a non-expiring key\"}},\"updateRefundPenalty(uint256,uint256)\":{\"details\":\"Throws if called by other than a Lock manager\",\"params\":{\"_freeTrialLength\":\"The new duration of free trials for this lock\",\"_refundPenaltyBasisPoints\":\"The new refund penaly in basis-points(bps)\"}},\"updateTransferFee(uint256)\":{\"details\":\"Throws if called by other than a Lock manager\",\"params\":{\"_transferFeeBasisPoints\":\"The new transfer fee in basis-points(bps). Ex: 200 bps = 2%\"}},\"withdraw(address,address,uint256)\":{\"details\":\"Called by lock manager to withdraw all funds from the lock\",\"params\":{\"_amount\":\"specifies the max amount to withdraw, which may be reduced when considering the available balance. Set to 0 or MAX_UINT to withdraw everything. -- however be wary of draining funds as it breaks the `cancelAndRefund` and `expireAndRefundFor` use cases.\",\"_recipient\":\"specifies the address that will receive the tokens\",\"_tokenAddress\":\"specifies the token address to withdraw or 0 for ETH. This is usually the same as `tokenAddress` in MixinFunds.\"}}},\"title\":\"The PublicLock Interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"balanceOf(address)\":{\"notice\":\"In the specific case of a Lock, `balanceOf` returns only the tokens with a valid expiration timerange\"},\"burn(uint256)\":{\"notice\":\"Deactivate an existing keythe key will be expired and ownership records will be destroyed\"},\"cancelAndRefund(uint256)\":{\"notice\":\"cancel is enabled with a 10% penalty by default on all Locks.\"},\"gasRefundValue()\":{\"notice\":\"_gasRefundValue price in wei or token in smallest price unit\"},\"getApproved(uint256)\":{\"notice\":\"Get the approved address for a single NFT\"},\"getCancelAndRefundValue(uint256)\":{\"notice\":\"Due to the time required to mine a tx, the actual refund amount will be lower than what the user reads from this call.\"},\"getHasValidKey(address)\":{\"notice\":\"Checks if the user has a non-expired key.\"},\"getRoleAdmin(bytes32)\":{\"notice\":\"Innherited from Open Zeppelin AccessControl.sol\"},\"getTransferFee(uint256,uint256)\":{\"notice\":\"Determines how much of a fee would need to be paid in order to transfer to another account. This is pro-rated so the fee goes down overtime.\"},\"grantKeyExtension(uint256,uint256)\":{\"notice\":\"Allows the Lock owner to extend an existing keys with no charge.\"},\"grantKeys(address[],uint256[],address[])\":{\"notice\":\"Allows a Lock manager to give a collection of users a key with no charge. Each key may be assigned a different expiration date.\"},\"initialize(address,uint256,address,uint256,uint256,string)\":{\"notice\":\"Functions\"},\"isValidKey(uint256)\":{\"notice\":\"Check if a certain key is validthis makes use of the onValidKeyHook if it is set\"},\"lendKey(address,address,uint256)\":{\"notice\":\"Lending a key allows you to transfer the token while retaining the ownerships right by setting yourself as a key manager first.This function can only be called by 1) the key owner when no key manager is set or 2) the key manager. After calling the function, the `_recipent` will be the new owner, and the sender of the tx will become the key manager.\"},\"mergeKeys(uint256,uint256,uint256)\":{\"notice\":\"Merge existing keys\"},\"migrate(bytes)\":{\"notice\":\"Migrate data from the previous single owner => key mapping to the new data structure w multiple tokens.\"},\"name()\":{\"notice\":\"A descriptive name for a collection of NFTs in this contract\"},\"numberOfOwners()\":{\"notice\":\"Public function which returns the total number of unique owners (both expired and valid). This may be larger than totalSupply.\"},\"onKeyCancelHook()\":{\"notice\":\"Returns the address of the `onKeyCancelHook` hook.\"},\"onKeyExtendHook()\":{\"notice\":\"Returns the address of the `onKeyExtendHook` hook.\"},\"onKeyGrantHook()\":{\"notice\":\"Returns the address of the `onKeyGrantHook` hook.\"},\"onKeyPurchaseHook()\":{\"notice\":\"Returns the address of the `onKeyPurchaseHook` hook.\"},\"onKeyTransferHook()\":{\"notice\":\"Returns the address of the `onKeyTransferHook` hook.\"},\"onTokenURIHook()\":{\"notice\":\"Returns the address of the `onTokenURIHook` hook.\"},\"onValidKeyHook()\":{\"notice\":\"Returns the address of the `onValidKeyHook` hook.\"},\"owner()\":{\"notice\":\"`owner()` is provided as an helper to mimick the `Ownable` contract ABI. The `Ownable` logic is used by many 3rd party services to determine contract ownership - e.g. who is allowed to edit metadata on Opensea.This logic is NOT used internally by the Unlock Protocol and is made available only as a convenience helper.\"},\"publicLockVersion()\":{\"notice\":\"The version number of the current implementation on this network.\"},\"purchase(uint256[],address[],address[],address[],bytes[])\":{\"notice\":\"when called for an existing and non-expired key, the `_keyManager` param will be ignored\"},\"purchasePriceFor(address,address,bytes)\":{\"notice\":\"returns the minimum price paid for a purchase with these params.\"},\"referrerFees(address)\":{\"notice\":\"Returns the percentage of the keyPrice to be sent to the referrer (in basis points)\"},\"renewMembershipFor(uint256,address)\":{\"notice\":\"Renew a given tokenonly works for non-free, expiring, ERC20 locks\"},\"schemaVersion()\":{\"notice\":\"Returns the version number of the data schema currently used by the lockif this is different from `publicLockVersion`, then the ability to purchase, grant or extend keys is disabled.\"},\"setApprovalForAll(address,bool)\":{\"notice\":\"disabled when transfers are disabled\"},\"setEventHooks(address,address,address,address,address,address,address)\":{\"notice\":\"Allows a Lock manager to add or remove an event hook\"},\"setKeyManagerOf(uint256,address)\":{\"notice\":\"Update transfer and cancel rights for a given key\"},\"setLockMetadata(string,string,string)\":{\"notice\":\"Allows the Lock owner to assign\"},\"setReferrerFee(address,uint256)\":{\"notice\":\"Set a specific percentage of the keyPrice to be sent to the referrer while purchasing, extending or renewing a key.\"},\"shareKey(address,uint256,uint256)\":{\"notice\":\"Allows the key owner to safely share their key (parent key) by transferring a portion of the remaining time to a new key (child key).\"},\"supportsInterface(bytes4)\":{\"notice\":\"From ERC165.sol\"},\"tokenURI(uint256)\":{\"notice\":\"A distinct Uniform Resource Identifier (URI) for a given asset.\"},\"totalKeys(address)\":{\"notice\":\"Returns the number of keys owned by `_keyOwner` (expired or not)\"},\"totalSupply()\":{\"notice\":\"Returns the total number of keys, including non-valid ones\"},\"transferFrom(address,address,uint256)\":{\"notice\":\"an ERC721-like function to transfer a token from one account to another.\"},\"unlendKey(address,uint256)\":{\"notice\":\"Unlend is called when you have lent a key and want to claim its full ownership back.\"},\"updateKeyPricing(uint256,address)\":{\"notice\":\"A function which lets a Lock manager of the lock to change the price for future purchases.\"},\"updateLockConfig(uint256,uint256,uint256)\":{\"notice\":\"Update the main key properties for the entire lock: - default duration of each key - the maximum number of keys the lock can edit - the maximum number of keys a single address can holdkeys previously bought are unaffected by this changes in expiration duration (i.e. existing keys timestamps are not recalculated/updated)\"},\"updateRefundPenalty(uint256,uint256)\":{\"notice\":\"Allow a Lock manager to change the refund penalty.\"},\"updateSchemaVersion()\":{\"notice\":\"Set the schema version to the latestonly lock manager call call this\"},\"updateTransferFee(uint256)\":{\"notice\":\"Allow a Lock manager to change the transfer fee.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\":\"IPublicLockV13\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\":{\"keccak256\":\"0xcc5a3a09c6135b624989959c1e2ce86299da964b8c2bba7c51ffa6988c70e05d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b0e4a97444bd5a3fee04a52d68cc9f7833795257d9e2dfac6d8f96b6256c3b76\",\"dweb:/ipfs/QmZENp6w6ax9UiiyZ28oYBUdGCUNihoXbDT64igtFDTQGE\"]}},\"version\":1}" + } + }, + "contracts/UnlockPrimeHook.sol": { + "IUniswapOracleV3": { + "abi": [ + { + "inputs": [], + "name": "PERIOD", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenIn", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amountIn", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_tokenOut", + "type": "address" + } + ], + "name": "consult", + "outputs": [ + { + "internalType": "uint256", + "name": "_amountOut", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "factory", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenIn", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenOut", + "type": "address" + } + ], + "name": "update", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenIn", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amountIn", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_tokenOut", + "type": "address" + } + ], + "name": "updateAndConsult", + "outputs": [ + { + "internalType": "uint256", + "name": "_amountOut", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": { + "PERIOD()": "b4d1d795", + "consult(address,uint256,address)": "8c86f1e4", + "factory()": "c45a0155", + "update(address,address)": "c640752d", + "updateAndConsult(address,uint256,address)": "c1e553e7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenIn\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenOut\",\"type\":\"address\"}],\"name\":\"consult\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenOut\",\"type\":\"address\"}],\"name\":\"update\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenIn\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenOut\",\"type\":\"address\"}],\"name\":\"updateAndConsult\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/UnlockPrimeHook.sol\":\"IUniswapOracleV3\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\":{\"keccak256\":\"0xcc5a3a09c6135b624989959c1e2ce86299da964b8c2bba7c51ffa6988c70e05d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b0e4a97444bd5a3fee04a52d68cc9f7833795257d9e2dfac6d8f96b6256c3b76\",\"dweb:/ipfs/QmZENp6w6ax9UiiyZ28oYBUdGCUNihoXbDT64igtFDTQGE\"]},\"contracts/UnlockPrimeHook.sol\":{\"keccak256\":\"0x9929b5228ec7cc11903fddc51666c2359a65f7b65000f33619c1f4b432579d08\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://439c1955ad0fa2979e6865659cbf6c251f6b23aa09dac0cd8b8dde168340464c\",\"dweb:/ipfs/QmRHyar1D13jgLusR7ZneZUkV1xgAGnqQh8vvGeBvvJPvh\"]}},\"version\":1}" + }, + "UnlockPrimeHook": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "OracleSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundPaid", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "UnlockPrimeSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "WethSet", + "type": "event" + }, + { + "inputs": [], + "name": "claimRefund", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "keyPurchasePrice", + "outputs": [ + { + "internalType": "uint256", + "name": "minKeyPrice", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyExtend", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyPurchase", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "oracle", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "refunds", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oracle", + "type": "address" + } + ], + "name": "setOracle", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + } + ], + "name": "setUnlockPrime", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "setWeth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unlockPrime", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": { + "@_3345": { + "entryPoint": null, + "id": 3345, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@initialize_3391": { + "entryPoint": 75, + "id": 3391, + "parameterSlots": 3, + "returnSlots": 0 + }, + "abi_decode_t_address_fromMemory": { + "entryPoint": 660, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_addresst_address_fromMemory": { + "entryPoint": 681, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 889, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack": { + "entryPoint": 822, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 904, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 857, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { + "entryPoint": 764, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 619, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 587, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 582, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0": { + "entryPoint": 781, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_address": { + "entryPoint": 637, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:3010:20", + "nodeType": "YulBlock", + "src": "0:3010:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:81:20", + "nodeType": "YulBlock", + "src": "379:81:20", + "statements": [ + { + "nativeSrc": "389:65:20", + "nodeType": "YulAssignment", + "src": "389:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "404:5:20", + "nodeType": "YulIdentifier", + "src": "404:5:20" + }, + { + "kind": "number", + "nativeSrc": "411:42:20", + "nodeType": "YulLiteral", + "src": "411:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "400:3:20", + "nodeType": "YulIdentifier", + "src": "400:3:20" + }, + "nativeSrc": "400:54:20", + "nodeType": "YulFunctionCall", + "src": "400:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "334:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:126:20" + }, + { + "body": { + "nativeSrc": "511:51:20", + "nodeType": "YulBlock", + "src": "511:51:20", + "statements": [ + { + "nativeSrc": "521:35:20", + "nodeType": "YulAssignment", + "src": "521:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "550:5:20", + "nodeType": "YulIdentifier", + "src": "550:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "532:17:20", + "nodeType": "YulIdentifier", + "src": "532:17:20" + }, + "nativeSrc": "532:24:20", + "nodeType": "YulFunctionCall", + "src": "532:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "521:7:20", + "nodeType": "YulIdentifier", + "src": "521:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "466:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "493:5:20", + "nodeType": "YulTypedName", + "src": "493:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "503:7:20", + "nodeType": "YulTypedName", + "src": "503:7:20", + "type": "" + } + ], + "src": "466:96:20" + }, + { + "body": { + "nativeSrc": "611:79:20", + "nodeType": "YulBlock", + "src": "611:79:20", + "statements": [ + { + "body": { + "nativeSrc": "668:16:20", + "nodeType": "YulBlock", + "src": "668:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "677:1:20", + "nodeType": "YulLiteral", + "src": "677:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "680:1:20", + "nodeType": "YulLiteral", + "src": "680:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "670:6:20", + "nodeType": "YulIdentifier", + "src": "670:6:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulFunctionCall", + "src": "670:12:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulExpressionStatement", + "src": "670:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "634:5:20", + "nodeType": "YulIdentifier", + "src": "634:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "659:5:20", + "nodeType": "YulIdentifier", + "src": "659:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "641:17:20", + "nodeType": "YulIdentifier", + "src": "641:17:20" + }, + "nativeSrc": "641:24:20", + "nodeType": "YulFunctionCall", + "src": "641:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "631:2:20", + "nodeType": "YulIdentifier", + "src": "631:2:20" + }, + "nativeSrc": "631:35:20", + "nodeType": "YulFunctionCall", + "src": "631:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "624:6:20", + "nodeType": "YulIdentifier", + "src": "624:6:20" + }, + "nativeSrc": "624:43:20", + "nodeType": "YulFunctionCall", + "src": "624:43:20" + }, + "nativeSrc": "621:63:20", + "nodeType": "YulIf", + "src": "621:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "568:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "604:5:20", + "nodeType": "YulTypedName", + "src": "604:5:20", + "type": "" + } + ], + "src": "568:122:20" + }, + { + "body": { + "nativeSrc": "759:80:20", + "nodeType": "YulBlock", + "src": "759:80:20", + "statements": [ + { + "nativeSrc": "769:22:20", + "nodeType": "YulAssignment", + "src": "769:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "784:6:20", + "nodeType": "YulIdentifier", + "src": "784:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "778:5:20", + "nodeType": "YulIdentifier", + "src": "778:5:20" + }, + "nativeSrc": "778:13:20", + "nodeType": "YulFunctionCall", + "src": "778:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "769:5:20", + "nodeType": "YulIdentifier", + "src": "769:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "827:5:20", + "nodeType": "YulIdentifier", + "src": "827:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "800:26:20", + "nodeType": "YulIdentifier", + "src": "800:26:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulFunctionCall", + "src": "800:33:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulExpressionStatement", + "src": "800:33:20" + } + ] + }, + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "696:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "737:6:20", + "nodeType": "YulTypedName", + "src": "737:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "745:3:20", + "nodeType": "YulTypedName", + "src": "745:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "753:5:20", + "nodeType": "YulTypedName", + "src": "753:5:20", + "type": "" + } + ], + "src": "696:143:20" + }, + { + "body": { + "nativeSrc": "956:552:20", + "nodeType": "YulBlock", + "src": "956:552:20", + "statements": [ + { + "body": { + "nativeSrc": "1002:83:20", + "nodeType": "YulBlock", + "src": "1002:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "1004:77:20", + "nodeType": "YulIdentifier", + "src": "1004:77:20" + }, + "nativeSrc": "1004:79:20", + "nodeType": "YulFunctionCall", + "src": "1004:79:20" + }, + "nativeSrc": "1004:79:20", + "nodeType": "YulExpressionStatement", + "src": "1004:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "977:7:20", + "nodeType": "YulIdentifier", + "src": "977:7:20" + }, + { + "name": "headStart", + "nativeSrc": "986:9:20", + "nodeType": "YulIdentifier", + "src": "986:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "973:3:20", + "nodeType": "YulIdentifier", + "src": "973:3:20" + }, + "nativeSrc": "973:23:20", + "nodeType": "YulFunctionCall", + "src": "973:23:20" + }, + { + "kind": "number", + "nativeSrc": "998:2:20", + "nodeType": "YulLiteral", + "src": "998:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "969:3:20", + "nodeType": "YulIdentifier", + "src": "969:3:20" + }, + "nativeSrc": "969:32:20", + "nodeType": "YulFunctionCall", + "src": "969:32:20" + }, + "nativeSrc": "966:119:20", + "nodeType": "YulIf", + "src": "966:119:20" + }, + { + "nativeSrc": "1095:128:20", + "nodeType": "YulBlock", + "src": "1095:128:20", + "statements": [ + { + "nativeSrc": "1110:15:20", + "nodeType": "YulVariableDeclaration", + "src": "1110:15:20", + "value": { + "kind": "number", + "nativeSrc": "1124:1:20", + "nodeType": "YulLiteral", + "src": "1124:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1114:6:20", + "nodeType": "YulTypedName", + "src": "1114:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1139:74:20", + "nodeType": "YulAssignment", + "src": "1139:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1185:9:20", + "nodeType": "YulIdentifier", + "src": "1185:9:20" + }, + { + "name": "offset", + "nativeSrc": "1196:6:20", + "nodeType": "YulIdentifier", + "src": "1196:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1181:3:20", + "nodeType": "YulIdentifier", + "src": "1181:3:20" + }, + "nativeSrc": "1181:22:20", + "nodeType": "YulFunctionCall", + "src": "1181:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1205:7:20", + "nodeType": "YulIdentifier", + "src": "1205:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "1149:31:20", + "nodeType": "YulIdentifier", + "src": "1149:31:20" + }, + "nativeSrc": "1149:64:20", + "nodeType": "YulFunctionCall", + "src": "1149:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "1139:6:20", + "nodeType": "YulIdentifier", + "src": "1139:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1233:129:20", + "nodeType": "YulBlock", + "src": "1233:129:20", + "statements": [ + { + "nativeSrc": "1248:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1248:16:20", + "value": { + "kind": "number", + "nativeSrc": "1262:2:20", + "nodeType": "YulLiteral", + "src": "1262:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1252:6:20", + "nodeType": "YulTypedName", + "src": "1252:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1278:74:20", + "nodeType": "YulAssignment", + "src": "1278:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1324:9:20", + "nodeType": "YulIdentifier", + "src": "1324:9:20" + }, + { + "name": "offset", + "nativeSrc": "1335:6:20", + "nodeType": "YulIdentifier", + "src": "1335:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1320:3:20", + "nodeType": "YulIdentifier", + "src": "1320:3:20" + }, + "nativeSrc": "1320:22:20", + "nodeType": "YulFunctionCall", + "src": "1320:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1344:7:20", + "nodeType": "YulIdentifier", + "src": "1344:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "1288:31:20", + "nodeType": "YulIdentifier", + "src": "1288:31:20" + }, + "nativeSrc": "1288:64:20", + "nodeType": "YulFunctionCall", + "src": "1288:64:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "1278:6:20", + "nodeType": "YulIdentifier", + "src": "1278:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1372:129:20", + "nodeType": "YulBlock", + "src": "1372:129:20", + "statements": [ + { + "nativeSrc": "1387:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1387:16:20", + "value": { + "kind": "number", + "nativeSrc": "1401:2:20", + "nodeType": "YulLiteral", + "src": "1401:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1391:6:20", + "nodeType": "YulTypedName", + "src": "1391:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1417:74:20", + "nodeType": "YulAssignment", + "src": "1417:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1463:9:20", + "nodeType": "YulIdentifier", + "src": "1463:9:20" + }, + { + "name": "offset", + "nativeSrc": "1474:6:20", + "nodeType": "YulIdentifier", + "src": "1474:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1459:3:20", + "nodeType": "YulIdentifier", + "src": "1459:3:20" + }, + "nativeSrc": "1459:22:20", + "nodeType": "YulFunctionCall", + "src": "1459:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1483:7:20", + "nodeType": "YulIdentifier", + "src": "1483:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "1427:31:20", + "nodeType": "YulIdentifier", + "src": "1427:31:20" + }, + "nativeSrc": "1427:64:20", + "nodeType": "YulFunctionCall", + "src": "1427:64:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "1417:6:20", + "nodeType": "YulIdentifier", + "src": "1417:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_address_fromMemory", + "nativeSrc": "845:663:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "910:9:20", + "nodeType": "YulTypedName", + "src": "910:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "921:7:20", + "nodeType": "YulTypedName", + "src": "921:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "933:6:20", + "nodeType": "YulTypedName", + "src": "933:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "941:6:20", + "nodeType": "YulTypedName", + "src": "941:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "949:6:20", + "nodeType": "YulTypedName", + "src": "949:6:20", + "type": "" + } + ], + "src": "845:663:20" + }, + { + "body": { + "nativeSrc": "1610:73:20", + "nodeType": "YulBlock", + "src": "1610:73:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "1627:3:20", + "nodeType": "YulIdentifier", + "src": "1627:3:20" + }, + { + "name": "length", + "nativeSrc": "1632:6:20", + "nodeType": "YulIdentifier", + "src": "1632:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1620:6:20", + "nodeType": "YulIdentifier", + "src": "1620:6:20" + }, + "nativeSrc": "1620:19:20", + "nodeType": "YulFunctionCall", + "src": "1620:19:20" + }, + "nativeSrc": "1620:19:20", + "nodeType": "YulExpressionStatement", + "src": "1620:19:20" + }, + { + "nativeSrc": "1648:29:20", + "nodeType": "YulAssignment", + "src": "1648:29:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "1667:3:20", + "nodeType": "YulIdentifier", + "src": "1667:3:20" + }, + { + "kind": "number", + "nativeSrc": "1672:4:20", + "nodeType": "YulLiteral", + "src": "1672:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1663:3:20", + "nodeType": "YulIdentifier", + "src": "1663:3:20" + }, + "nativeSrc": "1663:14:20", + "nodeType": "YulFunctionCall", + "src": "1663:14:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "1648:11:20", + "nodeType": "YulIdentifier", + "src": "1648:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "1514:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "1582:3:20", + "nodeType": "YulTypedName", + "src": "1582:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "1587:6:20", + "nodeType": "YulTypedName", + "src": "1587:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "1598:11:20", + "nodeType": "YulTypedName", + "src": "1598:11:20", + "type": "" + } + ], + "src": "1514:169:20" + }, + { + "body": { + "nativeSrc": "1795:63:20", + "nodeType": "YulBlock", + "src": "1795:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "1817:6:20", + "nodeType": "YulIdentifier", + "src": "1817:6:20" + }, + { + "kind": "number", + "nativeSrc": "1825:1:20", + "nodeType": "YulLiteral", + "src": "1825:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1813:3:20", + "nodeType": "YulIdentifier", + "src": "1813:3:20" + }, + "nativeSrc": "1813:14:20", + "nodeType": "YulFunctionCall", + "src": "1813:14:20" + }, + { + "hexValue": "416c726561647920696e697469616c697a6564", + "kind": "string", + "nativeSrc": "1829:21:20", + "nodeType": "YulLiteral", + "src": "1829:21:20", + "type": "", + "value": "Already initialized" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1806:6:20", + "nodeType": "YulIdentifier", + "src": "1806:6:20" + }, + "nativeSrc": "1806:45:20", + "nodeType": "YulFunctionCall", + "src": "1806:45:20" + }, + "nativeSrc": "1806:45:20", + "nodeType": "YulExpressionStatement", + "src": "1806:45:20" + } + ] + }, + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "1689:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "1787:6:20", + "nodeType": "YulTypedName", + "src": "1787:6:20", + "type": "" + } + ], + "src": "1689:169:20" + }, + { + "body": { + "nativeSrc": "2010:220:20", + "nodeType": "YulBlock", + "src": "2010:220:20", + "statements": [ + { + "nativeSrc": "2020:74:20", + "nodeType": "YulAssignment", + "src": "2020:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2086:3:20", + "nodeType": "YulIdentifier", + "src": "2086:3:20" + }, + { + "kind": "number", + "nativeSrc": "2091:2:20", + "nodeType": "YulLiteral", + "src": "2091:2:20", + "type": "", + "value": "19" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "2027:58:20", + "nodeType": "YulIdentifier", + "src": "2027:58:20" + }, + "nativeSrc": "2027:67:20", + "nodeType": "YulFunctionCall", + "src": "2027:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "2020:3:20", + "nodeType": "YulIdentifier", + "src": "2020:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2192:3:20", + "nodeType": "YulIdentifier", + "src": "2192:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "2103:88:20", + "nodeType": "YulIdentifier", + "src": "2103:88:20" + }, + "nativeSrc": "2103:93:20", + "nodeType": "YulFunctionCall", + "src": "2103:93:20" + }, + "nativeSrc": "2103:93:20", + "nodeType": "YulExpressionStatement", + "src": "2103:93:20" + }, + { + "nativeSrc": "2205:19:20", + "nodeType": "YulAssignment", + "src": "2205:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2216:3:20", + "nodeType": "YulIdentifier", + "src": "2216:3:20" + }, + { + "kind": "number", + "nativeSrc": "2221:2:20", + "nodeType": "YulLiteral", + "src": "2221:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2212:3:20", + "nodeType": "YulIdentifier", + "src": "2212:3:20" + }, + "nativeSrc": "2212:12:20", + "nodeType": "YulFunctionCall", + "src": "2212:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "2205:3:20", + "nodeType": "YulIdentifier", + "src": "2205:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "1864:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "1998:3:20", + "nodeType": "YulTypedName", + "src": "1998:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "2006:3:20", + "nodeType": "YulTypedName", + "src": "2006:3:20", + "type": "" + } + ], + "src": "1864:366:20" + }, + { + "body": { + "nativeSrc": "2407:248:20", + "nodeType": "YulBlock", + "src": "2407:248:20", + "statements": [ + { + "nativeSrc": "2417:26:20", + "nodeType": "YulAssignment", + "src": "2417:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2429:9:20", + "nodeType": "YulIdentifier", + "src": "2429:9:20" + }, + { + "kind": "number", + "nativeSrc": "2440:2:20", + "nodeType": "YulLiteral", + "src": "2440:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2425:3:20", + "nodeType": "YulIdentifier", + "src": "2425:3:20" + }, + "nativeSrc": "2425:18:20", + "nodeType": "YulFunctionCall", + "src": "2425:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "2417:4:20", + "nodeType": "YulIdentifier", + "src": "2417:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2464:9:20", + "nodeType": "YulIdentifier", + "src": "2464:9:20" + }, + { + "kind": "number", + "nativeSrc": "2475:1:20", + "nodeType": "YulLiteral", + "src": "2475:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2460:3:20", + "nodeType": "YulIdentifier", + "src": "2460:3:20" + }, + "nativeSrc": "2460:17:20", + "nodeType": "YulFunctionCall", + "src": "2460:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "2483:4:20", + "nodeType": "YulIdentifier", + "src": "2483:4:20" + }, + { + "name": "headStart", + "nativeSrc": "2489:9:20", + "nodeType": "YulIdentifier", + "src": "2489:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "2479:3:20", + "nodeType": "YulIdentifier", + "src": "2479:3:20" + }, + "nativeSrc": "2479:20:20", + "nodeType": "YulFunctionCall", + "src": "2479:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2453:6:20", + "nodeType": "YulIdentifier", + "src": "2453:6:20" + }, + "nativeSrc": "2453:47:20", + "nodeType": "YulFunctionCall", + "src": "2453:47:20" + }, + "nativeSrc": "2453:47:20", + "nodeType": "YulExpressionStatement", + "src": "2453:47:20" + }, + { + "nativeSrc": "2509:139:20", + "nodeType": "YulAssignment", + "src": "2509:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "2643:4:20", + "nodeType": "YulIdentifier", + "src": "2643:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "2517:124:20", + "nodeType": "YulIdentifier", + "src": "2517:124:20" + }, + "nativeSrc": "2517:131:20", + "nodeType": "YulFunctionCall", + "src": "2517:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "2509:4:20", + "nodeType": "YulIdentifier", + "src": "2509:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "2236:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "2387:9:20", + "nodeType": "YulTypedName", + "src": "2387:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "2402:4:20", + "nodeType": "YulTypedName", + "src": "2402:4:20", + "type": "" + } + ], + "src": "2236:419:20" + }, + { + "body": { + "nativeSrc": "2726:53:20", + "nodeType": "YulBlock", + "src": "2726:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2743:3:20", + "nodeType": "YulIdentifier", + "src": "2743:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "2766:5:20", + "nodeType": "YulIdentifier", + "src": "2766:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "2748:17:20", + "nodeType": "YulIdentifier", + "src": "2748:17:20" + }, + "nativeSrc": "2748:24:20", + "nodeType": "YulFunctionCall", + "src": "2748:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2736:6:20", + "nodeType": "YulIdentifier", + "src": "2736:6:20" + }, + "nativeSrc": "2736:37:20", + "nodeType": "YulFunctionCall", + "src": "2736:37:20" + }, + "nativeSrc": "2736:37:20", + "nodeType": "YulExpressionStatement", + "src": "2736:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "2661:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "2714:5:20", + "nodeType": "YulTypedName", + "src": "2714:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "2721:3:20", + "nodeType": "YulTypedName", + "src": "2721:3:20", + "type": "" + } + ], + "src": "2661:118:20" + }, + { + "body": { + "nativeSrc": "2883:124:20", + "nodeType": "YulBlock", + "src": "2883:124:20", + "statements": [ + { + "nativeSrc": "2893:26:20", + "nodeType": "YulAssignment", + "src": "2893:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2905:9:20", + "nodeType": "YulIdentifier", + "src": "2905:9:20" + }, + { + "kind": "number", + "nativeSrc": "2916:2:20", + "nodeType": "YulLiteral", + "src": "2916:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2901:3:20", + "nodeType": "YulIdentifier", + "src": "2901:3:20" + }, + "nativeSrc": "2901:18:20", + "nodeType": "YulFunctionCall", + "src": "2901:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "2893:4:20", + "nodeType": "YulIdentifier", + "src": "2893:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "2973:6:20", + "nodeType": "YulIdentifier", + "src": "2973:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2986:9:20", + "nodeType": "YulIdentifier", + "src": "2986:9:20" + }, + { + "kind": "number", + "nativeSrc": "2997:1:20", + "nodeType": "YulLiteral", + "src": "2997:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2982:3:20", + "nodeType": "YulIdentifier", + "src": "2982:3:20" + }, + "nativeSrc": "2982:17:20", + "nodeType": "YulFunctionCall", + "src": "2982:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "2929:43:20", + "nodeType": "YulIdentifier", + "src": "2929:43:20" + }, + "nativeSrc": "2929:71:20", + "nodeType": "YulFunctionCall", + "src": "2929:71:20" + }, + "nativeSrc": "2929:71:20", + "nodeType": "YulExpressionStatement", + "src": "2929:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "2785:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "2855:9:20", + "nodeType": "YulTypedName", + "src": "2855:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "2867:6:20", + "nodeType": "YulTypedName", + "src": "2867:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "2878:4:20", + "nodeType": "YulTypedName", + "src": "2878:4:20", + "type": "" + } + ], + "src": "2785:222:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_addresst_addresst_address_fromMemory(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\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 store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(memPtr) {\n\n mstore(add(memPtr, 0), \"Already initialized\")\n\n }\n\n function abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__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_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50604051611e75380380611e75833981810160405281019061003291906102a9565b61004383838361004b60201b60201c565b5050506103a3565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146100da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d190610359565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5836040516101499190610388565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa826040516101c19190610388565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf9816040516102399190610388565b60405180910390a1505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102768261024b565b9050919050565b6102868161026b565b811461029157600080fd5b50565b6000815190506102a38161027d565b92915050565b6000806000606084860312156102c2576102c1610246565b5b60006102d086828701610294565b93505060206102e186828701610294565b92505060406102f286828701610294565b9150509250925092565b600082825260208201905092915050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006103436013836102fc565b915061034e8261030d565b602082019050919050565b6000602082019050818103600083015261037281610336565b9050919050565b6103828161026b565b82525050565b600060208201905061039d6000830184610379565b92915050565b611ac3806103b26000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b873373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea264697066735822122050c48958fabc9ed63c581287d778d756476a56663f8427858158a07e3fbde57b64736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x1E75 CODESIZE SUB DUP1 PUSH2 0x1E75 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x32 SWAP2 SWAP1 PUSH2 0x2A9 JUMP JUMPDEST PUSH2 0x43 DUP4 DUP4 DUP4 PUSH2 0x4B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP POP PUSH2 0x3A3 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xDA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD1 SWAP1 PUSH2 0x359 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP4 PUSH1 0x40 MLOAD PUSH2 0x149 SWAP2 SWAP1 PUSH2 0x388 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP2 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP3 PUSH1 0x40 MLOAD PUSH2 0x1C1 SWAP2 SWAP1 PUSH2 0x388 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0x239 SWAP2 SWAP1 PUSH2 0x388 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x276 DUP3 PUSH2 0x24B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x286 DUP2 PUSH2 0x26B JUMP JUMPDEST DUP2 EQ PUSH2 0x291 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x2A3 DUP2 PUSH2 0x27D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x2C2 JUMPI PUSH2 0x2C1 PUSH2 0x246 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x2D0 DUP7 DUP3 DUP8 ADD PUSH2 0x294 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x2E1 DUP7 DUP3 DUP8 ADD PUSH2 0x294 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x2F2 DUP7 DUP3 DUP8 ADD PUSH2 0x294 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x416C726561647920696E697469616C697A656400000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x343 PUSH1 0x13 DUP4 PUSH2 0x2FC JUMP JUMPDEST SWAP2 POP PUSH2 0x34E DUP3 PUSH2 0x30D JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x372 DUP2 PUSH2 0x336 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x382 DUP2 PUSH2 0x26B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x39D PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x379 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1AC3 DUP1 PUSH2 0x3B2 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xB4 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7DC0D1D0 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x18B JUMPI DUP1 PUSH4 0x8295D3BE EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0xB5545A3C EQ PUSH2 0x1C5 JUMPI DUP1 PUSH4 0xB8D1452F EQ PUSH2 0x1CF JUMPI DUP1 PUSH4 0xC0C53B8B EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xDB7D7F8D EQ PUSH2 0x207 JUMPI PUSH2 0xB4 JUMP JUMPDEST DUP1 PUSH4 0x16B9680 EQ PUSH2 0xB9 JUMPI DUP1 PUSH4 0x221C1FD1 EQ PUSH2 0xD5 JUMPI DUP1 PUSH4 0x3436247B EQ PUSH2 0x105 JUMPI DUP1 PUSH4 0x3FC8CEF3 EQ PUSH2 0x135 JUMPI DUP1 PUSH4 0x5E895F29 EQ PUSH2 0x153 JUMPI DUP1 PUSH4 0x7ADBF973 EQ PUSH2 0x16F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCE SWAP2 SWAP1 PUSH2 0x12EE JUMP JUMPDEST PUSH2 0x225 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xEF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEA SWAP2 SWAP1 PUSH2 0x13BA JUMP JUMPDEST PUSH2 0x376 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFC SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x11F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11A SWAP2 SWAP1 PUSH2 0x146C JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x12C SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x13D PUSH2 0x41A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x14A SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x16D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x168 SWAP2 SWAP1 PUSH2 0x14D6 JUMP JUMPDEST PUSH2 0x440 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x189 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x184 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x516 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x193 PUSH2 0x66A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1C3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1BE SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x690 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1CD PUSH2 0x7E3 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1E9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1E4 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0xA35 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x205 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x200 SWAP2 SWAP1 PUSH2 0x15C5 JUMP JUMPDEST PUSH2 0xB89 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x20F PUSH2 0xD84 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21C SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 CALLER SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x36F JUMPI PUSH2 0x36E DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6352211E DUP8 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2B9 SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2D6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2FA SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x345 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x369 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3E7 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP2 PUSH1 0x2 DUP2 LT PUSH2 0x40E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST ADD PUSH1 0x0 SWAP2 POP SWAP2 POP POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x50C JUMPI PUSH2 0x50B DUP8 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4E2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x506 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x56F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x58C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5B0 SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x5EF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E6 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP2 PUSH1 0x40 MLOAD PUSH2 0x65F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6E9 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x706 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x72A SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x769 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x760 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP2 PUSH1 0x40 MLOAD PUSH2 0x7D8 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x2 DUP1 PUSH1 0x20 MUL PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP3 PUSH1 0x2 DUP1 ISZERO PUSH2 0x85B JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 JUMPDEST DUP2 SLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 DUP1 DUP4 GT PUSH2 0x847 JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x878 JUMPI PUSH2 0x877 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD GT PUSH2 0x8BD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8B4 SWAP1 PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP2 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x8D2 JUMPI PUSH2 0x8D1 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD LT PUSH2 0x917 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x90E SWAP1 PUSH2 0x1865 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x981 SWAP3 SWAP2 SWAP1 PUSH2 0x11AE JUMP JUMPDEST POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x9B0 JUMPI PUSH2 0x9AF PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD 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 0x9E0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH32 0x1FE70B87853839959E74387A76C2713282F77A4A0656BF8689058A0EEA2891E0 CALLER DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xA17 JUMPI PUSH2 0xA16 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 MLOAD PUSH2 0xA2A SWAP3 SWAP2 SWAP1 PUSH2 0x1885 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA8E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAAB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xACF SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0xB0E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB05 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xB7E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xC18 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xC0F SWAP1 PUSH2 0x18FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP4 PUSH1 0x40 MLOAD PUSH2 0xC87 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP2 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP3 PUSH1 0x40 MLOAD PUSH2 0xCFF SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xD77 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x9D76EA58 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE16 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE3A SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xC1E553E7 DUP4 DUP6 PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEBF SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEDE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xF02 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xF58 JUMPI PUSH2 0xF57 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0xFB0 JUMPI PUSH2 0xFAF PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0xA PUSH1 0xB DUP6 PUSH2 0xFC5 SWAP2 SWAP1 PUSH2 0x1980 JUMP JUMPDEST PUSH2 0xFCF SWAP2 SWAP1 PUSH2 0x19F1 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH3 0x127500 TIMESTAMP PUSH2 0xFE2 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST SWAP1 POP TIMESTAMP DUP4 LT ISZERO PUSH2 0x105F JUMPI PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP7 PUSH2 0x1003 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x1059 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP PUSH2 0x10C3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x10C1 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP JUMPDEST PUSH32 0xA1D590FD2E594A4A50983C420B530FCF5FFE210E5203B51D6C022CB0D9AC4F80 DUP9 PUSH1 0x3 PUSH1 0x0 DUP12 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x1137 JUMPI PUSH2 0x1136 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x3 PUSH1 0x0 DUP13 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x118B JUMPI PUSH2 0x118A PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x40 MLOAD PUSH2 0x119C SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A56 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x11E2 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x11E1 JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0xFF AND SWAP1 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x11C1 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x11EF SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x1222 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1221 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1206 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x122F SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x124C JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1234 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x126D DUP2 PUSH2 0x125A JUMP JUMPDEST DUP2 EQ PUSH2 0x1278 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x128A DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x12BB DUP3 PUSH2 0x1290 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x12CB DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP2 EQ PUSH2 0x12D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x12E8 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x1308 JUMPI PUSH2 0x1307 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1316 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x1327 DUP8 DUP3 DUP9 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x1338 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x1349 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x137A JUMPI PUSH2 0x1379 PUSH2 0x1355 JUMP JUMPDEST JUMPDEST DUP3 CALLDATALOAD SWAP1 POP PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1397 JUMPI PUSH2 0x1396 PUSH2 0x135A JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x1 DUP3 MUL DUP4 ADD GT ISZERO PUSH2 0x13B3 JUMPI PUSH2 0x13B2 PUSH2 0x135F JUMP JUMPDEST JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x80 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x13D6 JUMPI PUSH2 0x13D5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x13E4 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x13F5 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0x1406 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1427 JUMPI PUSH2 0x1426 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1433 DUP9 DUP3 DUP10 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP3 POP SWAP3 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH2 0x144B DUP2 PUSH2 0x125A JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1466 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1483 JUMPI PUSH2 0x1482 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1491 DUP6 DUP3 DUP7 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x14A2 DUP6 DUP3 DUP7 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x14B5 DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D0 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x14F6 JUMPI PUSH2 0x14F5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1504 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP9 POP POP PUSH1 0x20 PUSH2 0x1515 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP8 POP POP PUSH1 0x40 PUSH2 0x1526 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP7 POP POP PUSH1 0x60 PUSH2 0x1537 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1558 JUMPI PUSH2 0x1557 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1564 DUP12 DUP3 DUP13 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP5 POP SWAP5 POP POP PUSH1 0xA0 PUSH2 0x1577 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0xC0 PUSH2 0x1588 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 SWAP1 SWAP4 SWAP7 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x15AE JUMPI PUSH2 0x15AD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15BC DUP5 DUP3 DUP6 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x15DE JUMPI PUSH2 0x15DD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15EC DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x15FD DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x160E DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1627 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1643 JUMPI PUSH2 0x1642 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1651 DUP5 DUP3 DUP6 ADD PUSH2 0x1618 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1669 DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1685 JUMPI PUSH2 0x1684 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1693 DUP5 DUP3 DUP6 ADD PUSH2 0x165A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x16B1 DUP2 PUSH2 0x169C JUMP JUMPDEST DUP2 EQ PUSH2 0x16BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x16CE DUP2 PUSH2 0x16A8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16EA JUMPI PUSH2 0x16E9 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x16F8 DUP5 DUP3 DUP6 ADD PUSH2 0x16BF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x43616C6C6572206973206E6F742061206C6F636B206D616E6167657200000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1748 PUSH1 0x1C DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x1753 DUP3 PUSH2 0x1712 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1777 DUP2 PUSH2 0x173B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E6F20726566756E6420617661696C61626C6500000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17E3 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x17EE DUP3 PUSH2 0x17AD JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1812 DUP2 PUSH2 0x17D6 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x526566756E64206E6F7420617661696C61626C65207965740000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x184F PUSH1 0x18 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x185A DUP3 PUSH2 0x1819 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x187E DUP2 PUSH2 0x1842 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x189A PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x18A7 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x416C726561647920696E697469616C697A656400000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18E4 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x18EF DUP3 PUSH2 0x18AE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1913 DUP2 PUSH2 0x18D7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x192F PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x193C PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1949 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x198B DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1996 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x19A4 DUP2 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x19BB JUMPI PUSH2 0x19BA PUSH2 0x1951 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x19FC DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A07 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1A17 JUMPI PUSH2 0x1A16 PUSH2 0x19C2 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1A2D DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A38 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x1A50 JUMPI PUSH2 0x1A4F PUSH2 0x1951 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x1A6B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x1A78 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1A85 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 POP 0xC4 DUP10 PC STATICCALL 0xBC SWAP15 0xD6 EXTCODECOPY PC SLT DUP8 0xD7 PUSH25 0xD756476A56663F8427858158A07E3FBDE57B64736F6C634300 ADDMOD SHL STOP CALLER ", + "sourceMap": "724:4496:17:-:0;;;1088:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1164:40;1175:12;1189:7;1198:5;1164:10;;;:40;;:::i;:::-;1088:123;;;724:4496;;1217:401;1365:1;1342:25;;:11;;;;;;;;;;:25;;;1338:85;;1383:29;;;;;;;;;;:::i;:::-;;;;;;;;1338:85;1446:12;1432:11;;:26;;;;;;;;;;;;;;;;;;1473:28;1488:12;1473:28;;;;;;:::i;:::-;;;;;;;;1520:7;1511:6;;:16;;;;;;;;;;;;;;;;;;1542:18;1552:7;1542:18;;;;;;:::i;:::-;;;;;;;;1577:5;1570:4;;:12;;;;;;;;;;;;;;;;;;1597:14;1605:5;1597:14;;;;;;:::i;:::-;;;;;;;;1217:401;;;:::o;88:117:20:-;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:663::-;933:6;941;949;998:2;986:9;977:7;973:23;969:32;966:119;;;1004:79;;:::i;:::-;966:119;1124:1;1149:64;1205:7;1196:6;1185:9;1181:22;1149:64;:::i;:::-;1139:74;;1095:128;1262:2;1288:64;1344:7;1335:6;1324:9;1320:22;1288:64;:::i;:::-;1278:74;;1233:129;1401:2;1427:64;1483:7;1474:6;1463:9;1459:22;1427:64;:::i;:::-;1417:74;;1372:129;845:663;;;;;:::o;1514:169::-;1598:11;1632:6;1627:3;1620:19;1672:4;1667:3;1663:14;1648:29;;1514:169;;;;:::o;1689:::-;1829:21;1825:1;1817:6;1813:14;1806:45;1689:169;:::o;1864:366::-;2006:3;2027:67;2091:2;2086:3;2027:67;:::i;:::-;2020:74;;2103:93;2192:3;2103:93;:::i;:::-;2221:2;2216:3;2212:12;2205:19;;1864:366;;;:::o;2236:419::-;2402:4;2440:2;2429:9;2425:18;2417:26;;2489:9;2483:4;2479:20;2475:1;2464:9;2460:17;2453:47;2517:131;2643:4;2517:131;:::i;:::-;2509:139;;2236:419;;;:::o;2661:118::-;2748:24;2766:5;2748:24;:::i;:::-;2743:3;2736:37;2661:118;;:::o;2785:222::-;2878:4;2916:2;2905:9;2901:18;2893:26;;2929:71;2997:1;2986:9;2982:17;2973:6;2929:71;:::i;:::-;2785:222;;;;:::o;724:4496:17:-;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@claimRefund_3732": { + "entryPoint": 2019, + "id": 3732, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@initialize_3391": { + "entryPoint": 2953, + "id": 3391, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@keyPurchasePrice_3496": { + "entryPoint": 886, + "id": 3496, + "parameterSlots": 5, + "returnSlots": 1 + }, + "@onKeyExtend_3670": { + "entryPoint": 549, + "id": 3670, + "parameterSlots": 4, + "returnSlots": 0 + }, + "@onKeyPurchase_3634": { + "entryPoint": 1088, + "id": 3634, + "parameterSlots": 8, + "returnSlots": 0 + }, + "@oracle_3295": { + "entryPoint": 1642, + "id": 3295, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@recordRefund_3600": { + "entryPoint": 3496, + "id": 3600, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@refunds_3303": { + "entryPoint": 1010, + "id": 3303, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@setOracle_3447": { + "entryPoint": 1302, + "id": 3447, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setUnlockPrime_3419": { + "entryPoint": 1680, + "id": 3419, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setWeth_3475": { + "entryPoint": 2613, + "id": 3475, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@unlockPrime_3293": { + "entryPoint": 3460, + "id": 3293, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@weth_3297": { + "entryPoint": 1050, + "id": 3297, + "parameterSlots": 0, + "returnSlots": 0 + }, + "abi_decode_t_address": { + "entryPoint": 4825, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_address_fromMemory": { + "entryPoint": 5656, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bool_fromMemory": { + "entryPoint": 5823, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bytes_calldata_ptr": { + "entryPoint": 4964, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_t_uint256": { + "entryPoint": 4731, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_uint256_fromMemory": { + "entryPoint": 5722, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 5528, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 5677, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_addresst_address": { + "entryPoint": 5573, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_decode_tuple_t_addresst_addresst_addresst_bytes_calldata_ptr": { + "entryPoint": 5050, + "id": null, + "parameterSlots": 2, + "returnSlots": 5 + }, + "abi_decode_tuple_t_addresst_uint256": { + "entryPoint": 5228, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 5844, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 5743, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256t_addresst_addresst_addresst_bytes_calldata_ptrt_uint256t_uint256": { + "entryPoint": 5334, + "id": null, + "parameterSlots": 2, + "returnSlots": 8 + }, + "abi_decode_tuple_t_uint256t_addresst_uint256t_uint256": { + "entryPoint": 4846, + "id": null, + "parameterSlots": 2, + "returnSlots": 4 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 5292, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack": { + "entryPoint": 5947, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack": { + "entryPoint": 6359, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack": { + "entryPoint": 6210, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack": { + "entryPoint": 6102, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_uint256_to_t_uint256_fromStack": { + "entryPoint": 5186, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 5307, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed": { + "entryPoint": 6277, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_uint256_t_address__to_t_address_t_uint256_t_address__fromStack_reversed": { + "entryPoint": 6426, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed": { + "entryPoint": 6742, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5982, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 6394, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 6245, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 6137, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": 5201, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { + "entryPoint": 5889, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 6690, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_div_t_uint256": { + "entryPoint": 6641, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 6528, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 4784, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_bool": { + "entryPoint": 5788, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 4752, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint256": { + "entryPoint": 4698, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 6481, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x12": { + "entryPoint": 6594, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 6014, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490": { + "entryPoint": 4954, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { + "entryPoint": 4949, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef": { + "entryPoint": 4959, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": 4693, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 4688, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d": { + "entryPoint": 5906, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0": { + "entryPoint": 6318, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd": { + "entryPoint": 6169, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71": { + "entryPoint": 6061, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_address": { + "entryPoint": 4802, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_bool": { + "entryPoint": 5800, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_uint256": { + "entryPoint": 4708, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:15822:20", + "nodeType": "YulBlock", + "src": "0:15822:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:32:20", + "nodeType": "YulBlock", + "src": "379:32:20", + "statements": [ + { + "nativeSrc": "389:16:20", + "nodeType": "YulAssignment", + "src": "389:16:20", + "value": { + "name": "value", + "nativeSrc": "400:5:20", + "nodeType": "YulIdentifier", + "src": "400:5:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint256", + "nativeSrc": "334:77:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:77:20" + }, + { + "body": { + "nativeSrc": "460:79:20", + "nodeType": "YulBlock", + "src": "460:79:20", + "statements": [ + { + "body": { + "nativeSrc": "517:16:20", + "nodeType": "YulBlock", + "src": "517:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "526:1:20", + "nodeType": "YulLiteral", + "src": "526:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "529:1:20", + "nodeType": "YulLiteral", + "src": "529:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "519:6:20", + "nodeType": "YulIdentifier", + "src": "519:6:20" + }, + "nativeSrc": "519:12:20", + "nodeType": "YulFunctionCall", + "src": "519:12:20" + }, + "nativeSrc": "519:12:20", + "nodeType": "YulExpressionStatement", + "src": "519:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "483:5:20", + "nodeType": "YulIdentifier", + "src": "483:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "508:5:20", + "nodeType": "YulIdentifier", + "src": "508:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "490:17:20", + "nodeType": "YulIdentifier", + "src": "490:17:20" + }, + "nativeSrc": "490:24:20", + "nodeType": "YulFunctionCall", + "src": "490:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "480:2:20", + "nodeType": "YulIdentifier", + "src": "480:2:20" + }, + "nativeSrc": "480:35:20", + "nodeType": "YulFunctionCall", + "src": "480:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "473:6:20", + "nodeType": "YulIdentifier", + "src": "473:6:20" + }, + "nativeSrc": "473:43:20", + "nodeType": "YulFunctionCall", + "src": "473:43:20" + }, + "nativeSrc": "470:63:20", + "nodeType": "YulIf", + "src": "470:63:20" + } + ] + }, + "name": "validator_revert_t_uint256", + "nativeSrc": "417:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "453:5:20", + "nodeType": "YulTypedName", + "src": "453:5:20", + "type": "" + } + ], + "src": "417:122:20" + }, + { + "body": { + "nativeSrc": "597:87:20", + "nodeType": "YulBlock", + "src": "597:87:20", + "statements": [ + { + "nativeSrc": "607:29:20", + "nodeType": "YulAssignment", + "src": "607:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "629:6:20", + "nodeType": "YulIdentifier", + "src": "629:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "616:12:20", + "nodeType": "YulIdentifier", + "src": "616:12:20" + }, + "nativeSrc": "616:20:20", + "nodeType": "YulFunctionCall", + "src": "616:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "607:5:20", + "nodeType": "YulIdentifier", + "src": "607:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "672:5:20", + "nodeType": "YulIdentifier", + "src": "672:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_uint256", + "nativeSrc": "645:26:20", + "nodeType": "YulIdentifier", + "src": "645:26:20" + }, + "nativeSrc": "645:33:20", + "nodeType": "YulFunctionCall", + "src": "645:33:20" + }, + "nativeSrc": "645:33:20", + "nodeType": "YulExpressionStatement", + "src": "645:33:20" + } + ] + }, + "name": "abi_decode_t_uint256", + "nativeSrc": "545:139:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "575:6:20", + "nodeType": "YulTypedName", + "src": "575:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "583:3:20", + "nodeType": "YulTypedName", + "src": "583:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "591:5:20", + "nodeType": "YulTypedName", + "src": "591:5:20", + "type": "" + } + ], + "src": "545:139:20" + }, + { + "body": { + "nativeSrc": "735:81:20", + "nodeType": "YulBlock", + "src": "735:81:20", + "statements": [ + { + "nativeSrc": "745:65:20", + "nodeType": "YulAssignment", + "src": "745:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "760:5:20", + "nodeType": "YulIdentifier", + "src": "760:5:20" + }, + { + "kind": "number", + "nativeSrc": "767:42:20", + "nodeType": "YulLiteral", + "src": "767:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "756:3:20", + "nodeType": "YulIdentifier", + "src": "756:3:20" + }, + "nativeSrc": "756:54:20", + "nodeType": "YulFunctionCall", + "src": "756:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "745:7:20", + "nodeType": "YulIdentifier", + "src": "745:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "690:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "717:5:20", + "nodeType": "YulTypedName", + "src": "717:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "727:7:20", + "nodeType": "YulTypedName", + "src": "727:7:20", + "type": "" + } + ], + "src": "690:126:20" + }, + { + "body": { + "nativeSrc": "867:51:20", + "nodeType": "YulBlock", + "src": "867:51:20", + "statements": [ + { + "nativeSrc": "877:35:20", + "nodeType": "YulAssignment", + "src": "877:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "906:5:20", + "nodeType": "YulIdentifier", + "src": "906:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "888:17:20", + "nodeType": "YulIdentifier", + "src": "888:17:20" + }, + "nativeSrc": "888:24:20", + "nodeType": "YulFunctionCall", + "src": "888:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "877:7:20", + "nodeType": "YulIdentifier", + "src": "877:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "822:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "849:5:20", + "nodeType": "YulTypedName", + "src": "849:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "859:7:20", + "nodeType": "YulTypedName", + "src": "859:7:20", + "type": "" + } + ], + "src": "822:96:20" + }, + { + "body": { + "nativeSrc": "967:79:20", + "nodeType": "YulBlock", + "src": "967:79:20", + "statements": [ + { + "body": { + "nativeSrc": "1024:16:20", + "nodeType": "YulBlock", + "src": "1024:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1033:1:20", + "nodeType": "YulLiteral", + "src": "1033:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1036:1:20", + "nodeType": "YulLiteral", + "src": "1036:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1026:6:20", + "nodeType": "YulIdentifier", + "src": "1026:6:20" + }, + "nativeSrc": "1026:12:20", + "nodeType": "YulFunctionCall", + "src": "1026:12:20" + }, + "nativeSrc": "1026:12:20", + "nodeType": "YulExpressionStatement", + "src": "1026:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "990:5:20", + "nodeType": "YulIdentifier", + "src": "990:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1015:5:20", + "nodeType": "YulIdentifier", + "src": "1015:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "997:17:20", + "nodeType": "YulIdentifier", + "src": "997:17:20" + }, + "nativeSrc": "997:24:20", + "nodeType": "YulFunctionCall", + "src": "997:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "987:2:20", + "nodeType": "YulIdentifier", + "src": "987:2:20" + }, + "nativeSrc": "987:35:20", + "nodeType": "YulFunctionCall", + "src": "987:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "980:6:20", + "nodeType": "YulIdentifier", + "src": "980:6:20" + }, + "nativeSrc": "980:43:20", + "nodeType": "YulFunctionCall", + "src": "980:43:20" + }, + "nativeSrc": "977:63:20", + "nodeType": "YulIf", + "src": "977:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "924:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "960:5:20", + "nodeType": "YulTypedName", + "src": "960:5:20", + "type": "" + } + ], + "src": "924:122:20" + }, + { + "body": { + "nativeSrc": "1104:87:20", + "nodeType": "YulBlock", + "src": "1104:87:20", + "statements": [ + { + "nativeSrc": "1114:29:20", + "nodeType": "YulAssignment", + "src": "1114:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "1136:6:20", + "nodeType": "YulIdentifier", + "src": "1136:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "1123:12:20", + "nodeType": "YulIdentifier", + "src": "1123:12:20" + }, + "nativeSrc": "1123:20:20", + "nodeType": "YulFunctionCall", + "src": "1123:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "1114:5:20", + "nodeType": "YulIdentifier", + "src": "1114:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1179:5:20", + "nodeType": "YulIdentifier", + "src": "1179:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "1152:26:20", + "nodeType": "YulIdentifier", + "src": "1152:26:20" + }, + "nativeSrc": "1152:33:20", + "nodeType": "YulFunctionCall", + "src": "1152:33:20" + }, + "nativeSrc": "1152:33:20", + "nodeType": "YulExpressionStatement", + "src": "1152:33:20" + } + ] + }, + "name": "abi_decode_t_address", + "nativeSrc": "1052:139:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "1082:6:20", + "nodeType": "YulTypedName", + "src": "1082:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "1090:3:20", + "nodeType": "YulTypedName", + "src": "1090:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "1098:5:20", + "nodeType": "YulTypedName", + "src": "1098:5:20", + "type": "" + } + ], + "src": "1052:139:20" + }, + { + "body": { + "nativeSrc": "1314:648:20", + "nodeType": "YulBlock", + "src": "1314:648:20", + "statements": [ + { + "body": { + "nativeSrc": "1361:83:20", + "nodeType": "YulBlock", + "src": "1361:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "1363:77:20", + "nodeType": "YulIdentifier", + "src": "1363:77:20" + }, + "nativeSrc": "1363:79:20", + "nodeType": "YulFunctionCall", + "src": "1363:79:20" + }, + "nativeSrc": "1363:79:20", + "nodeType": "YulExpressionStatement", + "src": "1363:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "1335:7:20", + "nodeType": "YulIdentifier", + "src": "1335:7:20" + }, + { + "name": "headStart", + "nativeSrc": "1344:9:20", + "nodeType": "YulIdentifier", + "src": "1344:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "1331:3:20", + "nodeType": "YulIdentifier", + "src": "1331:3:20" + }, + "nativeSrc": "1331:23:20", + "nodeType": "YulFunctionCall", + "src": "1331:23:20" + }, + { + "kind": "number", + "nativeSrc": "1356:3:20", + "nodeType": "YulLiteral", + "src": "1356:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "1327:3:20", + "nodeType": "YulIdentifier", + "src": "1327:3:20" + }, + "nativeSrc": "1327:33:20", + "nodeType": "YulFunctionCall", + "src": "1327:33:20" + }, + "nativeSrc": "1324:120:20", + "nodeType": "YulIf", + "src": "1324:120:20" + }, + { + "nativeSrc": "1454:117:20", + "nodeType": "YulBlock", + "src": "1454:117:20", + "statements": [ + { + "nativeSrc": "1469:15:20", + "nodeType": "YulVariableDeclaration", + "src": "1469:15:20", + "value": { + "kind": "number", + "nativeSrc": "1483:1:20", + "nodeType": "YulLiteral", + "src": "1483:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1473:6:20", + "nodeType": "YulTypedName", + "src": "1473:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1498:63:20", + "nodeType": "YulAssignment", + "src": "1498:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1533:9:20", + "nodeType": "YulIdentifier", + "src": "1533:9:20" + }, + { + "name": "offset", + "nativeSrc": "1544:6:20", + "nodeType": "YulIdentifier", + "src": "1544:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1529:3:20", + "nodeType": "YulIdentifier", + "src": "1529:3:20" + }, + "nativeSrc": "1529:22:20", + "nodeType": "YulFunctionCall", + "src": "1529:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1553:7:20", + "nodeType": "YulIdentifier", + "src": "1553:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "1508:20:20", + "nodeType": "YulIdentifier", + "src": "1508:20:20" + }, + "nativeSrc": "1508:53:20", + "nodeType": "YulFunctionCall", + "src": "1508:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "1498:6:20", + "nodeType": "YulIdentifier", + "src": "1498:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1581:118:20", + "nodeType": "YulBlock", + "src": "1581:118:20", + "statements": [ + { + "nativeSrc": "1596:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1596:16:20", + "value": { + "kind": "number", + "nativeSrc": "1610:2:20", + "nodeType": "YulLiteral", + "src": "1610:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1600:6:20", + "nodeType": "YulTypedName", + "src": "1600:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1626:63:20", + "nodeType": "YulAssignment", + "src": "1626:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1661:9:20", + "nodeType": "YulIdentifier", + "src": "1661:9:20" + }, + { + "name": "offset", + "nativeSrc": "1672:6:20", + "nodeType": "YulIdentifier", + "src": "1672:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1657:3:20", + "nodeType": "YulIdentifier", + "src": "1657:3:20" + }, + "nativeSrc": "1657:22:20", + "nodeType": "YulFunctionCall", + "src": "1657:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1681:7:20", + "nodeType": "YulIdentifier", + "src": "1681:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "1636:20:20", + "nodeType": "YulIdentifier", + "src": "1636:20:20" + }, + "nativeSrc": "1636:53:20", + "nodeType": "YulFunctionCall", + "src": "1636:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "1626:6:20", + "nodeType": "YulIdentifier", + "src": "1626:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1709:118:20", + "nodeType": "YulBlock", + "src": "1709:118:20", + "statements": [ + { + "nativeSrc": "1724:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1724:16:20", + "value": { + "kind": "number", + "nativeSrc": "1738:2:20", + "nodeType": "YulLiteral", + "src": "1738:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1728:6:20", + "nodeType": "YulTypedName", + "src": "1728:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1754:63:20", + "nodeType": "YulAssignment", + "src": "1754:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1789:9:20", + "nodeType": "YulIdentifier", + "src": "1789:9:20" + }, + { + "name": "offset", + "nativeSrc": "1800:6:20", + "nodeType": "YulIdentifier", + "src": "1800:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1785:3:20", + "nodeType": "YulIdentifier", + "src": "1785:3:20" + }, + "nativeSrc": "1785:22:20", + "nodeType": "YulFunctionCall", + "src": "1785:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1809:7:20", + "nodeType": "YulIdentifier", + "src": "1809:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "1764:20:20", + "nodeType": "YulIdentifier", + "src": "1764:20:20" + }, + "nativeSrc": "1764:53:20", + "nodeType": "YulFunctionCall", + "src": "1764:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "1754:6:20", + "nodeType": "YulIdentifier", + "src": "1754:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1837:118:20", + "nodeType": "YulBlock", + "src": "1837:118:20", + "statements": [ + { + "nativeSrc": "1852:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1852:16:20", + "value": { + "kind": "number", + "nativeSrc": "1866:2:20", + "nodeType": "YulLiteral", + "src": "1866:2:20", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1856:6:20", + "nodeType": "YulTypedName", + "src": "1856:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1882:63:20", + "nodeType": "YulAssignment", + "src": "1882:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1917:9:20", + "nodeType": "YulIdentifier", + "src": "1917:9:20" + }, + { + "name": "offset", + "nativeSrc": "1928:6:20", + "nodeType": "YulIdentifier", + "src": "1928:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1913:3:20", + "nodeType": "YulIdentifier", + "src": "1913:3:20" + }, + "nativeSrc": "1913:22:20", + "nodeType": "YulFunctionCall", + "src": "1913:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1937:7:20", + "nodeType": "YulIdentifier", + "src": "1937:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "1892:20:20", + "nodeType": "YulIdentifier", + "src": "1892:20:20" + }, + "nativeSrc": "1892:53:20", + "nodeType": "YulFunctionCall", + "src": "1892:53:20" + }, + "variableNames": [ + { + "name": "value3", + "nativeSrc": "1882:6:20", + "nodeType": "YulIdentifier", + "src": "1882:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256t_addresst_uint256t_uint256", + "nativeSrc": "1197:765:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "1260:9:20", + "nodeType": "YulTypedName", + "src": "1260:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "1271:7:20", + "nodeType": "YulTypedName", + "src": "1271:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "1283:6:20", + "nodeType": "YulTypedName", + "src": "1283:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "1291:6:20", + "nodeType": "YulTypedName", + "src": "1291:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "1299:6:20", + "nodeType": "YulTypedName", + "src": "1299:6:20", + "type": "" + }, + { + "name": "value3", + "nativeSrc": "1307:6:20", + "nodeType": "YulTypedName", + "src": "1307:6:20", + "type": "" + } + ], + "src": "1197:765:20" + }, + { + "body": { + "nativeSrc": "2057:28:20", + "nodeType": "YulBlock", + "src": "2057:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2074:1:20", + "nodeType": "YulLiteral", + "src": "2074:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2077:1:20", + "nodeType": "YulLiteral", + "src": "2077:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2067:6:20", + "nodeType": "YulIdentifier", + "src": "2067:6:20" + }, + "nativeSrc": "2067:12:20", + "nodeType": "YulFunctionCall", + "src": "2067:12:20" + }, + "nativeSrc": "2067:12:20", + "nodeType": "YulExpressionStatement", + "src": "2067:12:20" + } + ] + }, + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "1968:117:20", + "nodeType": "YulFunctionDefinition", + "src": "1968:117:20" + }, + { + "body": { + "nativeSrc": "2180:28:20", + "nodeType": "YulBlock", + "src": "2180:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2197:1:20", + "nodeType": "YulLiteral", + "src": "2197:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2200:1:20", + "nodeType": "YulLiteral", + "src": "2200:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2190:6:20", + "nodeType": "YulIdentifier", + "src": "2190:6:20" + }, + "nativeSrc": "2190:12:20", + "nodeType": "YulFunctionCall", + "src": "2190:12:20" + }, + "nativeSrc": "2190:12:20", + "nodeType": "YulExpressionStatement", + "src": "2190:12:20" + } + ] + }, + "name": "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490", + "nativeSrc": "2091:117:20", + "nodeType": "YulFunctionDefinition", + "src": "2091:117:20" + }, + { + "body": { + "nativeSrc": "2303:28:20", + "nodeType": "YulBlock", + "src": "2303:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2320:1:20", + "nodeType": "YulLiteral", + "src": "2320:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2323:1:20", + "nodeType": "YulLiteral", + "src": "2323:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2313:6:20", + "nodeType": "YulIdentifier", + "src": "2313:6:20" + }, + "nativeSrc": "2313:12:20", + "nodeType": "YulFunctionCall", + "src": "2313:12:20" + }, + "nativeSrc": "2313:12:20", + "nodeType": "YulExpressionStatement", + "src": "2313:12:20" + } + ] + }, + "name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef", + "nativeSrc": "2214:117:20", + "nodeType": "YulFunctionDefinition", + "src": "2214:117:20" + }, + { + "body": { + "nativeSrc": "2424:478:20", + "nodeType": "YulBlock", + "src": "2424:478:20", + "statements": [ + { + "body": { + "nativeSrc": "2473:83:20", + "nodeType": "YulBlock", + "src": "2473:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "2475:77:20", + "nodeType": "YulIdentifier", + "src": "2475:77:20" + }, + "nativeSrc": "2475:79:20", + "nodeType": "YulFunctionCall", + "src": "2475:79:20" + }, + "nativeSrc": "2475:79:20", + "nodeType": "YulExpressionStatement", + "src": "2475:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2452:6:20", + "nodeType": "YulIdentifier", + "src": "2452:6:20" + }, + { + "kind": "number", + "nativeSrc": "2460:4:20", + "nodeType": "YulLiteral", + "src": "2460:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2448:3:20", + "nodeType": "YulIdentifier", + "src": "2448:3:20" + }, + "nativeSrc": "2448:17:20", + "nodeType": "YulFunctionCall", + "src": "2448:17:20" + }, + { + "name": "end", + "nativeSrc": "2467:3:20", + "nodeType": "YulIdentifier", + "src": "2467:3:20" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "2444:3:20", + "nodeType": "YulIdentifier", + "src": "2444:3:20" + }, + "nativeSrc": "2444:27:20", + "nodeType": "YulFunctionCall", + "src": "2444:27:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "2437:6:20", + "nodeType": "YulIdentifier", + "src": "2437:6:20" + }, + "nativeSrc": "2437:35:20", + "nodeType": "YulFunctionCall", + "src": "2437:35:20" + }, + "nativeSrc": "2434:122:20", + "nodeType": "YulIf", + "src": "2434:122:20" + }, + { + "nativeSrc": "2565:30:20", + "nodeType": "YulAssignment", + "src": "2565:30:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2588:6:20", + "nodeType": "YulIdentifier", + "src": "2588:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "2575:12:20", + "nodeType": "YulIdentifier", + "src": "2575:12:20" + }, + "nativeSrc": "2575:20:20", + "nodeType": "YulFunctionCall", + "src": "2575:20:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "2565:6:20", + "nodeType": "YulIdentifier", + "src": "2565:6:20" + } + ] + }, + { + "body": { + "nativeSrc": "2638:83:20", + "nodeType": "YulBlock", + "src": "2638:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490", + "nativeSrc": "2640:77:20", + "nodeType": "YulIdentifier", + "src": "2640:77:20" + }, + "nativeSrc": "2640:79:20", + "nodeType": "YulFunctionCall", + "src": "2640:79:20" + }, + "nativeSrc": "2640:79:20", + "nodeType": "YulExpressionStatement", + "src": "2640:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2610:6:20", + "nodeType": "YulIdentifier", + "src": "2610:6:20" + }, + { + "kind": "number", + "nativeSrc": "2618:18:20", + "nodeType": "YulLiteral", + "src": "2618:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2607:2:20", + "nodeType": "YulIdentifier", + "src": "2607:2:20" + }, + "nativeSrc": "2607:30:20", + "nodeType": "YulFunctionCall", + "src": "2607:30:20" + }, + "nativeSrc": "2604:117:20", + "nodeType": "YulIf", + "src": "2604:117:20" + }, + { + "nativeSrc": "2730:29:20", + "nodeType": "YulAssignment", + "src": "2730:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2746:6:20", + "nodeType": "YulIdentifier", + "src": "2746:6:20" + }, + { + "kind": "number", + "nativeSrc": "2754:4:20", + "nodeType": "YulLiteral", + "src": "2754:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2742:3:20", + "nodeType": "YulIdentifier", + "src": "2742:3:20" + }, + "nativeSrc": "2742:17:20", + "nodeType": "YulFunctionCall", + "src": "2742:17:20" + }, + "variableNames": [ + { + "name": "arrayPos", + "nativeSrc": "2730:8:20", + "nodeType": "YulIdentifier", + "src": "2730:8:20" + } + ] + }, + { + "body": { + "nativeSrc": "2813:83:20", + "nodeType": "YulBlock", + "src": "2813:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef", + "nativeSrc": "2815:77:20", + "nodeType": "YulIdentifier", + "src": "2815:77:20" + }, + "nativeSrc": "2815:79:20", + "nodeType": "YulFunctionCall", + "src": "2815:79:20" + }, + "nativeSrc": "2815:79:20", + "nodeType": "YulExpressionStatement", + "src": "2815:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "arrayPos", + "nativeSrc": "2778:8:20", + "nodeType": "YulIdentifier", + "src": "2778:8:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "2792:6:20", + "nodeType": "YulIdentifier", + "src": "2792:6:20" + }, + { + "kind": "number", + "nativeSrc": "2800:4:20", + "nodeType": "YulLiteral", + "src": "2800:4:20", + "type": "", + "value": "0x01" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "2788:3:20", + "nodeType": "YulIdentifier", + "src": "2788:3:20" + }, + "nativeSrc": "2788:17:20", + "nodeType": "YulFunctionCall", + "src": "2788:17:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2774:3:20", + "nodeType": "YulIdentifier", + "src": "2774:3:20" + }, + "nativeSrc": "2774:32:20", + "nodeType": "YulFunctionCall", + "src": "2774:32:20" + }, + { + "name": "end", + "nativeSrc": "2808:3:20", + "nodeType": "YulIdentifier", + "src": "2808:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2771:2:20", + "nodeType": "YulIdentifier", + "src": "2771:2:20" + }, + "nativeSrc": "2771:41:20", + "nodeType": "YulFunctionCall", + "src": "2771:41:20" + }, + "nativeSrc": "2768:128:20", + "nodeType": "YulIf", + "src": "2768:128:20" + } + ] + }, + "name": "abi_decode_t_bytes_calldata_ptr", + "nativeSrc": "2350:552:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "2391:6:20", + "nodeType": "YulTypedName", + "src": "2391:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "2399:3:20", + "nodeType": "YulTypedName", + "src": "2399:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "arrayPos", + "nativeSrc": "2407:8:20", + "nodeType": "YulTypedName", + "src": "2407:8:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2417:6:20", + "nodeType": "YulTypedName", + "src": "2417:6:20", + "type": "" + } + ], + "src": "2350:552:20" + }, + { + "body": { + "nativeSrc": "3044:827:20", + "nodeType": "YulBlock", + "src": "3044:827:20", + "statements": [ + { + "body": { + "nativeSrc": "3091:83:20", + "nodeType": "YulBlock", + "src": "3091:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "3093:77:20", + "nodeType": "YulIdentifier", + "src": "3093:77:20" + }, + "nativeSrc": "3093:79:20", + "nodeType": "YulFunctionCall", + "src": "3093:79:20" + }, + "nativeSrc": "3093:79:20", + "nodeType": "YulExpressionStatement", + "src": "3093:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "3065:7:20", + "nodeType": "YulIdentifier", + "src": "3065:7:20" + }, + { + "name": "headStart", + "nativeSrc": "3074:9:20", + "nodeType": "YulIdentifier", + "src": "3074:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3061:3:20", + "nodeType": "YulIdentifier", + "src": "3061:3:20" + }, + "nativeSrc": "3061:23:20", + "nodeType": "YulFunctionCall", + "src": "3061:23:20" + }, + { + "kind": "number", + "nativeSrc": "3086:3:20", + "nodeType": "YulLiteral", + "src": "3086:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "3057:3:20", + "nodeType": "YulIdentifier", + "src": "3057:3:20" + }, + "nativeSrc": "3057:33:20", + "nodeType": "YulFunctionCall", + "src": "3057:33:20" + }, + "nativeSrc": "3054:120:20", + "nodeType": "YulIf", + "src": "3054:120:20" + }, + { + "nativeSrc": "3184:117:20", + "nodeType": "YulBlock", + "src": "3184:117:20", + "statements": [ + { + "nativeSrc": "3199:15:20", + "nodeType": "YulVariableDeclaration", + "src": "3199:15:20", + "value": { + "kind": "number", + "nativeSrc": "3213:1:20", + "nodeType": "YulLiteral", + "src": "3213:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3203:6:20", + "nodeType": "YulTypedName", + "src": "3203:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3228:63:20", + "nodeType": "YulAssignment", + "src": "3228:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3263:9:20", + "nodeType": "YulIdentifier", + "src": "3263:9:20" + }, + { + "name": "offset", + "nativeSrc": "3274:6:20", + "nodeType": "YulIdentifier", + "src": "3274:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3259:3:20", + "nodeType": "YulIdentifier", + "src": "3259:3:20" + }, + "nativeSrc": "3259:22:20", + "nodeType": "YulFunctionCall", + "src": "3259:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3283:7:20", + "nodeType": "YulIdentifier", + "src": "3283:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "3238:20:20", + "nodeType": "YulIdentifier", + "src": "3238:20:20" + }, + "nativeSrc": "3238:53:20", + "nodeType": "YulFunctionCall", + "src": "3238:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "3228:6:20", + "nodeType": "YulIdentifier", + "src": "3228:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3311:118:20", + "nodeType": "YulBlock", + "src": "3311:118:20", + "statements": [ + { + "nativeSrc": "3326:16:20", + "nodeType": "YulVariableDeclaration", + "src": "3326:16:20", + "value": { + "kind": "number", + "nativeSrc": "3340:2:20", + "nodeType": "YulLiteral", + "src": "3340:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3330:6:20", + "nodeType": "YulTypedName", + "src": "3330:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3356:63:20", + "nodeType": "YulAssignment", + "src": "3356:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3391:9:20", + "nodeType": "YulIdentifier", + "src": "3391:9:20" + }, + { + "name": "offset", + "nativeSrc": "3402:6:20", + "nodeType": "YulIdentifier", + "src": "3402:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3387:3:20", + "nodeType": "YulIdentifier", + "src": "3387:3:20" + }, + "nativeSrc": "3387:22:20", + "nodeType": "YulFunctionCall", + "src": "3387:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3411:7:20", + "nodeType": "YulIdentifier", + "src": "3411:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "3366:20:20", + "nodeType": "YulIdentifier", + "src": "3366:20:20" + }, + "nativeSrc": "3366:53:20", + "nodeType": "YulFunctionCall", + "src": "3366:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "3356:6:20", + "nodeType": "YulIdentifier", + "src": "3356:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3439:118:20", + "nodeType": "YulBlock", + "src": "3439:118:20", + "statements": [ + { + "nativeSrc": "3454:16:20", + "nodeType": "YulVariableDeclaration", + "src": "3454:16:20", + "value": { + "kind": "number", + "nativeSrc": "3468:2:20", + "nodeType": "YulLiteral", + "src": "3468:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3458:6:20", + "nodeType": "YulTypedName", + "src": "3458:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3484:63:20", + "nodeType": "YulAssignment", + "src": "3484:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3519:9:20", + "nodeType": "YulIdentifier", + "src": "3519:9:20" + }, + { + "name": "offset", + "nativeSrc": "3530:6:20", + "nodeType": "YulIdentifier", + "src": "3530:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3515:3:20", + "nodeType": "YulIdentifier", + "src": "3515:3:20" + }, + "nativeSrc": "3515:22:20", + "nodeType": "YulFunctionCall", + "src": "3515:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3539:7:20", + "nodeType": "YulIdentifier", + "src": "3539:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "3494:20:20", + "nodeType": "YulIdentifier", + "src": "3494:20:20" + }, + "nativeSrc": "3494:53:20", + "nodeType": "YulFunctionCall", + "src": "3494:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "3484:6:20", + "nodeType": "YulIdentifier", + "src": "3484:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3567:297:20", + "nodeType": "YulBlock", + "src": "3567:297:20", + "statements": [ + { + "nativeSrc": "3582:46:20", + "nodeType": "YulVariableDeclaration", + "src": "3582:46:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3613:9:20", + "nodeType": "YulIdentifier", + "src": "3613:9:20" + }, + { + "kind": "number", + "nativeSrc": "3624:2:20", + "nodeType": "YulLiteral", + "src": "3624:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3609:3:20", + "nodeType": "YulIdentifier", + "src": "3609:3:20" + }, + "nativeSrc": "3609:18:20", + "nodeType": "YulFunctionCall", + "src": "3609:18:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "3596:12:20", + "nodeType": "YulIdentifier", + "src": "3596:12:20" + }, + "nativeSrc": "3596:32:20", + "nodeType": "YulFunctionCall", + "src": "3596:32:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3586:6:20", + "nodeType": "YulTypedName", + "src": "3586:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "3675:83:20", + "nodeType": "YulBlock", + "src": "3675:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "3677:77:20", + "nodeType": "YulIdentifier", + "src": "3677:77:20" + }, + "nativeSrc": "3677:79:20", + "nodeType": "YulFunctionCall", + "src": "3677:79:20" + }, + "nativeSrc": "3677:79:20", + "nodeType": "YulExpressionStatement", + "src": "3677:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3647:6:20", + "nodeType": "YulIdentifier", + "src": "3647:6:20" + }, + { + "kind": "number", + "nativeSrc": "3655:18:20", + "nodeType": "YulLiteral", + "src": "3655:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "3644:2:20", + "nodeType": "YulIdentifier", + "src": "3644:2:20" + }, + "nativeSrc": "3644:30:20", + "nodeType": "YulFunctionCall", + "src": "3644:30:20" + }, + "nativeSrc": "3641:117:20", + "nodeType": "YulIf", + "src": "3641:117:20" + }, + { + "nativeSrc": "3772:82:20", + "nodeType": "YulAssignment", + "src": "3772:82:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3826:9:20", + "nodeType": "YulIdentifier", + "src": "3826:9:20" + }, + { + "name": "offset", + "nativeSrc": "3837:6:20", + "nodeType": "YulIdentifier", + "src": "3837:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3822:3:20", + "nodeType": "YulIdentifier", + "src": "3822:3:20" + }, + "nativeSrc": "3822:22:20", + "nodeType": "YulFunctionCall", + "src": "3822:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3846:7:20", + "nodeType": "YulIdentifier", + "src": "3846:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_calldata_ptr", + "nativeSrc": "3790:31:20", + "nodeType": "YulIdentifier", + "src": "3790:31:20" + }, + "nativeSrc": "3790:64:20", + "nodeType": "YulFunctionCall", + "src": "3790:64:20" + }, + "variableNames": [ + { + "name": "value3", + "nativeSrc": "3772:6:20", + "nodeType": "YulIdentifier", + "src": "3772:6:20" + }, + { + "name": "value4", + "nativeSrc": "3780:6:20", + "nodeType": "YulIdentifier", + "src": "3780:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_addresst_bytes_calldata_ptr", + "nativeSrc": "2908:963:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "2982:9:20", + "nodeType": "YulTypedName", + "src": "2982:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "2993:7:20", + "nodeType": "YulTypedName", + "src": "2993:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "3005:6:20", + "nodeType": "YulTypedName", + "src": "3005:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "3013:6:20", + "nodeType": "YulTypedName", + "src": "3013:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "3021:6:20", + "nodeType": "YulTypedName", + "src": "3021:6:20", + "type": "" + }, + { + "name": "value3", + "nativeSrc": "3029:6:20", + "nodeType": "YulTypedName", + "src": "3029:6:20", + "type": "" + }, + { + "name": "value4", + "nativeSrc": "3037:6:20", + "nodeType": "YulTypedName", + "src": "3037:6:20", + "type": "" + } + ], + "src": "2908:963:20" + }, + { + "body": { + "nativeSrc": "3942:53:20", + "nodeType": "YulBlock", + "src": "3942:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "3959:3:20", + "nodeType": "YulIdentifier", + "src": "3959:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "3982:5:20", + "nodeType": "YulIdentifier", + "src": "3982:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "3964:17:20", + "nodeType": "YulIdentifier", + "src": "3964:17:20" + }, + "nativeSrc": "3964:24:20", + "nodeType": "YulFunctionCall", + "src": "3964:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3952:6:20", + "nodeType": "YulIdentifier", + "src": "3952:6:20" + }, + "nativeSrc": "3952:37:20", + "nodeType": "YulFunctionCall", + "src": "3952:37:20" + }, + "nativeSrc": "3952:37:20", + "nodeType": "YulExpressionStatement", + "src": "3952:37:20" + } + ] + }, + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "3877:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "3930:5:20", + "nodeType": "YulTypedName", + "src": "3930:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "3937:3:20", + "nodeType": "YulTypedName", + "src": "3937:3:20", + "type": "" + } + ], + "src": "3877:118:20" + }, + { + "body": { + "nativeSrc": "4099:124:20", + "nodeType": "YulBlock", + "src": "4099:124:20", + "statements": [ + { + "nativeSrc": "4109:26:20", + "nodeType": "YulAssignment", + "src": "4109:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4121:9:20", + "nodeType": "YulIdentifier", + "src": "4121:9:20" + }, + { + "kind": "number", + "nativeSrc": "4132:2:20", + "nodeType": "YulLiteral", + "src": "4132:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4117:3:20", + "nodeType": "YulIdentifier", + "src": "4117:3:20" + }, + "nativeSrc": "4117:18:20", + "nodeType": "YulFunctionCall", + "src": "4117:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4109:4:20", + "nodeType": "YulIdentifier", + "src": "4109:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "4189:6:20", + "nodeType": "YulIdentifier", + "src": "4189:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4202:9:20", + "nodeType": "YulIdentifier", + "src": "4202:9:20" + }, + { + "kind": "number", + "nativeSrc": "4213:1:20", + "nodeType": "YulLiteral", + "src": "4213:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4198:3:20", + "nodeType": "YulIdentifier", + "src": "4198:3:20" + }, + "nativeSrc": "4198:17:20", + "nodeType": "YulFunctionCall", + "src": "4198:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "4145:43:20", + "nodeType": "YulIdentifier", + "src": "4145:43:20" + }, + "nativeSrc": "4145:71:20", + "nodeType": "YulFunctionCall", + "src": "4145:71:20" + }, + "nativeSrc": "4145:71:20", + "nodeType": "YulExpressionStatement", + "src": "4145:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nativeSrc": "4001:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4071:9:20", + "nodeType": "YulTypedName", + "src": "4071:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4083:6:20", + "nodeType": "YulTypedName", + "src": "4083:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4094:4:20", + "nodeType": "YulTypedName", + "src": "4094:4:20", + "type": "" + } + ], + "src": "4001:222:20" + }, + { + "body": { + "nativeSrc": "4312:391:20", + "nodeType": "YulBlock", + "src": "4312:391:20", + "statements": [ + { + "body": { + "nativeSrc": "4358:83:20", + "nodeType": "YulBlock", + "src": "4358:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "4360:77:20", + "nodeType": "YulIdentifier", + "src": "4360:77:20" + }, + "nativeSrc": "4360:79:20", + "nodeType": "YulFunctionCall", + "src": "4360:79:20" + }, + "nativeSrc": "4360:79:20", + "nodeType": "YulExpressionStatement", + "src": "4360:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "4333:7:20", + "nodeType": "YulIdentifier", + "src": "4333:7:20" + }, + { + "name": "headStart", + "nativeSrc": "4342:9:20", + "nodeType": "YulIdentifier", + "src": "4342:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "4329:3:20", + "nodeType": "YulIdentifier", + "src": "4329:3:20" + }, + "nativeSrc": "4329:23:20", + "nodeType": "YulFunctionCall", + "src": "4329:23:20" + }, + { + "kind": "number", + "nativeSrc": "4354:2:20", + "nodeType": "YulLiteral", + "src": "4354:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "4325:3:20", + "nodeType": "YulIdentifier", + "src": "4325:3:20" + }, + "nativeSrc": "4325:32:20", + "nodeType": "YulFunctionCall", + "src": "4325:32:20" + }, + "nativeSrc": "4322:119:20", + "nodeType": "YulIf", + "src": "4322:119:20" + }, + { + "nativeSrc": "4451:117:20", + "nodeType": "YulBlock", + "src": "4451:117:20", + "statements": [ + { + "nativeSrc": "4466:15:20", + "nodeType": "YulVariableDeclaration", + "src": "4466:15:20", + "value": { + "kind": "number", + "nativeSrc": "4480:1:20", + "nodeType": "YulLiteral", + "src": "4480:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4470:6:20", + "nodeType": "YulTypedName", + "src": "4470:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4495:63:20", + "nodeType": "YulAssignment", + "src": "4495:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4530:9:20", + "nodeType": "YulIdentifier", + "src": "4530:9:20" + }, + { + "name": "offset", + "nativeSrc": "4541:6:20", + "nodeType": "YulIdentifier", + "src": "4541:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4526:3:20", + "nodeType": "YulIdentifier", + "src": "4526:3:20" + }, + "nativeSrc": "4526:22:20", + "nodeType": "YulFunctionCall", + "src": "4526:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4550:7:20", + "nodeType": "YulIdentifier", + "src": "4550:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "4505:20:20", + "nodeType": "YulIdentifier", + "src": "4505:20:20" + }, + "nativeSrc": "4505:53:20", + "nodeType": "YulFunctionCall", + "src": "4505:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "4495:6:20", + "nodeType": "YulIdentifier", + "src": "4495:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "4578:118:20", + "nodeType": "YulBlock", + "src": "4578:118:20", + "statements": [ + { + "nativeSrc": "4593:16:20", + "nodeType": "YulVariableDeclaration", + "src": "4593:16:20", + "value": { + "kind": "number", + "nativeSrc": "4607:2:20", + "nodeType": "YulLiteral", + "src": "4607:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4597:6:20", + "nodeType": "YulTypedName", + "src": "4597:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4623:63:20", + "nodeType": "YulAssignment", + "src": "4623:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4658:9:20", + "nodeType": "YulIdentifier", + "src": "4658:9:20" + }, + { + "name": "offset", + "nativeSrc": "4669:6:20", + "nodeType": "YulIdentifier", + "src": "4669:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4654:3:20", + "nodeType": "YulIdentifier", + "src": "4654:3:20" + }, + "nativeSrc": "4654:22:20", + "nodeType": "YulFunctionCall", + "src": "4654:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4678:7:20", + "nodeType": "YulIdentifier", + "src": "4678:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "4633:20:20", + "nodeType": "YulIdentifier", + "src": "4633:20:20" + }, + "nativeSrc": "4633:53:20", + "nodeType": "YulFunctionCall", + "src": "4633:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "4623:6:20", + "nodeType": "YulIdentifier", + "src": "4623:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_uint256", + "nativeSrc": "4229:474:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4274:9:20", + "nodeType": "YulTypedName", + "src": "4274:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "4285:7:20", + "nodeType": "YulTypedName", + "src": "4285:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "4297:6:20", + "nodeType": "YulTypedName", + "src": "4297:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "4305:6:20", + "nodeType": "YulTypedName", + "src": "4305:6:20", + "type": "" + } + ], + "src": "4229:474:20" + }, + { + "body": { + "nativeSrc": "4774:53:20", + "nodeType": "YulBlock", + "src": "4774:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4791:3:20", + "nodeType": "YulIdentifier", + "src": "4791:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "4814:5:20", + "nodeType": "YulIdentifier", + "src": "4814:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "4796:17:20", + "nodeType": "YulIdentifier", + "src": "4796:17:20" + }, + "nativeSrc": "4796:24:20", + "nodeType": "YulFunctionCall", + "src": "4796:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "4784:6:20", + "nodeType": "YulIdentifier", + "src": "4784:6:20" + }, + "nativeSrc": "4784:37:20", + "nodeType": "YulFunctionCall", + "src": "4784:37:20" + }, + "nativeSrc": "4784:37:20", + "nodeType": "YulExpressionStatement", + "src": "4784:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4709:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4762:5:20", + "nodeType": "YulTypedName", + "src": "4762:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "4769:3:20", + "nodeType": "YulTypedName", + "src": "4769:3:20", + "type": "" + } + ], + "src": "4709:118:20" + }, + { + "body": { + "nativeSrc": "4931:124:20", + "nodeType": "YulBlock", + "src": "4931:124:20", + "statements": [ + { + "nativeSrc": "4941:26:20", + "nodeType": "YulAssignment", + "src": "4941:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4953:9:20", + "nodeType": "YulIdentifier", + "src": "4953:9:20" + }, + { + "kind": "number", + "nativeSrc": "4964:2:20", + "nodeType": "YulLiteral", + "src": "4964:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4949:3:20", + "nodeType": "YulIdentifier", + "src": "4949:3:20" + }, + "nativeSrc": "4949:18:20", + "nodeType": "YulFunctionCall", + "src": "4949:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4941:4:20", + "nodeType": "YulIdentifier", + "src": "4941:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "5021:6:20", + "nodeType": "YulIdentifier", + "src": "5021:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5034:9:20", + "nodeType": "YulIdentifier", + "src": "5034:9:20" + }, + { + "kind": "number", + "nativeSrc": "5045:1:20", + "nodeType": "YulLiteral", + "src": "5045:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5030:3:20", + "nodeType": "YulIdentifier", + "src": "5030:3:20" + }, + "nativeSrc": "5030:17:20", + "nodeType": "YulFunctionCall", + "src": "5030:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4977:43:20", + "nodeType": "YulIdentifier", + "src": "4977:43:20" + }, + "nativeSrc": "4977:71:20", + "nodeType": "YulFunctionCall", + "src": "4977:71:20" + }, + "nativeSrc": "4977:71:20", + "nodeType": "YulExpressionStatement", + "src": "4977:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "4833:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4903:9:20", + "nodeType": "YulTypedName", + "src": "4903:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4915:6:20", + "nodeType": "YulTypedName", + "src": "4915:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4926:4:20", + "nodeType": "YulTypedName", + "src": "4926:4:20", + "type": "" + } + ], + "src": "4833:222:20" + }, + { + "body": { + "nativeSrc": "5248:1214:20", + "nodeType": "YulBlock", + "src": "5248:1214:20", + "statements": [ + { + "body": { + "nativeSrc": "5295:83:20", + "nodeType": "YulBlock", + "src": "5295:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "5297:77:20", + "nodeType": "YulIdentifier", + "src": "5297:77:20" + }, + "nativeSrc": "5297:79:20", + "nodeType": "YulFunctionCall", + "src": "5297:79:20" + }, + "nativeSrc": "5297:79:20", + "nodeType": "YulExpressionStatement", + "src": "5297:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "5269:7:20", + "nodeType": "YulIdentifier", + "src": "5269:7:20" + }, + { + "name": "headStart", + "nativeSrc": "5278:9:20", + "nodeType": "YulIdentifier", + "src": "5278:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "5265:3:20", + "nodeType": "YulIdentifier", + "src": "5265:3:20" + }, + "nativeSrc": "5265:23:20", + "nodeType": "YulFunctionCall", + "src": "5265:23:20" + }, + { + "kind": "number", + "nativeSrc": "5290:3:20", + "nodeType": "YulLiteral", + "src": "5290:3:20", + "type": "", + "value": "224" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "5261:3:20", + "nodeType": "YulIdentifier", + "src": "5261:3:20" + }, + "nativeSrc": "5261:33:20", + "nodeType": "YulFunctionCall", + "src": "5261:33:20" + }, + "nativeSrc": "5258:120:20", + "nodeType": "YulIf", + "src": "5258:120:20" + }, + { + "nativeSrc": "5388:117:20", + "nodeType": "YulBlock", + "src": "5388:117:20", + "statements": [ + { + "nativeSrc": "5403:15:20", + "nodeType": "YulVariableDeclaration", + "src": "5403:15:20", + "value": { + "kind": "number", + "nativeSrc": "5417:1:20", + "nodeType": "YulLiteral", + "src": "5417:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5407:6:20", + "nodeType": "YulTypedName", + "src": "5407:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5432:63:20", + "nodeType": "YulAssignment", + "src": "5432:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5467:9:20", + "nodeType": "YulIdentifier", + "src": "5467:9:20" + }, + { + "name": "offset", + "nativeSrc": "5478:6:20", + "nodeType": "YulIdentifier", + "src": "5478:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5463:3:20", + "nodeType": "YulIdentifier", + "src": "5463:3:20" + }, + "nativeSrc": "5463:22:20", + "nodeType": "YulFunctionCall", + "src": "5463:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5487:7:20", + "nodeType": "YulIdentifier", + "src": "5487:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "5442:20:20", + "nodeType": "YulIdentifier", + "src": "5442:20:20" + }, + "nativeSrc": "5442:53:20", + "nodeType": "YulFunctionCall", + "src": "5442:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "5432:6:20", + "nodeType": "YulIdentifier", + "src": "5432:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5515:118:20", + "nodeType": "YulBlock", + "src": "5515:118:20", + "statements": [ + { + "nativeSrc": "5530:16:20", + "nodeType": "YulVariableDeclaration", + "src": "5530:16:20", + "value": { + "kind": "number", + "nativeSrc": "5544:2:20", + "nodeType": "YulLiteral", + "src": "5544:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5534:6:20", + "nodeType": "YulTypedName", + "src": "5534:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5560:63:20", + "nodeType": "YulAssignment", + "src": "5560:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5595:9:20", + "nodeType": "YulIdentifier", + "src": "5595:9:20" + }, + { + "name": "offset", + "nativeSrc": "5606:6:20", + "nodeType": "YulIdentifier", + "src": "5606:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5591:3:20", + "nodeType": "YulIdentifier", + "src": "5591:3:20" + }, + "nativeSrc": "5591:22:20", + "nodeType": "YulFunctionCall", + "src": "5591:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5615:7:20", + "nodeType": "YulIdentifier", + "src": "5615:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "5570:20:20", + "nodeType": "YulIdentifier", + "src": "5570:20:20" + }, + "nativeSrc": "5570:53:20", + "nodeType": "YulFunctionCall", + "src": "5570:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "5560:6:20", + "nodeType": "YulIdentifier", + "src": "5560:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5643:118:20", + "nodeType": "YulBlock", + "src": "5643:118:20", + "statements": [ + { + "nativeSrc": "5658:16:20", + "nodeType": "YulVariableDeclaration", + "src": "5658:16:20", + "value": { + "kind": "number", + "nativeSrc": "5672:2:20", + "nodeType": "YulLiteral", + "src": "5672:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5662:6:20", + "nodeType": "YulTypedName", + "src": "5662:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5688:63:20", + "nodeType": "YulAssignment", + "src": "5688:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5723:9:20", + "nodeType": "YulIdentifier", + "src": "5723:9:20" + }, + { + "name": "offset", + "nativeSrc": "5734:6:20", + "nodeType": "YulIdentifier", + "src": "5734:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5719:3:20", + "nodeType": "YulIdentifier", + "src": "5719:3:20" + }, + "nativeSrc": "5719:22:20", + "nodeType": "YulFunctionCall", + "src": "5719:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5743:7:20", + "nodeType": "YulIdentifier", + "src": "5743:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "5698:20:20", + "nodeType": "YulIdentifier", + "src": "5698:20:20" + }, + "nativeSrc": "5698:53:20", + "nodeType": "YulFunctionCall", + "src": "5698:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "5688:6:20", + "nodeType": "YulIdentifier", + "src": "5688:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5771:118:20", + "nodeType": "YulBlock", + "src": "5771:118:20", + "statements": [ + { + "nativeSrc": "5786:16:20", + "nodeType": "YulVariableDeclaration", + "src": "5786:16:20", + "value": { + "kind": "number", + "nativeSrc": "5800:2:20", + "nodeType": "YulLiteral", + "src": "5800:2:20", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5790:6:20", + "nodeType": "YulTypedName", + "src": "5790:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5816:63:20", + "nodeType": "YulAssignment", + "src": "5816:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5851:9:20", + "nodeType": "YulIdentifier", + "src": "5851:9:20" + }, + { + "name": "offset", + "nativeSrc": "5862:6:20", + "nodeType": "YulIdentifier", + "src": "5862:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5847:3:20", + "nodeType": "YulIdentifier", + "src": "5847:3:20" + }, + "nativeSrc": "5847:22:20", + "nodeType": "YulFunctionCall", + "src": "5847:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5871:7:20", + "nodeType": "YulIdentifier", + "src": "5871:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "5826:20:20", + "nodeType": "YulIdentifier", + "src": "5826:20:20" + }, + "nativeSrc": "5826:53:20", + "nodeType": "YulFunctionCall", + "src": "5826:53:20" + }, + "variableNames": [ + { + "name": "value3", + "nativeSrc": "5816:6:20", + "nodeType": "YulIdentifier", + "src": "5816:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5899:298:20", + "nodeType": "YulBlock", + "src": "5899:298:20", + "statements": [ + { + "nativeSrc": "5914:47:20", + "nodeType": "YulVariableDeclaration", + "src": "5914:47:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5945:9:20", + "nodeType": "YulIdentifier", + "src": "5945:9:20" + }, + { + "kind": "number", + "nativeSrc": "5956:3:20", + "nodeType": "YulLiteral", + "src": "5956:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5941:3:20", + "nodeType": "YulIdentifier", + "src": "5941:3:20" + }, + "nativeSrc": "5941:19:20", + "nodeType": "YulFunctionCall", + "src": "5941:19:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "5928:12:20", + "nodeType": "YulIdentifier", + "src": "5928:12:20" + }, + "nativeSrc": "5928:33:20", + "nodeType": "YulFunctionCall", + "src": "5928:33:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5918:6:20", + "nodeType": "YulTypedName", + "src": "5918:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "6008:83:20", + "nodeType": "YulBlock", + "src": "6008:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "6010:77:20", + "nodeType": "YulIdentifier", + "src": "6010:77:20" + }, + "nativeSrc": "6010:79:20", + "nodeType": "YulFunctionCall", + "src": "6010:79:20" + }, + "nativeSrc": "6010:79:20", + "nodeType": "YulExpressionStatement", + "src": "6010:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "5980:6:20", + "nodeType": "YulIdentifier", + "src": "5980:6:20" + }, + { + "kind": "number", + "nativeSrc": "5988:18:20", + "nodeType": "YulLiteral", + "src": "5988:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "5977:2:20", + "nodeType": "YulIdentifier", + "src": "5977:2:20" + }, + "nativeSrc": "5977:30:20", + "nodeType": "YulFunctionCall", + "src": "5977:30:20" + }, + "nativeSrc": "5974:117:20", + "nodeType": "YulIf", + "src": "5974:117:20" + }, + { + "nativeSrc": "6105:82:20", + "nodeType": "YulAssignment", + "src": "6105:82:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6159:9:20", + "nodeType": "YulIdentifier", + "src": "6159:9:20" + }, + { + "name": "offset", + "nativeSrc": "6170:6:20", + "nodeType": "YulIdentifier", + "src": "6170:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6155:3:20", + "nodeType": "YulIdentifier", + "src": "6155:3:20" + }, + "nativeSrc": "6155:22:20", + "nodeType": "YulFunctionCall", + "src": "6155:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6179:7:20", + "nodeType": "YulIdentifier", + "src": "6179:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_calldata_ptr", + "nativeSrc": "6123:31:20", + "nodeType": "YulIdentifier", + "src": "6123:31:20" + }, + "nativeSrc": "6123:64:20", + "nodeType": "YulFunctionCall", + "src": "6123:64:20" + }, + "variableNames": [ + { + "name": "value4", + "nativeSrc": "6105:6:20", + "nodeType": "YulIdentifier", + "src": "6105:6:20" + }, + { + "name": "value5", + "nativeSrc": "6113:6:20", + "nodeType": "YulIdentifier", + "src": "6113:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "6207:119:20", + "nodeType": "YulBlock", + "src": "6207:119:20", + "statements": [ + { + "nativeSrc": "6222:17:20", + "nodeType": "YulVariableDeclaration", + "src": "6222:17:20", + "value": { + "kind": "number", + "nativeSrc": "6236:3:20", + "nodeType": "YulLiteral", + "src": "6236:3:20", + "type": "", + "value": "160" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "6226:6:20", + "nodeType": "YulTypedName", + "src": "6226:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6253:63:20", + "nodeType": "YulAssignment", + "src": "6253:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6288:9:20", + "nodeType": "YulIdentifier", + "src": "6288:9:20" + }, + { + "name": "offset", + "nativeSrc": "6299:6:20", + "nodeType": "YulIdentifier", + "src": "6299:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6284:3:20", + "nodeType": "YulIdentifier", + "src": "6284:3:20" + }, + "nativeSrc": "6284:22:20", + "nodeType": "YulFunctionCall", + "src": "6284:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6308:7:20", + "nodeType": "YulIdentifier", + "src": "6308:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "6263:20:20", + "nodeType": "YulIdentifier", + "src": "6263:20:20" + }, + "nativeSrc": "6263:53:20", + "nodeType": "YulFunctionCall", + "src": "6263:53:20" + }, + "variableNames": [ + { + "name": "value6", + "nativeSrc": "6253:6:20", + "nodeType": "YulIdentifier", + "src": "6253:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "6336:119:20", + "nodeType": "YulBlock", + "src": "6336:119:20", + "statements": [ + { + "nativeSrc": "6351:17:20", + "nodeType": "YulVariableDeclaration", + "src": "6351:17:20", + "value": { + "kind": "number", + "nativeSrc": "6365:3:20", + "nodeType": "YulLiteral", + "src": "6365:3:20", + "type": "", + "value": "192" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "6355:6:20", + "nodeType": "YulTypedName", + "src": "6355:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6382:63:20", + "nodeType": "YulAssignment", + "src": "6382:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6417:9:20", + "nodeType": "YulIdentifier", + "src": "6417:9:20" + }, + { + "name": "offset", + "nativeSrc": "6428:6:20", + "nodeType": "YulIdentifier", + "src": "6428:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6413:3:20", + "nodeType": "YulIdentifier", + "src": "6413:3:20" + }, + "nativeSrc": "6413:22:20", + "nodeType": "YulFunctionCall", + "src": "6413:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6437:7:20", + "nodeType": "YulIdentifier", + "src": "6437:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "6392:20:20", + "nodeType": "YulIdentifier", + "src": "6392:20:20" + }, + "nativeSrc": "6392:53:20", + "nodeType": "YulFunctionCall", + "src": "6392:53:20" + }, + "variableNames": [ + { + "name": "value7", + "nativeSrc": "6382:6:20", + "nodeType": "YulIdentifier", + "src": "6382:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256t_addresst_addresst_addresst_bytes_calldata_ptrt_uint256t_uint256", + "nativeSrc": "5061:1401:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "5162:9:20", + "nodeType": "YulTypedName", + "src": "5162:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "5173:7:20", + "nodeType": "YulTypedName", + "src": "5173:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "5185:6:20", + "nodeType": "YulTypedName", + "src": "5185:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "5193:6:20", + "nodeType": "YulTypedName", + "src": "5193:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "5201:6:20", + "nodeType": "YulTypedName", + "src": "5201:6:20", + "type": "" + }, + { + "name": "value3", + "nativeSrc": "5209:6:20", + "nodeType": "YulTypedName", + "src": "5209:6:20", + "type": "" + }, + { + "name": "value4", + "nativeSrc": "5217:6:20", + "nodeType": "YulTypedName", + "src": "5217:6:20", + "type": "" + }, + { + "name": "value5", + "nativeSrc": "5225:6:20", + "nodeType": "YulTypedName", + "src": "5225:6:20", + "type": "" + }, + { + "name": "value6", + "nativeSrc": "5233:6:20", + "nodeType": "YulTypedName", + "src": "5233:6:20", + "type": "" + }, + { + "name": "value7", + "nativeSrc": "5241:6:20", + "nodeType": "YulTypedName", + "src": "5241:6:20", + "type": "" + } + ], + "src": "5061:1401:20" + }, + { + "body": { + "nativeSrc": "6534:263:20", + "nodeType": "YulBlock", + "src": "6534:263:20", + "statements": [ + { + "body": { + "nativeSrc": "6580:83:20", + "nodeType": "YulBlock", + "src": "6580:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "6582:77:20", + "nodeType": "YulIdentifier", + "src": "6582:77:20" + }, + "nativeSrc": "6582:79:20", + "nodeType": "YulFunctionCall", + "src": "6582:79:20" + }, + "nativeSrc": "6582:79:20", + "nodeType": "YulExpressionStatement", + "src": "6582:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "6555:7:20", + "nodeType": "YulIdentifier", + "src": "6555:7:20" + }, + { + "name": "headStart", + "nativeSrc": "6564:9:20", + "nodeType": "YulIdentifier", + "src": "6564:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "6551:3:20", + "nodeType": "YulIdentifier", + "src": "6551:3:20" + }, + "nativeSrc": "6551:23:20", + "nodeType": "YulFunctionCall", + "src": "6551:23:20" + }, + { + "kind": "number", + "nativeSrc": "6576:2:20", + "nodeType": "YulLiteral", + "src": "6576:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "6547:3:20", + "nodeType": "YulIdentifier", + "src": "6547:3:20" + }, + "nativeSrc": "6547:32:20", + "nodeType": "YulFunctionCall", + "src": "6547:32:20" + }, + "nativeSrc": "6544:119:20", + "nodeType": "YulIf", + "src": "6544:119:20" + }, + { + "nativeSrc": "6673:117:20", + "nodeType": "YulBlock", + "src": "6673:117:20", + "statements": [ + { + "nativeSrc": "6688:15:20", + "nodeType": "YulVariableDeclaration", + "src": "6688:15:20", + "value": { + "kind": "number", + "nativeSrc": "6702:1:20", + "nodeType": "YulLiteral", + "src": "6702:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "6692:6:20", + "nodeType": "YulTypedName", + "src": "6692:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6717:63:20", + "nodeType": "YulAssignment", + "src": "6717:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6752:9:20", + "nodeType": "YulIdentifier", + "src": "6752:9:20" + }, + { + "name": "offset", + "nativeSrc": "6763:6:20", + "nodeType": "YulIdentifier", + "src": "6763:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6748:3:20", + "nodeType": "YulIdentifier", + "src": "6748:3:20" + }, + "nativeSrc": "6748:22:20", + "nodeType": "YulFunctionCall", + "src": "6748:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6772:7:20", + "nodeType": "YulIdentifier", + "src": "6772:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "6727:20:20", + "nodeType": "YulIdentifier", + "src": "6727:20:20" + }, + "nativeSrc": "6727:53:20", + "nodeType": "YulFunctionCall", + "src": "6727:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "6717:6:20", + "nodeType": "YulIdentifier", + "src": "6717:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nativeSrc": "6468:329:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "6504:9:20", + "nodeType": "YulTypedName", + "src": "6504:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "6515:7:20", + "nodeType": "YulTypedName", + "src": "6515:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "6527:6:20", + "nodeType": "YulTypedName", + "src": "6527:6:20", + "type": "" + } + ], + "src": "6468:329:20" + }, + { + "body": { + "nativeSrc": "6903:519:20", + "nodeType": "YulBlock", + "src": "6903:519:20", + "statements": [ + { + "body": { + "nativeSrc": "6949:83:20", + "nodeType": "YulBlock", + "src": "6949:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "6951:77:20", + "nodeType": "YulIdentifier", + "src": "6951:77:20" + }, + "nativeSrc": "6951:79:20", + "nodeType": "YulFunctionCall", + "src": "6951:79:20" + }, + "nativeSrc": "6951:79:20", + "nodeType": "YulExpressionStatement", + "src": "6951:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "6924:7:20", + "nodeType": "YulIdentifier", + "src": "6924:7:20" + }, + { + "name": "headStart", + "nativeSrc": "6933:9:20", + "nodeType": "YulIdentifier", + "src": "6933:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "6920:3:20", + "nodeType": "YulIdentifier", + "src": "6920:3:20" + }, + "nativeSrc": "6920:23:20", + "nodeType": "YulFunctionCall", + "src": "6920:23:20" + }, + { + "kind": "number", + "nativeSrc": "6945:2:20", + "nodeType": "YulLiteral", + "src": "6945:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "6916:3:20", + "nodeType": "YulIdentifier", + "src": "6916:3:20" + }, + "nativeSrc": "6916:32:20", + "nodeType": "YulFunctionCall", + "src": "6916:32:20" + }, + "nativeSrc": "6913:119:20", + "nodeType": "YulIf", + "src": "6913:119:20" + }, + { + "nativeSrc": "7042:117:20", + "nodeType": "YulBlock", + "src": "7042:117:20", + "statements": [ + { + "nativeSrc": "7057:15:20", + "nodeType": "YulVariableDeclaration", + "src": "7057:15:20", + "value": { + "kind": "number", + "nativeSrc": "7071:1:20", + "nodeType": "YulLiteral", + "src": "7071:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7061:6:20", + "nodeType": "YulTypedName", + "src": "7061:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7086:63:20", + "nodeType": "YulAssignment", + "src": "7086:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7121:9:20", + "nodeType": "YulIdentifier", + "src": "7121:9:20" + }, + { + "name": "offset", + "nativeSrc": "7132:6:20", + "nodeType": "YulIdentifier", + "src": "7132:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7117:3:20", + "nodeType": "YulIdentifier", + "src": "7117:3:20" + }, + "nativeSrc": "7117:22:20", + "nodeType": "YulFunctionCall", + "src": "7117:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7141:7:20", + "nodeType": "YulIdentifier", + "src": "7141:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "7096:20:20", + "nodeType": "YulIdentifier", + "src": "7096:20:20" + }, + "nativeSrc": "7096:53:20", + "nodeType": "YulFunctionCall", + "src": "7096:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "7086:6:20", + "nodeType": "YulIdentifier", + "src": "7086:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "7169:118:20", + "nodeType": "YulBlock", + "src": "7169:118:20", + "statements": [ + { + "nativeSrc": "7184:16:20", + "nodeType": "YulVariableDeclaration", + "src": "7184:16:20", + "value": { + "kind": "number", + "nativeSrc": "7198:2:20", + "nodeType": "YulLiteral", + "src": "7198:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7188:6:20", + "nodeType": "YulTypedName", + "src": "7188:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7214:63:20", + "nodeType": "YulAssignment", + "src": "7214:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7249:9:20", + "nodeType": "YulIdentifier", + "src": "7249:9:20" + }, + { + "name": "offset", + "nativeSrc": "7260:6:20", + "nodeType": "YulIdentifier", + "src": "7260:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7245:3:20", + "nodeType": "YulIdentifier", + "src": "7245:3:20" + }, + "nativeSrc": "7245:22:20", + "nodeType": "YulFunctionCall", + "src": "7245:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7269:7:20", + "nodeType": "YulIdentifier", + "src": "7269:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "7224:20:20", + "nodeType": "YulIdentifier", + "src": "7224:20:20" + }, + "nativeSrc": "7224:53:20", + "nodeType": "YulFunctionCall", + "src": "7224:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "7214:6:20", + "nodeType": "YulIdentifier", + "src": "7214:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "7297:118:20", + "nodeType": "YulBlock", + "src": "7297:118:20", + "statements": [ + { + "nativeSrc": "7312:16:20", + "nodeType": "YulVariableDeclaration", + "src": "7312:16:20", + "value": { + "kind": "number", + "nativeSrc": "7326:2:20", + "nodeType": "YulLiteral", + "src": "7326:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7316:6:20", + "nodeType": "YulTypedName", + "src": "7316:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7342:63:20", + "nodeType": "YulAssignment", + "src": "7342:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7377:9:20", + "nodeType": "YulIdentifier", + "src": "7377:9:20" + }, + { + "name": "offset", + "nativeSrc": "7388:6:20", + "nodeType": "YulIdentifier", + "src": "7388:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7373:3:20", + "nodeType": "YulIdentifier", + "src": "7373:3:20" + }, + "nativeSrc": "7373:22:20", + "nodeType": "YulFunctionCall", + "src": "7373:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7397:7:20", + "nodeType": "YulIdentifier", + "src": "7397:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "7352:20:20", + "nodeType": "YulIdentifier", + "src": "7352:20:20" + }, + "nativeSrc": "7352:53:20", + "nodeType": "YulFunctionCall", + "src": "7352:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "7342:6:20", + "nodeType": "YulIdentifier", + "src": "7342:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_address", + "nativeSrc": "6803:619:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "6857:9:20", + "nodeType": "YulTypedName", + "src": "6857:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "6868:7:20", + "nodeType": "YulTypedName", + "src": "6868:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "6880:6:20", + "nodeType": "YulTypedName", + "src": "6880:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "6888:6:20", + "nodeType": "YulTypedName", + "src": "6888:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "6896:6:20", + "nodeType": "YulTypedName", + "src": "6896:6:20", + "type": "" + } + ], + "src": "6803:619:20" + }, + { + "body": { + "nativeSrc": "7491:80:20", + "nodeType": "YulBlock", + "src": "7491:80:20", + "statements": [ + { + "nativeSrc": "7501:22:20", + "nodeType": "YulAssignment", + "src": "7501:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "7516:6:20", + "nodeType": "YulIdentifier", + "src": "7516:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "7510:5:20", + "nodeType": "YulIdentifier", + "src": "7510:5:20" + }, + "nativeSrc": "7510:13:20", + "nodeType": "YulFunctionCall", + "src": "7510:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "7501:5:20", + "nodeType": "YulIdentifier", + "src": "7501:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "7559:5:20", + "nodeType": "YulIdentifier", + "src": "7559:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "7532:26:20", + "nodeType": "YulIdentifier", + "src": "7532:26:20" + }, + "nativeSrc": "7532:33:20", + "nodeType": "YulFunctionCall", + "src": "7532:33:20" + }, + "nativeSrc": "7532:33:20", + "nodeType": "YulExpressionStatement", + "src": "7532:33:20" + } + ] + }, + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "7428:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "7469:6:20", + "nodeType": "YulTypedName", + "src": "7469:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "7477:3:20", + "nodeType": "YulTypedName", + "src": "7477:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "7485:5:20", + "nodeType": "YulTypedName", + "src": "7485:5:20", + "type": "" + } + ], + "src": "7428:143:20" + }, + { + "body": { + "nativeSrc": "7654:274:20", + "nodeType": "YulBlock", + "src": "7654:274:20", + "statements": [ + { + "body": { + "nativeSrc": "7700:83:20", + "nodeType": "YulBlock", + "src": "7700:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "7702:77:20", + "nodeType": "YulIdentifier", + "src": "7702:77:20" + }, + "nativeSrc": "7702:79:20", + "nodeType": "YulFunctionCall", + "src": "7702:79:20" + }, + "nativeSrc": "7702:79:20", + "nodeType": "YulExpressionStatement", + "src": "7702:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "7675:7:20", + "nodeType": "YulIdentifier", + "src": "7675:7:20" + }, + { + "name": "headStart", + "nativeSrc": "7684:9:20", + "nodeType": "YulIdentifier", + "src": "7684:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "7671:3:20", + "nodeType": "YulIdentifier", + "src": "7671:3:20" + }, + "nativeSrc": "7671:23:20", + "nodeType": "YulFunctionCall", + "src": "7671:23:20" + }, + { + "kind": "number", + "nativeSrc": "7696:2:20", + "nodeType": "YulLiteral", + "src": "7696:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "7667:3:20", + "nodeType": "YulIdentifier", + "src": "7667:3:20" + }, + "nativeSrc": "7667:32:20", + "nodeType": "YulFunctionCall", + "src": "7667:32:20" + }, + "nativeSrc": "7664:119:20", + "nodeType": "YulIf", + "src": "7664:119:20" + }, + { + "nativeSrc": "7793:128:20", + "nodeType": "YulBlock", + "src": "7793:128:20", + "statements": [ + { + "nativeSrc": "7808:15:20", + "nodeType": "YulVariableDeclaration", + "src": "7808:15:20", + "value": { + "kind": "number", + "nativeSrc": "7822:1:20", + "nodeType": "YulLiteral", + "src": "7822:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7812:6:20", + "nodeType": "YulTypedName", + "src": "7812:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7837:74:20", + "nodeType": "YulAssignment", + "src": "7837:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7883:9:20", + "nodeType": "YulIdentifier", + "src": "7883:9:20" + }, + { + "name": "offset", + "nativeSrc": "7894:6:20", + "nodeType": "YulIdentifier", + "src": "7894:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7879:3:20", + "nodeType": "YulIdentifier", + "src": "7879:3:20" + }, + "nativeSrc": "7879:22:20", + "nodeType": "YulFunctionCall", + "src": "7879:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7903:7:20", + "nodeType": "YulIdentifier", + "src": "7903:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "7847:31:20", + "nodeType": "YulIdentifier", + "src": "7847:31:20" + }, + "nativeSrc": "7847:64:20", + "nodeType": "YulFunctionCall", + "src": "7847:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "7837:6:20", + "nodeType": "YulIdentifier", + "src": "7837:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nativeSrc": "7577:351:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "7624:9:20", + "nodeType": "YulTypedName", + "src": "7624:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "7635:7:20", + "nodeType": "YulTypedName", + "src": "7635:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "7647:6:20", + "nodeType": "YulTypedName", + "src": "7647:6:20", + "type": "" + } + ], + "src": "7577:351:20" + }, + { + "body": { + "nativeSrc": "7997:80:20", + "nodeType": "YulBlock", + "src": "7997:80:20", + "statements": [ + { + "nativeSrc": "8007:22:20", + "nodeType": "YulAssignment", + "src": "8007:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "8022:6:20", + "nodeType": "YulIdentifier", + "src": "8022:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "8016:5:20", + "nodeType": "YulIdentifier", + "src": "8016:5:20" + }, + "nativeSrc": "8016:13:20", + "nodeType": "YulFunctionCall", + "src": "8016:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "8007:5:20", + "nodeType": "YulIdentifier", + "src": "8007:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "8065:5:20", + "nodeType": "YulIdentifier", + "src": "8065:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_uint256", + "nativeSrc": "8038:26:20", + "nodeType": "YulIdentifier", + "src": "8038:26:20" + }, + "nativeSrc": "8038:33:20", + "nodeType": "YulFunctionCall", + "src": "8038:33:20" + }, + "nativeSrc": "8038:33:20", + "nodeType": "YulExpressionStatement", + "src": "8038:33:20" + } + ] + }, + "name": "abi_decode_t_uint256_fromMemory", + "nativeSrc": "7934:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "7975:6:20", + "nodeType": "YulTypedName", + "src": "7975:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "7983:3:20", + "nodeType": "YulTypedName", + "src": "7983:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "7991:5:20", + "nodeType": "YulTypedName", + "src": "7991:5:20", + "type": "" + } + ], + "src": "7934:143:20" + }, + { + "body": { + "nativeSrc": "8160:274:20", + "nodeType": "YulBlock", + "src": "8160:274:20", + "statements": [ + { + "body": { + "nativeSrc": "8206:83:20", + "nodeType": "YulBlock", + "src": "8206:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "8208:77:20", + "nodeType": "YulIdentifier", + "src": "8208:77:20" + }, + "nativeSrc": "8208:79:20", + "nodeType": "YulFunctionCall", + "src": "8208:79:20" + }, + "nativeSrc": "8208:79:20", + "nodeType": "YulExpressionStatement", + "src": "8208:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "8181:7:20", + "nodeType": "YulIdentifier", + "src": "8181:7:20" + }, + { + "name": "headStart", + "nativeSrc": "8190:9:20", + "nodeType": "YulIdentifier", + "src": "8190:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "8177:3:20", + "nodeType": "YulIdentifier", + "src": "8177:3:20" + }, + "nativeSrc": "8177:23:20", + "nodeType": "YulFunctionCall", + "src": "8177:23:20" + }, + { + "kind": "number", + "nativeSrc": "8202:2:20", + "nodeType": "YulLiteral", + "src": "8202:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "8173:3:20", + "nodeType": "YulIdentifier", + "src": "8173:3:20" + }, + "nativeSrc": "8173:32:20", + "nodeType": "YulFunctionCall", + "src": "8173:32:20" + }, + "nativeSrc": "8170:119:20", + "nodeType": "YulIf", + "src": "8170:119:20" + }, + { + "nativeSrc": "8299:128:20", + "nodeType": "YulBlock", + "src": "8299:128:20", + "statements": [ + { + "nativeSrc": "8314:15:20", + "nodeType": "YulVariableDeclaration", + "src": "8314:15:20", + "value": { + "kind": "number", + "nativeSrc": "8328:1:20", + "nodeType": "YulLiteral", + "src": "8328:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "8318:6:20", + "nodeType": "YulTypedName", + "src": "8318:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "8343:74:20", + "nodeType": "YulAssignment", + "src": "8343:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "8389:9:20", + "nodeType": "YulIdentifier", + "src": "8389:9:20" + }, + { + "name": "offset", + "nativeSrc": "8400:6:20", + "nodeType": "YulIdentifier", + "src": "8400:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "8385:3:20", + "nodeType": "YulIdentifier", + "src": "8385:3:20" + }, + "nativeSrc": "8385:22:20", + "nodeType": "YulFunctionCall", + "src": "8385:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "8409:7:20", + "nodeType": "YulIdentifier", + "src": "8409:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256_fromMemory", + "nativeSrc": "8353:31:20", + "nodeType": "YulIdentifier", + "src": "8353:31:20" + }, + "nativeSrc": "8353:64:20", + "nodeType": "YulFunctionCall", + "src": "8353:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "8343:6:20", + "nodeType": "YulIdentifier", + "src": "8343:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nativeSrc": "8083:351:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "8130:9:20", + "nodeType": "YulTypedName", + "src": "8130:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "8141:7:20", + "nodeType": "YulTypedName", + "src": "8141:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "8153:6:20", + "nodeType": "YulTypedName", + "src": "8153:6:20", + "type": "" + } + ], + "src": "8083:351:20" + }, + { + "body": { + "nativeSrc": "8482:48:20", + "nodeType": "YulBlock", + "src": "8482:48:20", + "statements": [ + { + "nativeSrc": "8492:32:20", + "nodeType": "YulAssignment", + "src": "8492:32:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "8517:5:20", + "nodeType": "YulIdentifier", + "src": "8517:5:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8510:6:20", + "nodeType": "YulIdentifier", + "src": "8510:6:20" + }, + "nativeSrc": "8510:13:20", + "nodeType": "YulFunctionCall", + "src": "8510:13:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8503:6:20", + "nodeType": "YulIdentifier", + "src": "8503:6:20" + }, + "nativeSrc": "8503:21:20", + "nodeType": "YulFunctionCall", + "src": "8503:21:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "8492:7:20", + "nodeType": "YulIdentifier", + "src": "8492:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_bool", + "nativeSrc": "8440:90:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "8464:5:20", + "nodeType": "YulTypedName", + "src": "8464:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "8474:7:20", + "nodeType": "YulTypedName", + "src": "8474:7:20", + "type": "" + } + ], + "src": "8440:90:20" + }, + { + "body": { + "nativeSrc": "8576:76:20", + "nodeType": "YulBlock", + "src": "8576:76:20", + "statements": [ + { + "body": { + "nativeSrc": "8630:16:20", + "nodeType": "YulBlock", + "src": "8630:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "8639:1:20", + "nodeType": "YulLiteral", + "src": "8639:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "8642:1:20", + "nodeType": "YulLiteral", + "src": "8642:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "8632:6:20", + "nodeType": "YulIdentifier", + "src": "8632:6:20" + }, + "nativeSrc": "8632:12:20", + "nodeType": "YulFunctionCall", + "src": "8632:12:20" + }, + "nativeSrc": "8632:12:20", + "nodeType": "YulExpressionStatement", + "src": "8632:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "8599:5:20", + "nodeType": "YulIdentifier", + "src": "8599:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "8621:5:20", + "nodeType": "YulIdentifier", + "src": "8621:5:20" + } + ], + "functionName": { + "name": "cleanup_t_bool", + "nativeSrc": "8606:14:20", + "nodeType": "YulIdentifier", + "src": "8606:14:20" + }, + "nativeSrc": "8606:21:20", + "nodeType": "YulFunctionCall", + "src": "8606:21:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "8596:2:20", + "nodeType": "YulIdentifier", + "src": "8596:2:20" + }, + "nativeSrc": "8596:32:20", + "nodeType": "YulFunctionCall", + "src": "8596:32:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8589:6:20", + "nodeType": "YulIdentifier", + "src": "8589:6:20" + }, + "nativeSrc": "8589:40:20", + "nodeType": "YulFunctionCall", + "src": "8589:40:20" + }, + "nativeSrc": "8586:60:20", + "nodeType": "YulIf", + "src": "8586:60:20" + } + ] + }, + "name": "validator_revert_t_bool", + "nativeSrc": "8536:116:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "8569:5:20", + "nodeType": "YulTypedName", + "src": "8569:5:20", + "type": "" + } + ], + "src": "8536:116:20" + }, + { + "body": { + "nativeSrc": "8718:77:20", + "nodeType": "YulBlock", + "src": "8718:77:20", + "statements": [ + { + "nativeSrc": "8728:22:20", + "nodeType": "YulAssignment", + "src": "8728:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "8743:6:20", + "nodeType": "YulIdentifier", + "src": "8743:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "8737:5:20", + "nodeType": "YulIdentifier", + "src": "8737:5:20" + }, + "nativeSrc": "8737:13:20", + "nodeType": "YulFunctionCall", + "src": "8737:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "8728:5:20", + "nodeType": "YulIdentifier", + "src": "8728:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "8783:5:20", + "nodeType": "YulIdentifier", + "src": "8783:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_bool", + "nativeSrc": "8759:23:20", + "nodeType": "YulIdentifier", + "src": "8759:23:20" + }, + "nativeSrc": "8759:30:20", + "nodeType": "YulFunctionCall", + "src": "8759:30:20" + }, + "nativeSrc": "8759:30:20", + "nodeType": "YulExpressionStatement", + "src": "8759:30:20" + } + ] + }, + "name": "abi_decode_t_bool_fromMemory", + "nativeSrc": "8658:137:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "8696:6:20", + "nodeType": "YulTypedName", + "src": "8696:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "8704:3:20", + "nodeType": "YulTypedName", + "src": "8704:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "8712:5:20", + "nodeType": "YulTypedName", + "src": "8712:5:20", + "type": "" + } + ], + "src": "8658:137:20" + }, + { + "body": { + "nativeSrc": "8875:271:20", + "nodeType": "YulBlock", + "src": "8875:271:20", + "statements": [ + { + "body": { + "nativeSrc": "8921:83:20", + "nodeType": "YulBlock", + "src": "8921:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "8923:77:20", + "nodeType": "YulIdentifier", + "src": "8923:77:20" + }, + "nativeSrc": "8923:79:20", + "nodeType": "YulFunctionCall", + "src": "8923:79:20" + }, + "nativeSrc": "8923:79:20", + "nodeType": "YulExpressionStatement", + "src": "8923:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "8896:7:20", + "nodeType": "YulIdentifier", + "src": "8896:7:20" + }, + { + "name": "headStart", + "nativeSrc": "8905:9:20", + "nodeType": "YulIdentifier", + "src": "8905:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "8892:3:20", + "nodeType": "YulIdentifier", + "src": "8892:3:20" + }, + "nativeSrc": "8892:23:20", + "nodeType": "YulFunctionCall", + "src": "8892:23:20" + }, + { + "kind": "number", + "nativeSrc": "8917:2:20", + "nodeType": "YulLiteral", + "src": "8917:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "8888:3:20", + "nodeType": "YulIdentifier", + "src": "8888:3:20" + }, + "nativeSrc": "8888:32:20", + "nodeType": "YulFunctionCall", + "src": "8888:32:20" + }, + "nativeSrc": "8885:119:20", + "nodeType": "YulIf", + "src": "8885:119:20" + }, + { + "nativeSrc": "9014:125:20", + "nodeType": "YulBlock", + "src": "9014:125:20", + "statements": [ + { + "nativeSrc": "9029:15:20", + "nodeType": "YulVariableDeclaration", + "src": "9029:15:20", + "value": { + "kind": "number", + "nativeSrc": "9043:1:20", + "nodeType": "YulLiteral", + "src": "9043:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "9033:6:20", + "nodeType": "YulTypedName", + "src": "9033:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "9058:71:20", + "nodeType": "YulAssignment", + "src": "9058:71:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "9101:9:20", + "nodeType": "YulIdentifier", + "src": "9101:9:20" + }, + { + "name": "offset", + "nativeSrc": "9112:6:20", + "nodeType": "YulIdentifier", + "src": "9112:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9097:3:20", + "nodeType": "YulIdentifier", + "src": "9097:3:20" + }, + "nativeSrc": "9097:22:20", + "nodeType": "YulFunctionCall", + "src": "9097:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "9121:7:20", + "nodeType": "YulIdentifier", + "src": "9121:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bool_fromMemory", + "nativeSrc": "9068:28:20", + "nodeType": "YulIdentifier", + "src": "9068:28:20" + }, + "nativeSrc": "9068:61:20", + "nodeType": "YulFunctionCall", + "src": "9068:61:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "9058:6:20", + "nodeType": "YulIdentifier", + "src": "9058:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nativeSrc": "8801:345:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "8845:9:20", + "nodeType": "YulTypedName", + "src": "8845:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "8856:7:20", + "nodeType": "YulTypedName", + "src": "8856:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "8868:6:20", + "nodeType": "YulTypedName", + "src": "8868:6:20", + "type": "" + } + ], + "src": "8801:345:20" + }, + { + "body": { + "nativeSrc": "9248:73:20", + "nodeType": "YulBlock", + "src": "9248:73:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9265:3:20", + "nodeType": "YulIdentifier", + "src": "9265:3:20" + }, + { + "name": "length", + "nativeSrc": "9270:6:20", + "nodeType": "YulIdentifier", + "src": "9270:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "9258:6:20", + "nodeType": "YulIdentifier", + "src": "9258:6:20" + }, + "nativeSrc": "9258:19:20", + "nodeType": "YulFunctionCall", + "src": "9258:19:20" + }, + "nativeSrc": "9258:19:20", + "nodeType": "YulExpressionStatement", + "src": "9258:19:20" + }, + { + "nativeSrc": "9286:29:20", + "nodeType": "YulAssignment", + "src": "9286:29:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9305:3:20", + "nodeType": "YulIdentifier", + "src": "9305:3:20" + }, + { + "kind": "number", + "nativeSrc": "9310:4:20", + "nodeType": "YulLiteral", + "src": "9310:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9301:3:20", + "nodeType": "YulIdentifier", + "src": "9301:3:20" + }, + "nativeSrc": "9301:14:20", + "nodeType": "YulFunctionCall", + "src": "9301:14:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "9286:11:20", + "nodeType": "YulIdentifier", + "src": "9286:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "9152:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "9220:3:20", + "nodeType": "YulTypedName", + "src": "9220:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "9225:6:20", + "nodeType": "YulTypedName", + "src": "9225:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "9236:11:20", + "nodeType": "YulTypedName", + "src": "9236:11:20", + "type": "" + } + ], + "src": "9152:169:20" + }, + { + "body": { + "nativeSrc": "9433:72:20", + "nodeType": "YulBlock", + "src": "9433:72:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "9455:6:20", + "nodeType": "YulIdentifier", + "src": "9455:6:20" + }, + { + "kind": "number", + "nativeSrc": "9463:1:20", + "nodeType": "YulLiteral", + "src": "9463:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9451:3:20", + "nodeType": "YulIdentifier", + "src": "9451:3:20" + }, + "nativeSrc": "9451:14:20", + "nodeType": "YulFunctionCall", + "src": "9451:14:20" + }, + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "kind": "string", + "nativeSrc": "9467:30:20", + "nodeType": "YulLiteral", + "src": "9467:30:20", + "type": "", + "value": "Caller is not a lock manager" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "9444:6:20", + "nodeType": "YulIdentifier", + "src": "9444:6:20" + }, + "nativeSrc": "9444:54:20", + "nodeType": "YulFunctionCall", + "src": "9444:54:20" + }, + "nativeSrc": "9444:54:20", + "nodeType": "YulExpressionStatement", + "src": "9444:54:20" + } + ] + }, + "name": "store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "nativeSrc": "9327:178:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "9425:6:20", + "nodeType": "YulTypedName", + "src": "9425:6:20", + "type": "" + } + ], + "src": "9327:178:20" + }, + { + "body": { + "nativeSrc": "9657:220:20", + "nodeType": "YulBlock", + "src": "9657:220:20", + "statements": [ + { + "nativeSrc": "9667:74:20", + "nodeType": "YulAssignment", + "src": "9667:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9733:3:20", + "nodeType": "YulIdentifier", + "src": "9733:3:20" + }, + { + "kind": "number", + "nativeSrc": "9738:2:20", + "nodeType": "YulLiteral", + "src": "9738:2:20", + "type": "", + "value": "28" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "9674:58:20", + "nodeType": "YulIdentifier", + "src": "9674:58:20" + }, + "nativeSrc": "9674:67:20", + "nodeType": "YulFunctionCall", + "src": "9674:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "9667:3:20", + "nodeType": "YulIdentifier", + "src": "9667:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9839:3:20", + "nodeType": "YulIdentifier", + "src": "9839:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "nativeSrc": "9750:88:20", + "nodeType": "YulIdentifier", + "src": "9750:88:20" + }, + "nativeSrc": "9750:93:20", + "nodeType": "YulFunctionCall", + "src": "9750:93:20" + }, + "nativeSrc": "9750:93:20", + "nodeType": "YulExpressionStatement", + "src": "9750:93:20" + }, + { + "nativeSrc": "9852:19:20", + "nodeType": "YulAssignment", + "src": "9852:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9863:3:20", + "nodeType": "YulIdentifier", + "src": "9863:3:20" + }, + { + "kind": "number", + "nativeSrc": "9868:2:20", + "nodeType": "YulLiteral", + "src": "9868:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9859:3:20", + "nodeType": "YulIdentifier", + "src": "9859:3:20" + }, + "nativeSrc": "9859:12:20", + "nodeType": "YulFunctionCall", + "src": "9859:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "9852:3:20", + "nodeType": "YulIdentifier", + "src": "9852:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack", + "nativeSrc": "9511:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "9645:3:20", + "nodeType": "YulTypedName", + "src": "9645:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "9653:3:20", + "nodeType": "YulTypedName", + "src": "9653:3:20", + "type": "" + } + ], + "src": "9511:366:20" + }, + { + "body": { + "nativeSrc": "10054:248:20", + "nodeType": "YulBlock", + "src": "10054:248:20", + "statements": [ + { + "nativeSrc": "10064:26:20", + "nodeType": "YulAssignment", + "src": "10064:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "10076:9:20", + "nodeType": "YulIdentifier", + "src": "10076:9:20" + }, + { + "kind": "number", + "nativeSrc": "10087:2:20", + "nodeType": "YulLiteral", + "src": "10087:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10072:3:20", + "nodeType": "YulIdentifier", + "src": "10072:3:20" + }, + "nativeSrc": "10072:18:20", + "nodeType": "YulFunctionCall", + "src": "10072:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "10064:4:20", + "nodeType": "YulIdentifier", + "src": "10064:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "10111:9:20", + "nodeType": "YulIdentifier", + "src": "10111:9:20" + }, + { + "kind": "number", + "nativeSrc": "10122:1:20", + "nodeType": "YulLiteral", + "src": "10122:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10107:3:20", + "nodeType": "YulIdentifier", + "src": "10107:3:20" + }, + "nativeSrc": "10107:17:20", + "nodeType": "YulFunctionCall", + "src": "10107:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "10130:4:20", + "nodeType": "YulIdentifier", + "src": "10130:4:20" + }, + { + "name": "headStart", + "nativeSrc": "10136:9:20", + "nodeType": "YulIdentifier", + "src": "10136:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "10126:3:20", + "nodeType": "YulIdentifier", + "src": "10126:3:20" + }, + "nativeSrc": "10126:20:20", + "nodeType": "YulFunctionCall", + "src": "10126:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10100:6:20", + "nodeType": "YulIdentifier", + "src": "10100:6:20" + }, + "nativeSrc": "10100:47:20", + "nodeType": "YulFunctionCall", + "src": "10100:47:20" + }, + "nativeSrc": "10100:47:20", + "nodeType": "YulExpressionStatement", + "src": "10100:47:20" + }, + { + "nativeSrc": "10156:139:20", + "nodeType": "YulAssignment", + "src": "10156:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "10290:4:20", + "nodeType": "YulIdentifier", + "src": "10290:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack", + "nativeSrc": "10164:124:20", + "nodeType": "YulIdentifier", + "src": "10164:124:20" + }, + "nativeSrc": "10164:131:20", + "nodeType": "YulFunctionCall", + "src": "10164:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "10156:4:20", + "nodeType": "YulIdentifier", + "src": "10156:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "9883:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "10034:9:20", + "nodeType": "YulTypedName", + "src": "10034:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "10049:4:20", + "nodeType": "YulTypedName", + "src": "10049:4:20", + "type": "" + } + ], + "src": "9883:419:20" + }, + { + "body": { + "nativeSrc": "10336:152:20", + "nodeType": "YulBlock", + "src": "10336:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "10353:1:20", + "nodeType": "YulLiteral", + "src": "10353:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "10356:77:20", + "nodeType": "YulLiteral", + "src": "10356:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10346:6:20", + "nodeType": "YulIdentifier", + "src": "10346:6:20" + }, + "nativeSrc": "10346:88:20", + "nodeType": "YulFunctionCall", + "src": "10346:88:20" + }, + "nativeSrc": "10346:88:20", + "nodeType": "YulExpressionStatement", + "src": "10346:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "10450:1:20", + "nodeType": "YulLiteral", + "src": "10450:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "10453:4:20", + "nodeType": "YulLiteral", + "src": "10453:4:20", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10443:6:20", + "nodeType": "YulIdentifier", + "src": "10443:6:20" + }, + "nativeSrc": "10443:15:20", + "nodeType": "YulFunctionCall", + "src": "10443:15:20" + }, + "nativeSrc": "10443:15:20", + "nodeType": "YulExpressionStatement", + "src": "10443:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "10474:1:20", + "nodeType": "YulLiteral", + "src": "10474:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "10477:4:20", + "nodeType": "YulLiteral", + "src": "10477:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "10467:6:20", + "nodeType": "YulIdentifier", + "src": "10467:6:20" + }, + "nativeSrc": "10467:15:20", + "nodeType": "YulFunctionCall", + "src": "10467:15:20" + }, + "nativeSrc": "10467:15:20", + "nodeType": "YulExpressionStatement", + "src": "10467:15:20" + } + ] + }, + "name": "panic_error_0x32", + "nativeSrc": "10308:180:20", + "nodeType": "YulFunctionDefinition", + "src": "10308:180:20" + }, + { + "body": { + "nativeSrc": "10600:63:20", + "nodeType": "YulBlock", + "src": "10600:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10622:6:20", + "nodeType": "YulIdentifier", + "src": "10622:6:20" + }, + { + "kind": "number", + "nativeSrc": "10630:1:20", + "nodeType": "YulLiteral", + "src": "10630:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10618:3:20", + "nodeType": "YulIdentifier", + "src": "10618:3:20" + }, + "nativeSrc": "10618:14:20", + "nodeType": "YulFunctionCall", + "src": "10618:14:20" + }, + { + "hexValue": "4e6f20726566756e6420617661696c61626c65", + "kind": "string", + "nativeSrc": "10634:21:20", + "nodeType": "YulLiteral", + "src": "10634:21:20", + "type": "", + "value": "No refund available" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10611:6:20", + "nodeType": "YulIdentifier", + "src": "10611:6:20" + }, + "nativeSrc": "10611:45:20", + "nodeType": "YulFunctionCall", + "src": "10611:45:20" + }, + "nativeSrc": "10611:45:20", + "nodeType": "YulExpressionStatement", + "src": "10611:45:20" + } + ] + }, + "name": "store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "nativeSrc": "10494:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "10592:6:20", + "nodeType": "YulTypedName", + "src": "10592:6:20", + "type": "" + } + ], + "src": "10494:169:20" + }, + { + "body": { + "nativeSrc": "10815:220:20", + "nodeType": "YulBlock", + "src": "10815:220:20", + "statements": [ + { + "nativeSrc": "10825:74:20", + "nodeType": "YulAssignment", + "src": "10825:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "10891:3:20", + "nodeType": "YulIdentifier", + "src": "10891:3:20" + }, + { + "kind": "number", + "nativeSrc": "10896:2:20", + "nodeType": "YulLiteral", + "src": "10896:2:20", + "type": "", + "value": "19" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "10832:58:20", + "nodeType": "YulIdentifier", + "src": "10832:58:20" + }, + "nativeSrc": "10832:67:20", + "nodeType": "YulFunctionCall", + "src": "10832:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "10825:3:20", + "nodeType": "YulIdentifier", + "src": "10825:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "10997:3:20", + "nodeType": "YulIdentifier", + "src": "10997:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "nativeSrc": "10908:88:20", + "nodeType": "YulIdentifier", + "src": "10908:88:20" + }, + "nativeSrc": "10908:93:20", + "nodeType": "YulFunctionCall", + "src": "10908:93:20" + }, + "nativeSrc": "10908:93:20", + "nodeType": "YulExpressionStatement", + "src": "10908:93:20" + }, + { + "nativeSrc": "11010:19:20", + "nodeType": "YulAssignment", + "src": "11010:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11021:3:20", + "nodeType": "YulIdentifier", + "src": "11021:3:20" + }, + { + "kind": "number", + "nativeSrc": "11026:2:20", + "nodeType": "YulLiteral", + "src": "11026:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11017:3:20", + "nodeType": "YulIdentifier", + "src": "11017:3:20" + }, + "nativeSrc": "11017:12:20", + "nodeType": "YulFunctionCall", + "src": "11017:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "11010:3:20", + "nodeType": "YulIdentifier", + "src": "11010:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack", + "nativeSrc": "10669:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "10803:3:20", + "nodeType": "YulTypedName", + "src": "10803:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "10811:3:20", + "nodeType": "YulTypedName", + "src": "10811:3:20", + "type": "" + } + ], + "src": "10669:366:20" + }, + { + "body": { + "nativeSrc": "11212:248:20", + "nodeType": "YulBlock", + "src": "11212:248:20", + "statements": [ + { + "nativeSrc": "11222:26:20", + "nodeType": "YulAssignment", + "src": "11222:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "11234:9:20", + "nodeType": "YulIdentifier", + "src": "11234:9:20" + }, + { + "kind": "number", + "nativeSrc": "11245:2:20", + "nodeType": "YulLiteral", + "src": "11245:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11230:3:20", + "nodeType": "YulIdentifier", + "src": "11230:3:20" + }, + "nativeSrc": "11230:18:20", + "nodeType": "YulFunctionCall", + "src": "11230:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "11222:4:20", + "nodeType": "YulIdentifier", + "src": "11222:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "11269:9:20", + "nodeType": "YulIdentifier", + "src": "11269:9:20" + }, + { + "kind": "number", + "nativeSrc": "11280:1:20", + "nodeType": "YulLiteral", + "src": "11280:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11265:3:20", + "nodeType": "YulIdentifier", + "src": "11265:3:20" + }, + "nativeSrc": "11265:17:20", + "nodeType": "YulFunctionCall", + "src": "11265:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "11288:4:20", + "nodeType": "YulIdentifier", + "src": "11288:4:20" + }, + { + "name": "headStart", + "nativeSrc": "11294:9:20", + "nodeType": "YulIdentifier", + "src": "11294:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "11284:3:20", + "nodeType": "YulIdentifier", + "src": "11284:3:20" + }, + "nativeSrc": "11284:20:20", + "nodeType": "YulFunctionCall", + "src": "11284:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11258:6:20", + "nodeType": "YulIdentifier", + "src": "11258:6:20" + }, + "nativeSrc": "11258:47:20", + "nodeType": "YulFunctionCall", + "src": "11258:47:20" + }, + "nativeSrc": "11258:47:20", + "nodeType": "YulExpressionStatement", + "src": "11258:47:20" + }, + { + "nativeSrc": "11314:139:20", + "nodeType": "YulAssignment", + "src": "11314:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "11448:4:20", + "nodeType": "YulIdentifier", + "src": "11448:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack", + "nativeSrc": "11322:124:20", + "nodeType": "YulIdentifier", + "src": "11322:124:20" + }, + "nativeSrc": "11322:131:20", + "nodeType": "YulFunctionCall", + "src": "11322:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "11314:4:20", + "nodeType": "YulIdentifier", + "src": "11314:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "11041:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "11192:9:20", + "nodeType": "YulTypedName", + "src": "11192:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "11207:4:20", + "nodeType": "YulTypedName", + "src": "11207:4:20", + "type": "" + } + ], + "src": "11041:419:20" + }, + { + "body": { + "nativeSrc": "11572:68:20", + "nodeType": "YulBlock", + "src": "11572:68:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11594:6:20", + "nodeType": "YulIdentifier", + "src": "11594:6:20" + }, + { + "kind": "number", + "nativeSrc": "11602:1:20", + "nodeType": "YulLiteral", + "src": "11602:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11590:3:20", + "nodeType": "YulIdentifier", + "src": "11590:3:20" + }, + "nativeSrc": "11590:14:20", + "nodeType": "YulFunctionCall", + "src": "11590:14:20" + }, + { + "hexValue": "526566756e64206e6f7420617661696c61626c6520796574", + "kind": "string", + "nativeSrc": "11606:26:20", + "nodeType": "YulLiteral", + "src": "11606:26:20", + "type": "", + "value": "Refund not available yet" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11583:6:20", + "nodeType": "YulIdentifier", + "src": "11583:6:20" + }, + "nativeSrc": "11583:50:20", + "nodeType": "YulFunctionCall", + "src": "11583:50:20" + }, + "nativeSrc": "11583:50:20", + "nodeType": "YulExpressionStatement", + "src": "11583:50:20" + } + ] + }, + "name": "store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "nativeSrc": "11466:174:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "11564:6:20", + "nodeType": "YulTypedName", + "src": "11564:6:20", + "type": "" + } + ], + "src": "11466:174:20" + }, + { + "body": { + "nativeSrc": "11792:220:20", + "nodeType": "YulBlock", + "src": "11792:220:20", + "statements": [ + { + "nativeSrc": "11802:74:20", + "nodeType": "YulAssignment", + "src": "11802:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11868:3:20", + "nodeType": "YulIdentifier", + "src": "11868:3:20" + }, + { + "kind": "number", + "nativeSrc": "11873:2:20", + "nodeType": "YulLiteral", + "src": "11873:2:20", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "11809:58:20", + "nodeType": "YulIdentifier", + "src": "11809:58:20" + }, + "nativeSrc": "11809:67:20", + "nodeType": "YulFunctionCall", + "src": "11809:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "11802:3:20", + "nodeType": "YulIdentifier", + "src": "11802:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11974:3:20", + "nodeType": "YulIdentifier", + "src": "11974:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "nativeSrc": "11885:88:20", + "nodeType": "YulIdentifier", + "src": "11885:88:20" + }, + "nativeSrc": "11885:93:20", + "nodeType": "YulFunctionCall", + "src": "11885:93:20" + }, + "nativeSrc": "11885:93:20", + "nodeType": "YulExpressionStatement", + "src": "11885:93:20" + }, + { + "nativeSrc": "11987:19:20", + "nodeType": "YulAssignment", + "src": "11987:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11998:3:20", + "nodeType": "YulIdentifier", + "src": "11998:3:20" + }, + { + "kind": "number", + "nativeSrc": "12003:2:20", + "nodeType": "YulLiteral", + "src": "12003:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11994:3:20", + "nodeType": "YulIdentifier", + "src": "11994:3:20" + }, + "nativeSrc": "11994:12:20", + "nodeType": "YulFunctionCall", + "src": "11994:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "11987:3:20", + "nodeType": "YulIdentifier", + "src": "11987:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack", + "nativeSrc": "11646:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "11780:3:20", + "nodeType": "YulTypedName", + "src": "11780:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "11788:3:20", + "nodeType": "YulTypedName", + "src": "11788:3:20", + "type": "" + } + ], + "src": "11646:366:20" + }, + { + "body": { + "nativeSrc": "12189:248:20", + "nodeType": "YulBlock", + "src": "12189:248:20", + "statements": [ + { + "nativeSrc": "12199:26:20", + "nodeType": "YulAssignment", + "src": "12199:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12211:9:20", + "nodeType": "YulIdentifier", + "src": "12211:9:20" + }, + { + "kind": "number", + "nativeSrc": "12222:2:20", + "nodeType": "YulLiteral", + "src": "12222:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12207:3:20", + "nodeType": "YulIdentifier", + "src": "12207:3:20" + }, + "nativeSrc": "12207:18:20", + "nodeType": "YulFunctionCall", + "src": "12207:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "12199:4:20", + "nodeType": "YulIdentifier", + "src": "12199:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12246:9:20", + "nodeType": "YulIdentifier", + "src": "12246:9:20" + }, + { + "kind": "number", + "nativeSrc": "12257:1:20", + "nodeType": "YulLiteral", + "src": "12257:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12242:3:20", + "nodeType": "YulIdentifier", + "src": "12242:3:20" + }, + "nativeSrc": "12242:17:20", + "nodeType": "YulFunctionCall", + "src": "12242:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "12265:4:20", + "nodeType": "YulIdentifier", + "src": "12265:4:20" + }, + { + "name": "headStart", + "nativeSrc": "12271:9:20", + "nodeType": "YulIdentifier", + "src": "12271:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "12261:3:20", + "nodeType": "YulIdentifier", + "src": "12261:3:20" + }, + "nativeSrc": "12261:20:20", + "nodeType": "YulFunctionCall", + "src": "12261:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "12235:6:20", + "nodeType": "YulIdentifier", + "src": "12235:6:20" + }, + "nativeSrc": "12235:47:20", + "nodeType": "YulFunctionCall", + "src": "12235:47:20" + }, + "nativeSrc": "12235:47:20", + "nodeType": "YulExpressionStatement", + "src": "12235:47:20" + }, + { + "nativeSrc": "12291:139:20", + "nodeType": "YulAssignment", + "src": "12291:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "12425:4:20", + "nodeType": "YulIdentifier", + "src": "12425:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack", + "nativeSrc": "12299:124:20", + "nodeType": "YulIdentifier", + "src": "12299:124:20" + }, + "nativeSrc": "12299:131:20", + "nodeType": "YulFunctionCall", + "src": "12299:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "12291:4:20", + "nodeType": "YulIdentifier", + "src": "12291:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "12018:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "12169:9:20", + "nodeType": "YulTypedName", + "src": "12169:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "12184:4:20", + "nodeType": "YulTypedName", + "src": "12184:4:20", + "type": "" + } + ], + "src": "12018:419:20" + }, + { + "body": { + "nativeSrc": "12569:206:20", + "nodeType": "YulBlock", + "src": "12569:206:20", + "statements": [ + { + "nativeSrc": "12579:26:20", + "nodeType": "YulAssignment", + "src": "12579:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12591:9:20", + "nodeType": "YulIdentifier", + "src": "12591:9:20" + }, + { + "kind": "number", + "nativeSrc": "12602:2:20", + "nodeType": "YulLiteral", + "src": "12602:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12587:3:20", + "nodeType": "YulIdentifier", + "src": "12587:3:20" + }, + "nativeSrc": "12587:18:20", + "nodeType": "YulFunctionCall", + "src": "12587:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "12579:4:20", + "nodeType": "YulIdentifier", + "src": "12579:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "12659:6:20", + "nodeType": "YulIdentifier", + "src": "12659:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12672:9:20", + "nodeType": "YulIdentifier", + "src": "12672:9:20" + }, + { + "kind": "number", + "nativeSrc": "12683:1:20", + "nodeType": "YulLiteral", + "src": "12683:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12668:3:20", + "nodeType": "YulIdentifier", + "src": "12668:3:20" + }, + "nativeSrc": "12668:17:20", + "nodeType": "YulFunctionCall", + "src": "12668:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "12615:43:20", + "nodeType": "YulIdentifier", + "src": "12615:43:20" + }, + "nativeSrc": "12615:71:20", + "nodeType": "YulFunctionCall", + "src": "12615:71:20" + }, + "nativeSrc": "12615:71:20", + "nodeType": "YulExpressionStatement", + "src": "12615:71:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "12740:6:20", + "nodeType": "YulIdentifier", + "src": "12740:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12753:9:20", + "nodeType": "YulIdentifier", + "src": "12753:9:20" + }, + { + "kind": "number", + "nativeSrc": "12764:2:20", + "nodeType": "YulLiteral", + "src": "12764:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12749:3:20", + "nodeType": "YulIdentifier", + "src": "12749:3:20" + }, + "nativeSrc": "12749:18:20", + "nodeType": "YulFunctionCall", + "src": "12749:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "12696:43:20", + "nodeType": "YulIdentifier", + "src": "12696:43:20" + }, + "nativeSrc": "12696:72:20", + "nodeType": "YulFunctionCall", + "src": "12696:72:20" + }, + "nativeSrc": "12696:72:20", + "nodeType": "YulExpressionStatement", + "src": "12696:72:20" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed", + "nativeSrc": "12443:332:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "12533:9:20", + "nodeType": "YulTypedName", + "src": "12533:9:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "12545:6:20", + "nodeType": "YulTypedName", + "src": "12545:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "12553:6:20", + "nodeType": "YulTypedName", + "src": "12553:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "12564:4:20", + "nodeType": "YulTypedName", + "src": "12564:4:20", + "type": "" + } + ], + "src": "12443:332:20" + }, + { + "body": { + "nativeSrc": "12887:63:20", + "nodeType": "YulBlock", + "src": "12887:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "12909:6:20", + "nodeType": "YulIdentifier", + "src": "12909:6:20" + }, + { + "kind": "number", + "nativeSrc": "12917:1:20", + "nodeType": "YulLiteral", + "src": "12917:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12905:3:20", + "nodeType": "YulIdentifier", + "src": "12905:3:20" + }, + "nativeSrc": "12905:14:20", + "nodeType": "YulFunctionCall", + "src": "12905:14:20" + }, + { + "hexValue": "416c726561647920696e697469616c697a6564", + "kind": "string", + "nativeSrc": "12921:21:20", + "nodeType": "YulLiteral", + "src": "12921:21:20", + "type": "", + "value": "Already initialized" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "12898:6:20", + "nodeType": "YulIdentifier", + "src": "12898:6:20" + }, + "nativeSrc": "12898:45:20", + "nodeType": "YulFunctionCall", + "src": "12898:45:20" + }, + "nativeSrc": "12898:45:20", + "nodeType": "YulExpressionStatement", + "src": "12898:45:20" + } + ] + }, + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "12781:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "12879:6:20", + "nodeType": "YulTypedName", + "src": "12879:6:20", + "type": "" + } + ], + "src": "12781:169:20" + }, + { + "body": { + "nativeSrc": "13102:220:20", + "nodeType": "YulBlock", + "src": "13102:220:20", + "statements": [ + { + "nativeSrc": "13112:74:20", + "nodeType": "YulAssignment", + "src": "13112:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13178:3:20", + "nodeType": "YulIdentifier", + "src": "13178:3:20" + }, + { + "kind": "number", + "nativeSrc": "13183:2:20", + "nodeType": "YulLiteral", + "src": "13183:2:20", + "type": "", + "value": "19" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "13119:58:20", + "nodeType": "YulIdentifier", + "src": "13119:58:20" + }, + "nativeSrc": "13119:67:20", + "nodeType": "YulFunctionCall", + "src": "13119:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13112:3:20", + "nodeType": "YulIdentifier", + "src": "13112:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13284:3:20", + "nodeType": "YulIdentifier", + "src": "13284:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "13195:88:20", + "nodeType": "YulIdentifier", + "src": "13195:88:20" + }, + "nativeSrc": "13195:93:20", + "nodeType": "YulFunctionCall", + "src": "13195:93:20" + }, + "nativeSrc": "13195:93:20", + "nodeType": "YulExpressionStatement", + "src": "13195:93:20" + }, + { + "nativeSrc": "13297:19:20", + "nodeType": "YulAssignment", + "src": "13297:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13308:3:20", + "nodeType": "YulIdentifier", + "src": "13308:3:20" + }, + { + "kind": "number", + "nativeSrc": "13313:2:20", + "nodeType": "YulLiteral", + "src": "13313:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13304:3:20", + "nodeType": "YulIdentifier", + "src": "13304:3:20" + }, + "nativeSrc": "13304:12:20", + "nodeType": "YulFunctionCall", + "src": "13304:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "13297:3:20", + "nodeType": "YulIdentifier", + "src": "13297:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "12956:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "13090:3:20", + "nodeType": "YulTypedName", + "src": "13090:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "13098:3:20", + "nodeType": "YulTypedName", + "src": "13098:3:20", + "type": "" + } + ], + "src": "12956:366:20" + }, + { + "body": { + "nativeSrc": "13499:248:20", + "nodeType": "YulBlock", + "src": "13499:248:20", + "statements": [ + { + "nativeSrc": "13509:26:20", + "nodeType": "YulAssignment", + "src": "13509:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "13521:9:20", + "nodeType": "YulIdentifier", + "src": "13521:9:20" + }, + { + "kind": "number", + "nativeSrc": "13532:2:20", + "nodeType": "YulLiteral", + "src": "13532:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13517:3:20", + "nodeType": "YulIdentifier", + "src": "13517:3:20" + }, + "nativeSrc": "13517:18:20", + "nodeType": "YulFunctionCall", + "src": "13517:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "13509:4:20", + "nodeType": "YulIdentifier", + "src": "13509:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "13556:9:20", + "nodeType": "YulIdentifier", + "src": "13556:9:20" + }, + { + "kind": "number", + "nativeSrc": "13567:1:20", + "nodeType": "YulLiteral", + "src": "13567:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13552:3:20", + "nodeType": "YulIdentifier", + "src": "13552:3:20" + }, + "nativeSrc": "13552:17:20", + "nodeType": "YulFunctionCall", + "src": "13552:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "13575:4:20", + "nodeType": "YulIdentifier", + "src": "13575:4:20" + }, + { + "name": "headStart", + "nativeSrc": "13581:9:20", + "nodeType": "YulIdentifier", + "src": "13581:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "13571:3:20", + "nodeType": "YulIdentifier", + "src": "13571:3:20" + }, + "nativeSrc": "13571:20:20", + "nodeType": "YulFunctionCall", + "src": "13571:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "13545:6:20", + "nodeType": "YulIdentifier", + "src": "13545:6:20" + }, + "nativeSrc": "13545:47:20", + "nodeType": "YulFunctionCall", + "src": "13545:47:20" + }, + "nativeSrc": "13545:47:20", + "nodeType": "YulExpressionStatement", + "src": "13545:47:20" + }, + { + "nativeSrc": "13601:139:20", + "nodeType": "YulAssignment", + "src": "13601:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "13735:4:20", + "nodeType": "YulIdentifier", + "src": "13735:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "13609:124:20", + "nodeType": "YulIdentifier", + "src": "13609:124:20" + }, + "nativeSrc": "13609:131:20", + "nodeType": "YulFunctionCall", + "src": "13609:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "13601:4:20", + "nodeType": "YulIdentifier", + "src": "13601:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "13328:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "13479:9:20", + "nodeType": "YulTypedName", + "src": "13479:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "13494:4:20", + "nodeType": "YulTypedName", + "src": "13494:4:20", + "type": "" + } + ], + "src": "13328:419:20" + }, + { + "body": { + "nativeSrc": "13907:288:20", + "nodeType": "YulBlock", + "src": "13907:288:20", + "statements": [ + { + "nativeSrc": "13917:26:20", + "nodeType": "YulAssignment", + "src": "13917:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "13929:9:20", + "nodeType": "YulIdentifier", + "src": "13929:9:20" + }, + { + "kind": "number", + "nativeSrc": "13940:2:20", + "nodeType": "YulLiteral", + "src": "13940:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13925:3:20", + "nodeType": "YulIdentifier", + "src": "13925:3:20" + }, + "nativeSrc": "13925:18:20", + "nodeType": "YulFunctionCall", + "src": "13925:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "13917:4:20", + "nodeType": "YulIdentifier", + "src": "13917:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "13997:6:20", + "nodeType": "YulIdentifier", + "src": "13997:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "14010:9:20", + "nodeType": "YulIdentifier", + "src": "14010:9:20" + }, + { + "kind": "number", + "nativeSrc": "14021:1:20", + "nodeType": "YulLiteral", + "src": "14021:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14006:3:20", + "nodeType": "YulIdentifier", + "src": "14006:3:20" + }, + "nativeSrc": "14006:17:20", + "nodeType": "YulFunctionCall", + "src": "14006:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "13953:43:20", + "nodeType": "YulIdentifier", + "src": "13953:43:20" + }, + "nativeSrc": "13953:71:20", + "nodeType": "YulFunctionCall", + "src": "13953:71:20" + }, + "nativeSrc": "13953:71:20", + "nodeType": "YulExpressionStatement", + "src": "13953:71:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "14078:6:20", + "nodeType": "YulIdentifier", + "src": "14078:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "14091:9:20", + "nodeType": "YulIdentifier", + "src": "14091:9:20" + }, + { + "kind": "number", + "nativeSrc": "14102:2:20", + "nodeType": "YulLiteral", + "src": "14102:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14087:3:20", + "nodeType": "YulIdentifier", + "src": "14087:3:20" + }, + "nativeSrc": "14087:18:20", + "nodeType": "YulFunctionCall", + "src": "14087:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "14034:43:20", + "nodeType": "YulIdentifier", + "src": "14034:43:20" + }, + "nativeSrc": "14034:72:20", + "nodeType": "YulFunctionCall", + "src": "14034:72:20" + }, + "nativeSrc": "14034:72:20", + "nodeType": "YulExpressionStatement", + "src": "14034:72:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value2", + "nativeSrc": "14160:6:20", + "nodeType": "YulIdentifier", + "src": "14160:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "14173:9:20", + "nodeType": "YulIdentifier", + "src": "14173:9:20" + }, + { + "kind": "number", + "nativeSrc": "14184:2:20", + "nodeType": "YulLiteral", + "src": "14184:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14169:3:20", + "nodeType": "YulIdentifier", + "src": "14169:3:20" + }, + "nativeSrc": "14169:18:20", + "nodeType": "YulFunctionCall", + "src": "14169:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "14116:43:20", + "nodeType": "YulIdentifier", + "src": "14116:43:20" + }, + "nativeSrc": "14116:72:20", + "nodeType": "YulFunctionCall", + "src": "14116:72:20" + }, + "nativeSrc": "14116:72:20", + "nodeType": "YulExpressionStatement", + "src": "14116:72:20" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_uint256_t_address__to_t_address_t_uint256_t_address__fromStack_reversed", + "nativeSrc": "13753:442:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "13863:9:20", + "nodeType": "YulTypedName", + "src": "13863:9:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "13875:6:20", + "nodeType": "YulTypedName", + "src": "13875:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "13883:6:20", + "nodeType": "YulTypedName", + "src": "13883:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "13891:6:20", + "nodeType": "YulTypedName", + "src": "13891:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "13902:4:20", + "nodeType": "YulTypedName", + "src": "13902:4:20", + "type": "" + } + ], + "src": "13753:442:20" + }, + { + "body": { + "nativeSrc": "14229:152:20", + "nodeType": "YulBlock", + "src": "14229:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14246:1:20", + "nodeType": "YulLiteral", + "src": "14246:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14249:77:20", + "nodeType": "YulLiteral", + "src": "14249:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14239:6:20", + "nodeType": "YulIdentifier", + "src": "14239:6:20" + }, + "nativeSrc": "14239:88:20", + "nodeType": "YulFunctionCall", + "src": "14239:88:20" + }, + "nativeSrc": "14239:88:20", + "nodeType": "YulExpressionStatement", + "src": "14239:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14343:1:20", + "nodeType": "YulLiteral", + "src": "14343:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "14346:4:20", + "nodeType": "YulLiteral", + "src": "14346:4:20", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14336:6:20", + "nodeType": "YulIdentifier", + "src": "14336:6:20" + }, + "nativeSrc": "14336:15:20", + "nodeType": "YulFunctionCall", + "src": "14336:15:20" + }, + "nativeSrc": "14336:15:20", + "nodeType": "YulExpressionStatement", + "src": "14336:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14367:1:20", + "nodeType": "YulLiteral", + "src": "14367:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14370:4:20", + "nodeType": "YulLiteral", + "src": "14370:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "14360:6:20", + "nodeType": "YulIdentifier", + "src": "14360:6:20" + }, + "nativeSrc": "14360:15:20", + "nodeType": "YulFunctionCall", + "src": "14360:15:20" + }, + "nativeSrc": "14360:15:20", + "nodeType": "YulExpressionStatement", + "src": "14360:15:20" + } + ] + }, + "name": "panic_error_0x11", + "nativeSrc": "14201:180:20", + "nodeType": "YulFunctionDefinition", + "src": "14201:180:20" + }, + { + "body": { + "nativeSrc": "14435:362:20", + "nodeType": "YulBlock", + "src": "14435:362:20", + "statements": [ + { + "nativeSrc": "14445:25:20", + "nodeType": "YulAssignment", + "src": "14445:25:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "14468:1:20", + "nodeType": "YulIdentifier", + "src": "14468:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "14450:17:20", + "nodeType": "YulIdentifier", + "src": "14450:17:20" + }, + "nativeSrc": "14450:20:20", + "nodeType": "YulFunctionCall", + "src": "14450:20:20" + }, + "variableNames": [ + { + "name": "x", + "nativeSrc": "14445:1:20", + "nodeType": "YulIdentifier", + "src": "14445:1:20" + } + ] + }, + { + "nativeSrc": "14479:25:20", + "nodeType": "YulAssignment", + "src": "14479:25:20", + "value": { + "arguments": [ + { + "name": "y", + "nativeSrc": "14502:1:20", + "nodeType": "YulIdentifier", + "src": "14502:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "14484:17:20", + "nodeType": "YulIdentifier", + "src": "14484:17:20" + }, + "nativeSrc": "14484:20:20", + "nodeType": "YulFunctionCall", + "src": "14484:20:20" + }, + "variableNames": [ + { + "name": "y", + "nativeSrc": "14479:1:20", + "nodeType": "YulIdentifier", + "src": "14479:1:20" + } + ] + }, + { + "nativeSrc": "14513:28:20", + "nodeType": "YulVariableDeclaration", + "src": "14513:28:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "14536:1:20", + "nodeType": "YulIdentifier", + "src": "14536:1:20" + }, + { + "name": "y", + "nativeSrc": "14539:1:20", + "nodeType": "YulIdentifier", + "src": "14539:1:20" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "14532:3:20", + "nodeType": "YulIdentifier", + "src": "14532:3:20" + }, + "nativeSrc": "14532:9:20", + "nodeType": "YulFunctionCall", + "src": "14532:9:20" + }, + "variables": [ + { + "name": "product_raw", + "nativeSrc": "14517:11:20", + "nodeType": "YulTypedName", + "src": "14517:11:20", + "type": "" + } + ] + }, + { + "nativeSrc": "14550:41:20", + "nodeType": "YulAssignment", + "src": "14550:41:20", + "value": { + "arguments": [ + { + "name": "product_raw", + "nativeSrc": "14579:11:20", + "nodeType": "YulIdentifier", + "src": "14579:11:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "14561:17:20", + "nodeType": "YulIdentifier", + "src": "14561:17:20" + }, + "nativeSrc": "14561:30:20", + "nodeType": "YulFunctionCall", + "src": "14561:30:20" + }, + "variableNames": [ + { + "name": "product", + "nativeSrc": "14550:7:20", + "nodeType": "YulIdentifier", + "src": "14550:7:20" + } + ] + }, + { + "body": { + "nativeSrc": "14768:22:20", + "nodeType": "YulBlock", + "src": "14768:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nativeSrc": "14770:16:20", + "nodeType": "YulIdentifier", + "src": "14770:16:20" + }, + "nativeSrc": "14770:18:20", + "nodeType": "YulFunctionCall", + "src": "14770:18:20" + }, + "nativeSrc": "14770:18:20", + "nodeType": "YulExpressionStatement", + "src": "14770:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nativeSrc": "14701:1:20", + "nodeType": "YulIdentifier", + "src": "14701:1:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "14694:6:20", + "nodeType": "YulIdentifier", + "src": "14694:6:20" + }, + "nativeSrc": "14694:9:20", + "nodeType": "YulFunctionCall", + "src": "14694:9:20" + }, + { + "arguments": [ + { + "name": "y", + "nativeSrc": "14724:1:20", + "nodeType": "YulIdentifier", + "src": "14724:1:20" + }, + { + "arguments": [ + { + "name": "product", + "nativeSrc": "14731:7:20", + "nodeType": "YulIdentifier", + "src": "14731:7:20" + }, + { + "name": "x", + "nativeSrc": "14740:1:20", + "nodeType": "YulIdentifier", + "src": "14740:1:20" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "14727:3:20", + "nodeType": "YulIdentifier", + "src": "14727:3:20" + }, + "nativeSrc": "14727:15:20", + "nodeType": "YulFunctionCall", + "src": "14727:15:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "14721:2:20", + "nodeType": "YulIdentifier", + "src": "14721:2:20" + }, + "nativeSrc": "14721:22:20", + "nodeType": "YulFunctionCall", + "src": "14721:22:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "14674:2:20", + "nodeType": "YulIdentifier", + "src": "14674:2:20" + }, + "nativeSrc": "14674:83:20", + "nodeType": "YulFunctionCall", + "src": "14674:83:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "14654:6:20", + "nodeType": "YulIdentifier", + "src": "14654:6:20" + }, + "nativeSrc": "14654:113:20", + "nodeType": "YulFunctionCall", + "src": "14654:113:20" + }, + "nativeSrc": "14651:139:20", + "nodeType": "YulIf", + "src": "14651:139:20" + } + ] + }, + "name": "checked_mul_t_uint256", + "nativeSrc": "14387:410:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nativeSrc": "14418:1:20", + "nodeType": "YulTypedName", + "src": "14418:1:20", + "type": "" + }, + { + "name": "y", + "nativeSrc": "14421:1:20", + "nodeType": "YulTypedName", + "src": "14421:1:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nativeSrc": "14427:7:20", + "nodeType": "YulTypedName", + "src": "14427:7:20", + "type": "" + } + ], + "src": "14387:410:20" + }, + { + "body": { + "nativeSrc": "14831:152:20", + "nodeType": "YulBlock", + "src": "14831:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14848:1:20", + "nodeType": "YulLiteral", + "src": "14848:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14851:77:20", + "nodeType": "YulLiteral", + "src": "14851:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14841:6:20", + "nodeType": "YulIdentifier", + "src": "14841:6:20" + }, + "nativeSrc": "14841:88:20", + "nodeType": "YulFunctionCall", + "src": "14841:88:20" + }, + "nativeSrc": "14841:88:20", + "nodeType": "YulExpressionStatement", + "src": "14841:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14945:1:20", + "nodeType": "YulLiteral", + "src": "14945:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "14948:4:20", + "nodeType": "YulLiteral", + "src": "14948:4:20", + "type": "", + "value": "0x12" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14938:6:20", + "nodeType": "YulIdentifier", + "src": "14938:6:20" + }, + "nativeSrc": "14938:15:20", + "nodeType": "YulFunctionCall", + "src": "14938:15:20" + }, + "nativeSrc": "14938:15:20", + "nodeType": "YulExpressionStatement", + "src": "14938:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14969:1:20", + "nodeType": "YulLiteral", + "src": "14969:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14972:4:20", + "nodeType": "YulLiteral", + "src": "14972:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "14962:6:20", + "nodeType": "YulIdentifier", + "src": "14962:6:20" + }, + "nativeSrc": "14962:15:20", + "nodeType": "YulFunctionCall", + "src": "14962:15:20" + }, + "nativeSrc": "14962:15:20", + "nodeType": "YulExpressionStatement", + "src": "14962:15:20" + } + ] + }, + "name": "panic_error_0x12", + "nativeSrc": "14803:180:20", + "nodeType": "YulFunctionDefinition", + "src": "14803:180:20" + }, + { + "body": { + "nativeSrc": "15031:143:20", + "nodeType": "YulBlock", + "src": "15031:143:20", + "statements": [ + { + "nativeSrc": "15041:25:20", + "nodeType": "YulAssignment", + "src": "15041:25:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15064:1:20", + "nodeType": "YulIdentifier", + "src": "15064:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15046:17:20", + "nodeType": "YulIdentifier", + "src": "15046:17:20" + }, + "nativeSrc": "15046:20:20", + "nodeType": "YulFunctionCall", + "src": "15046:20:20" + }, + "variableNames": [ + { + "name": "x", + "nativeSrc": "15041:1:20", + "nodeType": "YulIdentifier", + "src": "15041:1:20" + } + ] + }, + { + "nativeSrc": "15075:25:20", + "nodeType": "YulAssignment", + "src": "15075:25:20", + "value": { + "arguments": [ + { + "name": "y", + "nativeSrc": "15098:1:20", + "nodeType": "YulIdentifier", + "src": "15098:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15080:17:20", + "nodeType": "YulIdentifier", + "src": "15080:17:20" + }, + "nativeSrc": "15080:20:20", + "nodeType": "YulFunctionCall", + "src": "15080:20:20" + }, + "variableNames": [ + { + "name": "y", + "nativeSrc": "15075:1:20", + "nodeType": "YulIdentifier", + "src": "15075:1:20" + } + ] + }, + { + "body": { + "nativeSrc": "15122:22:20", + "nodeType": "YulBlock", + "src": "15122:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x12", + "nativeSrc": "15124:16:20", + "nodeType": "YulIdentifier", + "src": "15124:16:20" + }, + "nativeSrc": "15124:18:20", + "nodeType": "YulFunctionCall", + "src": "15124:18:20" + }, + "nativeSrc": "15124:18:20", + "nodeType": "YulExpressionStatement", + "src": "15124:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "y", + "nativeSrc": "15119:1:20", + "nodeType": "YulIdentifier", + "src": "15119:1:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "15112:6:20", + "nodeType": "YulIdentifier", + "src": "15112:6:20" + }, + "nativeSrc": "15112:9:20", + "nodeType": "YulFunctionCall", + "src": "15112:9:20" + }, + "nativeSrc": "15109:35:20", + "nodeType": "YulIf", + "src": "15109:35:20" + }, + { + "nativeSrc": "15154:14:20", + "nodeType": "YulAssignment", + "src": "15154:14:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15163:1:20", + "nodeType": "YulIdentifier", + "src": "15163:1:20" + }, + { + "name": "y", + "nativeSrc": "15166:1:20", + "nodeType": "YulIdentifier", + "src": "15166:1:20" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "15159:3:20", + "nodeType": "YulIdentifier", + "src": "15159:3:20" + }, + "nativeSrc": "15159:9:20", + "nodeType": "YulFunctionCall", + "src": "15159:9:20" + }, + "variableNames": [ + { + "name": "r", + "nativeSrc": "15154:1:20", + "nodeType": "YulIdentifier", + "src": "15154:1:20" + } + ] + } + ] + }, + "name": "checked_div_t_uint256", + "nativeSrc": "14989:185:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nativeSrc": "15020:1:20", + "nodeType": "YulTypedName", + "src": "15020:1:20", + "type": "" + }, + { + "name": "y", + "nativeSrc": "15023:1:20", + "nodeType": "YulTypedName", + "src": "15023:1:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "r", + "nativeSrc": "15029:1:20", + "nodeType": "YulTypedName", + "src": "15029:1:20", + "type": "" + } + ], + "src": "14989:185:20" + }, + { + "body": { + "nativeSrc": "15224:147:20", + "nodeType": "YulBlock", + "src": "15224:147:20", + "statements": [ + { + "nativeSrc": "15234:25:20", + "nodeType": "YulAssignment", + "src": "15234:25:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15257:1:20", + "nodeType": "YulIdentifier", + "src": "15257:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15239:17:20", + "nodeType": "YulIdentifier", + "src": "15239:17:20" + }, + "nativeSrc": "15239:20:20", + "nodeType": "YulFunctionCall", + "src": "15239:20:20" + }, + "variableNames": [ + { + "name": "x", + "nativeSrc": "15234:1:20", + "nodeType": "YulIdentifier", + "src": "15234:1:20" + } + ] + }, + { + "nativeSrc": "15268:25:20", + "nodeType": "YulAssignment", + "src": "15268:25:20", + "value": { + "arguments": [ + { + "name": "y", + "nativeSrc": "15291:1:20", + "nodeType": "YulIdentifier", + "src": "15291:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15273:17:20", + "nodeType": "YulIdentifier", + "src": "15273:17:20" + }, + "nativeSrc": "15273:20:20", + "nodeType": "YulFunctionCall", + "src": "15273:20:20" + }, + "variableNames": [ + { + "name": "y", + "nativeSrc": "15268:1:20", + "nodeType": "YulIdentifier", + "src": "15268:1:20" + } + ] + }, + { + "nativeSrc": "15302:16:20", + "nodeType": "YulAssignment", + "src": "15302:16:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15313:1:20", + "nodeType": "YulIdentifier", + "src": "15313:1:20" + }, + { + "name": "y", + "nativeSrc": "15316:1:20", + "nodeType": "YulIdentifier", + "src": "15316:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15309:3:20", + "nodeType": "YulIdentifier", + "src": "15309:3:20" + }, + "nativeSrc": "15309:9:20", + "nodeType": "YulFunctionCall", + "src": "15309:9:20" + }, + "variableNames": [ + { + "name": "sum", + "nativeSrc": "15302:3:20", + "nodeType": "YulIdentifier", + "src": "15302:3:20" + } + ] + }, + { + "body": { + "nativeSrc": "15342:22:20", + "nodeType": "YulBlock", + "src": "15342:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nativeSrc": "15344:16:20", + "nodeType": "YulIdentifier", + "src": "15344:16:20" + }, + "nativeSrc": "15344:18:20", + "nodeType": "YulFunctionCall", + "src": "15344:18:20" + }, + "nativeSrc": "15344:18:20", + "nodeType": "YulExpressionStatement", + "src": "15344:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15334:1:20", + "nodeType": "YulIdentifier", + "src": "15334:1:20" + }, + { + "name": "sum", + "nativeSrc": "15337:3:20", + "nodeType": "YulIdentifier", + "src": "15337:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "15331:2:20", + "nodeType": "YulIdentifier", + "src": "15331:2:20" + }, + "nativeSrc": "15331:10:20", + "nodeType": "YulFunctionCall", + "src": "15331:10:20" + }, + "nativeSrc": "15328:36:20", + "nodeType": "YulIf", + "src": "15328:36:20" + } + ] + }, + "name": "checked_add_t_uint256", + "nativeSrc": "15180:191:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nativeSrc": "15211:1:20", + "nodeType": "YulTypedName", + "src": "15211:1:20", + "type": "" + }, + { + "name": "y", + "nativeSrc": "15214:1:20", + "nodeType": "YulTypedName", + "src": "15214:1:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nativeSrc": "15220:3:20", + "nodeType": "YulTypedName", + "src": "15220:3:20", + "type": "" + } + ], + "src": "15180:191:20" + }, + { + "body": { + "nativeSrc": "15531:288:20", + "nodeType": "YulBlock", + "src": "15531:288:20", + "statements": [ + { + "nativeSrc": "15541:26:20", + "nodeType": "YulAssignment", + "src": "15541:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15553:9:20", + "nodeType": "YulIdentifier", + "src": "15553:9:20" + }, + { + "kind": "number", + "nativeSrc": "15564:2:20", + "nodeType": "YulLiteral", + "src": "15564:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15549:3:20", + "nodeType": "YulIdentifier", + "src": "15549:3:20" + }, + "nativeSrc": "15549:18:20", + "nodeType": "YulFunctionCall", + "src": "15549:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "15541:4:20", + "nodeType": "YulIdentifier", + "src": "15541:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "15621:6:20", + "nodeType": "YulIdentifier", + "src": "15621:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15634:9:20", + "nodeType": "YulIdentifier", + "src": "15634:9:20" + }, + { + "kind": "number", + "nativeSrc": "15645:1:20", + "nodeType": "YulLiteral", + "src": "15645:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15630:3:20", + "nodeType": "YulIdentifier", + "src": "15630:3:20" + }, + "nativeSrc": "15630:17:20", + "nodeType": "YulFunctionCall", + "src": "15630:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "15577:43:20", + "nodeType": "YulIdentifier", + "src": "15577:43:20" + }, + "nativeSrc": "15577:71:20", + "nodeType": "YulFunctionCall", + "src": "15577:71:20" + }, + "nativeSrc": "15577:71:20", + "nodeType": "YulExpressionStatement", + "src": "15577:71:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "15702:6:20", + "nodeType": "YulIdentifier", + "src": "15702:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15715:9:20", + "nodeType": "YulIdentifier", + "src": "15715:9:20" + }, + { + "kind": "number", + "nativeSrc": "15726:2:20", + "nodeType": "YulLiteral", + "src": "15726:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15711:3:20", + "nodeType": "YulIdentifier", + "src": "15711:3:20" + }, + "nativeSrc": "15711:18:20", + "nodeType": "YulFunctionCall", + "src": "15711:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "15658:43:20", + "nodeType": "YulIdentifier", + "src": "15658:43:20" + }, + "nativeSrc": "15658:72:20", + "nodeType": "YulFunctionCall", + "src": "15658:72:20" + }, + "nativeSrc": "15658:72:20", + "nodeType": "YulExpressionStatement", + "src": "15658:72:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value2", + "nativeSrc": "15784:6:20", + "nodeType": "YulIdentifier", + "src": "15784:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15797:9:20", + "nodeType": "YulIdentifier", + "src": "15797:9:20" + }, + { + "kind": "number", + "nativeSrc": "15808:2:20", + "nodeType": "YulLiteral", + "src": "15808:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15793:3:20", + "nodeType": "YulIdentifier", + "src": "15793:3:20" + }, + "nativeSrc": "15793:18:20", + "nodeType": "YulFunctionCall", + "src": "15793:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "15740:43:20", + "nodeType": "YulIdentifier", + "src": "15740:43:20" + }, + "nativeSrc": "15740:72:20", + "nodeType": "YulFunctionCall", + "src": "15740:72:20" + }, + "nativeSrc": "15740:72:20", + "nodeType": "YulExpressionStatement", + "src": "15740:72:20" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed", + "nativeSrc": "15377:442:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "15487:9:20", + "nodeType": "YulTypedName", + "src": "15487:9:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "15499:6:20", + "nodeType": "YulTypedName", + "src": "15499:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "15507:6:20", + "nodeType": "YulTypedName", + "src": "15507:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "15515:6:20", + "nodeType": "YulTypedName", + "src": "15515:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "15526:4:20", + "nodeType": "YulTypedName", + "src": "15526:4:20", + "type": "" + } + ], + "src": "15377:442:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\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 cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_uint256t_addresst_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3 {\n if slt(sub(dataEnd, headStart), 128) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 96\n\n value3 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490() {\n revert(0, 0)\n }\n\n function revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() {\n revert(0, 0)\n }\n\n // bytes\n function abi_decode_t_bytes_calldata_ptr(offset, end) -> arrayPos, length {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490() }\n arrayPos := add(offset, 0x20)\n if gt(add(arrayPos, mul(length, 0x01)), end) { revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() }\n }\n\n function abi_decode_tuple_t_addresst_addresst_addresst_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4 {\n if slt(sub(dataEnd, headStart), 128) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 96))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value3, value4 := abi_decode_t_bytes_calldata_ptr(add(headStart, offset), dataEnd)\n }\n\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_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 abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_uint256t_addresst_addresst_addresst_bytes_calldata_ptrt_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7 {\n if slt(sub(dataEnd, headStart), 224) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 96\n\n value3 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 128))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value4, value5 := abi_decode_t_bytes_calldata_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 160\n\n value6 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 192\n\n value7 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\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_addresst_addresst_address(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address_fromMemory(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_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(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_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function validator_revert_t_bool(value) {\n if iszero(eq(value, cleanup_t_bool(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bool_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_bool(value)\n }\n\n function abi_decode_tuple_t_bool_fromMemory(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_bool_fromMemory(add(headStart, offset), dataEnd)\n }\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 store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d(memPtr) {\n\n mstore(add(memPtr, 0), \"Caller is not a lock manager\")\n\n }\n\n function abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 28)\n store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d__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_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71(memPtr) {\n\n mstore(add(memPtr, 0), \"No refund available\")\n\n }\n\n function abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71__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_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd(memPtr) {\n\n mstore(add(memPtr, 0), \"Refund not available yet\")\n\n }\n\n function abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 24)\n store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd__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_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n function store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(memPtr) {\n\n mstore(add(memPtr, 0), \"Already initialized\")\n\n }\n\n function abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__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_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_address_t_uint256_t_address__to_t_address_t_uint256_t_address__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_address_to_t_address_fromStack(value2, add(headStart, 64))\n\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n let product_raw := mul(x, y)\n product := cleanup_t_uint256(product_raw)\n\n // overflow, if x != 0 and y != product/x\n if iszero(\n or(\n iszero(x),\n eq(y, div(product, x))\n )\n ) { panic_error_0x11() }\n\n }\n\n function panic_error_0x12() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n\n function checked_div_t_uint256(x, y) -> r {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n if iszero(y) { panic_error_0x12() }\n\n r := div(x, y)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value2, add(headStart, 64))\n\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b873373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea264697066735822122050c48958fabc9ed63c581287d778d756476a56663f8427858158a07e3fbde57b64736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xB4 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7DC0D1D0 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x18B JUMPI DUP1 PUSH4 0x8295D3BE EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0xB5545A3C EQ PUSH2 0x1C5 JUMPI DUP1 PUSH4 0xB8D1452F EQ PUSH2 0x1CF JUMPI DUP1 PUSH4 0xC0C53B8B EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xDB7D7F8D EQ PUSH2 0x207 JUMPI PUSH2 0xB4 JUMP JUMPDEST DUP1 PUSH4 0x16B9680 EQ PUSH2 0xB9 JUMPI DUP1 PUSH4 0x221C1FD1 EQ PUSH2 0xD5 JUMPI DUP1 PUSH4 0x3436247B EQ PUSH2 0x105 JUMPI DUP1 PUSH4 0x3FC8CEF3 EQ PUSH2 0x135 JUMPI DUP1 PUSH4 0x5E895F29 EQ PUSH2 0x153 JUMPI DUP1 PUSH4 0x7ADBF973 EQ PUSH2 0x16F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCE SWAP2 SWAP1 PUSH2 0x12EE JUMP JUMPDEST PUSH2 0x225 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xEF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEA SWAP2 SWAP1 PUSH2 0x13BA JUMP JUMPDEST PUSH2 0x376 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFC SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x11F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11A SWAP2 SWAP1 PUSH2 0x146C JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x12C SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x13D PUSH2 0x41A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x14A SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x16D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x168 SWAP2 SWAP1 PUSH2 0x14D6 JUMP JUMPDEST PUSH2 0x440 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x189 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x184 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x516 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x193 PUSH2 0x66A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1C3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1BE SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x690 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1CD PUSH2 0x7E3 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1E9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1E4 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0xA35 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x205 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x200 SWAP2 SWAP1 PUSH2 0x15C5 JUMP JUMPDEST PUSH2 0xB89 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x20F PUSH2 0xD84 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21C SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 CALLER SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x36F JUMPI PUSH2 0x36E DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6352211E DUP8 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2B9 SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2D6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2FA SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x345 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x369 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3E7 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP2 PUSH1 0x2 DUP2 LT PUSH2 0x40E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST ADD PUSH1 0x0 SWAP2 POP SWAP2 POP POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x50C JUMPI PUSH2 0x50B DUP8 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4E2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x506 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x56F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x58C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5B0 SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x5EF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E6 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP2 PUSH1 0x40 MLOAD PUSH2 0x65F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6E9 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x706 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x72A SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x769 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x760 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP2 PUSH1 0x40 MLOAD PUSH2 0x7D8 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x2 DUP1 PUSH1 0x20 MUL PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP3 PUSH1 0x2 DUP1 ISZERO PUSH2 0x85B JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 JUMPDEST DUP2 SLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 DUP1 DUP4 GT PUSH2 0x847 JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x878 JUMPI PUSH2 0x877 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD GT PUSH2 0x8BD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8B4 SWAP1 PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP2 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x8D2 JUMPI PUSH2 0x8D1 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD LT PUSH2 0x917 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x90E SWAP1 PUSH2 0x1865 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x981 SWAP3 SWAP2 SWAP1 PUSH2 0x11AE JUMP JUMPDEST POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x9B0 JUMPI PUSH2 0x9AF PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD 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 0x9E0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH32 0x1FE70B87853839959E74387A76C2713282F77A4A0656BF8689058A0EEA2891E0 CALLER DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xA17 JUMPI PUSH2 0xA16 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 MLOAD PUSH2 0xA2A SWAP3 SWAP2 SWAP1 PUSH2 0x1885 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA8E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAAB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xACF SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0xB0E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB05 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xB7E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xC18 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xC0F SWAP1 PUSH2 0x18FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP4 PUSH1 0x40 MLOAD PUSH2 0xC87 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP2 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP3 PUSH1 0x40 MLOAD PUSH2 0xCFF SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xD77 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x9D76EA58 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE16 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE3A SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xC1E553E7 DUP4 DUP6 PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEBF SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEDE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xF02 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xF58 JUMPI PUSH2 0xF57 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0xFB0 JUMPI PUSH2 0xFAF PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0xA PUSH1 0xB DUP6 PUSH2 0xFC5 SWAP2 SWAP1 PUSH2 0x1980 JUMP JUMPDEST PUSH2 0xFCF SWAP2 SWAP1 PUSH2 0x19F1 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH3 0x127500 TIMESTAMP PUSH2 0xFE2 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST SWAP1 POP TIMESTAMP DUP4 LT ISZERO PUSH2 0x105F JUMPI PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP7 PUSH2 0x1003 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x1059 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP PUSH2 0x10C3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x10C1 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP JUMPDEST PUSH32 0xA1D590FD2E594A4A50983C420B530FCF5FFE210E5203B51D6C022CB0D9AC4F80 DUP9 PUSH1 0x3 PUSH1 0x0 DUP12 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x1137 JUMPI PUSH2 0x1136 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x3 PUSH1 0x0 DUP13 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x118B JUMPI PUSH2 0x118A PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x40 MLOAD PUSH2 0x119C SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A56 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x11E2 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x11E1 JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0xFF AND SWAP1 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x11C1 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x11EF SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x1222 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1221 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1206 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x122F SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x124C JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1234 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x126D DUP2 PUSH2 0x125A JUMP JUMPDEST DUP2 EQ PUSH2 0x1278 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x128A DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x12BB DUP3 PUSH2 0x1290 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x12CB DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP2 EQ PUSH2 0x12D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x12E8 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x1308 JUMPI PUSH2 0x1307 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1316 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x1327 DUP8 DUP3 DUP9 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x1338 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x1349 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x137A JUMPI PUSH2 0x1379 PUSH2 0x1355 JUMP JUMPDEST JUMPDEST DUP3 CALLDATALOAD SWAP1 POP PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1397 JUMPI PUSH2 0x1396 PUSH2 0x135A JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x1 DUP3 MUL DUP4 ADD GT ISZERO PUSH2 0x13B3 JUMPI PUSH2 0x13B2 PUSH2 0x135F JUMP JUMPDEST JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x80 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x13D6 JUMPI PUSH2 0x13D5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x13E4 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x13F5 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0x1406 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1427 JUMPI PUSH2 0x1426 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1433 DUP9 DUP3 DUP10 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP3 POP SWAP3 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH2 0x144B DUP2 PUSH2 0x125A JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1466 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1483 JUMPI PUSH2 0x1482 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1491 DUP6 DUP3 DUP7 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x14A2 DUP6 DUP3 DUP7 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x14B5 DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D0 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x14F6 JUMPI PUSH2 0x14F5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1504 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP9 POP POP PUSH1 0x20 PUSH2 0x1515 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP8 POP POP PUSH1 0x40 PUSH2 0x1526 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP7 POP POP PUSH1 0x60 PUSH2 0x1537 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1558 JUMPI PUSH2 0x1557 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1564 DUP12 DUP3 DUP13 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP5 POP SWAP5 POP POP PUSH1 0xA0 PUSH2 0x1577 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0xC0 PUSH2 0x1588 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 SWAP1 SWAP4 SWAP7 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x15AE JUMPI PUSH2 0x15AD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15BC DUP5 DUP3 DUP6 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x15DE JUMPI PUSH2 0x15DD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15EC DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x15FD DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x160E DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1627 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1643 JUMPI PUSH2 0x1642 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1651 DUP5 DUP3 DUP6 ADD PUSH2 0x1618 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1669 DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1685 JUMPI PUSH2 0x1684 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1693 DUP5 DUP3 DUP6 ADD PUSH2 0x165A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x16B1 DUP2 PUSH2 0x169C JUMP JUMPDEST DUP2 EQ PUSH2 0x16BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x16CE DUP2 PUSH2 0x16A8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16EA JUMPI PUSH2 0x16E9 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x16F8 DUP5 DUP3 DUP6 ADD PUSH2 0x16BF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x43616C6C6572206973206E6F742061206C6F636B206D616E6167657200000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1748 PUSH1 0x1C DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x1753 DUP3 PUSH2 0x1712 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1777 DUP2 PUSH2 0x173B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E6F20726566756E6420617661696C61626C6500000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17E3 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x17EE DUP3 PUSH2 0x17AD JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1812 DUP2 PUSH2 0x17D6 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x526566756E64206E6F7420617661696C61626C65207965740000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x184F PUSH1 0x18 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x185A DUP3 PUSH2 0x1819 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x187E DUP2 PUSH2 0x1842 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x189A PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x18A7 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x416C726561647920696E697469616C697A656400000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18E4 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x18EF DUP3 PUSH2 0x18AE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1913 DUP2 PUSH2 0x18D7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x192F PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x193C PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1949 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x198B DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1996 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x19A4 DUP2 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x19BB JUMPI PUSH2 0x19BA PUSH2 0x1951 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x19FC DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A07 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1A17 JUMPI PUSH2 0x1A16 PUSH2 0x19C2 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1A2D DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A38 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x1A50 JUMPI PUSH2 0x1A4F PUSH2 0x1951 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x1A6B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x1A78 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1A85 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 POP 0xC4 DUP10 PC STATICCALL 0xBC SWAP15 0xD6 EXTCODECOPY PC SLT DUP8 0xD7 PUSH25 0xD756476A56663F8427858158A07E3FBDE57B64736F6C634300 ADDMOD SHL STOP CALLER ", + "sourceMap": "724:4496:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4488:343;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2603:265;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;839:42;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;814:19;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4030:388;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2029:241;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;787:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1691:271;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4862:356;;;:::i;:::-;;2335:229;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1217:401;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;755:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4488:343;4659:19;4696:10;4659:48;;4735:11;;;;;;;;;;4721:25;;:10;:25;;;4717:108;;4762:52;4775:4;:12;;;4788:7;4775:21;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4798:4;:13;;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4762:12;:52::i;:::-;4717:108;4649:182;4488:343;;;;:::o;2603:265::-;2786:19;2839:10;2824:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2817:44;;2603:265;;;;;;;:::o;839:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;814:19::-;;;;;;;;;;;;;:::o;4030:388::-;4317:11;;;;;;;;;;4303:25;;:10;:25;;;4299:113;;4344:57;4357:4;4378:10;4363:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4344:12;:57::i;:::-;4299:113;4030:388;;;;;;;;:::o;2029:241::-;2102:11;;;;;;;;;;2087:41;;;2129:10;2087:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2082:123;;2156:38;;;;;;;;;;:::i;:::-;;;;;;;;2082:123;2223:7;2214:6;;:16;;;;;;;;;;;;;;;;;;2245:18;2255:7;2245:18;;;;;;:::i;:::-;;;;;;;;2029:241;:::o;787:21::-;;;;;;;;;;;;;:::o;1691:271::-;1774:11;;;;;;;;;;1759:41;;;1801:10;1759:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1754:123;;1828:38;;;;;;;;;;:::i;:::-;;;;;;;;1754:123;1900:12;1886:11;;:26;;;;;;;;;;;;;;;;;;1927:28;1942:12;1927:28;;;;;;:::i;:::-;;;;;;;;1691:271;:::o;4862:356::-;4904:21;4928:7;:19;4936:10;4928:19;;;;;;;;;;;;;;;4904:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4977:1;4965:6;4972:1;4965:9;;;;;;;:::i;:::-;;;;;;:13;4957:45;;;;;;;;;;;;:::i;:::-;;;;;;;;;5032:15;5020:6;5027:1;5020:9;;;;;;;:::i;:::-;;;;;;:27;5012:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;5086:28;;;;;;;;5109:1;5086:28;;;;;;5112:1;5086:28;;;;;:7;:19;5094:10;5086:19;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;5132:10;5124:28;;:39;5153:6;5160:1;5153:9;;;;;;;:::i;:::-;;;;;;5124:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5178:33;5189:10;5201:6;5208:1;5201:9;;;;;;;:::i;:::-;;;;;;5178:33;;;;;;;:::i;:::-;;;;;;;;4894:324;4862:356::o;2335:229::-;2404:11;;;;;;;;;;2389:41;;;2431:10;2389:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2384:123;;2458:38;;;;;;;;;;:::i;:::-;;;;;;;;2384:123;2523:5;2516:4;;:12;;;;;;;;;;;;;;;;;;2543:14;2551:5;2543:14;;;;;;:::i;:::-;;;;;;;;2335:229;:::o;1217:401::-;1365:1;1342:25;;:11;;;;;;;;;;:25;;;1338:85;;1383:29;;;;;;;;;;:::i;:::-;;;;;;;;1338:85;1446:12;1432:11;;:26;;;;;;;;;;;;;;;;;;1473:28;1488:12;1473:28;;;;;;:::i;:::-;;;;;;;;1520:7;1511:6;;:16;;;;;;;;;;;;;;;;;;1542:18;1552:7;1542:18;;;;;;:::i;:::-;;;;;;;;1577:5;1570:4;;:12;;;;;;;;;;;;;;;;;;1597:14;1605:5;1597:14;;;;;;:::i;:::-;;;;;;;;1217:401;;;:::o;755:26::-;;;;;;;;;;;;:::o;2874:1085::-;2948:17;2983:11;;;;;;;;;;;2968:40;;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2948:62;;3104:15;3139:6;;;;;;;;;;;3122:41;;;3177:9;3200:6;3220:4;;;;;;;;;;;3122:112;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3104:130;;3286:19;3308:7;:20;3316:11;3308:20;;;;;;;;;;;;;;;3329:1;3308:23;;;;;;;:::i;:::-;;;;3286:45;;3341:18;3362:7;:20;3370:11;3362:20;;;;;;;;;;;;;;;3383:1;3362:23;;;;;;;:::i;:::-;;;;3341:44;;3395:14;3432:2;3426;3413:10;:15;;;;:::i;:::-;3412:22;;;;:::i;:::-;3395:39;;3457:13;3491:17;3473:15;:35;;;;:::i;:::-;3457:51;;3557:15;3541:13;:31;3537:282;;;3588:61;;;;;;;;3629:9;3612:14;:26;;;;:::i;:::-;3588:61;;;;3640:8;3588:61;;;:7;:20;3596:11;3588:20;;;;;;;;;;;;;;;:61;;;;;;;:::i;:::-;;3537:282;;;3764:44;;;;;;;;3788:9;3764:44;;;;3799:8;3764:44;;;:7;:20;3772:11;3764:20;;;;;;;;;;;;;;;:44;;;;;;;:::i;:::-;;3537:282;3834:118;3857:11;3882:7;:20;3890:11;3882:20;;;;;;;;;;;;;;;3903:1;3882:23;;;;;;;:::i;:::-;;;;3919:7;:20;3927:11;3919:20;;;;;;;;;;;;;;;3940:1;3919:23;;;;;;;:::i;:::-;;;;3834:118;;;;;;;;:::i;:::-;;;;;;;;2938:1021;;;;;;2874:1085;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;88:117:20:-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:126::-;727:7;767:42;760:5;756:54;745:65;;690:126;;;:::o;822:96::-;859:7;888:24;906:5;888:24;:::i;:::-;877:35;;822:96;;;:::o;924:122::-;997:24;1015:5;997:24;:::i;:::-;990:5;987:35;977:63;;1036:1;1033;1026:12;977:63;924:122;:::o;1052:139::-;1098:5;1136:6;1123:20;1114:29;;1152:33;1179:5;1152:33;:::i;:::-;1052:139;;;;:::o;1197:765::-;1283:6;1291;1299;1307;1356:3;1344:9;1335:7;1331:23;1327:33;1324:120;;;1363:79;;:::i;:::-;1324:120;1483:1;1508:53;1553:7;1544:6;1533:9;1529:22;1508:53;:::i;:::-;1498:63;;1454:117;1610:2;1636:53;1681:7;1672:6;1661:9;1657:22;1636:53;:::i;:::-;1626:63;;1581:118;1738:2;1764:53;1809:7;1800:6;1789:9;1785:22;1764:53;:::i;:::-;1754:63;;1709:118;1866:2;1892:53;1937:7;1928:6;1917:9;1913:22;1892:53;:::i;:::-;1882:63;;1837:118;1197:765;;;;;;;:::o;1968:117::-;2077:1;2074;2067:12;2091:117;2200:1;2197;2190:12;2214:117;2323:1;2320;2313:12;2350:552;2407:8;2417:6;2467:3;2460:4;2452:6;2448:17;2444:27;2434:122;;2475:79;;:::i;:::-;2434:122;2588:6;2575:20;2565:30;;2618:18;2610:6;2607:30;2604:117;;;2640:79;;:::i;:::-;2604:117;2754:4;2746:6;2742:17;2730:29;;2808:3;2800:4;2792:6;2788:17;2778:8;2774:32;2771:41;2768:128;;;2815:79;;:::i;:::-;2768:128;2350:552;;;;;:::o;2908:963::-;3005:6;3013;3021;3029;3037;3086:3;3074:9;3065:7;3061:23;3057:33;3054:120;;;3093:79;;:::i;:::-;3054:120;3213:1;3238:53;3283:7;3274:6;3263:9;3259:22;3238:53;:::i;:::-;3228:63;;3184:117;3340:2;3366:53;3411:7;3402:6;3391:9;3387:22;3366:53;:::i;:::-;3356:63;;3311:118;3468:2;3494:53;3539:7;3530:6;3519:9;3515:22;3494:53;:::i;:::-;3484:63;;3439:118;3624:2;3613:9;3609:18;3596:32;3655:18;3647:6;3644:30;3641:117;;;3677:79;;:::i;:::-;3641:117;3790:64;3846:7;3837:6;3826:9;3822:22;3790:64;:::i;:::-;3772:82;;;;3567:297;2908:963;;;;;;;;:::o;3877:118::-;3964:24;3982:5;3964:24;:::i;:::-;3959:3;3952:37;3877:118;;:::o;4001:222::-;4094:4;4132:2;4121:9;4117:18;4109:26;;4145:71;4213:1;4202:9;4198:17;4189:6;4145:71;:::i;:::-;4001:222;;;;:::o;4229:474::-;4297:6;4305;4354:2;4342:9;4333:7;4329:23;4325:32;4322:119;;;4360:79;;:::i;:::-;4322:119;4480:1;4505:53;4550:7;4541:6;4530:9;4526:22;4505:53;:::i;:::-;4495:63;;4451:117;4607:2;4633:53;4678:7;4669:6;4658:9;4654:22;4633:53;:::i;:::-;4623:63;;4578:118;4229:474;;;;;:::o;4709:118::-;4796:24;4814:5;4796:24;:::i;:::-;4791:3;4784:37;4709:118;;:::o;4833:222::-;4926:4;4964:2;4953:9;4949:18;4941:26;;4977:71;5045:1;5034:9;5030:17;5021:6;4977:71;:::i;:::-;4833:222;;;;:::o;5061:1401::-;5185:6;5193;5201;5209;5217;5225;5233;5241;5290:3;5278:9;5269:7;5265:23;5261:33;5258:120;;;5297:79;;:::i;:::-;5258:120;5417:1;5442:53;5487:7;5478:6;5467:9;5463:22;5442:53;:::i;:::-;5432:63;;5388:117;5544:2;5570:53;5615:7;5606:6;5595:9;5591:22;5570:53;:::i;:::-;5560:63;;5515:118;5672:2;5698:53;5743:7;5734:6;5723:9;5719:22;5698:53;:::i;:::-;5688:63;;5643:118;5800:2;5826:53;5871:7;5862:6;5851:9;5847:22;5826:53;:::i;:::-;5816:63;;5771:118;5956:3;5945:9;5941:19;5928:33;5988:18;5980:6;5977:30;5974:117;;;6010:79;;:::i;:::-;5974:117;6123:64;6179:7;6170:6;6159:9;6155:22;6123:64;:::i;:::-;6105:82;;;;5899:298;6236:3;6263:53;6308:7;6299:6;6288:9;6284:22;6263:53;:::i;:::-;6253:63;;6207:119;6365:3;6392:53;6437:7;6428:6;6417:9;6413:22;6392:53;:::i;:::-;6382:63;;6336:119;5061:1401;;;;;;;;;;;:::o;6468:329::-;6527:6;6576:2;6564:9;6555:7;6551:23;6547:32;6544:119;;;6582:79;;:::i;:::-;6544:119;6702:1;6727:53;6772:7;6763:6;6752:9;6748:22;6727:53;:::i;:::-;6717:63;;6673:117;6468:329;;;;:::o;6803:619::-;6880:6;6888;6896;6945:2;6933:9;6924:7;6920:23;6916:32;6913:119;;;6951:79;;:::i;:::-;6913:119;7071:1;7096:53;7141:7;7132:6;7121:9;7117:22;7096:53;:::i;:::-;7086:63;;7042:117;7198:2;7224:53;7269:7;7260:6;7249:9;7245:22;7224:53;:::i;:::-;7214:63;;7169:118;7326:2;7352:53;7397:7;7388:6;7377:9;7373:22;7352:53;:::i;:::-;7342:63;;7297:118;6803:619;;;;;:::o;7428:143::-;7485:5;7516:6;7510:13;7501:22;;7532:33;7559:5;7532:33;:::i;:::-;7428:143;;;;:::o;7577:351::-;7647:6;7696:2;7684:9;7675:7;7671:23;7667:32;7664:119;;;7702:79;;:::i;:::-;7664:119;7822:1;7847:64;7903:7;7894:6;7883:9;7879:22;7847:64;:::i;:::-;7837:74;;7793:128;7577:351;;;;:::o;7934:143::-;7991:5;8022:6;8016:13;8007:22;;8038:33;8065:5;8038:33;:::i;:::-;7934:143;;;;:::o;8083:351::-;8153:6;8202:2;8190:9;8181:7;8177:23;8173:32;8170:119;;;8208:79;;:::i;:::-;8170:119;8328:1;8353:64;8409:7;8400:6;8389:9;8385:22;8353:64;:::i;:::-;8343:74;;8299:128;8083:351;;;;:::o;8440:90::-;8474:7;8517:5;8510:13;8503:21;8492:32;;8440:90;;;:::o;8536:116::-;8606:21;8621:5;8606:21;:::i;:::-;8599:5;8596:32;8586:60;;8642:1;8639;8632:12;8586:60;8536:116;:::o;8658:137::-;8712:5;8743:6;8737:13;8728:22;;8759:30;8783:5;8759:30;:::i;:::-;8658:137;;;;:::o;8801:345::-;8868:6;8917:2;8905:9;8896:7;8892:23;8888:32;8885:119;;;8923:79;;:::i;:::-;8885:119;9043:1;9068:61;9121:7;9112:6;9101:9;9097:22;9068:61;:::i;:::-;9058:71;;9014:125;8801:345;;;;:::o;9152:169::-;9236:11;9270:6;9265:3;9258:19;9310:4;9305:3;9301:14;9286:29;;9152:169;;;;:::o;9327:178::-;9467:30;9463:1;9455:6;9451:14;9444:54;9327:178;:::o;9511:366::-;9653:3;9674:67;9738:2;9733:3;9674:67;:::i;:::-;9667:74;;9750:93;9839:3;9750:93;:::i;:::-;9868:2;9863:3;9859:12;9852:19;;9511:366;;;:::o;9883:419::-;10049:4;10087:2;10076:9;10072:18;10064:26;;10136:9;10130:4;10126:20;10122:1;10111:9;10107:17;10100:47;10164:131;10290:4;10164:131;:::i;:::-;10156:139;;9883:419;;;:::o;10308:180::-;10356:77;10353:1;10346:88;10453:4;10450:1;10443:15;10477:4;10474:1;10467:15;10494:169;10634:21;10630:1;10622:6;10618:14;10611:45;10494:169;:::o;10669:366::-;10811:3;10832:67;10896:2;10891:3;10832:67;:::i;:::-;10825:74;;10908:93;10997:3;10908:93;:::i;:::-;11026:2;11021:3;11017:12;11010:19;;10669:366;;;:::o;11041:419::-;11207:4;11245:2;11234:9;11230:18;11222:26;;11294:9;11288:4;11284:20;11280:1;11269:9;11265:17;11258:47;11322:131;11448:4;11322:131;:::i;:::-;11314:139;;11041:419;;;:::o;11466:174::-;11606:26;11602:1;11594:6;11590:14;11583:50;11466:174;:::o;11646:366::-;11788:3;11809:67;11873:2;11868:3;11809:67;:::i;:::-;11802:74;;11885:93;11974:3;11885:93;:::i;:::-;12003:2;11998:3;11994:12;11987:19;;11646:366;;;:::o;12018:419::-;12184:4;12222:2;12211:9;12207:18;12199:26;;12271:9;12265:4;12261:20;12257:1;12246:9;12242:17;12235:47;12299:131;12425:4;12299:131;:::i;:::-;12291:139;;12018:419;;;:::o;12443:332::-;12564:4;12602:2;12591:9;12587:18;12579:26;;12615:71;12683:1;12672:9;12668:17;12659:6;12615:71;:::i;:::-;12696:72;12764:2;12753:9;12749:18;12740:6;12696:72;:::i;:::-;12443:332;;;;;:::o;12781:169::-;12921:21;12917:1;12909:6;12905:14;12898:45;12781:169;:::o;12956:366::-;13098:3;13119:67;13183:2;13178:3;13119:67;:::i;:::-;13112:74;;13195:93;13284:3;13195:93;:::i;:::-;13313:2;13308:3;13304:12;13297:19;;12956:366;;;:::o;13328:419::-;13494:4;13532:2;13521:9;13517:18;13509:26;;13581:9;13575:4;13571:20;13567:1;13556:9;13552:17;13545:47;13609:131;13735:4;13609:131;:::i;:::-;13601:139;;13328:419;;;:::o;13753:442::-;13902:4;13940:2;13929:9;13925:18;13917:26;;13953:71;14021:1;14010:9;14006:17;13997:6;13953:71;:::i;:::-;14034:72;14102:2;14091:9;14087:18;14078:6;14034:72;:::i;:::-;14116;14184:2;14173:9;14169:18;14160:6;14116:72;:::i;:::-;13753:442;;;;;;:::o;14201:180::-;14249:77;14246:1;14239:88;14346:4;14343:1;14336:15;14370:4;14367:1;14360:15;14387:410;14427:7;14450:20;14468:1;14450:20;:::i;:::-;14445:25;;14484:20;14502:1;14484:20;:::i;:::-;14479:25;;14539:1;14536;14532:9;14561:30;14579:11;14561:30;:::i;:::-;14550:41;;14740:1;14731:7;14727:15;14724:1;14721:22;14701:1;14694:9;14674:83;14651:139;;14770:18;;:::i;:::-;14651:139;14435:362;14387:410;;;;:::o;14803:180::-;14851:77;14848:1;14841:88;14948:4;14945:1;14938:15;14972:4;14969:1;14962:15;14989:185;15029:1;15046:20;15064:1;15046:20;:::i;:::-;15041:25;;15080:20;15098:1;15080:20;:::i;:::-;15075:25;;15119:1;15109:35;;15124:18;;:::i;:::-;15109:35;15166:1;15163;15159:9;15154:14;;14989:185;;;;:::o;15180:191::-;15220:3;15239:20;15257:1;15239:20;:::i;:::-;15234:25;;15273:20;15291:1;15273:20;:::i;:::-;15268:25;;15316:1;15313;15309:9;15302:16;;15337:3;15334:1;15331:10;15328:36;;;15344:18;;:::i;:::-;15328:36;15180:191;;;;:::o;15377:442::-;15526:4;15564:2;15553:9;15549:18;15541:26;;15577:71;15645:1;15634:9;15630:17;15621:6;15577:71;:::i;:::-;15658:72;15726:2;15715:9;15711:18;15702:6;15658:72;:::i;:::-;15740;15808:2;15797:9;15793:18;15784:6;15740:72;:::i;:::-;15377:442;;;;;;:::o" + }, + "methodIdentifiers": { + "claimRefund()": "b5545a3c", + "initialize(address,address,address)": "c0c53b8b", + "keyPurchasePrice(address,address,address,bytes)": "221c1fd1", + "onKeyExtend(uint256,address,uint256,uint256)": "016b9680", + "onKeyPurchase(uint256,address,address,address,bytes,uint256,uint256)": "5e895f29", + "oracle()": "7dc0d1d0", + "refunds(address,uint256)": "3436247b", + "setOracle(address)": "7adbf973", + "setUnlockPrime(address)": "8295d3be", + "setWeth(address)": "b8d1452f", + "unlockPrime()": "db7d7f8d", + "weth()": "3fc8cef3" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_unlockPrime\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"OracleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"RefundPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"RefundSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"UnlockPrimeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"WethSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"claimRefund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_unlockPrime\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"keyPurchasePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"minKeyPrice\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"onKeyExtend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"onKeyPurchase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"refunds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"name\":\"setOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_unlockPrime\",\"type\":\"address\"}],\"name\":\"setUnlockPrime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"name\":\"setWeth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockPrime\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weth\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/UnlockPrimeHook.sol\":\"UnlockPrimeHook\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\":{\"keccak256\":\"0xcc5a3a09c6135b624989959c1e2ce86299da964b8c2bba7c51ffa6988c70e05d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b0e4a97444bd5a3fee04a52d68cc9f7833795257d9e2dfac6d8f96b6256c3b76\",\"dweb:/ipfs/QmZENp6w6ax9UiiyZ28oYBUdGCUNihoXbDT64igtFDTQGE\"]},\"contracts/UnlockPrimeHook.sol\":{\"keccak256\":\"0x9929b5228ec7cc11903fddc51666c2359a65f7b65000f33619c1f4b432579d08\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://439c1955ad0fa2979e6865659cbf6c251f6b23aa09dac0cd8b8dde168340464c\",\"dweb:/ipfs/QmRHyar1D13jgLusR7ZneZUkV1xgAGnqQh8vvGeBvvJPvh\"]}},\"version\":1}" + } + }, + "contracts/UnlockPrimeHookWithRecipient.sol": { + "IUniswapOracleV3": { + "abi": [ + { + "inputs": [], + "name": "PERIOD", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenIn", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amountIn", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_tokenOut", + "type": "address" + } + ], + "name": "consult", + "outputs": [ + { + "internalType": "uint256", + "name": "_amountOut", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "factory", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenIn", + "type": "address" + }, + { + "internalType": "address", + "name": "_tokenOut", + "type": "address" + } + ], + "name": "update", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_tokenIn", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amountIn", + "type": "uint256" + }, + { + "internalType": "address", + "name": "_tokenOut", + "type": "address" + } + ], + "name": "updateAndConsult", + "outputs": [ + { + "internalType": "uint256", + "name": "_amountOut", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "methodIdentifiers": { + "PERIOD()": "b4d1d795", + "consult(address,uint256,address)": "8c86f1e4", + "factory()": "c45a0155", + "update(address,address)": "c640752d", + "updateAndConsult(address,uint256,address)": "c1e553e7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenIn\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenOut\",\"type\":\"address\"}],\"name\":\"consult\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenOut\",\"type\":\"address\"}],\"name\":\"update\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenIn\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenOut\",\"type\":\"address\"}],\"name\":\"updateAndConsult\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/UnlockPrimeHookWithRecipient.sol\":\"IUniswapOracleV3\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\":{\"keccak256\":\"0xcc5a3a09c6135b624989959c1e2ce86299da964b8c2bba7c51ffa6988c70e05d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b0e4a97444bd5a3fee04a52d68cc9f7833795257d9e2dfac6d8f96b6256c3b76\",\"dweb:/ipfs/QmZENp6w6ax9UiiyZ28oYBUdGCUNihoXbDT64igtFDTQGE\"]},\"contracts/UnlockPrimeHookWithRecipient.sol\":{\"keccak256\":\"0x3c860331e4def3d894b55c14804b9dc1054e81acd6da034da298c244d1a47e52\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://0f2b7d0602adfaec3c7c1f3960b7fe63b365fb25ffba31c94800652be8d24adb\",\"dweb:/ipfs/QmRSyTpFPpAhp6c95SFfsajyyjfudYzB8Z7kMpVqeYkGZF\"]}},\"version\":1}" + }, + "UnlockPrimeHookWithRecipient": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "OracleSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundPaid", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "RefundSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "UnlockPrimeSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "WethSet", + "type": "event" + }, + { + "inputs": [], + "name": "claimRefund", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + }, + { + "internalType": "address", + "name": "_oracle", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "name": "keyPurchasePrice", + "outputs": [ + { + "internalType": "uint256", + "name": "minKeyPrice", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyExtend", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "onKeyPurchase", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "oracle", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "refunds", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oracle", + "type": "address" + } + ], + "name": "setOracle", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_unlockPrime", + "type": "address" + } + ], + "name": "setUnlockPrime", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_weth", + "type": "address" + } + ], + "name": "setWeth", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unlockPrime", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": { + "@_3830": { + "entryPoint": null, + "id": 3830, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@initialize_3876": { + "entryPoint": 75, + "id": 3876, + "parameterSlots": 3, + "returnSlots": 0 + }, + "abi_decode_t_address_fromMemory": { + "entryPoint": 660, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_addresst_address_fromMemory": { + "entryPoint": 681, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 889, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack": { + "entryPoint": 822, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 904, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 857, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { + "entryPoint": 764, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 619, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 587, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 582, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0": { + "entryPoint": 781, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_address": { + "entryPoint": 637, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:3010:20", + "nodeType": "YulBlock", + "src": "0:3010:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:81:20", + "nodeType": "YulBlock", + "src": "379:81:20", + "statements": [ + { + "nativeSrc": "389:65:20", + "nodeType": "YulAssignment", + "src": "389:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "404:5:20", + "nodeType": "YulIdentifier", + "src": "404:5:20" + }, + { + "kind": "number", + "nativeSrc": "411:42:20", + "nodeType": "YulLiteral", + "src": "411:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "400:3:20", + "nodeType": "YulIdentifier", + "src": "400:3:20" + }, + "nativeSrc": "400:54:20", + "nodeType": "YulFunctionCall", + "src": "400:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "334:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:126:20" + }, + { + "body": { + "nativeSrc": "511:51:20", + "nodeType": "YulBlock", + "src": "511:51:20", + "statements": [ + { + "nativeSrc": "521:35:20", + "nodeType": "YulAssignment", + "src": "521:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "550:5:20", + "nodeType": "YulIdentifier", + "src": "550:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "532:17:20", + "nodeType": "YulIdentifier", + "src": "532:17:20" + }, + "nativeSrc": "532:24:20", + "nodeType": "YulFunctionCall", + "src": "532:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "521:7:20", + "nodeType": "YulIdentifier", + "src": "521:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "466:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "493:5:20", + "nodeType": "YulTypedName", + "src": "493:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "503:7:20", + "nodeType": "YulTypedName", + "src": "503:7:20", + "type": "" + } + ], + "src": "466:96:20" + }, + { + "body": { + "nativeSrc": "611:79:20", + "nodeType": "YulBlock", + "src": "611:79:20", + "statements": [ + { + "body": { + "nativeSrc": "668:16:20", + "nodeType": "YulBlock", + "src": "668:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "677:1:20", + "nodeType": "YulLiteral", + "src": "677:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "680:1:20", + "nodeType": "YulLiteral", + "src": "680:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "670:6:20", + "nodeType": "YulIdentifier", + "src": "670:6:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulFunctionCall", + "src": "670:12:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulExpressionStatement", + "src": "670:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "634:5:20", + "nodeType": "YulIdentifier", + "src": "634:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "659:5:20", + "nodeType": "YulIdentifier", + "src": "659:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "641:17:20", + "nodeType": "YulIdentifier", + "src": "641:17:20" + }, + "nativeSrc": "641:24:20", + "nodeType": "YulFunctionCall", + "src": "641:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "631:2:20", + "nodeType": "YulIdentifier", + "src": "631:2:20" + }, + "nativeSrc": "631:35:20", + "nodeType": "YulFunctionCall", + "src": "631:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "624:6:20", + "nodeType": "YulIdentifier", + "src": "624:6:20" + }, + "nativeSrc": "624:43:20", + "nodeType": "YulFunctionCall", + "src": "624:43:20" + }, + "nativeSrc": "621:63:20", + "nodeType": "YulIf", + "src": "621:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "568:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "604:5:20", + "nodeType": "YulTypedName", + "src": "604:5:20", + "type": "" + } + ], + "src": "568:122:20" + }, + { + "body": { + "nativeSrc": "759:80:20", + "nodeType": "YulBlock", + "src": "759:80:20", + "statements": [ + { + "nativeSrc": "769:22:20", + "nodeType": "YulAssignment", + "src": "769:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "784:6:20", + "nodeType": "YulIdentifier", + "src": "784:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "778:5:20", + "nodeType": "YulIdentifier", + "src": "778:5:20" + }, + "nativeSrc": "778:13:20", + "nodeType": "YulFunctionCall", + "src": "778:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "769:5:20", + "nodeType": "YulIdentifier", + "src": "769:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "827:5:20", + "nodeType": "YulIdentifier", + "src": "827:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "800:26:20", + "nodeType": "YulIdentifier", + "src": "800:26:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulFunctionCall", + "src": "800:33:20" + }, + "nativeSrc": "800:33:20", + "nodeType": "YulExpressionStatement", + "src": "800:33:20" + } + ] + }, + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "696:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "737:6:20", + "nodeType": "YulTypedName", + "src": "737:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "745:3:20", + "nodeType": "YulTypedName", + "src": "745:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "753:5:20", + "nodeType": "YulTypedName", + "src": "753:5:20", + "type": "" + } + ], + "src": "696:143:20" + }, + { + "body": { + "nativeSrc": "956:552:20", + "nodeType": "YulBlock", + "src": "956:552:20", + "statements": [ + { + "body": { + "nativeSrc": "1002:83:20", + "nodeType": "YulBlock", + "src": "1002:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "1004:77:20", + "nodeType": "YulIdentifier", + "src": "1004:77:20" + }, + "nativeSrc": "1004:79:20", + "nodeType": "YulFunctionCall", + "src": "1004:79:20" + }, + "nativeSrc": "1004:79:20", + "nodeType": "YulExpressionStatement", + "src": "1004:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "977:7:20", + "nodeType": "YulIdentifier", + "src": "977:7:20" + }, + { + "name": "headStart", + "nativeSrc": "986:9:20", + "nodeType": "YulIdentifier", + "src": "986:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "973:3:20", + "nodeType": "YulIdentifier", + "src": "973:3:20" + }, + "nativeSrc": "973:23:20", + "nodeType": "YulFunctionCall", + "src": "973:23:20" + }, + { + "kind": "number", + "nativeSrc": "998:2:20", + "nodeType": "YulLiteral", + "src": "998:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "969:3:20", + "nodeType": "YulIdentifier", + "src": "969:3:20" + }, + "nativeSrc": "969:32:20", + "nodeType": "YulFunctionCall", + "src": "969:32:20" + }, + "nativeSrc": "966:119:20", + "nodeType": "YulIf", + "src": "966:119:20" + }, + { + "nativeSrc": "1095:128:20", + "nodeType": "YulBlock", + "src": "1095:128:20", + "statements": [ + { + "nativeSrc": "1110:15:20", + "nodeType": "YulVariableDeclaration", + "src": "1110:15:20", + "value": { + "kind": "number", + "nativeSrc": "1124:1:20", + "nodeType": "YulLiteral", + "src": "1124:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1114:6:20", + "nodeType": "YulTypedName", + "src": "1114:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1139:74:20", + "nodeType": "YulAssignment", + "src": "1139:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1185:9:20", + "nodeType": "YulIdentifier", + "src": "1185:9:20" + }, + { + "name": "offset", + "nativeSrc": "1196:6:20", + "nodeType": "YulIdentifier", + "src": "1196:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1181:3:20", + "nodeType": "YulIdentifier", + "src": "1181:3:20" + }, + "nativeSrc": "1181:22:20", + "nodeType": "YulFunctionCall", + "src": "1181:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1205:7:20", + "nodeType": "YulIdentifier", + "src": "1205:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "1149:31:20", + "nodeType": "YulIdentifier", + "src": "1149:31:20" + }, + "nativeSrc": "1149:64:20", + "nodeType": "YulFunctionCall", + "src": "1149:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "1139:6:20", + "nodeType": "YulIdentifier", + "src": "1139:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1233:129:20", + "nodeType": "YulBlock", + "src": "1233:129:20", + "statements": [ + { + "nativeSrc": "1248:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1248:16:20", + "value": { + "kind": "number", + "nativeSrc": "1262:2:20", + "nodeType": "YulLiteral", + "src": "1262:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1252:6:20", + "nodeType": "YulTypedName", + "src": "1252:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1278:74:20", + "nodeType": "YulAssignment", + "src": "1278:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1324:9:20", + "nodeType": "YulIdentifier", + "src": "1324:9:20" + }, + { + "name": "offset", + "nativeSrc": "1335:6:20", + "nodeType": "YulIdentifier", + "src": "1335:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1320:3:20", + "nodeType": "YulIdentifier", + "src": "1320:3:20" + }, + "nativeSrc": "1320:22:20", + "nodeType": "YulFunctionCall", + "src": "1320:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1344:7:20", + "nodeType": "YulIdentifier", + "src": "1344:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "1288:31:20", + "nodeType": "YulIdentifier", + "src": "1288:31:20" + }, + "nativeSrc": "1288:64:20", + "nodeType": "YulFunctionCall", + "src": "1288:64:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "1278:6:20", + "nodeType": "YulIdentifier", + "src": "1278:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1372:129:20", + "nodeType": "YulBlock", + "src": "1372:129:20", + "statements": [ + { + "nativeSrc": "1387:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1387:16:20", + "value": { + "kind": "number", + "nativeSrc": "1401:2:20", + "nodeType": "YulLiteral", + "src": "1401:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1391:6:20", + "nodeType": "YulTypedName", + "src": "1391:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1417:74:20", + "nodeType": "YulAssignment", + "src": "1417:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1463:9:20", + "nodeType": "YulIdentifier", + "src": "1463:9:20" + }, + { + "name": "offset", + "nativeSrc": "1474:6:20", + "nodeType": "YulIdentifier", + "src": "1474:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1459:3:20", + "nodeType": "YulIdentifier", + "src": "1459:3:20" + }, + "nativeSrc": "1459:22:20", + "nodeType": "YulFunctionCall", + "src": "1459:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1483:7:20", + "nodeType": "YulIdentifier", + "src": "1483:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "1427:31:20", + "nodeType": "YulIdentifier", + "src": "1427:31:20" + }, + "nativeSrc": "1427:64:20", + "nodeType": "YulFunctionCall", + "src": "1427:64:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "1417:6:20", + "nodeType": "YulIdentifier", + "src": "1417:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_address_fromMemory", + "nativeSrc": "845:663:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "910:9:20", + "nodeType": "YulTypedName", + "src": "910:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "921:7:20", + "nodeType": "YulTypedName", + "src": "921:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "933:6:20", + "nodeType": "YulTypedName", + "src": "933:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "941:6:20", + "nodeType": "YulTypedName", + "src": "941:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "949:6:20", + "nodeType": "YulTypedName", + "src": "949:6:20", + "type": "" + } + ], + "src": "845:663:20" + }, + { + "body": { + "nativeSrc": "1610:73:20", + "nodeType": "YulBlock", + "src": "1610:73:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "1627:3:20", + "nodeType": "YulIdentifier", + "src": "1627:3:20" + }, + { + "name": "length", + "nativeSrc": "1632:6:20", + "nodeType": "YulIdentifier", + "src": "1632:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1620:6:20", + "nodeType": "YulIdentifier", + "src": "1620:6:20" + }, + "nativeSrc": "1620:19:20", + "nodeType": "YulFunctionCall", + "src": "1620:19:20" + }, + "nativeSrc": "1620:19:20", + "nodeType": "YulExpressionStatement", + "src": "1620:19:20" + }, + { + "nativeSrc": "1648:29:20", + "nodeType": "YulAssignment", + "src": "1648:29:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "1667:3:20", + "nodeType": "YulIdentifier", + "src": "1667:3:20" + }, + { + "kind": "number", + "nativeSrc": "1672:4:20", + "nodeType": "YulLiteral", + "src": "1672:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1663:3:20", + "nodeType": "YulIdentifier", + "src": "1663:3:20" + }, + "nativeSrc": "1663:14:20", + "nodeType": "YulFunctionCall", + "src": "1663:14:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "1648:11:20", + "nodeType": "YulIdentifier", + "src": "1648:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "1514:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "1582:3:20", + "nodeType": "YulTypedName", + "src": "1582:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "1587:6:20", + "nodeType": "YulTypedName", + "src": "1587:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "1598:11:20", + "nodeType": "YulTypedName", + "src": "1598:11:20", + "type": "" + } + ], + "src": "1514:169:20" + }, + { + "body": { + "nativeSrc": "1795:63:20", + "nodeType": "YulBlock", + "src": "1795:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "1817:6:20", + "nodeType": "YulIdentifier", + "src": "1817:6:20" + }, + { + "kind": "number", + "nativeSrc": "1825:1:20", + "nodeType": "YulLiteral", + "src": "1825:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1813:3:20", + "nodeType": "YulIdentifier", + "src": "1813:3:20" + }, + "nativeSrc": "1813:14:20", + "nodeType": "YulFunctionCall", + "src": "1813:14:20" + }, + { + "hexValue": "416c726561647920696e697469616c697a6564", + "kind": "string", + "nativeSrc": "1829:21:20", + "nodeType": "YulLiteral", + "src": "1829:21:20", + "type": "", + "value": "Already initialized" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "1806:6:20", + "nodeType": "YulIdentifier", + "src": "1806:6:20" + }, + "nativeSrc": "1806:45:20", + "nodeType": "YulFunctionCall", + "src": "1806:45:20" + }, + "nativeSrc": "1806:45:20", + "nodeType": "YulExpressionStatement", + "src": "1806:45:20" + } + ] + }, + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "1689:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "1787:6:20", + "nodeType": "YulTypedName", + "src": "1787:6:20", + "type": "" + } + ], + "src": "1689:169:20" + }, + { + "body": { + "nativeSrc": "2010:220:20", + "nodeType": "YulBlock", + "src": "2010:220:20", + "statements": [ + { + "nativeSrc": "2020:74:20", + "nodeType": "YulAssignment", + "src": "2020:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2086:3:20", + "nodeType": "YulIdentifier", + "src": "2086:3:20" + }, + { + "kind": "number", + "nativeSrc": "2091:2:20", + "nodeType": "YulLiteral", + "src": "2091:2:20", + "type": "", + "value": "19" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "2027:58:20", + "nodeType": "YulIdentifier", + "src": "2027:58:20" + }, + "nativeSrc": "2027:67:20", + "nodeType": "YulFunctionCall", + "src": "2027:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "2020:3:20", + "nodeType": "YulIdentifier", + "src": "2020:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2192:3:20", + "nodeType": "YulIdentifier", + "src": "2192:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "2103:88:20", + "nodeType": "YulIdentifier", + "src": "2103:88:20" + }, + "nativeSrc": "2103:93:20", + "nodeType": "YulFunctionCall", + "src": "2103:93:20" + }, + "nativeSrc": "2103:93:20", + "nodeType": "YulExpressionStatement", + "src": "2103:93:20" + }, + { + "nativeSrc": "2205:19:20", + "nodeType": "YulAssignment", + "src": "2205:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2216:3:20", + "nodeType": "YulIdentifier", + "src": "2216:3:20" + }, + { + "kind": "number", + "nativeSrc": "2221:2:20", + "nodeType": "YulLiteral", + "src": "2221:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2212:3:20", + "nodeType": "YulIdentifier", + "src": "2212:3:20" + }, + "nativeSrc": "2212:12:20", + "nodeType": "YulFunctionCall", + "src": "2212:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "2205:3:20", + "nodeType": "YulIdentifier", + "src": "2205:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "1864:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "1998:3:20", + "nodeType": "YulTypedName", + "src": "1998:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "2006:3:20", + "nodeType": "YulTypedName", + "src": "2006:3:20", + "type": "" + } + ], + "src": "1864:366:20" + }, + { + "body": { + "nativeSrc": "2407:248:20", + "nodeType": "YulBlock", + "src": "2407:248:20", + "statements": [ + { + "nativeSrc": "2417:26:20", + "nodeType": "YulAssignment", + "src": "2417:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2429:9:20", + "nodeType": "YulIdentifier", + "src": "2429:9:20" + }, + { + "kind": "number", + "nativeSrc": "2440:2:20", + "nodeType": "YulLiteral", + "src": "2440:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2425:3:20", + "nodeType": "YulIdentifier", + "src": "2425:3:20" + }, + "nativeSrc": "2425:18:20", + "nodeType": "YulFunctionCall", + "src": "2425:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "2417:4:20", + "nodeType": "YulIdentifier", + "src": "2417:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2464:9:20", + "nodeType": "YulIdentifier", + "src": "2464:9:20" + }, + { + "kind": "number", + "nativeSrc": "2475:1:20", + "nodeType": "YulLiteral", + "src": "2475:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2460:3:20", + "nodeType": "YulIdentifier", + "src": "2460:3:20" + }, + "nativeSrc": "2460:17:20", + "nodeType": "YulFunctionCall", + "src": "2460:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "2483:4:20", + "nodeType": "YulIdentifier", + "src": "2483:4:20" + }, + { + "name": "headStart", + "nativeSrc": "2489:9:20", + "nodeType": "YulIdentifier", + "src": "2489:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "2479:3:20", + "nodeType": "YulIdentifier", + "src": "2479:3:20" + }, + "nativeSrc": "2479:20:20", + "nodeType": "YulFunctionCall", + "src": "2479:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2453:6:20", + "nodeType": "YulIdentifier", + "src": "2453:6:20" + }, + "nativeSrc": "2453:47:20", + "nodeType": "YulFunctionCall", + "src": "2453:47:20" + }, + "nativeSrc": "2453:47:20", + "nodeType": "YulExpressionStatement", + "src": "2453:47:20" + }, + { + "nativeSrc": "2509:139:20", + "nodeType": "YulAssignment", + "src": "2509:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "2643:4:20", + "nodeType": "YulIdentifier", + "src": "2643:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "2517:124:20", + "nodeType": "YulIdentifier", + "src": "2517:124:20" + }, + "nativeSrc": "2517:131:20", + "nodeType": "YulFunctionCall", + "src": "2517:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "2509:4:20", + "nodeType": "YulIdentifier", + "src": "2509:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "2236:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "2387:9:20", + "nodeType": "YulTypedName", + "src": "2387:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "2402:4:20", + "nodeType": "YulTypedName", + "src": "2402:4:20", + "type": "" + } + ], + "src": "2236:419:20" + }, + { + "body": { + "nativeSrc": "2726:53:20", + "nodeType": "YulBlock", + "src": "2726:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2743:3:20", + "nodeType": "YulIdentifier", + "src": "2743:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "2766:5:20", + "nodeType": "YulIdentifier", + "src": "2766:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "2748:17:20", + "nodeType": "YulIdentifier", + "src": "2748:17:20" + }, + "nativeSrc": "2748:24:20", + "nodeType": "YulFunctionCall", + "src": "2748:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2736:6:20", + "nodeType": "YulIdentifier", + "src": "2736:6:20" + }, + "nativeSrc": "2736:37:20", + "nodeType": "YulFunctionCall", + "src": "2736:37:20" + }, + "nativeSrc": "2736:37:20", + "nodeType": "YulExpressionStatement", + "src": "2736:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "2661:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "2714:5:20", + "nodeType": "YulTypedName", + "src": "2714:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "2721:3:20", + "nodeType": "YulTypedName", + "src": "2721:3:20", + "type": "" + } + ], + "src": "2661:118:20" + }, + { + "body": { + "nativeSrc": "2883:124:20", + "nodeType": "YulBlock", + "src": "2883:124:20", + "statements": [ + { + "nativeSrc": "2893:26:20", + "nodeType": "YulAssignment", + "src": "2893:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2905:9:20", + "nodeType": "YulIdentifier", + "src": "2905:9:20" + }, + { + "kind": "number", + "nativeSrc": "2916:2:20", + "nodeType": "YulLiteral", + "src": "2916:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2901:3:20", + "nodeType": "YulIdentifier", + "src": "2901:3:20" + }, + "nativeSrc": "2901:18:20", + "nodeType": "YulFunctionCall", + "src": "2901:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "2893:4:20", + "nodeType": "YulIdentifier", + "src": "2893:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "2973:6:20", + "nodeType": "YulIdentifier", + "src": "2973:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2986:9:20", + "nodeType": "YulIdentifier", + "src": "2986:9:20" + }, + { + "kind": "number", + "nativeSrc": "2997:1:20", + "nodeType": "YulLiteral", + "src": "2997:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2982:3:20", + "nodeType": "YulIdentifier", + "src": "2982:3:20" + }, + "nativeSrc": "2982:17:20", + "nodeType": "YulFunctionCall", + "src": "2982:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "2929:43:20", + "nodeType": "YulIdentifier", + "src": "2929:43:20" + }, + "nativeSrc": "2929:71:20", + "nodeType": "YulFunctionCall", + "src": "2929:71:20" + }, + "nativeSrc": "2929:71:20", + "nodeType": "YulExpressionStatement", + "src": "2929:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "2785:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "2855:9:20", + "nodeType": "YulTypedName", + "src": "2855:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "2867:6:20", + "nodeType": "YulTypedName", + "src": "2867:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "2878:4:20", + "nodeType": "YulTypedName", + "src": "2878:4:20", + "type": "" + } + ], + "src": "2785:222:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_addresst_addresst_address_fromMemory(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\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 store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(memPtr) {\n\n mstore(add(memPtr, 0), \"Already initialized\")\n\n }\n\n function abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__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_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50604051611e75380380611e75833981810160405281019061003291906102a9565b61004383838361004b60201b60201c565b5050506103a3565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146100da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d190610359565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5836040516101499190610388565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa826040516101c19190610388565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf9816040516102399190610388565b60405180910390a1505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102768261024b565b9050919050565b6102868161026b565b811461029157600080fd5b50565b6000815190506102a38161027d565b92915050565b6000806000606084860312156102c2576102c1610246565b5b60006102d086828701610294565b93505060206102e186828701610294565b92505060406102f286828701610294565b9150509250925092565b600082825260208201905092915050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006103436013836102fc565b915061034e8261030d565b602082019050919050565b6000602082019050818103600083015261037281610336565b9050919050565b6103828161026b565b82525050565b600060208201905061039d6000830184610379565b92915050565b611ac3806103b26000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b863373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea26469706673582212204a659cb1b5bf6c871620c5499c80c0e1315804ef5373e0c5809e323bcd51a38c64736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x1E75 CODESIZE SUB DUP1 PUSH2 0x1E75 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x32 SWAP2 SWAP1 PUSH2 0x2A9 JUMP JUMPDEST PUSH2 0x43 DUP4 DUP4 DUP4 PUSH2 0x4B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP POP PUSH2 0x3A3 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xDA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD1 SWAP1 PUSH2 0x359 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP4 PUSH1 0x40 MLOAD PUSH2 0x149 SWAP2 SWAP1 PUSH2 0x388 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP2 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP3 PUSH1 0x40 MLOAD PUSH2 0x1C1 SWAP2 SWAP1 PUSH2 0x388 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0x239 SWAP2 SWAP1 PUSH2 0x388 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x276 DUP3 PUSH2 0x24B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x286 DUP2 PUSH2 0x26B JUMP JUMPDEST DUP2 EQ PUSH2 0x291 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x2A3 DUP2 PUSH2 0x27D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x2C2 JUMPI PUSH2 0x2C1 PUSH2 0x246 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x2D0 DUP7 DUP3 DUP8 ADD PUSH2 0x294 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x2E1 DUP7 DUP3 DUP8 ADD PUSH2 0x294 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x2F2 DUP7 DUP3 DUP8 ADD PUSH2 0x294 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x416C726561647920696E697469616C697A656400000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x343 PUSH1 0x13 DUP4 PUSH2 0x2FC JUMP JUMPDEST SWAP2 POP PUSH2 0x34E DUP3 PUSH2 0x30D JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x372 DUP2 PUSH2 0x336 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x382 DUP2 PUSH2 0x26B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x39D PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x379 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1AC3 DUP1 PUSH2 0x3B2 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xB4 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7DC0D1D0 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x18B JUMPI DUP1 PUSH4 0x8295D3BE EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0xB5545A3C EQ PUSH2 0x1C5 JUMPI DUP1 PUSH4 0xB8D1452F EQ PUSH2 0x1CF JUMPI DUP1 PUSH4 0xC0C53B8B EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xDB7D7F8D EQ PUSH2 0x207 JUMPI PUSH2 0xB4 JUMP JUMPDEST DUP1 PUSH4 0x16B9680 EQ PUSH2 0xB9 JUMPI DUP1 PUSH4 0x221C1FD1 EQ PUSH2 0xD5 JUMPI DUP1 PUSH4 0x3436247B EQ PUSH2 0x105 JUMPI DUP1 PUSH4 0x3FC8CEF3 EQ PUSH2 0x135 JUMPI DUP1 PUSH4 0x5E895F29 EQ PUSH2 0x153 JUMPI DUP1 PUSH4 0x7ADBF973 EQ PUSH2 0x16F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCE SWAP2 SWAP1 PUSH2 0x12EE JUMP JUMPDEST PUSH2 0x225 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xEF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEA SWAP2 SWAP1 PUSH2 0x13BA JUMP JUMPDEST PUSH2 0x376 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFC SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x11F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11A SWAP2 SWAP1 PUSH2 0x146C JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x12C SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x13D PUSH2 0x41A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x14A SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x16D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x168 SWAP2 SWAP1 PUSH2 0x14D6 JUMP JUMPDEST PUSH2 0x440 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x189 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x184 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x516 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x193 PUSH2 0x66A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1C3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1BE SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x690 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1CD PUSH2 0x7E3 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1E9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1E4 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0xA35 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x205 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x200 SWAP2 SWAP1 PUSH2 0x15C5 JUMP JUMPDEST PUSH2 0xB89 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x20F PUSH2 0xD84 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21C SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 CALLER SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x36F JUMPI PUSH2 0x36E DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6352211E DUP8 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2B9 SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2D6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2FA SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x345 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x369 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3E7 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP2 PUSH1 0x2 DUP2 LT PUSH2 0x40E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST ADD PUSH1 0x0 SWAP2 POP SWAP2 POP POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x50C JUMPI PUSH2 0x50B DUP7 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4E2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x506 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x56F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x58C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5B0 SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x5EF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E6 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP2 PUSH1 0x40 MLOAD PUSH2 0x65F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6E9 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x706 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x72A SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x769 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x760 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP2 PUSH1 0x40 MLOAD PUSH2 0x7D8 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x2 DUP1 PUSH1 0x20 MUL PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP3 PUSH1 0x2 DUP1 ISZERO PUSH2 0x85B JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 JUMPDEST DUP2 SLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 DUP1 DUP4 GT PUSH2 0x847 JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x878 JUMPI PUSH2 0x877 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD GT PUSH2 0x8BD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8B4 SWAP1 PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP2 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x8D2 JUMPI PUSH2 0x8D1 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD LT PUSH2 0x917 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x90E SWAP1 PUSH2 0x1865 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x981 SWAP3 SWAP2 SWAP1 PUSH2 0x11AE JUMP JUMPDEST POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x9B0 JUMPI PUSH2 0x9AF PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD 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 0x9E0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH32 0x1FE70B87853839959E74387A76C2713282F77A4A0656BF8689058A0EEA2891E0 CALLER DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xA17 JUMPI PUSH2 0xA16 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 MLOAD PUSH2 0xA2A SWAP3 SWAP2 SWAP1 PUSH2 0x1885 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA8E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAAB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xACF SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0xB0E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB05 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xB7E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xC18 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xC0F SWAP1 PUSH2 0x18FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP4 PUSH1 0x40 MLOAD PUSH2 0xC87 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP2 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP3 PUSH1 0x40 MLOAD PUSH2 0xCFF SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xD77 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x9D76EA58 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE16 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE3A SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xC1E553E7 DUP4 DUP6 PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEBF SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEDE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xF02 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xF58 JUMPI PUSH2 0xF57 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0xFB0 JUMPI PUSH2 0xFAF PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0xA PUSH1 0xB DUP6 PUSH2 0xFC5 SWAP2 SWAP1 PUSH2 0x1980 JUMP JUMPDEST PUSH2 0xFCF SWAP2 SWAP1 PUSH2 0x19F1 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH3 0x127500 TIMESTAMP PUSH2 0xFE2 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST SWAP1 POP TIMESTAMP DUP4 LT ISZERO PUSH2 0x105F JUMPI PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP7 PUSH2 0x1003 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x1059 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP PUSH2 0x10C3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x10C1 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP JUMPDEST PUSH32 0xA1D590FD2E594A4A50983C420B530FCF5FFE210E5203B51D6C022CB0D9AC4F80 DUP9 PUSH1 0x3 PUSH1 0x0 DUP12 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x1137 JUMPI PUSH2 0x1136 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x3 PUSH1 0x0 DUP13 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x118B JUMPI PUSH2 0x118A PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x40 MLOAD PUSH2 0x119C SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A56 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x11E2 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x11E1 JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0xFF AND SWAP1 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x11C1 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x11EF SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x1222 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1221 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1206 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x122F SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x124C JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1234 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x126D DUP2 PUSH2 0x125A JUMP JUMPDEST DUP2 EQ PUSH2 0x1278 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x128A DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x12BB DUP3 PUSH2 0x1290 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x12CB DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP2 EQ PUSH2 0x12D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x12E8 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x1308 JUMPI PUSH2 0x1307 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1316 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x1327 DUP8 DUP3 DUP9 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x1338 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x1349 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x137A JUMPI PUSH2 0x1379 PUSH2 0x1355 JUMP JUMPDEST JUMPDEST DUP3 CALLDATALOAD SWAP1 POP PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1397 JUMPI PUSH2 0x1396 PUSH2 0x135A JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x1 DUP3 MUL DUP4 ADD GT ISZERO PUSH2 0x13B3 JUMPI PUSH2 0x13B2 PUSH2 0x135F JUMP JUMPDEST JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x80 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x13D6 JUMPI PUSH2 0x13D5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x13E4 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x13F5 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0x1406 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1427 JUMPI PUSH2 0x1426 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1433 DUP9 DUP3 DUP10 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP3 POP SWAP3 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH2 0x144B DUP2 PUSH2 0x125A JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1466 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1483 JUMPI PUSH2 0x1482 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1491 DUP6 DUP3 DUP7 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x14A2 DUP6 DUP3 DUP7 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x14B5 DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D0 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x14F6 JUMPI PUSH2 0x14F5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1504 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP9 POP POP PUSH1 0x20 PUSH2 0x1515 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP8 POP POP PUSH1 0x40 PUSH2 0x1526 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP7 POP POP PUSH1 0x60 PUSH2 0x1537 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1558 JUMPI PUSH2 0x1557 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1564 DUP12 DUP3 DUP13 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP5 POP SWAP5 POP POP PUSH1 0xA0 PUSH2 0x1577 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0xC0 PUSH2 0x1588 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 SWAP1 SWAP4 SWAP7 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x15AE JUMPI PUSH2 0x15AD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15BC DUP5 DUP3 DUP6 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x15DE JUMPI PUSH2 0x15DD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15EC DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x15FD DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x160E DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1627 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1643 JUMPI PUSH2 0x1642 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1651 DUP5 DUP3 DUP6 ADD PUSH2 0x1618 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1669 DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1685 JUMPI PUSH2 0x1684 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1693 DUP5 DUP3 DUP6 ADD PUSH2 0x165A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x16B1 DUP2 PUSH2 0x169C JUMP JUMPDEST DUP2 EQ PUSH2 0x16BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x16CE DUP2 PUSH2 0x16A8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16EA JUMPI PUSH2 0x16E9 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x16F8 DUP5 DUP3 DUP6 ADD PUSH2 0x16BF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x43616C6C6572206973206E6F742061206C6F636B206D616E6167657200000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1748 PUSH1 0x1C DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x1753 DUP3 PUSH2 0x1712 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1777 DUP2 PUSH2 0x173B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E6F20726566756E6420617661696C61626C6500000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17E3 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x17EE DUP3 PUSH2 0x17AD JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1812 DUP2 PUSH2 0x17D6 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x526566756E64206E6F7420617661696C61626C65207965740000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x184F PUSH1 0x18 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x185A DUP3 PUSH2 0x1819 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x187E DUP2 PUSH2 0x1842 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x189A PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x18A7 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x416C726561647920696E697469616C697A656400000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18E4 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x18EF DUP3 PUSH2 0x18AE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1913 DUP2 PUSH2 0x18D7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x192F PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x193C PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1949 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x198B DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1996 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x19A4 DUP2 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x19BB JUMPI PUSH2 0x19BA PUSH2 0x1951 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x19FC DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A07 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1A17 JUMPI PUSH2 0x1A16 PUSH2 0x19C2 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1A2D DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A38 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x1A50 JUMPI PUSH2 0x1A4F PUSH2 0x1951 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x1A6B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x1A78 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1A85 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BLOBBASEFEE PUSH6 0x9CB1B5BF6C87 AND KECCAK256 0xC5 BLOBHASH SWAP13 DUP1 0xC0 0xE1 BALANCE PC DIV 0xEF MSTORE8 PUSH20 0xE0C5809E323BCD51A38C64736F6C634300081B00 CALLER ", + "sourceMap": "724:4514:18:-:0;;;1101:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1177:40;1188:12;1202:7;1211:5;1177:10;;;:40;;:::i;:::-;1101:123;;;724:4514;;1230:401;1378:1;1355:25;;:11;;;;;;;;;;:25;;;1351:85;;1396:29;;;;;;;;;;:::i;:::-;;;;;;;;1351:85;1459:12;1445:11;;:26;;;;;;;;;;;;;;;;;;1486:28;1501:12;1486:28;;;;;;:::i;:::-;;;;;;;;1533:7;1524:6;;:16;;;;;;;;;;;;;;;;;;1555:18;1565:7;1555:18;;;;;;:::i;:::-;;;;;;;;1590:5;1583:4;;:12;;;;;;;;;;;;;;;;;;1610:14;1618:5;1610:14;;;;;;:::i;:::-;;;;;;;;1230:401;;;:::o;88:117:20:-;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:663::-;933:6;941;949;998:2;986:9;977:7;973:23;969:32;966:119;;;1004:79;;:::i;:::-;966:119;1124:1;1149:64;1205:7;1196:6;1185:9;1181:22;1149:64;:::i;:::-;1139:74;;1095:128;1262:2;1288:64;1344:7;1335:6;1324:9;1320:22;1288:64;:::i;:::-;1278:74;;1233:129;1401:2;1427:64;1483:7;1474:6;1463:9;1459:22;1427:64;:::i;:::-;1417:74;;1372:129;845:663;;;;;:::o;1514:169::-;1598:11;1632:6;1627:3;1620:19;1672:4;1667:3;1663:14;1648:29;;1514:169;;;;:::o;1689:::-;1829:21;1825:1;1817:6;1813:14;1806:45;1689:169;:::o;1864:366::-;2006:3;2027:67;2091:2;2086:3;2027:67;:::i;:::-;2020:74;;2103:93;2192:3;2103:93;:::i;:::-;2221:2;2216:3;2212:12;2205:19;;1864:366;;;:::o;2236:419::-;2402:4;2440:2;2429:9;2425:18;2417:26;;2489:9;2483:4;2479:20;2475:1;2464:9;2460:17;2453:47;2517:131;2643:4;2517:131;:::i;:::-;2509:139;;2236:419;;;:::o;2661:118::-;2748:24;2766:5;2748:24;:::i;:::-;2743:3;2736:37;2661:118;;:::o;2785:222::-;2878:4;2916:2;2905:9;2901:18;2893:26;;2929:71;2997:1;2986:9;2982:17;2973:6;2929:71;:::i;:::-;2785:222;;;;:::o;724:4514:18:-;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@claimRefund_4217": { + "entryPoint": 2019, + "id": 4217, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@initialize_3876": { + "entryPoint": 2953, + "id": 3876, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@keyPurchasePrice_3981": { + "entryPoint": 886, + "id": 3981, + "parameterSlots": 5, + "returnSlots": 1 + }, + "@onKeyExtend_4155": { + "entryPoint": 549, + "id": 4155, + "parameterSlots": 4, + "returnSlots": 0 + }, + "@onKeyPurchase_4119": { + "entryPoint": 1088, + "id": 4119, + "parameterSlots": 8, + "returnSlots": 0 + }, + "@oracle_3780": { + "entryPoint": 1642, + "id": 3780, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@recordRefund_4085": { + "entryPoint": 3496, + "id": 4085, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@refunds_3788": { + "entryPoint": 1010, + "id": 3788, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@setOracle_3932": { + "entryPoint": 1302, + "id": 3932, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setUnlockPrime_3904": { + "entryPoint": 1680, + "id": 3904, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setWeth_3960": { + "entryPoint": 2613, + "id": 3960, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@unlockPrime_3778": { + "entryPoint": 3460, + "id": 3778, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@weth_3782": { + "entryPoint": 1050, + "id": 3782, + "parameterSlots": 0, + "returnSlots": 0 + }, + "abi_decode_t_address": { + "entryPoint": 4825, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_address_fromMemory": { + "entryPoint": 5656, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bool_fromMemory": { + "entryPoint": 5823, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_bytes_calldata_ptr": { + "entryPoint": 4964, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_t_uint256": { + "entryPoint": 4731, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_uint256_fromMemory": { + "entryPoint": 5722, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 5528, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 5677, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_addresst_address": { + "entryPoint": 5573, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_decode_tuple_t_addresst_addresst_addresst_bytes_calldata_ptr": { + "entryPoint": 5050, + "id": null, + "parameterSlots": 2, + "returnSlots": 5 + }, + "abi_decode_tuple_t_addresst_uint256": { + "entryPoint": 5228, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 5844, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 5743, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256t_addresst_addresst_addresst_bytes_calldata_ptrt_uint256t_uint256": { + "entryPoint": 5334, + "id": null, + "parameterSlots": 2, + "returnSlots": 8 + }, + "abi_decode_tuple_t_uint256t_addresst_uint256t_uint256": { + "entryPoint": 4846, + "id": null, + "parameterSlots": 2, + "returnSlots": 4 + }, + "abi_encode_t_address_to_t_address_fromStack": { + "entryPoint": 5292, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack": { + "entryPoint": 5947, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack": { + "entryPoint": 6359, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack": { + "entryPoint": 6210, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack": { + "entryPoint": 6102, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_uint256_to_t_uint256_fromStack": { + "entryPoint": 5186, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": 5307, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed": { + "entryPoint": 6277, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_uint256_t_address__to_t_address_t_uint256_t_address__fromStack_reversed": { + "entryPoint": 6426, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed": { + "entryPoint": 6742, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5982, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 6394, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 6245, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 6137, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": 5201, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { + "entryPoint": 5889, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 6690, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_div_t_uint256": { + "entryPoint": 6641, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 6528, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 4784, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_bool": { + "entryPoint": 5788, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 4752, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint256": { + "entryPoint": 4698, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 6481, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x12": { + "entryPoint": 6594, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 6014, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490": { + "entryPoint": 4954, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": { + "entryPoint": 4949, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef": { + "entryPoint": 4959, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": 4693, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 4688, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d": { + "entryPoint": 5906, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0": { + "entryPoint": 6318, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd": { + "entryPoint": 6169, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71": { + "entryPoint": 6061, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_address": { + "entryPoint": 4802, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_bool": { + "entryPoint": 5800, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_uint256": { + "entryPoint": 4708, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:15822:20", + "nodeType": "YulBlock", + "src": "0:15822:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:32:20", + "nodeType": "YulBlock", + "src": "379:32:20", + "statements": [ + { + "nativeSrc": "389:16:20", + "nodeType": "YulAssignment", + "src": "389:16:20", + "value": { + "name": "value", + "nativeSrc": "400:5:20", + "nodeType": "YulIdentifier", + "src": "400:5:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint256", + "nativeSrc": "334:77:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:77:20" + }, + { + "body": { + "nativeSrc": "460:79:20", + "nodeType": "YulBlock", + "src": "460:79:20", + "statements": [ + { + "body": { + "nativeSrc": "517:16:20", + "nodeType": "YulBlock", + "src": "517:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "526:1:20", + "nodeType": "YulLiteral", + "src": "526:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "529:1:20", + "nodeType": "YulLiteral", + "src": "529:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "519:6:20", + "nodeType": "YulIdentifier", + "src": "519:6:20" + }, + "nativeSrc": "519:12:20", + "nodeType": "YulFunctionCall", + "src": "519:12:20" + }, + "nativeSrc": "519:12:20", + "nodeType": "YulExpressionStatement", + "src": "519:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "483:5:20", + "nodeType": "YulIdentifier", + "src": "483:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "508:5:20", + "nodeType": "YulIdentifier", + "src": "508:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "490:17:20", + "nodeType": "YulIdentifier", + "src": "490:17:20" + }, + "nativeSrc": "490:24:20", + "nodeType": "YulFunctionCall", + "src": "490:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "480:2:20", + "nodeType": "YulIdentifier", + "src": "480:2:20" + }, + "nativeSrc": "480:35:20", + "nodeType": "YulFunctionCall", + "src": "480:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "473:6:20", + "nodeType": "YulIdentifier", + "src": "473:6:20" + }, + "nativeSrc": "473:43:20", + "nodeType": "YulFunctionCall", + "src": "473:43:20" + }, + "nativeSrc": "470:63:20", + "nodeType": "YulIf", + "src": "470:63:20" + } + ] + }, + "name": "validator_revert_t_uint256", + "nativeSrc": "417:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "453:5:20", + "nodeType": "YulTypedName", + "src": "453:5:20", + "type": "" + } + ], + "src": "417:122:20" + }, + { + "body": { + "nativeSrc": "597:87:20", + "nodeType": "YulBlock", + "src": "597:87:20", + "statements": [ + { + "nativeSrc": "607:29:20", + "nodeType": "YulAssignment", + "src": "607:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "629:6:20", + "nodeType": "YulIdentifier", + "src": "629:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "616:12:20", + "nodeType": "YulIdentifier", + "src": "616:12:20" + }, + "nativeSrc": "616:20:20", + "nodeType": "YulFunctionCall", + "src": "616:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "607:5:20", + "nodeType": "YulIdentifier", + "src": "607:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "672:5:20", + "nodeType": "YulIdentifier", + "src": "672:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_uint256", + "nativeSrc": "645:26:20", + "nodeType": "YulIdentifier", + "src": "645:26:20" + }, + "nativeSrc": "645:33:20", + "nodeType": "YulFunctionCall", + "src": "645:33:20" + }, + "nativeSrc": "645:33:20", + "nodeType": "YulExpressionStatement", + "src": "645:33:20" + } + ] + }, + "name": "abi_decode_t_uint256", + "nativeSrc": "545:139:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "575:6:20", + "nodeType": "YulTypedName", + "src": "575:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "583:3:20", + "nodeType": "YulTypedName", + "src": "583:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "591:5:20", + "nodeType": "YulTypedName", + "src": "591:5:20", + "type": "" + } + ], + "src": "545:139:20" + }, + { + "body": { + "nativeSrc": "735:81:20", + "nodeType": "YulBlock", + "src": "735:81:20", + "statements": [ + { + "nativeSrc": "745:65:20", + "nodeType": "YulAssignment", + "src": "745:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "760:5:20", + "nodeType": "YulIdentifier", + "src": "760:5:20" + }, + { + "kind": "number", + "nativeSrc": "767:42:20", + "nodeType": "YulLiteral", + "src": "767:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "756:3:20", + "nodeType": "YulIdentifier", + "src": "756:3:20" + }, + "nativeSrc": "756:54:20", + "nodeType": "YulFunctionCall", + "src": "756:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "745:7:20", + "nodeType": "YulIdentifier", + "src": "745:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "690:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "717:5:20", + "nodeType": "YulTypedName", + "src": "717:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "727:7:20", + "nodeType": "YulTypedName", + "src": "727:7:20", + "type": "" + } + ], + "src": "690:126:20" + }, + { + "body": { + "nativeSrc": "867:51:20", + "nodeType": "YulBlock", + "src": "867:51:20", + "statements": [ + { + "nativeSrc": "877:35:20", + "nodeType": "YulAssignment", + "src": "877:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "906:5:20", + "nodeType": "YulIdentifier", + "src": "906:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "888:17:20", + "nodeType": "YulIdentifier", + "src": "888:17:20" + }, + "nativeSrc": "888:24:20", + "nodeType": "YulFunctionCall", + "src": "888:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "877:7:20", + "nodeType": "YulIdentifier", + "src": "877:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "822:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "849:5:20", + "nodeType": "YulTypedName", + "src": "849:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "859:7:20", + "nodeType": "YulTypedName", + "src": "859:7:20", + "type": "" + } + ], + "src": "822:96:20" + }, + { + "body": { + "nativeSrc": "967:79:20", + "nodeType": "YulBlock", + "src": "967:79:20", + "statements": [ + { + "body": { + "nativeSrc": "1024:16:20", + "nodeType": "YulBlock", + "src": "1024:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1033:1:20", + "nodeType": "YulLiteral", + "src": "1033:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1036:1:20", + "nodeType": "YulLiteral", + "src": "1036:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1026:6:20", + "nodeType": "YulIdentifier", + "src": "1026:6:20" + }, + "nativeSrc": "1026:12:20", + "nodeType": "YulFunctionCall", + "src": "1026:12:20" + }, + "nativeSrc": "1026:12:20", + "nodeType": "YulExpressionStatement", + "src": "1026:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "990:5:20", + "nodeType": "YulIdentifier", + "src": "990:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1015:5:20", + "nodeType": "YulIdentifier", + "src": "1015:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "997:17:20", + "nodeType": "YulIdentifier", + "src": "997:17:20" + }, + "nativeSrc": "997:24:20", + "nodeType": "YulFunctionCall", + "src": "997:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "987:2:20", + "nodeType": "YulIdentifier", + "src": "987:2:20" + }, + "nativeSrc": "987:35:20", + "nodeType": "YulFunctionCall", + "src": "987:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "980:6:20", + "nodeType": "YulIdentifier", + "src": "980:6:20" + }, + "nativeSrc": "980:43:20", + "nodeType": "YulFunctionCall", + "src": "980:43:20" + }, + "nativeSrc": "977:63:20", + "nodeType": "YulIf", + "src": "977:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "924:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "960:5:20", + "nodeType": "YulTypedName", + "src": "960:5:20", + "type": "" + } + ], + "src": "924:122:20" + }, + { + "body": { + "nativeSrc": "1104:87:20", + "nodeType": "YulBlock", + "src": "1104:87:20", + "statements": [ + { + "nativeSrc": "1114:29:20", + "nodeType": "YulAssignment", + "src": "1114:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "1136:6:20", + "nodeType": "YulIdentifier", + "src": "1136:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "1123:12:20", + "nodeType": "YulIdentifier", + "src": "1123:12:20" + }, + "nativeSrc": "1123:20:20", + "nodeType": "YulFunctionCall", + "src": "1123:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "1114:5:20", + "nodeType": "YulIdentifier", + "src": "1114:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1179:5:20", + "nodeType": "YulIdentifier", + "src": "1179:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "1152:26:20", + "nodeType": "YulIdentifier", + "src": "1152:26:20" + }, + "nativeSrc": "1152:33:20", + "nodeType": "YulFunctionCall", + "src": "1152:33:20" + }, + "nativeSrc": "1152:33:20", + "nodeType": "YulExpressionStatement", + "src": "1152:33:20" + } + ] + }, + "name": "abi_decode_t_address", + "nativeSrc": "1052:139:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "1082:6:20", + "nodeType": "YulTypedName", + "src": "1082:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "1090:3:20", + "nodeType": "YulTypedName", + "src": "1090:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "1098:5:20", + "nodeType": "YulTypedName", + "src": "1098:5:20", + "type": "" + } + ], + "src": "1052:139:20" + }, + { + "body": { + "nativeSrc": "1314:648:20", + "nodeType": "YulBlock", + "src": "1314:648:20", + "statements": [ + { + "body": { + "nativeSrc": "1361:83:20", + "nodeType": "YulBlock", + "src": "1361:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "1363:77:20", + "nodeType": "YulIdentifier", + "src": "1363:77:20" + }, + "nativeSrc": "1363:79:20", + "nodeType": "YulFunctionCall", + "src": "1363:79:20" + }, + "nativeSrc": "1363:79:20", + "nodeType": "YulExpressionStatement", + "src": "1363:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "1335:7:20", + "nodeType": "YulIdentifier", + "src": "1335:7:20" + }, + { + "name": "headStart", + "nativeSrc": "1344:9:20", + "nodeType": "YulIdentifier", + "src": "1344:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "1331:3:20", + "nodeType": "YulIdentifier", + "src": "1331:3:20" + }, + "nativeSrc": "1331:23:20", + "nodeType": "YulFunctionCall", + "src": "1331:23:20" + }, + { + "kind": "number", + "nativeSrc": "1356:3:20", + "nodeType": "YulLiteral", + "src": "1356:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "1327:3:20", + "nodeType": "YulIdentifier", + "src": "1327:3:20" + }, + "nativeSrc": "1327:33:20", + "nodeType": "YulFunctionCall", + "src": "1327:33:20" + }, + "nativeSrc": "1324:120:20", + "nodeType": "YulIf", + "src": "1324:120:20" + }, + { + "nativeSrc": "1454:117:20", + "nodeType": "YulBlock", + "src": "1454:117:20", + "statements": [ + { + "nativeSrc": "1469:15:20", + "nodeType": "YulVariableDeclaration", + "src": "1469:15:20", + "value": { + "kind": "number", + "nativeSrc": "1483:1:20", + "nodeType": "YulLiteral", + "src": "1483:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1473:6:20", + "nodeType": "YulTypedName", + "src": "1473:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1498:63:20", + "nodeType": "YulAssignment", + "src": "1498:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1533:9:20", + "nodeType": "YulIdentifier", + "src": "1533:9:20" + }, + { + "name": "offset", + "nativeSrc": "1544:6:20", + "nodeType": "YulIdentifier", + "src": "1544:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1529:3:20", + "nodeType": "YulIdentifier", + "src": "1529:3:20" + }, + "nativeSrc": "1529:22:20", + "nodeType": "YulFunctionCall", + "src": "1529:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1553:7:20", + "nodeType": "YulIdentifier", + "src": "1553:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "1508:20:20", + "nodeType": "YulIdentifier", + "src": "1508:20:20" + }, + "nativeSrc": "1508:53:20", + "nodeType": "YulFunctionCall", + "src": "1508:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "1498:6:20", + "nodeType": "YulIdentifier", + "src": "1498:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1581:118:20", + "nodeType": "YulBlock", + "src": "1581:118:20", + "statements": [ + { + "nativeSrc": "1596:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1596:16:20", + "value": { + "kind": "number", + "nativeSrc": "1610:2:20", + "nodeType": "YulLiteral", + "src": "1610:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1600:6:20", + "nodeType": "YulTypedName", + "src": "1600:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1626:63:20", + "nodeType": "YulAssignment", + "src": "1626:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1661:9:20", + "nodeType": "YulIdentifier", + "src": "1661:9:20" + }, + { + "name": "offset", + "nativeSrc": "1672:6:20", + "nodeType": "YulIdentifier", + "src": "1672:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1657:3:20", + "nodeType": "YulIdentifier", + "src": "1657:3:20" + }, + "nativeSrc": "1657:22:20", + "nodeType": "YulFunctionCall", + "src": "1657:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1681:7:20", + "nodeType": "YulIdentifier", + "src": "1681:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "1636:20:20", + "nodeType": "YulIdentifier", + "src": "1636:20:20" + }, + "nativeSrc": "1636:53:20", + "nodeType": "YulFunctionCall", + "src": "1636:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "1626:6:20", + "nodeType": "YulIdentifier", + "src": "1626:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1709:118:20", + "nodeType": "YulBlock", + "src": "1709:118:20", + "statements": [ + { + "nativeSrc": "1724:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1724:16:20", + "value": { + "kind": "number", + "nativeSrc": "1738:2:20", + "nodeType": "YulLiteral", + "src": "1738:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1728:6:20", + "nodeType": "YulTypedName", + "src": "1728:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1754:63:20", + "nodeType": "YulAssignment", + "src": "1754:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1789:9:20", + "nodeType": "YulIdentifier", + "src": "1789:9:20" + }, + { + "name": "offset", + "nativeSrc": "1800:6:20", + "nodeType": "YulIdentifier", + "src": "1800:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1785:3:20", + "nodeType": "YulIdentifier", + "src": "1785:3:20" + }, + "nativeSrc": "1785:22:20", + "nodeType": "YulFunctionCall", + "src": "1785:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1809:7:20", + "nodeType": "YulIdentifier", + "src": "1809:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "1764:20:20", + "nodeType": "YulIdentifier", + "src": "1764:20:20" + }, + "nativeSrc": "1764:53:20", + "nodeType": "YulFunctionCall", + "src": "1764:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "1754:6:20", + "nodeType": "YulIdentifier", + "src": "1754:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1837:118:20", + "nodeType": "YulBlock", + "src": "1837:118:20", + "statements": [ + { + "nativeSrc": "1852:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1852:16:20", + "value": { + "kind": "number", + "nativeSrc": "1866:2:20", + "nodeType": "YulLiteral", + "src": "1866:2:20", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1856:6:20", + "nodeType": "YulTypedName", + "src": "1856:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1882:63:20", + "nodeType": "YulAssignment", + "src": "1882:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1917:9:20", + "nodeType": "YulIdentifier", + "src": "1917:9:20" + }, + { + "name": "offset", + "nativeSrc": "1928:6:20", + "nodeType": "YulIdentifier", + "src": "1928:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1913:3:20", + "nodeType": "YulIdentifier", + "src": "1913:3:20" + }, + "nativeSrc": "1913:22:20", + "nodeType": "YulFunctionCall", + "src": "1913:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1937:7:20", + "nodeType": "YulIdentifier", + "src": "1937:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "1892:20:20", + "nodeType": "YulIdentifier", + "src": "1892:20:20" + }, + "nativeSrc": "1892:53:20", + "nodeType": "YulFunctionCall", + "src": "1892:53:20" + }, + "variableNames": [ + { + "name": "value3", + "nativeSrc": "1882:6:20", + "nodeType": "YulIdentifier", + "src": "1882:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256t_addresst_uint256t_uint256", + "nativeSrc": "1197:765:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "1260:9:20", + "nodeType": "YulTypedName", + "src": "1260:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "1271:7:20", + "nodeType": "YulTypedName", + "src": "1271:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "1283:6:20", + "nodeType": "YulTypedName", + "src": "1283:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "1291:6:20", + "nodeType": "YulTypedName", + "src": "1291:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "1299:6:20", + "nodeType": "YulTypedName", + "src": "1299:6:20", + "type": "" + }, + { + "name": "value3", + "nativeSrc": "1307:6:20", + "nodeType": "YulTypedName", + "src": "1307:6:20", + "type": "" + } + ], + "src": "1197:765:20" + }, + { + "body": { + "nativeSrc": "2057:28:20", + "nodeType": "YulBlock", + "src": "2057:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2074:1:20", + "nodeType": "YulLiteral", + "src": "2074:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2077:1:20", + "nodeType": "YulLiteral", + "src": "2077:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2067:6:20", + "nodeType": "YulIdentifier", + "src": "2067:6:20" + }, + "nativeSrc": "2067:12:20", + "nodeType": "YulFunctionCall", + "src": "2067:12:20" + }, + "nativeSrc": "2067:12:20", + "nodeType": "YulExpressionStatement", + "src": "2067:12:20" + } + ] + }, + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "1968:117:20", + "nodeType": "YulFunctionDefinition", + "src": "1968:117:20" + }, + { + "body": { + "nativeSrc": "2180:28:20", + "nodeType": "YulBlock", + "src": "2180:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2197:1:20", + "nodeType": "YulLiteral", + "src": "2197:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2200:1:20", + "nodeType": "YulLiteral", + "src": "2200:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2190:6:20", + "nodeType": "YulIdentifier", + "src": "2190:6:20" + }, + "nativeSrc": "2190:12:20", + "nodeType": "YulFunctionCall", + "src": "2190:12:20" + }, + "nativeSrc": "2190:12:20", + "nodeType": "YulExpressionStatement", + "src": "2190:12:20" + } + ] + }, + "name": "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490", + "nativeSrc": "2091:117:20", + "nodeType": "YulFunctionDefinition", + "src": "2091:117:20" + }, + { + "body": { + "nativeSrc": "2303:28:20", + "nodeType": "YulBlock", + "src": "2303:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2320:1:20", + "nodeType": "YulLiteral", + "src": "2320:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "2323:1:20", + "nodeType": "YulLiteral", + "src": "2323:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "2313:6:20", + "nodeType": "YulIdentifier", + "src": "2313:6:20" + }, + "nativeSrc": "2313:12:20", + "nodeType": "YulFunctionCall", + "src": "2313:12:20" + }, + "nativeSrc": "2313:12:20", + "nodeType": "YulExpressionStatement", + "src": "2313:12:20" + } + ] + }, + "name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef", + "nativeSrc": "2214:117:20", + "nodeType": "YulFunctionDefinition", + "src": "2214:117:20" + }, + { + "body": { + "nativeSrc": "2424:478:20", + "nodeType": "YulBlock", + "src": "2424:478:20", + "statements": [ + { + "body": { + "nativeSrc": "2473:83:20", + "nodeType": "YulBlock", + "src": "2473:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d", + "nativeSrc": "2475:77:20", + "nodeType": "YulIdentifier", + "src": "2475:77:20" + }, + "nativeSrc": "2475:79:20", + "nodeType": "YulFunctionCall", + "src": "2475:79:20" + }, + "nativeSrc": "2475:79:20", + "nodeType": "YulExpressionStatement", + "src": "2475:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2452:6:20", + "nodeType": "YulIdentifier", + "src": "2452:6:20" + }, + { + "kind": "number", + "nativeSrc": "2460:4:20", + "nodeType": "YulLiteral", + "src": "2460:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2448:3:20", + "nodeType": "YulIdentifier", + "src": "2448:3:20" + }, + "nativeSrc": "2448:17:20", + "nodeType": "YulFunctionCall", + "src": "2448:17:20" + }, + { + "name": "end", + "nativeSrc": "2467:3:20", + "nodeType": "YulIdentifier", + "src": "2467:3:20" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "2444:3:20", + "nodeType": "YulIdentifier", + "src": "2444:3:20" + }, + "nativeSrc": "2444:27:20", + "nodeType": "YulFunctionCall", + "src": "2444:27:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "2437:6:20", + "nodeType": "YulIdentifier", + "src": "2437:6:20" + }, + "nativeSrc": "2437:35:20", + "nodeType": "YulFunctionCall", + "src": "2437:35:20" + }, + "nativeSrc": "2434:122:20", + "nodeType": "YulIf", + "src": "2434:122:20" + }, + { + "nativeSrc": "2565:30:20", + "nodeType": "YulAssignment", + "src": "2565:30:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2588:6:20", + "nodeType": "YulIdentifier", + "src": "2588:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "2575:12:20", + "nodeType": "YulIdentifier", + "src": "2575:12:20" + }, + "nativeSrc": "2575:20:20", + "nodeType": "YulFunctionCall", + "src": "2575:20:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "2565:6:20", + "nodeType": "YulIdentifier", + "src": "2565:6:20" + } + ] + }, + { + "body": { + "nativeSrc": "2638:83:20", + "nodeType": "YulBlock", + "src": "2638:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490", + "nativeSrc": "2640:77:20", + "nodeType": "YulIdentifier", + "src": "2640:77:20" + }, + "nativeSrc": "2640:79:20", + "nodeType": "YulFunctionCall", + "src": "2640:79:20" + }, + "nativeSrc": "2640:79:20", + "nodeType": "YulExpressionStatement", + "src": "2640:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nativeSrc": "2610:6:20", + "nodeType": "YulIdentifier", + "src": "2610:6:20" + }, + { + "kind": "number", + "nativeSrc": "2618:18:20", + "nodeType": "YulLiteral", + "src": "2618:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2607:2:20", + "nodeType": "YulIdentifier", + "src": "2607:2:20" + }, + "nativeSrc": "2607:30:20", + "nodeType": "YulFunctionCall", + "src": "2607:30:20" + }, + "nativeSrc": "2604:117:20", + "nodeType": "YulIf", + "src": "2604:117:20" + }, + { + "nativeSrc": "2730:29:20", + "nodeType": "YulAssignment", + "src": "2730:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "2746:6:20", + "nodeType": "YulIdentifier", + "src": "2746:6:20" + }, + { + "kind": "number", + "nativeSrc": "2754:4:20", + "nodeType": "YulLiteral", + "src": "2754:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2742:3:20", + "nodeType": "YulIdentifier", + "src": "2742:3:20" + }, + "nativeSrc": "2742:17:20", + "nodeType": "YulFunctionCall", + "src": "2742:17:20" + }, + "variableNames": [ + { + "name": "arrayPos", + "nativeSrc": "2730:8:20", + "nodeType": "YulIdentifier", + "src": "2730:8:20" + } + ] + }, + { + "body": { + "nativeSrc": "2813:83:20", + "nodeType": "YulBlock", + "src": "2813:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef", + "nativeSrc": "2815:77:20", + "nodeType": "YulIdentifier", + "src": "2815:77:20" + }, + "nativeSrc": "2815:79:20", + "nodeType": "YulFunctionCall", + "src": "2815:79:20" + }, + "nativeSrc": "2815:79:20", + "nodeType": "YulExpressionStatement", + "src": "2815:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "arrayPos", + "nativeSrc": "2778:8:20", + "nodeType": "YulIdentifier", + "src": "2778:8:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "2792:6:20", + "nodeType": "YulIdentifier", + "src": "2792:6:20" + }, + { + "kind": "number", + "nativeSrc": "2800:4:20", + "nodeType": "YulLiteral", + "src": "2800:4:20", + "type": "", + "value": "0x01" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "2788:3:20", + "nodeType": "YulIdentifier", + "src": "2788:3:20" + }, + "nativeSrc": "2788:17:20", + "nodeType": "YulFunctionCall", + "src": "2788:17:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2774:3:20", + "nodeType": "YulIdentifier", + "src": "2774:3:20" + }, + "nativeSrc": "2774:32:20", + "nodeType": "YulFunctionCall", + "src": "2774:32:20" + }, + { + "name": "end", + "nativeSrc": "2808:3:20", + "nodeType": "YulIdentifier", + "src": "2808:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2771:2:20", + "nodeType": "YulIdentifier", + "src": "2771:2:20" + }, + "nativeSrc": "2771:41:20", + "nodeType": "YulFunctionCall", + "src": "2771:41:20" + }, + "nativeSrc": "2768:128:20", + "nodeType": "YulIf", + "src": "2768:128:20" + } + ] + }, + "name": "abi_decode_t_bytes_calldata_ptr", + "nativeSrc": "2350:552:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "2391:6:20", + "nodeType": "YulTypedName", + "src": "2391:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "2399:3:20", + "nodeType": "YulTypedName", + "src": "2399:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "arrayPos", + "nativeSrc": "2407:8:20", + "nodeType": "YulTypedName", + "src": "2407:8:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2417:6:20", + "nodeType": "YulTypedName", + "src": "2417:6:20", + "type": "" + } + ], + "src": "2350:552:20" + }, + { + "body": { + "nativeSrc": "3044:827:20", + "nodeType": "YulBlock", + "src": "3044:827:20", + "statements": [ + { + "body": { + "nativeSrc": "3091:83:20", + "nodeType": "YulBlock", + "src": "3091:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "3093:77:20", + "nodeType": "YulIdentifier", + "src": "3093:77:20" + }, + "nativeSrc": "3093:79:20", + "nodeType": "YulFunctionCall", + "src": "3093:79:20" + }, + "nativeSrc": "3093:79:20", + "nodeType": "YulExpressionStatement", + "src": "3093:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "3065:7:20", + "nodeType": "YulIdentifier", + "src": "3065:7:20" + }, + { + "name": "headStart", + "nativeSrc": "3074:9:20", + "nodeType": "YulIdentifier", + "src": "3074:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3061:3:20", + "nodeType": "YulIdentifier", + "src": "3061:3:20" + }, + "nativeSrc": "3061:23:20", + "nodeType": "YulFunctionCall", + "src": "3061:23:20" + }, + { + "kind": "number", + "nativeSrc": "3086:3:20", + "nodeType": "YulLiteral", + "src": "3086:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "3057:3:20", + "nodeType": "YulIdentifier", + "src": "3057:3:20" + }, + "nativeSrc": "3057:33:20", + "nodeType": "YulFunctionCall", + "src": "3057:33:20" + }, + "nativeSrc": "3054:120:20", + "nodeType": "YulIf", + "src": "3054:120:20" + }, + { + "nativeSrc": "3184:117:20", + "nodeType": "YulBlock", + "src": "3184:117:20", + "statements": [ + { + "nativeSrc": "3199:15:20", + "nodeType": "YulVariableDeclaration", + "src": "3199:15:20", + "value": { + "kind": "number", + "nativeSrc": "3213:1:20", + "nodeType": "YulLiteral", + "src": "3213:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3203:6:20", + "nodeType": "YulTypedName", + "src": "3203:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3228:63:20", + "nodeType": "YulAssignment", + "src": "3228:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3263:9:20", + "nodeType": "YulIdentifier", + "src": "3263:9:20" + }, + { + "name": "offset", + "nativeSrc": "3274:6:20", + "nodeType": "YulIdentifier", + "src": "3274:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3259:3:20", + "nodeType": "YulIdentifier", + "src": "3259:3:20" + }, + "nativeSrc": "3259:22:20", + "nodeType": "YulFunctionCall", + "src": "3259:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3283:7:20", + "nodeType": "YulIdentifier", + "src": "3283:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "3238:20:20", + "nodeType": "YulIdentifier", + "src": "3238:20:20" + }, + "nativeSrc": "3238:53:20", + "nodeType": "YulFunctionCall", + "src": "3238:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "3228:6:20", + "nodeType": "YulIdentifier", + "src": "3228:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3311:118:20", + "nodeType": "YulBlock", + "src": "3311:118:20", + "statements": [ + { + "nativeSrc": "3326:16:20", + "nodeType": "YulVariableDeclaration", + "src": "3326:16:20", + "value": { + "kind": "number", + "nativeSrc": "3340:2:20", + "nodeType": "YulLiteral", + "src": "3340:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3330:6:20", + "nodeType": "YulTypedName", + "src": "3330:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3356:63:20", + "nodeType": "YulAssignment", + "src": "3356:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3391:9:20", + "nodeType": "YulIdentifier", + "src": "3391:9:20" + }, + { + "name": "offset", + "nativeSrc": "3402:6:20", + "nodeType": "YulIdentifier", + "src": "3402:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3387:3:20", + "nodeType": "YulIdentifier", + "src": "3387:3:20" + }, + "nativeSrc": "3387:22:20", + "nodeType": "YulFunctionCall", + "src": "3387:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3411:7:20", + "nodeType": "YulIdentifier", + "src": "3411:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "3366:20:20", + "nodeType": "YulIdentifier", + "src": "3366:20:20" + }, + "nativeSrc": "3366:53:20", + "nodeType": "YulFunctionCall", + "src": "3366:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "3356:6:20", + "nodeType": "YulIdentifier", + "src": "3356:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3439:118:20", + "nodeType": "YulBlock", + "src": "3439:118:20", + "statements": [ + { + "nativeSrc": "3454:16:20", + "nodeType": "YulVariableDeclaration", + "src": "3454:16:20", + "value": { + "kind": "number", + "nativeSrc": "3468:2:20", + "nodeType": "YulLiteral", + "src": "3468:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3458:6:20", + "nodeType": "YulTypedName", + "src": "3458:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3484:63:20", + "nodeType": "YulAssignment", + "src": "3484:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3519:9:20", + "nodeType": "YulIdentifier", + "src": "3519:9:20" + }, + { + "name": "offset", + "nativeSrc": "3530:6:20", + "nodeType": "YulIdentifier", + "src": "3530:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3515:3:20", + "nodeType": "YulIdentifier", + "src": "3515:3:20" + }, + "nativeSrc": "3515:22:20", + "nodeType": "YulFunctionCall", + "src": "3515:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3539:7:20", + "nodeType": "YulIdentifier", + "src": "3539:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "3494:20:20", + "nodeType": "YulIdentifier", + "src": "3494:20:20" + }, + "nativeSrc": "3494:53:20", + "nodeType": "YulFunctionCall", + "src": "3494:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "3484:6:20", + "nodeType": "YulIdentifier", + "src": "3484:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "3567:297:20", + "nodeType": "YulBlock", + "src": "3567:297:20", + "statements": [ + { + "nativeSrc": "3582:46:20", + "nodeType": "YulVariableDeclaration", + "src": "3582:46:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3613:9:20", + "nodeType": "YulIdentifier", + "src": "3613:9:20" + }, + { + "kind": "number", + "nativeSrc": "3624:2:20", + "nodeType": "YulLiteral", + "src": "3624:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3609:3:20", + "nodeType": "YulIdentifier", + "src": "3609:3:20" + }, + "nativeSrc": "3609:18:20", + "nodeType": "YulFunctionCall", + "src": "3609:18:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "3596:12:20", + "nodeType": "YulIdentifier", + "src": "3596:12:20" + }, + "nativeSrc": "3596:32:20", + "nodeType": "YulFunctionCall", + "src": "3596:32:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "3586:6:20", + "nodeType": "YulTypedName", + "src": "3586:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "3675:83:20", + "nodeType": "YulBlock", + "src": "3675:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "3677:77:20", + "nodeType": "YulIdentifier", + "src": "3677:77:20" + }, + "nativeSrc": "3677:79:20", + "nodeType": "YulFunctionCall", + "src": "3677:79:20" + }, + "nativeSrc": "3677:79:20", + "nodeType": "YulExpressionStatement", + "src": "3677:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "3647:6:20", + "nodeType": "YulIdentifier", + "src": "3647:6:20" + }, + { + "kind": "number", + "nativeSrc": "3655:18:20", + "nodeType": "YulLiteral", + "src": "3655:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "3644:2:20", + "nodeType": "YulIdentifier", + "src": "3644:2:20" + }, + "nativeSrc": "3644:30:20", + "nodeType": "YulFunctionCall", + "src": "3644:30:20" + }, + "nativeSrc": "3641:117:20", + "nodeType": "YulIf", + "src": "3641:117:20" + }, + { + "nativeSrc": "3772:82:20", + "nodeType": "YulAssignment", + "src": "3772:82:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3826:9:20", + "nodeType": "YulIdentifier", + "src": "3826:9:20" + }, + { + "name": "offset", + "nativeSrc": "3837:6:20", + "nodeType": "YulIdentifier", + "src": "3837:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3822:3:20", + "nodeType": "YulIdentifier", + "src": "3822:3:20" + }, + "nativeSrc": "3822:22:20", + "nodeType": "YulFunctionCall", + "src": "3822:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "3846:7:20", + "nodeType": "YulIdentifier", + "src": "3846:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_calldata_ptr", + "nativeSrc": "3790:31:20", + "nodeType": "YulIdentifier", + "src": "3790:31:20" + }, + "nativeSrc": "3790:64:20", + "nodeType": "YulFunctionCall", + "src": "3790:64:20" + }, + "variableNames": [ + { + "name": "value3", + "nativeSrc": "3772:6:20", + "nodeType": "YulIdentifier", + "src": "3772:6:20" + }, + { + "name": "value4", + "nativeSrc": "3780:6:20", + "nodeType": "YulIdentifier", + "src": "3780:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_addresst_bytes_calldata_ptr", + "nativeSrc": "2908:963:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "2982:9:20", + "nodeType": "YulTypedName", + "src": "2982:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "2993:7:20", + "nodeType": "YulTypedName", + "src": "2993:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "3005:6:20", + "nodeType": "YulTypedName", + "src": "3005:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "3013:6:20", + "nodeType": "YulTypedName", + "src": "3013:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "3021:6:20", + "nodeType": "YulTypedName", + "src": "3021:6:20", + "type": "" + }, + { + "name": "value3", + "nativeSrc": "3029:6:20", + "nodeType": "YulTypedName", + "src": "3029:6:20", + "type": "" + }, + { + "name": "value4", + "nativeSrc": "3037:6:20", + "nodeType": "YulTypedName", + "src": "3037:6:20", + "type": "" + } + ], + "src": "2908:963:20" + }, + { + "body": { + "nativeSrc": "3942:53:20", + "nodeType": "YulBlock", + "src": "3942:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "3959:3:20", + "nodeType": "YulIdentifier", + "src": "3959:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "3982:5:20", + "nodeType": "YulIdentifier", + "src": "3982:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "3964:17:20", + "nodeType": "YulIdentifier", + "src": "3964:17:20" + }, + "nativeSrc": "3964:24:20", + "nodeType": "YulFunctionCall", + "src": "3964:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3952:6:20", + "nodeType": "YulIdentifier", + "src": "3952:6:20" + }, + "nativeSrc": "3952:37:20", + "nodeType": "YulFunctionCall", + "src": "3952:37:20" + }, + "nativeSrc": "3952:37:20", + "nodeType": "YulExpressionStatement", + "src": "3952:37:20" + } + ] + }, + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "3877:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "3930:5:20", + "nodeType": "YulTypedName", + "src": "3930:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "3937:3:20", + "nodeType": "YulTypedName", + "src": "3937:3:20", + "type": "" + } + ], + "src": "3877:118:20" + }, + { + "body": { + "nativeSrc": "4099:124:20", + "nodeType": "YulBlock", + "src": "4099:124:20", + "statements": [ + { + "nativeSrc": "4109:26:20", + "nodeType": "YulAssignment", + "src": "4109:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4121:9:20", + "nodeType": "YulIdentifier", + "src": "4121:9:20" + }, + { + "kind": "number", + "nativeSrc": "4132:2:20", + "nodeType": "YulLiteral", + "src": "4132:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4117:3:20", + "nodeType": "YulIdentifier", + "src": "4117:3:20" + }, + "nativeSrc": "4117:18:20", + "nodeType": "YulFunctionCall", + "src": "4117:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4109:4:20", + "nodeType": "YulIdentifier", + "src": "4109:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "4189:6:20", + "nodeType": "YulIdentifier", + "src": "4189:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4202:9:20", + "nodeType": "YulIdentifier", + "src": "4202:9:20" + }, + { + "kind": "number", + "nativeSrc": "4213:1:20", + "nodeType": "YulLiteral", + "src": "4213:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4198:3:20", + "nodeType": "YulIdentifier", + "src": "4198:3:20" + }, + "nativeSrc": "4198:17:20", + "nodeType": "YulFunctionCall", + "src": "4198:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "4145:43:20", + "nodeType": "YulIdentifier", + "src": "4145:43:20" + }, + "nativeSrc": "4145:71:20", + "nodeType": "YulFunctionCall", + "src": "4145:71:20" + }, + "nativeSrc": "4145:71:20", + "nodeType": "YulExpressionStatement", + "src": "4145:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nativeSrc": "4001:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4071:9:20", + "nodeType": "YulTypedName", + "src": "4071:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4083:6:20", + "nodeType": "YulTypedName", + "src": "4083:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4094:4:20", + "nodeType": "YulTypedName", + "src": "4094:4:20", + "type": "" + } + ], + "src": "4001:222:20" + }, + { + "body": { + "nativeSrc": "4312:391:20", + "nodeType": "YulBlock", + "src": "4312:391:20", + "statements": [ + { + "body": { + "nativeSrc": "4358:83:20", + "nodeType": "YulBlock", + "src": "4358:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "4360:77:20", + "nodeType": "YulIdentifier", + "src": "4360:77:20" + }, + "nativeSrc": "4360:79:20", + "nodeType": "YulFunctionCall", + "src": "4360:79:20" + }, + "nativeSrc": "4360:79:20", + "nodeType": "YulExpressionStatement", + "src": "4360:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "4333:7:20", + "nodeType": "YulIdentifier", + "src": "4333:7:20" + }, + { + "name": "headStart", + "nativeSrc": "4342:9:20", + "nodeType": "YulIdentifier", + "src": "4342:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "4329:3:20", + "nodeType": "YulIdentifier", + "src": "4329:3:20" + }, + "nativeSrc": "4329:23:20", + "nodeType": "YulFunctionCall", + "src": "4329:23:20" + }, + { + "kind": "number", + "nativeSrc": "4354:2:20", + "nodeType": "YulLiteral", + "src": "4354:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "4325:3:20", + "nodeType": "YulIdentifier", + "src": "4325:3:20" + }, + "nativeSrc": "4325:32:20", + "nodeType": "YulFunctionCall", + "src": "4325:32:20" + }, + "nativeSrc": "4322:119:20", + "nodeType": "YulIf", + "src": "4322:119:20" + }, + { + "nativeSrc": "4451:117:20", + "nodeType": "YulBlock", + "src": "4451:117:20", + "statements": [ + { + "nativeSrc": "4466:15:20", + "nodeType": "YulVariableDeclaration", + "src": "4466:15:20", + "value": { + "kind": "number", + "nativeSrc": "4480:1:20", + "nodeType": "YulLiteral", + "src": "4480:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4470:6:20", + "nodeType": "YulTypedName", + "src": "4470:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4495:63:20", + "nodeType": "YulAssignment", + "src": "4495:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4530:9:20", + "nodeType": "YulIdentifier", + "src": "4530:9:20" + }, + { + "name": "offset", + "nativeSrc": "4541:6:20", + "nodeType": "YulIdentifier", + "src": "4541:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4526:3:20", + "nodeType": "YulIdentifier", + "src": "4526:3:20" + }, + "nativeSrc": "4526:22:20", + "nodeType": "YulFunctionCall", + "src": "4526:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4550:7:20", + "nodeType": "YulIdentifier", + "src": "4550:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "4505:20:20", + "nodeType": "YulIdentifier", + "src": "4505:20:20" + }, + "nativeSrc": "4505:53:20", + "nodeType": "YulFunctionCall", + "src": "4505:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "4495:6:20", + "nodeType": "YulIdentifier", + "src": "4495:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "4578:118:20", + "nodeType": "YulBlock", + "src": "4578:118:20", + "statements": [ + { + "nativeSrc": "4593:16:20", + "nodeType": "YulVariableDeclaration", + "src": "4593:16:20", + "value": { + "kind": "number", + "nativeSrc": "4607:2:20", + "nodeType": "YulLiteral", + "src": "4607:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "4597:6:20", + "nodeType": "YulTypedName", + "src": "4597:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4623:63:20", + "nodeType": "YulAssignment", + "src": "4623:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4658:9:20", + "nodeType": "YulIdentifier", + "src": "4658:9:20" + }, + { + "name": "offset", + "nativeSrc": "4669:6:20", + "nodeType": "YulIdentifier", + "src": "4669:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4654:3:20", + "nodeType": "YulIdentifier", + "src": "4654:3:20" + }, + "nativeSrc": "4654:22:20", + "nodeType": "YulFunctionCall", + "src": "4654:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "4678:7:20", + "nodeType": "YulIdentifier", + "src": "4678:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "4633:20:20", + "nodeType": "YulIdentifier", + "src": "4633:20:20" + }, + "nativeSrc": "4633:53:20", + "nodeType": "YulFunctionCall", + "src": "4633:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "4623:6:20", + "nodeType": "YulIdentifier", + "src": "4623:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_uint256", + "nativeSrc": "4229:474:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4274:9:20", + "nodeType": "YulTypedName", + "src": "4274:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "4285:7:20", + "nodeType": "YulTypedName", + "src": "4285:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "4297:6:20", + "nodeType": "YulTypedName", + "src": "4297:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "4305:6:20", + "nodeType": "YulTypedName", + "src": "4305:6:20", + "type": "" + } + ], + "src": "4229:474:20" + }, + { + "body": { + "nativeSrc": "4774:53:20", + "nodeType": "YulBlock", + "src": "4774:53:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4791:3:20", + "nodeType": "YulIdentifier", + "src": "4791:3:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "4814:5:20", + "nodeType": "YulIdentifier", + "src": "4814:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "4796:17:20", + "nodeType": "YulIdentifier", + "src": "4796:17:20" + }, + "nativeSrc": "4796:24:20", + "nodeType": "YulFunctionCall", + "src": "4796:24:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "4784:6:20", + "nodeType": "YulIdentifier", + "src": "4784:6:20" + }, + "nativeSrc": "4784:37:20", + "nodeType": "YulFunctionCall", + "src": "4784:37:20" + }, + "nativeSrc": "4784:37:20", + "nodeType": "YulExpressionStatement", + "src": "4784:37:20" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4709:118:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4762:5:20", + "nodeType": "YulTypedName", + "src": "4762:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "4769:3:20", + "nodeType": "YulTypedName", + "src": "4769:3:20", + "type": "" + } + ], + "src": "4709:118:20" + }, + { + "body": { + "nativeSrc": "4931:124:20", + "nodeType": "YulBlock", + "src": "4931:124:20", + "statements": [ + { + "nativeSrc": "4941:26:20", + "nodeType": "YulAssignment", + "src": "4941:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "4953:9:20", + "nodeType": "YulIdentifier", + "src": "4953:9:20" + }, + { + "kind": "number", + "nativeSrc": "4964:2:20", + "nodeType": "YulLiteral", + "src": "4964:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4949:3:20", + "nodeType": "YulIdentifier", + "src": "4949:3:20" + }, + "nativeSrc": "4949:18:20", + "nodeType": "YulFunctionCall", + "src": "4949:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "4941:4:20", + "nodeType": "YulIdentifier", + "src": "4941:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "5021:6:20", + "nodeType": "YulIdentifier", + "src": "5021:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5034:9:20", + "nodeType": "YulIdentifier", + "src": "5034:9:20" + }, + { + "kind": "number", + "nativeSrc": "5045:1:20", + "nodeType": "YulLiteral", + "src": "5045:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5030:3:20", + "nodeType": "YulIdentifier", + "src": "5030:3:20" + }, + "nativeSrc": "5030:17:20", + "nodeType": "YulFunctionCall", + "src": "5030:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "4977:43:20", + "nodeType": "YulIdentifier", + "src": "4977:43:20" + }, + "nativeSrc": "4977:71:20", + "nodeType": "YulFunctionCall", + "src": "4977:71:20" + }, + "nativeSrc": "4977:71:20", + "nodeType": "YulExpressionStatement", + "src": "4977:71:20" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nativeSrc": "4833:222:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "4903:9:20", + "nodeType": "YulTypedName", + "src": "4903:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "4915:6:20", + "nodeType": "YulTypedName", + "src": "4915:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "4926:4:20", + "nodeType": "YulTypedName", + "src": "4926:4:20", + "type": "" + } + ], + "src": "4833:222:20" + }, + { + "body": { + "nativeSrc": "5248:1214:20", + "nodeType": "YulBlock", + "src": "5248:1214:20", + "statements": [ + { + "body": { + "nativeSrc": "5295:83:20", + "nodeType": "YulBlock", + "src": "5295:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "5297:77:20", + "nodeType": "YulIdentifier", + "src": "5297:77:20" + }, + "nativeSrc": "5297:79:20", + "nodeType": "YulFunctionCall", + "src": "5297:79:20" + }, + "nativeSrc": "5297:79:20", + "nodeType": "YulExpressionStatement", + "src": "5297:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "5269:7:20", + "nodeType": "YulIdentifier", + "src": "5269:7:20" + }, + { + "name": "headStart", + "nativeSrc": "5278:9:20", + "nodeType": "YulIdentifier", + "src": "5278:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "5265:3:20", + "nodeType": "YulIdentifier", + "src": "5265:3:20" + }, + "nativeSrc": "5265:23:20", + "nodeType": "YulFunctionCall", + "src": "5265:23:20" + }, + { + "kind": "number", + "nativeSrc": "5290:3:20", + "nodeType": "YulLiteral", + "src": "5290:3:20", + "type": "", + "value": "224" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "5261:3:20", + "nodeType": "YulIdentifier", + "src": "5261:3:20" + }, + "nativeSrc": "5261:33:20", + "nodeType": "YulFunctionCall", + "src": "5261:33:20" + }, + "nativeSrc": "5258:120:20", + "nodeType": "YulIf", + "src": "5258:120:20" + }, + { + "nativeSrc": "5388:117:20", + "nodeType": "YulBlock", + "src": "5388:117:20", + "statements": [ + { + "nativeSrc": "5403:15:20", + "nodeType": "YulVariableDeclaration", + "src": "5403:15:20", + "value": { + "kind": "number", + "nativeSrc": "5417:1:20", + "nodeType": "YulLiteral", + "src": "5417:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5407:6:20", + "nodeType": "YulTypedName", + "src": "5407:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5432:63:20", + "nodeType": "YulAssignment", + "src": "5432:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5467:9:20", + "nodeType": "YulIdentifier", + "src": "5467:9:20" + }, + { + "name": "offset", + "nativeSrc": "5478:6:20", + "nodeType": "YulIdentifier", + "src": "5478:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5463:3:20", + "nodeType": "YulIdentifier", + "src": "5463:3:20" + }, + "nativeSrc": "5463:22:20", + "nodeType": "YulFunctionCall", + "src": "5463:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5487:7:20", + "nodeType": "YulIdentifier", + "src": "5487:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "5442:20:20", + "nodeType": "YulIdentifier", + "src": "5442:20:20" + }, + "nativeSrc": "5442:53:20", + "nodeType": "YulFunctionCall", + "src": "5442:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "5432:6:20", + "nodeType": "YulIdentifier", + "src": "5432:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5515:118:20", + "nodeType": "YulBlock", + "src": "5515:118:20", + "statements": [ + { + "nativeSrc": "5530:16:20", + "nodeType": "YulVariableDeclaration", + "src": "5530:16:20", + "value": { + "kind": "number", + "nativeSrc": "5544:2:20", + "nodeType": "YulLiteral", + "src": "5544:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5534:6:20", + "nodeType": "YulTypedName", + "src": "5534:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5560:63:20", + "nodeType": "YulAssignment", + "src": "5560:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5595:9:20", + "nodeType": "YulIdentifier", + "src": "5595:9:20" + }, + { + "name": "offset", + "nativeSrc": "5606:6:20", + "nodeType": "YulIdentifier", + "src": "5606:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5591:3:20", + "nodeType": "YulIdentifier", + "src": "5591:3:20" + }, + "nativeSrc": "5591:22:20", + "nodeType": "YulFunctionCall", + "src": "5591:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5615:7:20", + "nodeType": "YulIdentifier", + "src": "5615:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "5570:20:20", + "nodeType": "YulIdentifier", + "src": "5570:20:20" + }, + "nativeSrc": "5570:53:20", + "nodeType": "YulFunctionCall", + "src": "5570:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "5560:6:20", + "nodeType": "YulIdentifier", + "src": "5560:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5643:118:20", + "nodeType": "YulBlock", + "src": "5643:118:20", + "statements": [ + { + "nativeSrc": "5658:16:20", + "nodeType": "YulVariableDeclaration", + "src": "5658:16:20", + "value": { + "kind": "number", + "nativeSrc": "5672:2:20", + "nodeType": "YulLiteral", + "src": "5672:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5662:6:20", + "nodeType": "YulTypedName", + "src": "5662:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5688:63:20", + "nodeType": "YulAssignment", + "src": "5688:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5723:9:20", + "nodeType": "YulIdentifier", + "src": "5723:9:20" + }, + { + "name": "offset", + "nativeSrc": "5734:6:20", + "nodeType": "YulIdentifier", + "src": "5734:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5719:3:20", + "nodeType": "YulIdentifier", + "src": "5719:3:20" + }, + "nativeSrc": "5719:22:20", + "nodeType": "YulFunctionCall", + "src": "5719:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5743:7:20", + "nodeType": "YulIdentifier", + "src": "5743:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "5698:20:20", + "nodeType": "YulIdentifier", + "src": "5698:20:20" + }, + "nativeSrc": "5698:53:20", + "nodeType": "YulFunctionCall", + "src": "5698:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "5688:6:20", + "nodeType": "YulIdentifier", + "src": "5688:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5771:118:20", + "nodeType": "YulBlock", + "src": "5771:118:20", + "statements": [ + { + "nativeSrc": "5786:16:20", + "nodeType": "YulVariableDeclaration", + "src": "5786:16:20", + "value": { + "kind": "number", + "nativeSrc": "5800:2:20", + "nodeType": "YulLiteral", + "src": "5800:2:20", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5790:6:20", + "nodeType": "YulTypedName", + "src": "5790:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "5816:63:20", + "nodeType": "YulAssignment", + "src": "5816:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5851:9:20", + "nodeType": "YulIdentifier", + "src": "5851:9:20" + }, + { + "name": "offset", + "nativeSrc": "5862:6:20", + "nodeType": "YulIdentifier", + "src": "5862:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5847:3:20", + "nodeType": "YulIdentifier", + "src": "5847:3:20" + }, + "nativeSrc": "5847:22:20", + "nodeType": "YulFunctionCall", + "src": "5847:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "5871:7:20", + "nodeType": "YulIdentifier", + "src": "5871:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "5826:20:20", + "nodeType": "YulIdentifier", + "src": "5826:20:20" + }, + "nativeSrc": "5826:53:20", + "nodeType": "YulFunctionCall", + "src": "5826:53:20" + }, + "variableNames": [ + { + "name": "value3", + "nativeSrc": "5816:6:20", + "nodeType": "YulIdentifier", + "src": "5816:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "5899:298:20", + "nodeType": "YulBlock", + "src": "5899:298:20", + "statements": [ + { + "nativeSrc": "5914:47:20", + "nodeType": "YulVariableDeclaration", + "src": "5914:47:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "5945:9:20", + "nodeType": "YulIdentifier", + "src": "5945:9:20" + }, + { + "kind": "number", + "nativeSrc": "5956:3:20", + "nodeType": "YulLiteral", + "src": "5956:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5941:3:20", + "nodeType": "YulIdentifier", + "src": "5941:3:20" + }, + "nativeSrc": "5941:19:20", + "nodeType": "YulFunctionCall", + "src": "5941:19:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "5928:12:20", + "nodeType": "YulIdentifier", + "src": "5928:12:20" + }, + "nativeSrc": "5928:33:20", + "nodeType": "YulFunctionCall", + "src": "5928:33:20" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "5918:6:20", + "nodeType": "YulTypedName", + "src": "5918:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "6008:83:20", + "nodeType": "YulBlock", + "src": "6008:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "6010:77:20", + "nodeType": "YulIdentifier", + "src": "6010:77:20" + }, + "nativeSrc": "6010:79:20", + "nodeType": "YulFunctionCall", + "src": "6010:79:20" + }, + "nativeSrc": "6010:79:20", + "nodeType": "YulExpressionStatement", + "src": "6010:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "5980:6:20", + "nodeType": "YulIdentifier", + "src": "5980:6:20" + }, + { + "kind": "number", + "nativeSrc": "5988:18:20", + "nodeType": "YulLiteral", + "src": "5988:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "5977:2:20", + "nodeType": "YulIdentifier", + "src": "5977:2:20" + }, + "nativeSrc": "5977:30:20", + "nodeType": "YulFunctionCall", + "src": "5977:30:20" + }, + "nativeSrc": "5974:117:20", + "nodeType": "YulIf", + "src": "5974:117:20" + }, + { + "nativeSrc": "6105:82:20", + "nodeType": "YulAssignment", + "src": "6105:82:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6159:9:20", + "nodeType": "YulIdentifier", + "src": "6159:9:20" + }, + { + "name": "offset", + "nativeSrc": "6170:6:20", + "nodeType": "YulIdentifier", + "src": "6170:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6155:3:20", + "nodeType": "YulIdentifier", + "src": "6155:3:20" + }, + "nativeSrc": "6155:22:20", + "nodeType": "YulFunctionCall", + "src": "6155:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6179:7:20", + "nodeType": "YulIdentifier", + "src": "6179:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_calldata_ptr", + "nativeSrc": "6123:31:20", + "nodeType": "YulIdentifier", + "src": "6123:31:20" + }, + "nativeSrc": "6123:64:20", + "nodeType": "YulFunctionCall", + "src": "6123:64:20" + }, + "variableNames": [ + { + "name": "value4", + "nativeSrc": "6105:6:20", + "nodeType": "YulIdentifier", + "src": "6105:6:20" + }, + { + "name": "value5", + "nativeSrc": "6113:6:20", + "nodeType": "YulIdentifier", + "src": "6113:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "6207:119:20", + "nodeType": "YulBlock", + "src": "6207:119:20", + "statements": [ + { + "nativeSrc": "6222:17:20", + "nodeType": "YulVariableDeclaration", + "src": "6222:17:20", + "value": { + "kind": "number", + "nativeSrc": "6236:3:20", + "nodeType": "YulLiteral", + "src": "6236:3:20", + "type": "", + "value": "160" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "6226:6:20", + "nodeType": "YulTypedName", + "src": "6226:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6253:63:20", + "nodeType": "YulAssignment", + "src": "6253:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6288:9:20", + "nodeType": "YulIdentifier", + "src": "6288:9:20" + }, + { + "name": "offset", + "nativeSrc": "6299:6:20", + "nodeType": "YulIdentifier", + "src": "6299:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6284:3:20", + "nodeType": "YulIdentifier", + "src": "6284:3:20" + }, + "nativeSrc": "6284:22:20", + "nodeType": "YulFunctionCall", + "src": "6284:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6308:7:20", + "nodeType": "YulIdentifier", + "src": "6308:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "6263:20:20", + "nodeType": "YulIdentifier", + "src": "6263:20:20" + }, + "nativeSrc": "6263:53:20", + "nodeType": "YulFunctionCall", + "src": "6263:53:20" + }, + "variableNames": [ + { + "name": "value6", + "nativeSrc": "6253:6:20", + "nodeType": "YulIdentifier", + "src": "6253:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "6336:119:20", + "nodeType": "YulBlock", + "src": "6336:119:20", + "statements": [ + { + "nativeSrc": "6351:17:20", + "nodeType": "YulVariableDeclaration", + "src": "6351:17:20", + "value": { + "kind": "number", + "nativeSrc": "6365:3:20", + "nodeType": "YulLiteral", + "src": "6365:3:20", + "type": "", + "value": "192" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "6355:6:20", + "nodeType": "YulTypedName", + "src": "6355:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6382:63:20", + "nodeType": "YulAssignment", + "src": "6382:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6417:9:20", + "nodeType": "YulIdentifier", + "src": "6417:9:20" + }, + { + "name": "offset", + "nativeSrc": "6428:6:20", + "nodeType": "YulIdentifier", + "src": "6428:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6413:3:20", + "nodeType": "YulIdentifier", + "src": "6413:3:20" + }, + "nativeSrc": "6413:22:20", + "nodeType": "YulFunctionCall", + "src": "6413:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6437:7:20", + "nodeType": "YulIdentifier", + "src": "6437:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "6392:20:20", + "nodeType": "YulIdentifier", + "src": "6392:20:20" + }, + "nativeSrc": "6392:53:20", + "nodeType": "YulFunctionCall", + "src": "6392:53:20" + }, + "variableNames": [ + { + "name": "value7", + "nativeSrc": "6382:6:20", + "nodeType": "YulIdentifier", + "src": "6382:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256t_addresst_addresst_addresst_bytes_calldata_ptrt_uint256t_uint256", + "nativeSrc": "5061:1401:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "5162:9:20", + "nodeType": "YulTypedName", + "src": "5162:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "5173:7:20", + "nodeType": "YulTypedName", + "src": "5173:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "5185:6:20", + "nodeType": "YulTypedName", + "src": "5185:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "5193:6:20", + "nodeType": "YulTypedName", + "src": "5193:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "5201:6:20", + "nodeType": "YulTypedName", + "src": "5201:6:20", + "type": "" + }, + { + "name": "value3", + "nativeSrc": "5209:6:20", + "nodeType": "YulTypedName", + "src": "5209:6:20", + "type": "" + }, + { + "name": "value4", + "nativeSrc": "5217:6:20", + "nodeType": "YulTypedName", + "src": "5217:6:20", + "type": "" + }, + { + "name": "value5", + "nativeSrc": "5225:6:20", + "nodeType": "YulTypedName", + "src": "5225:6:20", + "type": "" + }, + { + "name": "value6", + "nativeSrc": "5233:6:20", + "nodeType": "YulTypedName", + "src": "5233:6:20", + "type": "" + }, + { + "name": "value7", + "nativeSrc": "5241:6:20", + "nodeType": "YulTypedName", + "src": "5241:6:20", + "type": "" + } + ], + "src": "5061:1401:20" + }, + { + "body": { + "nativeSrc": "6534:263:20", + "nodeType": "YulBlock", + "src": "6534:263:20", + "statements": [ + { + "body": { + "nativeSrc": "6580:83:20", + "nodeType": "YulBlock", + "src": "6580:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "6582:77:20", + "nodeType": "YulIdentifier", + "src": "6582:77:20" + }, + "nativeSrc": "6582:79:20", + "nodeType": "YulFunctionCall", + "src": "6582:79:20" + }, + "nativeSrc": "6582:79:20", + "nodeType": "YulExpressionStatement", + "src": "6582:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "6555:7:20", + "nodeType": "YulIdentifier", + "src": "6555:7:20" + }, + { + "name": "headStart", + "nativeSrc": "6564:9:20", + "nodeType": "YulIdentifier", + "src": "6564:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "6551:3:20", + "nodeType": "YulIdentifier", + "src": "6551:3:20" + }, + "nativeSrc": "6551:23:20", + "nodeType": "YulFunctionCall", + "src": "6551:23:20" + }, + { + "kind": "number", + "nativeSrc": "6576:2:20", + "nodeType": "YulLiteral", + "src": "6576:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "6547:3:20", + "nodeType": "YulIdentifier", + "src": "6547:3:20" + }, + "nativeSrc": "6547:32:20", + "nodeType": "YulFunctionCall", + "src": "6547:32:20" + }, + "nativeSrc": "6544:119:20", + "nodeType": "YulIf", + "src": "6544:119:20" + }, + { + "nativeSrc": "6673:117:20", + "nodeType": "YulBlock", + "src": "6673:117:20", + "statements": [ + { + "nativeSrc": "6688:15:20", + "nodeType": "YulVariableDeclaration", + "src": "6688:15:20", + "value": { + "kind": "number", + "nativeSrc": "6702:1:20", + "nodeType": "YulLiteral", + "src": "6702:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "6692:6:20", + "nodeType": "YulTypedName", + "src": "6692:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "6717:63:20", + "nodeType": "YulAssignment", + "src": "6717:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "6752:9:20", + "nodeType": "YulIdentifier", + "src": "6752:9:20" + }, + { + "name": "offset", + "nativeSrc": "6763:6:20", + "nodeType": "YulIdentifier", + "src": "6763:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6748:3:20", + "nodeType": "YulIdentifier", + "src": "6748:3:20" + }, + "nativeSrc": "6748:22:20", + "nodeType": "YulFunctionCall", + "src": "6748:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "6772:7:20", + "nodeType": "YulIdentifier", + "src": "6772:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "6727:20:20", + "nodeType": "YulIdentifier", + "src": "6727:20:20" + }, + "nativeSrc": "6727:53:20", + "nodeType": "YulFunctionCall", + "src": "6727:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "6717:6:20", + "nodeType": "YulIdentifier", + "src": "6717:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nativeSrc": "6468:329:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "6504:9:20", + "nodeType": "YulTypedName", + "src": "6504:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "6515:7:20", + "nodeType": "YulTypedName", + "src": "6515:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "6527:6:20", + "nodeType": "YulTypedName", + "src": "6527:6:20", + "type": "" + } + ], + "src": "6468:329:20" + }, + { + "body": { + "nativeSrc": "6903:519:20", + "nodeType": "YulBlock", + "src": "6903:519:20", + "statements": [ + { + "body": { + "nativeSrc": "6949:83:20", + "nodeType": "YulBlock", + "src": "6949:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "6951:77:20", + "nodeType": "YulIdentifier", + "src": "6951:77:20" + }, + "nativeSrc": "6951:79:20", + "nodeType": "YulFunctionCall", + "src": "6951:79:20" + }, + "nativeSrc": "6951:79:20", + "nodeType": "YulExpressionStatement", + "src": "6951:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "6924:7:20", + "nodeType": "YulIdentifier", + "src": "6924:7:20" + }, + { + "name": "headStart", + "nativeSrc": "6933:9:20", + "nodeType": "YulIdentifier", + "src": "6933:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "6920:3:20", + "nodeType": "YulIdentifier", + "src": "6920:3:20" + }, + "nativeSrc": "6920:23:20", + "nodeType": "YulFunctionCall", + "src": "6920:23:20" + }, + { + "kind": "number", + "nativeSrc": "6945:2:20", + "nodeType": "YulLiteral", + "src": "6945:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "6916:3:20", + "nodeType": "YulIdentifier", + "src": "6916:3:20" + }, + "nativeSrc": "6916:32:20", + "nodeType": "YulFunctionCall", + "src": "6916:32:20" + }, + "nativeSrc": "6913:119:20", + "nodeType": "YulIf", + "src": "6913:119:20" + }, + { + "nativeSrc": "7042:117:20", + "nodeType": "YulBlock", + "src": "7042:117:20", + "statements": [ + { + "nativeSrc": "7057:15:20", + "nodeType": "YulVariableDeclaration", + "src": "7057:15:20", + "value": { + "kind": "number", + "nativeSrc": "7071:1:20", + "nodeType": "YulLiteral", + "src": "7071:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7061:6:20", + "nodeType": "YulTypedName", + "src": "7061:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7086:63:20", + "nodeType": "YulAssignment", + "src": "7086:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7121:9:20", + "nodeType": "YulIdentifier", + "src": "7121:9:20" + }, + { + "name": "offset", + "nativeSrc": "7132:6:20", + "nodeType": "YulIdentifier", + "src": "7132:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7117:3:20", + "nodeType": "YulIdentifier", + "src": "7117:3:20" + }, + "nativeSrc": "7117:22:20", + "nodeType": "YulFunctionCall", + "src": "7117:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7141:7:20", + "nodeType": "YulIdentifier", + "src": "7141:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "7096:20:20", + "nodeType": "YulIdentifier", + "src": "7096:20:20" + }, + "nativeSrc": "7096:53:20", + "nodeType": "YulFunctionCall", + "src": "7096:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "7086:6:20", + "nodeType": "YulIdentifier", + "src": "7086:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "7169:118:20", + "nodeType": "YulBlock", + "src": "7169:118:20", + "statements": [ + { + "nativeSrc": "7184:16:20", + "nodeType": "YulVariableDeclaration", + "src": "7184:16:20", + "value": { + "kind": "number", + "nativeSrc": "7198:2:20", + "nodeType": "YulLiteral", + "src": "7198:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7188:6:20", + "nodeType": "YulTypedName", + "src": "7188:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7214:63:20", + "nodeType": "YulAssignment", + "src": "7214:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7249:9:20", + "nodeType": "YulIdentifier", + "src": "7249:9:20" + }, + { + "name": "offset", + "nativeSrc": "7260:6:20", + "nodeType": "YulIdentifier", + "src": "7260:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7245:3:20", + "nodeType": "YulIdentifier", + "src": "7245:3:20" + }, + "nativeSrc": "7245:22:20", + "nodeType": "YulFunctionCall", + "src": "7245:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7269:7:20", + "nodeType": "YulIdentifier", + "src": "7269:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "7224:20:20", + "nodeType": "YulIdentifier", + "src": "7224:20:20" + }, + "nativeSrc": "7224:53:20", + "nodeType": "YulFunctionCall", + "src": "7224:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "7214:6:20", + "nodeType": "YulIdentifier", + "src": "7214:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "7297:118:20", + "nodeType": "YulBlock", + "src": "7297:118:20", + "statements": [ + { + "nativeSrc": "7312:16:20", + "nodeType": "YulVariableDeclaration", + "src": "7312:16:20", + "value": { + "kind": "number", + "nativeSrc": "7326:2:20", + "nodeType": "YulLiteral", + "src": "7326:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7316:6:20", + "nodeType": "YulTypedName", + "src": "7316:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7342:63:20", + "nodeType": "YulAssignment", + "src": "7342:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7377:9:20", + "nodeType": "YulIdentifier", + "src": "7377:9:20" + }, + { + "name": "offset", + "nativeSrc": "7388:6:20", + "nodeType": "YulIdentifier", + "src": "7388:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7373:3:20", + "nodeType": "YulIdentifier", + "src": "7373:3:20" + }, + "nativeSrc": "7373:22:20", + "nodeType": "YulFunctionCall", + "src": "7373:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7397:7:20", + "nodeType": "YulIdentifier", + "src": "7397:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "7352:20:20", + "nodeType": "YulIdentifier", + "src": "7352:20:20" + }, + "nativeSrc": "7352:53:20", + "nodeType": "YulFunctionCall", + "src": "7352:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "7342:6:20", + "nodeType": "YulIdentifier", + "src": "7342:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_address", + "nativeSrc": "6803:619:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "6857:9:20", + "nodeType": "YulTypedName", + "src": "6857:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "6868:7:20", + "nodeType": "YulTypedName", + "src": "6868:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "6880:6:20", + "nodeType": "YulTypedName", + "src": "6880:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "6888:6:20", + "nodeType": "YulTypedName", + "src": "6888:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "6896:6:20", + "nodeType": "YulTypedName", + "src": "6896:6:20", + "type": "" + } + ], + "src": "6803:619:20" + }, + { + "body": { + "nativeSrc": "7491:80:20", + "nodeType": "YulBlock", + "src": "7491:80:20", + "statements": [ + { + "nativeSrc": "7501:22:20", + "nodeType": "YulAssignment", + "src": "7501:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "7516:6:20", + "nodeType": "YulIdentifier", + "src": "7516:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "7510:5:20", + "nodeType": "YulIdentifier", + "src": "7510:5:20" + }, + "nativeSrc": "7510:13:20", + "nodeType": "YulFunctionCall", + "src": "7510:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "7501:5:20", + "nodeType": "YulIdentifier", + "src": "7501:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "7559:5:20", + "nodeType": "YulIdentifier", + "src": "7559:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "7532:26:20", + "nodeType": "YulIdentifier", + "src": "7532:26:20" + }, + "nativeSrc": "7532:33:20", + "nodeType": "YulFunctionCall", + "src": "7532:33:20" + }, + "nativeSrc": "7532:33:20", + "nodeType": "YulExpressionStatement", + "src": "7532:33:20" + } + ] + }, + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "7428:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "7469:6:20", + "nodeType": "YulTypedName", + "src": "7469:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "7477:3:20", + "nodeType": "YulTypedName", + "src": "7477:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "7485:5:20", + "nodeType": "YulTypedName", + "src": "7485:5:20", + "type": "" + } + ], + "src": "7428:143:20" + }, + { + "body": { + "nativeSrc": "7654:274:20", + "nodeType": "YulBlock", + "src": "7654:274:20", + "statements": [ + { + "body": { + "nativeSrc": "7700:83:20", + "nodeType": "YulBlock", + "src": "7700:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "7702:77:20", + "nodeType": "YulIdentifier", + "src": "7702:77:20" + }, + "nativeSrc": "7702:79:20", + "nodeType": "YulFunctionCall", + "src": "7702:79:20" + }, + "nativeSrc": "7702:79:20", + "nodeType": "YulExpressionStatement", + "src": "7702:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "7675:7:20", + "nodeType": "YulIdentifier", + "src": "7675:7:20" + }, + { + "name": "headStart", + "nativeSrc": "7684:9:20", + "nodeType": "YulIdentifier", + "src": "7684:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "7671:3:20", + "nodeType": "YulIdentifier", + "src": "7671:3:20" + }, + "nativeSrc": "7671:23:20", + "nodeType": "YulFunctionCall", + "src": "7671:23:20" + }, + { + "kind": "number", + "nativeSrc": "7696:2:20", + "nodeType": "YulLiteral", + "src": "7696:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "7667:3:20", + "nodeType": "YulIdentifier", + "src": "7667:3:20" + }, + "nativeSrc": "7667:32:20", + "nodeType": "YulFunctionCall", + "src": "7667:32:20" + }, + "nativeSrc": "7664:119:20", + "nodeType": "YulIf", + "src": "7664:119:20" + }, + { + "nativeSrc": "7793:128:20", + "nodeType": "YulBlock", + "src": "7793:128:20", + "statements": [ + { + "nativeSrc": "7808:15:20", + "nodeType": "YulVariableDeclaration", + "src": "7808:15:20", + "value": { + "kind": "number", + "nativeSrc": "7822:1:20", + "nodeType": "YulLiteral", + "src": "7822:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "7812:6:20", + "nodeType": "YulTypedName", + "src": "7812:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "7837:74:20", + "nodeType": "YulAssignment", + "src": "7837:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "7883:9:20", + "nodeType": "YulIdentifier", + "src": "7883:9:20" + }, + { + "name": "offset", + "nativeSrc": "7894:6:20", + "nodeType": "YulIdentifier", + "src": "7894:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7879:3:20", + "nodeType": "YulIdentifier", + "src": "7879:3:20" + }, + "nativeSrc": "7879:22:20", + "nodeType": "YulFunctionCall", + "src": "7879:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "7903:7:20", + "nodeType": "YulIdentifier", + "src": "7903:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address_fromMemory", + "nativeSrc": "7847:31:20", + "nodeType": "YulIdentifier", + "src": "7847:31:20" + }, + "nativeSrc": "7847:64:20", + "nodeType": "YulFunctionCall", + "src": "7847:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "7837:6:20", + "nodeType": "YulIdentifier", + "src": "7837:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nativeSrc": "7577:351:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "7624:9:20", + "nodeType": "YulTypedName", + "src": "7624:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "7635:7:20", + "nodeType": "YulTypedName", + "src": "7635:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "7647:6:20", + "nodeType": "YulTypedName", + "src": "7647:6:20", + "type": "" + } + ], + "src": "7577:351:20" + }, + { + "body": { + "nativeSrc": "7997:80:20", + "nodeType": "YulBlock", + "src": "7997:80:20", + "statements": [ + { + "nativeSrc": "8007:22:20", + "nodeType": "YulAssignment", + "src": "8007:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "8022:6:20", + "nodeType": "YulIdentifier", + "src": "8022:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "8016:5:20", + "nodeType": "YulIdentifier", + "src": "8016:5:20" + }, + "nativeSrc": "8016:13:20", + "nodeType": "YulFunctionCall", + "src": "8016:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "8007:5:20", + "nodeType": "YulIdentifier", + "src": "8007:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "8065:5:20", + "nodeType": "YulIdentifier", + "src": "8065:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_uint256", + "nativeSrc": "8038:26:20", + "nodeType": "YulIdentifier", + "src": "8038:26:20" + }, + "nativeSrc": "8038:33:20", + "nodeType": "YulFunctionCall", + "src": "8038:33:20" + }, + "nativeSrc": "8038:33:20", + "nodeType": "YulExpressionStatement", + "src": "8038:33:20" + } + ] + }, + "name": "abi_decode_t_uint256_fromMemory", + "nativeSrc": "7934:143:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "7975:6:20", + "nodeType": "YulTypedName", + "src": "7975:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "7983:3:20", + "nodeType": "YulTypedName", + "src": "7983:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "7991:5:20", + "nodeType": "YulTypedName", + "src": "7991:5:20", + "type": "" + } + ], + "src": "7934:143:20" + }, + { + "body": { + "nativeSrc": "8160:274:20", + "nodeType": "YulBlock", + "src": "8160:274:20", + "statements": [ + { + "body": { + "nativeSrc": "8206:83:20", + "nodeType": "YulBlock", + "src": "8206:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "8208:77:20", + "nodeType": "YulIdentifier", + "src": "8208:77:20" + }, + "nativeSrc": "8208:79:20", + "nodeType": "YulFunctionCall", + "src": "8208:79:20" + }, + "nativeSrc": "8208:79:20", + "nodeType": "YulExpressionStatement", + "src": "8208:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "8181:7:20", + "nodeType": "YulIdentifier", + "src": "8181:7:20" + }, + { + "name": "headStart", + "nativeSrc": "8190:9:20", + "nodeType": "YulIdentifier", + "src": "8190:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "8177:3:20", + "nodeType": "YulIdentifier", + "src": "8177:3:20" + }, + "nativeSrc": "8177:23:20", + "nodeType": "YulFunctionCall", + "src": "8177:23:20" + }, + { + "kind": "number", + "nativeSrc": "8202:2:20", + "nodeType": "YulLiteral", + "src": "8202:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "8173:3:20", + "nodeType": "YulIdentifier", + "src": "8173:3:20" + }, + "nativeSrc": "8173:32:20", + "nodeType": "YulFunctionCall", + "src": "8173:32:20" + }, + "nativeSrc": "8170:119:20", + "nodeType": "YulIf", + "src": "8170:119:20" + }, + { + "nativeSrc": "8299:128:20", + "nodeType": "YulBlock", + "src": "8299:128:20", + "statements": [ + { + "nativeSrc": "8314:15:20", + "nodeType": "YulVariableDeclaration", + "src": "8314:15:20", + "value": { + "kind": "number", + "nativeSrc": "8328:1:20", + "nodeType": "YulLiteral", + "src": "8328:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "8318:6:20", + "nodeType": "YulTypedName", + "src": "8318:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "8343:74:20", + "nodeType": "YulAssignment", + "src": "8343:74:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "8389:9:20", + "nodeType": "YulIdentifier", + "src": "8389:9:20" + }, + { + "name": "offset", + "nativeSrc": "8400:6:20", + "nodeType": "YulIdentifier", + "src": "8400:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "8385:3:20", + "nodeType": "YulIdentifier", + "src": "8385:3:20" + }, + "nativeSrc": "8385:22:20", + "nodeType": "YulFunctionCall", + "src": "8385:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "8409:7:20", + "nodeType": "YulIdentifier", + "src": "8409:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256_fromMemory", + "nativeSrc": "8353:31:20", + "nodeType": "YulIdentifier", + "src": "8353:31:20" + }, + "nativeSrc": "8353:64:20", + "nodeType": "YulFunctionCall", + "src": "8353:64:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "8343:6:20", + "nodeType": "YulIdentifier", + "src": "8343:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nativeSrc": "8083:351:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "8130:9:20", + "nodeType": "YulTypedName", + "src": "8130:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "8141:7:20", + "nodeType": "YulTypedName", + "src": "8141:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "8153:6:20", + "nodeType": "YulTypedName", + "src": "8153:6:20", + "type": "" + } + ], + "src": "8083:351:20" + }, + { + "body": { + "nativeSrc": "8482:48:20", + "nodeType": "YulBlock", + "src": "8482:48:20", + "statements": [ + { + "nativeSrc": "8492:32:20", + "nodeType": "YulAssignment", + "src": "8492:32:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "8517:5:20", + "nodeType": "YulIdentifier", + "src": "8517:5:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8510:6:20", + "nodeType": "YulIdentifier", + "src": "8510:6:20" + }, + "nativeSrc": "8510:13:20", + "nodeType": "YulFunctionCall", + "src": "8510:13:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8503:6:20", + "nodeType": "YulIdentifier", + "src": "8503:6:20" + }, + "nativeSrc": "8503:21:20", + "nodeType": "YulFunctionCall", + "src": "8503:21:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "8492:7:20", + "nodeType": "YulIdentifier", + "src": "8492:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_bool", + "nativeSrc": "8440:90:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "8464:5:20", + "nodeType": "YulTypedName", + "src": "8464:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "8474:7:20", + "nodeType": "YulTypedName", + "src": "8474:7:20", + "type": "" + } + ], + "src": "8440:90:20" + }, + { + "body": { + "nativeSrc": "8576:76:20", + "nodeType": "YulBlock", + "src": "8576:76:20", + "statements": [ + { + "body": { + "nativeSrc": "8630:16:20", + "nodeType": "YulBlock", + "src": "8630:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "8639:1:20", + "nodeType": "YulLiteral", + "src": "8639:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "8642:1:20", + "nodeType": "YulLiteral", + "src": "8642:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "8632:6:20", + "nodeType": "YulIdentifier", + "src": "8632:6:20" + }, + "nativeSrc": "8632:12:20", + "nodeType": "YulFunctionCall", + "src": "8632:12:20" + }, + "nativeSrc": "8632:12:20", + "nodeType": "YulExpressionStatement", + "src": "8632:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "8599:5:20", + "nodeType": "YulIdentifier", + "src": "8599:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "8621:5:20", + "nodeType": "YulIdentifier", + "src": "8621:5:20" + } + ], + "functionName": { + "name": "cleanup_t_bool", + "nativeSrc": "8606:14:20", + "nodeType": "YulIdentifier", + "src": "8606:14:20" + }, + "nativeSrc": "8606:21:20", + "nodeType": "YulFunctionCall", + "src": "8606:21:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "8596:2:20", + "nodeType": "YulIdentifier", + "src": "8596:2:20" + }, + "nativeSrc": "8596:32:20", + "nodeType": "YulFunctionCall", + "src": "8596:32:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8589:6:20", + "nodeType": "YulIdentifier", + "src": "8589:6:20" + }, + "nativeSrc": "8589:40:20", + "nodeType": "YulFunctionCall", + "src": "8589:40:20" + }, + "nativeSrc": "8586:60:20", + "nodeType": "YulIf", + "src": "8586:60:20" + } + ] + }, + "name": "validator_revert_t_bool", + "nativeSrc": "8536:116:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "8569:5:20", + "nodeType": "YulTypedName", + "src": "8569:5:20", + "type": "" + } + ], + "src": "8536:116:20" + }, + { + "body": { + "nativeSrc": "8718:77:20", + "nodeType": "YulBlock", + "src": "8718:77:20", + "statements": [ + { + "nativeSrc": "8728:22:20", + "nodeType": "YulAssignment", + "src": "8728:22:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "8743:6:20", + "nodeType": "YulIdentifier", + "src": "8743:6:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "8737:5:20", + "nodeType": "YulIdentifier", + "src": "8737:5:20" + }, + "nativeSrc": "8737:13:20", + "nodeType": "YulFunctionCall", + "src": "8737:13:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "8728:5:20", + "nodeType": "YulIdentifier", + "src": "8728:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "8783:5:20", + "nodeType": "YulIdentifier", + "src": "8783:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_bool", + "nativeSrc": "8759:23:20", + "nodeType": "YulIdentifier", + "src": "8759:23:20" + }, + "nativeSrc": "8759:30:20", + "nodeType": "YulFunctionCall", + "src": "8759:30:20" + }, + "nativeSrc": "8759:30:20", + "nodeType": "YulExpressionStatement", + "src": "8759:30:20" + } + ] + }, + "name": "abi_decode_t_bool_fromMemory", + "nativeSrc": "8658:137:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "8696:6:20", + "nodeType": "YulTypedName", + "src": "8696:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "8704:3:20", + "nodeType": "YulTypedName", + "src": "8704:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "8712:5:20", + "nodeType": "YulTypedName", + "src": "8712:5:20", + "type": "" + } + ], + "src": "8658:137:20" + }, + { + "body": { + "nativeSrc": "8875:271:20", + "nodeType": "YulBlock", + "src": "8875:271:20", + "statements": [ + { + "body": { + "nativeSrc": "8921:83:20", + "nodeType": "YulBlock", + "src": "8921:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "8923:77:20", + "nodeType": "YulIdentifier", + "src": "8923:77:20" + }, + "nativeSrc": "8923:79:20", + "nodeType": "YulFunctionCall", + "src": "8923:79:20" + }, + "nativeSrc": "8923:79:20", + "nodeType": "YulExpressionStatement", + "src": "8923:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "8896:7:20", + "nodeType": "YulIdentifier", + "src": "8896:7:20" + }, + { + "name": "headStart", + "nativeSrc": "8905:9:20", + "nodeType": "YulIdentifier", + "src": "8905:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "8892:3:20", + "nodeType": "YulIdentifier", + "src": "8892:3:20" + }, + "nativeSrc": "8892:23:20", + "nodeType": "YulFunctionCall", + "src": "8892:23:20" + }, + { + "kind": "number", + "nativeSrc": "8917:2:20", + "nodeType": "YulLiteral", + "src": "8917:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "8888:3:20", + "nodeType": "YulIdentifier", + "src": "8888:3:20" + }, + "nativeSrc": "8888:32:20", + "nodeType": "YulFunctionCall", + "src": "8888:32:20" + }, + "nativeSrc": "8885:119:20", + "nodeType": "YulIf", + "src": "8885:119:20" + }, + { + "nativeSrc": "9014:125:20", + "nodeType": "YulBlock", + "src": "9014:125:20", + "statements": [ + { + "nativeSrc": "9029:15:20", + "nodeType": "YulVariableDeclaration", + "src": "9029:15:20", + "value": { + "kind": "number", + "nativeSrc": "9043:1:20", + "nodeType": "YulLiteral", + "src": "9043:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "9033:6:20", + "nodeType": "YulTypedName", + "src": "9033:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "9058:71:20", + "nodeType": "YulAssignment", + "src": "9058:71:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "9101:9:20", + "nodeType": "YulIdentifier", + "src": "9101:9:20" + }, + { + "name": "offset", + "nativeSrc": "9112:6:20", + "nodeType": "YulIdentifier", + "src": "9112:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9097:3:20", + "nodeType": "YulIdentifier", + "src": "9097:3:20" + }, + "nativeSrc": "9097:22:20", + "nodeType": "YulFunctionCall", + "src": "9097:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "9121:7:20", + "nodeType": "YulIdentifier", + "src": "9121:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_bool_fromMemory", + "nativeSrc": "9068:28:20", + "nodeType": "YulIdentifier", + "src": "9068:28:20" + }, + "nativeSrc": "9068:61:20", + "nodeType": "YulFunctionCall", + "src": "9068:61:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "9058:6:20", + "nodeType": "YulIdentifier", + "src": "9058:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nativeSrc": "8801:345:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "8845:9:20", + "nodeType": "YulTypedName", + "src": "8845:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "8856:7:20", + "nodeType": "YulTypedName", + "src": "8856:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "8868:6:20", + "nodeType": "YulTypedName", + "src": "8868:6:20", + "type": "" + } + ], + "src": "8801:345:20" + }, + { + "body": { + "nativeSrc": "9248:73:20", + "nodeType": "YulBlock", + "src": "9248:73:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9265:3:20", + "nodeType": "YulIdentifier", + "src": "9265:3:20" + }, + { + "name": "length", + "nativeSrc": "9270:6:20", + "nodeType": "YulIdentifier", + "src": "9270:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "9258:6:20", + "nodeType": "YulIdentifier", + "src": "9258:6:20" + }, + "nativeSrc": "9258:19:20", + "nodeType": "YulFunctionCall", + "src": "9258:19:20" + }, + "nativeSrc": "9258:19:20", + "nodeType": "YulExpressionStatement", + "src": "9258:19:20" + }, + { + "nativeSrc": "9286:29:20", + "nodeType": "YulAssignment", + "src": "9286:29:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9305:3:20", + "nodeType": "YulIdentifier", + "src": "9305:3:20" + }, + { + "kind": "number", + "nativeSrc": "9310:4:20", + "nodeType": "YulLiteral", + "src": "9310:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9301:3:20", + "nodeType": "YulIdentifier", + "src": "9301:3:20" + }, + "nativeSrc": "9301:14:20", + "nodeType": "YulFunctionCall", + "src": "9301:14:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "9286:11:20", + "nodeType": "YulIdentifier", + "src": "9286:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "9152:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "9220:3:20", + "nodeType": "YulTypedName", + "src": "9220:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "9225:6:20", + "nodeType": "YulTypedName", + "src": "9225:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "9236:11:20", + "nodeType": "YulTypedName", + "src": "9236:11:20", + "type": "" + } + ], + "src": "9152:169:20" + }, + { + "body": { + "nativeSrc": "9433:72:20", + "nodeType": "YulBlock", + "src": "9433:72:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "9455:6:20", + "nodeType": "YulIdentifier", + "src": "9455:6:20" + }, + { + "kind": "number", + "nativeSrc": "9463:1:20", + "nodeType": "YulLiteral", + "src": "9463:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9451:3:20", + "nodeType": "YulIdentifier", + "src": "9451:3:20" + }, + "nativeSrc": "9451:14:20", + "nodeType": "YulFunctionCall", + "src": "9451:14:20" + }, + { + "hexValue": "43616c6c6572206973206e6f742061206c6f636b206d616e61676572", + "kind": "string", + "nativeSrc": "9467:30:20", + "nodeType": "YulLiteral", + "src": "9467:30:20", + "type": "", + "value": "Caller is not a lock manager" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "9444:6:20", + "nodeType": "YulIdentifier", + "src": "9444:6:20" + }, + "nativeSrc": "9444:54:20", + "nodeType": "YulFunctionCall", + "src": "9444:54:20" + }, + "nativeSrc": "9444:54:20", + "nodeType": "YulExpressionStatement", + "src": "9444:54:20" + } + ] + }, + "name": "store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "nativeSrc": "9327:178:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "9425:6:20", + "nodeType": "YulTypedName", + "src": "9425:6:20", + "type": "" + } + ], + "src": "9327:178:20" + }, + { + "body": { + "nativeSrc": "9657:220:20", + "nodeType": "YulBlock", + "src": "9657:220:20", + "statements": [ + { + "nativeSrc": "9667:74:20", + "nodeType": "YulAssignment", + "src": "9667:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9733:3:20", + "nodeType": "YulIdentifier", + "src": "9733:3:20" + }, + { + "kind": "number", + "nativeSrc": "9738:2:20", + "nodeType": "YulLiteral", + "src": "9738:2:20", + "type": "", + "value": "28" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "9674:58:20", + "nodeType": "YulIdentifier", + "src": "9674:58:20" + }, + "nativeSrc": "9674:67:20", + "nodeType": "YulFunctionCall", + "src": "9674:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "9667:3:20", + "nodeType": "YulIdentifier", + "src": "9667:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9839:3:20", + "nodeType": "YulIdentifier", + "src": "9839:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d", + "nativeSrc": "9750:88:20", + "nodeType": "YulIdentifier", + "src": "9750:88:20" + }, + "nativeSrc": "9750:93:20", + "nodeType": "YulFunctionCall", + "src": "9750:93:20" + }, + "nativeSrc": "9750:93:20", + "nodeType": "YulExpressionStatement", + "src": "9750:93:20" + }, + { + "nativeSrc": "9852:19:20", + "nodeType": "YulAssignment", + "src": "9852:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9863:3:20", + "nodeType": "YulIdentifier", + "src": "9863:3:20" + }, + { + "kind": "number", + "nativeSrc": "9868:2:20", + "nodeType": "YulLiteral", + "src": "9868:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9859:3:20", + "nodeType": "YulIdentifier", + "src": "9859:3:20" + }, + "nativeSrc": "9859:12:20", + "nodeType": "YulFunctionCall", + "src": "9859:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "9852:3:20", + "nodeType": "YulIdentifier", + "src": "9852:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack", + "nativeSrc": "9511:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "9645:3:20", + "nodeType": "YulTypedName", + "src": "9645:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "9653:3:20", + "nodeType": "YulTypedName", + "src": "9653:3:20", + "type": "" + } + ], + "src": "9511:366:20" + }, + { + "body": { + "nativeSrc": "10054:248:20", + "nodeType": "YulBlock", + "src": "10054:248:20", + "statements": [ + { + "nativeSrc": "10064:26:20", + "nodeType": "YulAssignment", + "src": "10064:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "10076:9:20", + "nodeType": "YulIdentifier", + "src": "10076:9:20" + }, + { + "kind": "number", + "nativeSrc": "10087:2:20", + "nodeType": "YulLiteral", + "src": "10087:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10072:3:20", + "nodeType": "YulIdentifier", + "src": "10072:3:20" + }, + "nativeSrc": "10072:18:20", + "nodeType": "YulFunctionCall", + "src": "10072:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "10064:4:20", + "nodeType": "YulIdentifier", + "src": "10064:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "10111:9:20", + "nodeType": "YulIdentifier", + "src": "10111:9:20" + }, + { + "kind": "number", + "nativeSrc": "10122:1:20", + "nodeType": "YulLiteral", + "src": "10122:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10107:3:20", + "nodeType": "YulIdentifier", + "src": "10107:3:20" + }, + "nativeSrc": "10107:17:20", + "nodeType": "YulFunctionCall", + "src": "10107:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "10130:4:20", + "nodeType": "YulIdentifier", + "src": "10130:4:20" + }, + { + "name": "headStart", + "nativeSrc": "10136:9:20", + "nodeType": "YulIdentifier", + "src": "10136:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "10126:3:20", + "nodeType": "YulIdentifier", + "src": "10126:3:20" + }, + "nativeSrc": "10126:20:20", + "nodeType": "YulFunctionCall", + "src": "10126:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10100:6:20", + "nodeType": "YulIdentifier", + "src": "10100:6:20" + }, + "nativeSrc": "10100:47:20", + "nodeType": "YulFunctionCall", + "src": "10100:47:20" + }, + "nativeSrc": "10100:47:20", + "nodeType": "YulExpressionStatement", + "src": "10100:47:20" + }, + { + "nativeSrc": "10156:139:20", + "nodeType": "YulAssignment", + "src": "10156:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "10290:4:20", + "nodeType": "YulIdentifier", + "src": "10290:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack", + "nativeSrc": "10164:124:20", + "nodeType": "YulIdentifier", + "src": "10164:124:20" + }, + "nativeSrc": "10164:131:20", + "nodeType": "YulFunctionCall", + "src": "10164:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "10156:4:20", + "nodeType": "YulIdentifier", + "src": "10156:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "9883:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "10034:9:20", + "nodeType": "YulTypedName", + "src": "10034:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "10049:4:20", + "nodeType": "YulTypedName", + "src": "10049:4:20", + "type": "" + } + ], + "src": "9883:419:20" + }, + { + "body": { + "nativeSrc": "10336:152:20", + "nodeType": "YulBlock", + "src": "10336:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "10353:1:20", + "nodeType": "YulLiteral", + "src": "10353:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "10356:77:20", + "nodeType": "YulLiteral", + "src": "10356:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10346:6:20", + "nodeType": "YulIdentifier", + "src": "10346:6:20" + }, + "nativeSrc": "10346:88:20", + "nodeType": "YulFunctionCall", + "src": "10346:88:20" + }, + "nativeSrc": "10346:88:20", + "nodeType": "YulExpressionStatement", + "src": "10346:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "10450:1:20", + "nodeType": "YulLiteral", + "src": "10450:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "10453:4:20", + "nodeType": "YulLiteral", + "src": "10453:4:20", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10443:6:20", + "nodeType": "YulIdentifier", + "src": "10443:6:20" + }, + "nativeSrc": "10443:15:20", + "nodeType": "YulFunctionCall", + "src": "10443:15:20" + }, + "nativeSrc": "10443:15:20", + "nodeType": "YulExpressionStatement", + "src": "10443:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "10474:1:20", + "nodeType": "YulLiteral", + "src": "10474:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "10477:4:20", + "nodeType": "YulLiteral", + "src": "10477:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "10467:6:20", + "nodeType": "YulIdentifier", + "src": "10467:6:20" + }, + "nativeSrc": "10467:15:20", + "nodeType": "YulFunctionCall", + "src": "10467:15:20" + }, + "nativeSrc": "10467:15:20", + "nodeType": "YulExpressionStatement", + "src": "10467:15:20" + } + ] + }, + "name": "panic_error_0x32", + "nativeSrc": "10308:180:20", + "nodeType": "YulFunctionDefinition", + "src": "10308:180:20" + }, + { + "body": { + "nativeSrc": "10600:63:20", + "nodeType": "YulBlock", + "src": "10600:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10622:6:20", + "nodeType": "YulIdentifier", + "src": "10622:6:20" + }, + { + "kind": "number", + "nativeSrc": "10630:1:20", + "nodeType": "YulLiteral", + "src": "10630:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10618:3:20", + "nodeType": "YulIdentifier", + "src": "10618:3:20" + }, + "nativeSrc": "10618:14:20", + "nodeType": "YulFunctionCall", + "src": "10618:14:20" + }, + { + "hexValue": "4e6f20726566756e6420617661696c61626c65", + "kind": "string", + "nativeSrc": "10634:21:20", + "nodeType": "YulLiteral", + "src": "10634:21:20", + "type": "", + "value": "No refund available" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10611:6:20", + "nodeType": "YulIdentifier", + "src": "10611:6:20" + }, + "nativeSrc": "10611:45:20", + "nodeType": "YulFunctionCall", + "src": "10611:45:20" + }, + "nativeSrc": "10611:45:20", + "nodeType": "YulExpressionStatement", + "src": "10611:45:20" + } + ] + }, + "name": "store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "nativeSrc": "10494:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "10592:6:20", + "nodeType": "YulTypedName", + "src": "10592:6:20", + "type": "" + } + ], + "src": "10494:169:20" + }, + { + "body": { + "nativeSrc": "10815:220:20", + "nodeType": "YulBlock", + "src": "10815:220:20", + "statements": [ + { + "nativeSrc": "10825:74:20", + "nodeType": "YulAssignment", + "src": "10825:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "10891:3:20", + "nodeType": "YulIdentifier", + "src": "10891:3:20" + }, + { + "kind": "number", + "nativeSrc": "10896:2:20", + "nodeType": "YulLiteral", + "src": "10896:2:20", + "type": "", + "value": "19" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "10832:58:20", + "nodeType": "YulIdentifier", + "src": "10832:58:20" + }, + "nativeSrc": "10832:67:20", + "nodeType": "YulFunctionCall", + "src": "10832:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "10825:3:20", + "nodeType": "YulIdentifier", + "src": "10825:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "10997:3:20", + "nodeType": "YulIdentifier", + "src": "10997:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71", + "nativeSrc": "10908:88:20", + "nodeType": "YulIdentifier", + "src": "10908:88:20" + }, + "nativeSrc": "10908:93:20", + "nodeType": "YulFunctionCall", + "src": "10908:93:20" + }, + "nativeSrc": "10908:93:20", + "nodeType": "YulExpressionStatement", + "src": "10908:93:20" + }, + { + "nativeSrc": "11010:19:20", + "nodeType": "YulAssignment", + "src": "11010:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11021:3:20", + "nodeType": "YulIdentifier", + "src": "11021:3:20" + }, + { + "kind": "number", + "nativeSrc": "11026:2:20", + "nodeType": "YulLiteral", + "src": "11026:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11017:3:20", + "nodeType": "YulIdentifier", + "src": "11017:3:20" + }, + "nativeSrc": "11017:12:20", + "nodeType": "YulFunctionCall", + "src": "11017:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "11010:3:20", + "nodeType": "YulIdentifier", + "src": "11010:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack", + "nativeSrc": "10669:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "10803:3:20", + "nodeType": "YulTypedName", + "src": "10803:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "10811:3:20", + "nodeType": "YulTypedName", + "src": "10811:3:20", + "type": "" + } + ], + "src": "10669:366:20" + }, + { + "body": { + "nativeSrc": "11212:248:20", + "nodeType": "YulBlock", + "src": "11212:248:20", + "statements": [ + { + "nativeSrc": "11222:26:20", + "nodeType": "YulAssignment", + "src": "11222:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "11234:9:20", + "nodeType": "YulIdentifier", + "src": "11234:9:20" + }, + { + "kind": "number", + "nativeSrc": "11245:2:20", + "nodeType": "YulLiteral", + "src": "11245:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11230:3:20", + "nodeType": "YulIdentifier", + "src": "11230:3:20" + }, + "nativeSrc": "11230:18:20", + "nodeType": "YulFunctionCall", + "src": "11230:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "11222:4:20", + "nodeType": "YulIdentifier", + "src": "11222:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "11269:9:20", + "nodeType": "YulIdentifier", + "src": "11269:9:20" + }, + { + "kind": "number", + "nativeSrc": "11280:1:20", + "nodeType": "YulLiteral", + "src": "11280:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11265:3:20", + "nodeType": "YulIdentifier", + "src": "11265:3:20" + }, + "nativeSrc": "11265:17:20", + "nodeType": "YulFunctionCall", + "src": "11265:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "11288:4:20", + "nodeType": "YulIdentifier", + "src": "11288:4:20" + }, + { + "name": "headStart", + "nativeSrc": "11294:9:20", + "nodeType": "YulIdentifier", + "src": "11294:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "11284:3:20", + "nodeType": "YulIdentifier", + "src": "11284:3:20" + }, + "nativeSrc": "11284:20:20", + "nodeType": "YulFunctionCall", + "src": "11284:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11258:6:20", + "nodeType": "YulIdentifier", + "src": "11258:6:20" + }, + "nativeSrc": "11258:47:20", + "nodeType": "YulFunctionCall", + "src": "11258:47:20" + }, + "nativeSrc": "11258:47:20", + "nodeType": "YulExpressionStatement", + "src": "11258:47:20" + }, + { + "nativeSrc": "11314:139:20", + "nodeType": "YulAssignment", + "src": "11314:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "11448:4:20", + "nodeType": "YulIdentifier", + "src": "11448:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack", + "nativeSrc": "11322:124:20", + "nodeType": "YulIdentifier", + "src": "11322:124:20" + }, + "nativeSrc": "11322:131:20", + "nodeType": "YulFunctionCall", + "src": "11322:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "11314:4:20", + "nodeType": "YulIdentifier", + "src": "11314:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "11041:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "11192:9:20", + "nodeType": "YulTypedName", + "src": "11192:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "11207:4:20", + "nodeType": "YulTypedName", + "src": "11207:4:20", + "type": "" + } + ], + "src": "11041:419:20" + }, + { + "body": { + "nativeSrc": "11572:68:20", + "nodeType": "YulBlock", + "src": "11572:68:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11594:6:20", + "nodeType": "YulIdentifier", + "src": "11594:6:20" + }, + { + "kind": "number", + "nativeSrc": "11602:1:20", + "nodeType": "YulLiteral", + "src": "11602:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11590:3:20", + "nodeType": "YulIdentifier", + "src": "11590:3:20" + }, + "nativeSrc": "11590:14:20", + "nodeType": "YulFunctionCall", + "src": "11590:14:20" + }, + { + "hexValue": "526566756e64206e6f7420617661696c61626c6520796574", + "kind": "string", + "nativeSrc": "11606:26:20", + "nodeType": "YulLiteral", + "src": "11606:26:20", + "type": "", + "value": "Refund not available yet" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11583:6:20", + "nodeType": "YulIdentifier", + "src": "11583:6:20" + }, + "nativeSrc": "11583:50:20", + "nodeType": "YulFunctionCall", + "src": "11583:50:20" + }, + "nativeSrc": "11583:50:20", + "nodeType": "YulExpressionStatement", + "src": "11583:50:20" + } + ] + }, + "name": "store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "nativeSrc": "11466:174:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "11564:6:20", + "nodeType": "YulTypedName", + "src": "11564:6:20", + "type": "" + } + ], + "src": "11466:174:20" + }, + { + "body": { + "nativeSrc": "11792:220:20", + "nodeType": "YulBlock", + "src": "11792:220:20", + "statements": [ + { + "nativeSrc": "11802:74:20", + "nodeType": "YulAssignment", + "src": "11802:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11868:3:20", + "nodeType": "YulIdentifier", + "src": "11868:3:20" + }, + { + "kind": "number", + "nativeSrc": "11873:2:20", + "nodeType": "YulLiteral", + "src": "11873:2:20", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "11809:58:20", + "nodeType": "YulIdentifier", + "src": "11809:58:20" + }, + "nativeSrc": "11809:67:20", + "nodeType": "YulFunctionCall", + "src": "11809:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "11802:3:20", + "nodeType": "YulIdentifier", + "src": "11802:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11974:3:20", + "nodeType": "YulIdentifier", + "src": "11974:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd", + "nativeSrc": "11885:88:20", + "nodeType": "YulIdentifier", + "src": "11885:88:20" + }, + "nativeSrc": "11885:93:20", + "nodeType": "YulFunctionCall", + "src": "11885:93:20" + }, + "nativeSrc": "11885:93:20", + "nodeType": "YulExpressionStatement", + "src": "11885:93:20" + }, + { + "nativeSrc": "11987:19:20", + "nodeType": "YulAssignment", + "src": "11987:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "11998:3:20", + "nodeType": "YulIdentifier", + "src": "11998:3:20" + }, + { + "kind": "number", + "nativeSrc": "12003:2:20", + "nodeType": "YulLiteral", + "src": "12003:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11994:3:20", + "nodeType": "YulIdentifier", + "src": "11994:3:20" + }, + "nativeSrc": "11994:12:20", + "nodeType": "YulFunctionCall", + "src": "11994:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "11987:3:20", + "nodeType": "YulIdentifier", + "src": "11987:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack", + "nativeSrc": "11646:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "11780:3:20", + "nodeType": "YulTypedName", + "src": "11780:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "11788:3:20", + "nodeType": "YulTypedName", + "src": "11788:3:20", + "type": "" + } + ], + "src": "11646:366:20" + }, + { + "body": { + "nativeSrc": "12189:248:20", + "nodeType": "YulBlock", + "src": "12189:248:20", + "statements": [ + { + "nativeSrc": "12199:26:20", + "nodeType": "YulAssignment", + "src": "12199:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12211:9:20", + "nodeType": "YulIdentifier", + "src": "12211:9:20" + }, + { + "kind": "number", + "nativeSrc": "12222:2:20", + "nodeType": "YulLiteral", + "src": "12222:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12207:3:20", + "nodeType": "YulIdentifier", + "src": "12207:3:20" + }, + "nativeSrc": "12207:18:20", + "nodeType": "YulFunctionCall", + "src": "12207:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "12199:4:20", + "nodeType": "YulIdentifier", + "src": "12199:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12246:9:20", + "nodeType": "YulIdentifier", + "src": "12246:9:20" + }, + { + "kind": "number", + "nativeSrc": "12257:1:20", + "nodeType": "YulLiteral", + "src": "12257:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12242:3:20", + "nodeType": "YulIdentifier", + "src": "12242:3:20" + }, + "nativeSrc": "12242:17:20", + "nodeType": "YulFunctionCall", + "src": "12242:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "12265:4:20", + "nodeType": "YulIdentifier", + "src": "12265:4:20" + }, + { + "name": "headStart", + "nativeSrc": "12271:9:20", + "nodeType": "YulIdentifier", + "src": "12271:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "12261:3:20", + "nodeType": "YulIdentifier", + "src": "12261:3:20" + }, + "nativeSrc": "12261:20:20", + "nodeType": "YulFunctionCall", + "src": "12261:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "12235:6:20", + "nodeType": "YulIdentifier", + "src": "12235:6:20" + }, + "nativeSrc": "12235:47:20", + "nodeType": "YulFunctionCall", + "src": "12235:47:20" + }, + "nativeSrc": "12235:47:20", + "nodeType": "YulExpressionStatement", + "src": "12235:47:20" + }, + { + "nativeSrc": "12291:139:20", + "nodeType": "YulAssignment", + "src": "12291:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "12425:4:20", + "nodeType": "YulIdentifier", + "src": "12425:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack", + "nativeSrc": "12299:124:20", + "nodeType": "YulIdentifier", + "src": "12299:124:20" + }, + "nativeSrc": "12299:131:20", + "nodeType": "YulFunctionCall", + "src": "12299:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "12291:4:20", + "nodeType": "YulIdentifier", + "src": "12291:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "12018:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "12169:9:20", + "nodeType": "YulTypedName", + "src": "12169:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "12184:4:20", + "nodeType": "YulTypedName", + "src": "12184:4:20", + "type": "" + } + ], + "src": "12018:419:20" + }, + { + "body": { + "nativeSrc": "12569:206:20", + "nodeType": "YulBlock", + "src": "12569:206:20", + "statements": [ + { + "nativeSrc": "12579:26:20", + "nodeType": "YulAssignment", + "src": "12579:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12591:9:20", + "nodeType": "YulIdentifier", + "src": "12591:9:20" + }, + { + "kind": "number", + "nativeSrc": "12602:2:20", + "nodeType": "YulLiteral", + "src": "12602:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12587:3:20", + "nodeType": "YulIdentifier", + "src": "12587:3:20" + }, + "nativeSrc": "12587:18:20", + "nodeType": "YulFunctionCall", + "src": "12587:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "12579:4:20", + "nodeType": "YulIdentifier", + "src": "12579:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "12659:6:20", + "nodeType": "YulIdentifier", + "src": "12659:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12672:9:20", + "nodeType": "YulIdentifier", + "src": "12672:9:20" + }, + { + "kind": "number", + "nativeSrc": "12683:1:20", + "nodeType": "YulLiteral", + "src": "12683:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12668:3:20", + "nodeType": "YulIdentifier", + "src": "12668:3:20" + }, + "nativeSrc": "12668:17:20", + "nodeType": "YulFunctionCall", + "src": "12668:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "12615:43:20", + "nodeType": "YulIdentifier", + "src": "12615:43:20" + }, + "nativeSrc": "12615:71:20", + "nodeType": "YulFunctionCall", + "src": "12615:71:20" + }, + "nativeSrc": "12615:71:20", + "nodeType": "YulExpressionStatement", + "src": "12615:71:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "12740:6:20", + "nodeType": "YulIdentifier", + "src": "12740:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "12753:9:20", + "nodeType": "YulIdentifier", + "src": "12753:9:20" + }, + { + "kind": "number", + "nativeSrc": "12764:2:20", + "nodeType": "YulLiteral", + "src": "12764:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12749:3:20", + "nodeType": "YulIdentifier", + "src": "12749:3:20" + }, + "nativeSrc": "12749:18:20", + "nodeType": "YulFunctionCall", + "src": "12749:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "12696:43:20", + "nodeType": "YulIdentifier", + "src": "12696:43:20" + }, + "nativeSrc": "12696:72:20", + "nodeType": "YulFunctionCall", + "src": "12696:72:20" + }, + "nativeSrc": "12696:72:20", + "nodeType": "YulExpressionStatement", + "src": "12696:72:20" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed", + "nativeSrc": "12443:332:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "12533:9:20", + "nodeType": "YulTypedName", + "src": "12533:9:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "12545:6:20", + "nodeType": "YulTypedName", + "src": "12545:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "12553:6:20", + "nodeType": "YulTypedName", + "src": "12553:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "12564:4:20", + "nodeType": "YulTypedName", + "src": "12564:4:20", + "type": "" + } + ], + "src": "12443:332:20" + }, + { + "body": { + "nativeSrc": "12887:63:20", + "nodeType": "YulBlock", + "src": "12887:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "12909:6:20", + "nodeType": "YulIdentifier", + "src": "12909:6:20" + }, + { + "kind": "number", + "nativeSrc": "12917:1:20", + "nodeType": "YulLiteral", + "src": "12917:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12905:3:20", + "nodeType": "YulIdentifier", + "src": "12905:3:20" + }, + "nativeSrc": "12905:14:20", + "nodeType": "YulFunctionCall", + "src": "12905:14:20" + }, + { + "hexValue": "416c726561647920696e697469616c697a6564", + "kind": "string", + "nativeSrc": "12921:21:20", + "nodeType": "YulLiteral", + "src": "12921:21:20", + "type": "", + "value": "Already initialized" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "12898:6:20", + "nodeType": "YulIdentifier", + "src": "12898:6:20" + }, + "nativeSrc": "12898:45:20", + "nodeType": "YulFunctionCall", + "src": "12898:45:20" + }, + "nativeSrc": "12898:45:20", + "nodeType": "YulExpressionStatement", + "src": "12898:45:20" + } + ] + }, + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "12781:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "12879:6:20", + "nodeType": "YulTypedName", + "src": "12879:6:20", + "type": "" + } + ], + "src": "12781:169:20" + }, + { + "body": { + "nativeSrc": "13102:220:20", + "nodeType": "YulBlock", + "src": "13102:220:20", + "statements": [ + { + "nativeSrc": "13112:74:20", + "nodeType": "YulAssignment", + "src": "13112:74:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13178:3:20", + "nodeType": "YulIdentifier", + "src": "13178:3:20" + }, + { + "kind": "number", + "nativeSrc": "13183:2:20", + "nodeType": "YulLiteral", + "src": "13183:2:20", + "type": "", + "value": "19" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "13119:58:20", + "nodeType": "YulIdentifier", + "src": "13119:58:20" + }, + "nativeSrc": "13119:67:20", + "nodeType": "YulFunctionCall", + "src": "13119:67:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13112:3:20", + "nodeType": "YulIdentifier", + "src": "13112:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13284:3:20", + "nodeType": "YulIdentifier", + "src": "13284:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0", + "nativeSrc": "13195:88:20", + "nodeType": "YulIdentifier", + "src": "13195:88:20" + }, + "nativeSrc": "13195:93:20", + "nodeType": "YulFunctionCall", + "src": "13195:93:20" + }, + "nativeSrc": "13195:93:20", + "nodeType": "YulExpressionStatement", + "src": "13195:93:20" + }, + { + "nativeSrc": "13297:19:20", + "nodeType": "YulAssignment", + "src": "13297:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13308:3:20", + "nodeType": "YulIdentifier", + "src": "13308:3:20" + }, + { + "kind": "number", + "nativeSrc": "13313:2:20", + "nodeType": "YulLiteral", + "src": "13313:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13304:3:20", + "nodeType": "YulIdentifier", + "src": "13304:3:20" + }, + "nativeSrc": "13304:12:20", + "nodeType": "YulFunctionCall", + "src": "13304:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "13297:3:20", + "nodeType": "YulIdentifier", + "src": "13297:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "12956:366:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "13090:3:20", + "nodeType": "YulTypedName", + "src": "13090:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "13098:3:20", + "nodeType": "YulTypedName", + "src": "13098:3:20", + "type": "" + } + ], + "src": "12956:366:20" + }, + { + "body": { + "nativeSrc": "13499:248:20", + "nodeType": "YulBlock", + "src": "13499:248:20", + "statements": [ + { + "nativeSrc": "13509:26:20", + "nodeType": "YulAssignment", + "src": "13509:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "13521:9:20", + "nodeType": "YulIdentifier", + "src": "13521:9:20" + }, + { + "kind": "number", + "nativeSrc": "13532:2:20", + "nodeType": "YulLiteral", + "src": "13532:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13517:3:20", + "nodeType": "YulIdentifier", + "src": "13517:3:20" + }, + "nativeSrc": "13517:18:20", + "nodeType": "YulFunctionCall", + "src": "13517:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "13509:4:20", + "nodeType": "YulIdentifier", + "src": "13509:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "13556:9:20", + "nodeType": "YulIdentifier", + "src": "13556:9:20" + }, + { + "kind": "number", + "nativeSrc": "13567:1:20", + "nodeType": "YulLiteral", + "src": "13567:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13552:3:20", + "nodeType": "YulIdentifier", + "src": "13552:3:20" + }, + "nativeSrc": "13552:17:20", + "nodeType": "YulFunctionCall", + "src": "13552:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "13575:4:20", + "nodeType": "YulIdentifier", + "src": "13575:4:20" + }, + { + "name": "headStart", + "nativeSrc": "13581:9:20", + "nodeType": "YulIdentifier", + "src": "13581:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "13571:3:20", + "nodeType": "YulIdentifier", + "src": "13571:3:20" + }, + "nativeSrc": "13571:20:20", + "nodeType": "YulFunctionCall", + "src": "13571:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "13545:6:20", + "nodeType": "YulIdentifier", + "src": "13545:6:20" + }, + "nativeSrc": "13545:47:20", + "nodeType": "YulFunctionCall", + "src": "13545:47:20" + }, + "nativeSrc": "13545:47:20", + "nodeType": "YulExpressionStatement", + "src": "13545:47:20" + }, + { + "nativeSrc": "13601:139:20", + "nodeType": "YulAssignment", + "src": "13601:139:20", + "value": { + "arguments": [ + { + "name": "tail", + "nativeSrc": "13735:4:20", + "nodeType": "YulIdentifier", + "src": "13735:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack", + "nativeSrc": "13609:124:20", + "nodeType": "YulIdentifier", + "src": "13609:124:20" + }, + "nativeSrc": "13609:131:20", + "nodeType": "YulFunctionCall", + "src": "13609:131:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "13601:4:20", + "nodeType": "YulIdentifier", + "src": "13601:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "13328:419:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "13479:9:20", + "nodeType": "YulTypedName", + "src": "13479:9:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "13494:4:20", + "nodeType": "YulTypedName", + "src": "13494:4:20", + "type": "" + } + ], + "src": "13328:419:20" + }, + { + "body": { + "nativeSrc": "13907:288:20", + "nodeType": "YulBlock", + "src": "13907:288:20", + "statements": [ + { + "nativeSrc": "13917:26:20", + "nodeType": "YulAssignment", + "src": "13917:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "13929:9:20", + "nodeType": "YulIdentifier", + "src": "13929:9:20" + }, + { + "kind": "number", + "nativeSrc": "13940:2:20", + "nodeType": "YulLiteral", + "src": "13940:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "13925:3:20", + "nodeType": "YulIdentifier", + "src": "13925:3:20" + }, + "nativeSrc": "13925:18:20", + "nodeType": "YulFunctionCall", + "src": "13925:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "13917:4:20", + "nodeType": "YulIdentifier", + "src": "13917:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "13997:6:20", + "nodeType": "YulIdentifier", + "src": "13997:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "14010:9:20", + "nodeType": "YulIdentifier", + "src": "14010:9:20" + }, + { + "kind": "number", + "nativeSrc": "14021:1:20", + "nodeType": "YulLiteral", + "src": "14021:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14006:3:20", + "nodeType": "YulIdentifier", + "src": "14006:3:20" + }, + "nativeSrc": "14006:17:20", + "nodeType": "YulFunctionCall", + "src": "14006:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "13953:43:20", + "nodeType": "YulIdentifier", + "src": "13953:43:20" + }, + "nativeSrc": "13953:71:20", + "nodeType": "YulFunctionCall", + "src": "13953:71:20" + }, + "nativeSrc": "13953:71:20", + "nodeType": "YulExpressionStatement", + "src": "13953:71:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "14078:6:20", + "nodeType": "YulIdentifier", + "src": "14078:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "14091:9:20", + "nodeType": "YulIdentifier", + "src": "14091:9:20" + }, + { + "kind": "number", + "nativeSrc": "14102:2:20", + "nodeType": "YulLiteral", + "src": "14102:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14087:3:20", + "nodeType": "YulIdentifier", + "src": "14087:3:20" + }, + "nativeSrc": "14087:18:20", + "nodeType": "YulFunctionCall", + "src": "14087:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "14034:43:20", + "nodeType": "YulIdentifier", + "src": "14034:43:20" + }, + "nativeSrc": "14034:72:20", + "nodeType": "YulFunctionCall", + "src": "14034:72:20" + }, + "nativeSrc": "14034:72:20", + "nodeType": "YulExpressionStatement", + "src": "14034:72:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value2", + "nativeSrc": "14160:6:20", + "nodeType": "YulIdentifier", + "src": "14160:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "14173:9:20", + "nodeType": "YulIdentifier", + "src": "14173:9:20" + }, + { + "kind": "number", + "nativeSrc": "14184:2:20", + "nodeType": "YulLiteral", + "src": "14184:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14169:3:20", + "nodeType": "YulIdentifier", + "src": "14169:3:20" + }, + "nativeSrc": "14169:18:20", + "nodeType": "YulFunctionCall", + "src": "14169:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "14116:43:20", + "nodeType": "YulIdentifier", + "src": "14116:43:20" + }, + "nativeSrc": "14116:72:20", + "nodeType": "YulFunctionCall", + "src": "14116:72:20" + }, + "nativeSrc": "14116:72:20", + "nodeType": "YulExpressionStatement", + "src": "14116:72:20" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_uint256_t_address__to_t_address_t_uint256_t_address__fromStack_reversed", + "nativeSrc": "13753:442:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "13863:9:20", + "nodeType": "YulTypedName", + "src": "13863:9:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "13875:6:20", + "nodeType": "YulTypedName", + "src": "13875:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "13883:6:20", + "nodeType": "YulTypedName", + "src": "13883:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "13891:6:20", + "nodeType": "YulTypedName", + "src": "13891:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "13902:4:20", + "nodeType": "YulTypedName", + "src": "13902:4:20", + "type": "" + } + ], + "src": "13753:442:20" + }, + { + "body": { + "nativeSrc": "14229:152:20", + "nodeType": "YulBlock", + "src": "14229:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14246:1:20", + "nodeType": "YulLiteral", + "src": "14246:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14249:77:20", + "nodeType": "YulLiteral", + "src": "14249:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14239:6:20", + "nodeType": "YulIdentifier", + "src": "14239:6:20" + }, + "nativeSrc": "14239:88:20", + "nodeType": "YulFunctionCall", + "src": "14239:88:20" + }, + "nativeSrc": "14239:88:20", + "nodeType": "YulExpressionStatement", + "src": "14239:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14343:1:20", + "nodeType": "YulLiteral", + "src": "14343:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "14346:4:20", + "nodeType": "YulLiteral", + "src": "14346:4:20", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14336:6:20", + "nodeType": "YulIdentifier", + "src": "14336:6:20" + }, + "nativeSrc": "14336:15:20", + "nodeType": "YulFunctionCall", + "src": "14336:15:20" + }, + "nativeSrc": "14336:15:20", + "nodeType": "YulExpressionStatement", + "src": "14336:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14367:1:20", + "nodeType": "YulLiteral", + "src": "14367:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14370:4:20", + "nodeType": "YulLiteral", + "src": "14370:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "14360:6:20", + "nodeType": "YulIdentifier", + "src": "14360:6:20" + }, + "nativeSrc": "14360:15:20", + "nodeType": "YulFunctionCall", + "src": "14360:15:20" + }, + "nativeSrc": "14360:15:20", + "nodeType": "YulExpressionStatement", + "src": "14360:15:20" + } + ] + }, + "name": "panic_error_0x11", + "nativeSrc": "14201:180:20", + "nodeType": "YulFunctionDefinition", + "src": "14201:180:20" + }, + { + "body": { + "nativeSrc": "14435:362:20", + "nodeType": "YulBlock", + "src": "14435:362:20", + "statements": [ + { + "nativeSrc": "14445:25:20", + "nodeType": "YulAssignment", + "src": "14445:25:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "14468:1:20", + "nodeType": "YulIdentifier", + "src": "14468:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "14450:17:20", + "nodeType": "YulIdentifier", + "src": "14450:17:20" + }, + "nativeSrc": "14450:20:20", + "nodeType": "YulFunctionCall", + "src": "14450:20:20" + }, + "variableNames": [ + { + "name": "x", + "nativeSrc": "14445:1:20", + "nodeType": "YulIdentifier", + "src": "14445:1:20" + } + ] + }, + { + "nativeSrc": "14479:25:20", + "nodeType": "YulAssignment", + "src": "14479:25:20", + "value": { + "arguments": [ + { + "name": "y", + "nativeSrc": "14502:1:20", + "nodeType": "YulIdentifier", + "src": "14502:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "14484:17:20", + "nodeType": "YulIdentifier", + "src": "14484:17:20" + }, + "nativeSrc": "14484:20:20", + "nodeType": "YulFunctionCall", + "src": "14484:20:20" + }, + "variableNames": [ + { + "name": "y", + "nativeSrc": "14479:1:20", + "nodeType": "YulIdentifier", + "src": "14479:1:20" + } + ] + }, + { + "nativeSrc": "14513:28:20", + "nodeType": "YulVariableDeclaration", + "src": "14513:28:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "14536:1:20", + "nodeType": "YulIdentifier", + "src": "14536:1:20" + }, + { + "name": "y", + "nativeSrc": "14539:1:20", + "nodeType": "YulIdentifier", + "src": "14539:1:20" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "14532:3:20", + "nodeType": "YulIdentifier", + "src": "14532:3:20" + }, + "nativeSrc": "14532:9:20", + "nodeType": "YulFunctionCall", + "src": "14532:9:20" + }, + "variables": [ + { + "name": "product_raw", + "nativeSrc": "14517:11:20", + "nodeType": "YulTypedName", + "src": "14517:11:20", + "type": "" + } + ] + }, + { + "nativeSrc": "14550:41:20", + "nodeType": "YulAssignment", + "src": "14550:41:20", + "value": { + "arguments": [ + { + "name": "product_raw", + "nativeSrc": "14579:11:20", + "nodeType": "YulIdentifier", + "src": "14579:11:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "14561:17:20", + "nodeType": "YulIdentifier", + "src": "14561:17:20" + }, + "nativeSrc": "14561:30:20", + "nodeType": "YulFunctionCall", + "src": "14561:30:20" + }, + "variableNames": [ + { + "name": "product", + "nativeSrc": "14550:7:20", + "nodeType": "YulIdentifier", + "src": "14550:7:20" + } + ] + }, + { + "body": { + "nativeSrc": "14768:22:20", + "nodeType": "YulBlock", + "src": "14768:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nativeSrc": "14770:16:20", + "nodeType": "YulIdentifier", + "src": "14770:16:20" + }, + "nativeSrc": "14770:18:20", + "nodeType": "YulFunctionCall", + "src": "14770:18:20" + }, + "nativeSrc": "14770:18:20", + "nodeType": "YulExpressionStatement", + "src": "14770:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nativeSrc": "14701:1:20", + "nodeType": "YulIdentifier", + "src": "14701:1:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "14694:6:20", + "nodeType": "YulIdentifier", + "src": "14694:6:20" + }, + "nativeSrc": "14694:9:20", + "nodeType": "YulFunctionCall", + "src": "14694:9:20" + }, + { + "arguments": [ + { + "name": "y", + "nativeSrc": "14724:1:20", + "nodeType": "YulIdentifier", + "src": "14724:1:20" + }, + { + "arguments": [ + { + "name": "product", + "nativeSrc": "14731:7:20", + "nodeType": "YulIdentifier", + "src": "14731:7:20" + }, + { + "name": "x", + "nativeSrc": "14740:1:20", + "nodeType": "YulIdentifier", + "src": "14740:1:20" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "14727:3:20", + "nodeType": "YulIdentifier", + "src": "14727:3:20" + }, + "nativeSrc": "14727:15:20", + "nodeType": "YulFunctionCall", + "src": "14727:15:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "14721:2:20", + "nodeType": "YulIdentifier", + "src": "14721:2:20" + }, + "nativeSrc": "14721:22:20", + "nodeType": "YulFunctionCall", + "src": "14721:22:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "14674:2:20", + "nodeType": "YulIdentifier", + "src": "14674:2:20" + }, + "nativeSrc": "14674:83:20", + "nodeType": "YulFunctionCall", + "src": "14674:83:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "14654:6:20", + "nodeType": "YulIdentifier", + "src": "14654:6:20" + }, + "nativeSrc": "14654:113:20", + "nodeType": "YulFunctionCall", + "src": "14654:113:20" + }, + "nativeSrc": "14651:139:20", + "nodeType": "YulIf", + "src": "14651:139:20" + } + ] + }, + "name": "checked_mul_t_uint256", + "nativeSrc": "14387:410:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nativeSrc": "14418:1:20", + "nodeType": "YulTypedName", + "src": "14418:1:20", + "type": "" + }, + { + "name": "y", + "nativeSrc": "14421:1:20", + "nodeType": "YulTypedName", + "src": "14421:1:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nativeSrc": "14427:7:20", + "nodeType": "YulTypedName", + "src": "14427:7:20", + "type": "" + } + ], + "src": "14387:410:20" + }, + { + "body": { + "nativeSrc": "14831:152:20", + "nodeType": "YulBlock", + "src": "14831:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14848:1:20", + "nodeType": "YulLiteral", + "src": "14848:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14851:77:20", + "nodeType": "YulLiteral", + "src": "14851:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14841:6:20", + "nodeType": "YulIdentifier", + "src": "14841:6:20" + }, + "nativeSrc": "14841:88:20", + "nodeType": "YulFunctionCall", + "src": "14841:88:20" + }, + "nativeSrc": "14841:88:20", + "nodeType": "YulExpressionStatement", + "src": "14841:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14945:1:20", + "nodeType": "YulLiteral", + "src": "14945:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "14948:4:20", + "nodeType": "YulLiteral", + "src": "14948:4:20", + "type": "", + "value": "0x12" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14938:6:20", + "nodeType": "YulIdentifier", + "src": "14938:6:20" + }, + "nativeSrc": "14938:15:20", + "nodeType": "YulFunctionCall", + "src": "14938:15:20" + }, + "nativeSrc": "14938:15:20", + "nodeType": "YulExpressionStatement", + "src": "14938:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "14969:1:20", + "nodeType": "YulLiteral", + "src": "14969:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "14972:4:20", + "nodeType": "YulLiteral", + "src": "14972:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "14962:6:20", + "nodeType": "YulIdentifier", + "src": "14962:6:20" + }, + "nativeSrc": "14962:15:20", + "nodeType": "YulFunctionCall", + "src": "14962:15:20" + }, + "nativeSrc": "14962:15:20", + "nodeType": "YulExpressionStatement", + "src": "14962:15:20" + } + ] + }, + "name": "panic_error_0x12", + "nativeSrc": "14803:180:20", + "nodeType": "YulFunctionDefinition", + "src": "14803:180:20" + }, + { + "body": { + "nativeSrc": "15031:143:20", + "nodeType": "YulBlock", + "src": "15031:143:20", + "statements": [ + { + "nativeSrc": "15041:25:20", + "nodeType": "YulAssignment", + "src": "15041:25:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15064:1:20", + "nodeType": "YulIdentifier", + "src": "15064:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15046:17:20", + "nodeType": "YulIdentifier", + "src": "15046:17:20" + }, + "nativeSrc": "15046:20:20", + "nodeType": "YulFunctionCall", + "src": "15046:20:20" + }, + "variableNames": [ + { + "name": "x", + "nativeSrc": "15041:1:20", + "nodeType": "YulIdentifier", + "src": "15041:1:20" + } + ] + }, + { + "nativeSrc": "15075:25:20", + "nodeType": "YulAssignment", + "src": "15075:25:20", + "value": { + "arguments": [ + { + "name": "y", + "nativeSrc": "15098:1:20", + "nodeType": "YulIdentifier", + "src": "15098:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15080:17:20", + "nodeType": "YulIdentifier", + "src": "15080:17:20" + }, + "nativeSrc": "15080:20:20", + "nodeType": "YulFunctionCall", + "src": "15080:20:20" + }, + "variableNames": [ + { + "name": "y", + "nativeSrc": "15075:1:20", + "nodeType": "YulIdentifier", + "src": "15075:1:20" + } + ] + }, + { + "body": { + "nativeSrc": "15122:22:20", + "nodeType": "YulBlock", + "src": "15122:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x12", + "nativeSrc": "15124:16:20", + "nodeType": "YulIdentifier", + "src": "15124:16:20" + }, + "nativeSrc": "15124:18:20", + "nodeType": "YulFunctionCall", + "src": "15124:18:20" + }, + "nativeSrc": "15124:18:20", + "nodeType": "YulExpressionStatement", + "src": "15124:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "y", + "nativeSrc": "15119:1:20", + "nodeType": "YulIdentifier", + "src": "15119:1:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "15112:6:20", + "nodeType": "YulIdentifier", + "src": "15112:6:20" + }, + "nativeSrc": "15112:9:20", + "nodeType": "YulFunctionCall", + "src": "15112:9:20" + }, + "nativeSrc": "15109:35:20", + "nodeType": "YulIf", + "src": "15109:35:20" + }, + { + "nativeSrc": "15154:14:20", + "nodeType": "YulAssignment", + "src": "15154:14:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15163:1:20", + "nodeType": "YulIdentifier", + "src": "15163:1:20" + }, + { + "name": "y", + "nativeSrc": "15166:1:20", + "nodeType": "YulIdentifier", + "src": "15166:1:20" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "15159:3:20", + "nodeType": "YulIdentifier", + "src": "15159:3:20" + }, + "nativeSrc": "15159:9:20", + "nodeType": "YulFunctionCall", + "src": "15159:9:20" + }, + "variableNames": [ + { + "name": "r", + "nativeSrc": "15154:1:20", + "nodeType": "YulIdentifier", + "src": "15154:1:20" + } + ] + } + ] + }, + "name": "checked_div_t_uint256", + "nativeSrc": "14989:185:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nativeSrc": "15020:1:20", + "nodeType": "YulTypedName", + "src": "15020:1:20", + "type": "" + }, + { + "name": "y", + "nativeSrc": "15023:1:20", + "nodeType": "YulTypedName", + "src": "15023:1:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "r", + "nativeSrc": "15029:1:20", + "nodeType": "YulTypedName", + "src": "15029:1:20", + "type": "" + } + ], + "src": "14989:185:20" + }, + { + "body": { + "nativeSrc": "15224:147:20", + "nodeType": "YulBlock", + "src": "15224:147:20", + "statements": [ + { + "nativeSrc": "15234:25:20", + "nodeType": "YulAssignment", + "src": "15234:25:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15257:1:20", + "nodeType": "YulIdentifier", + "src": "15257:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15239:17:20", + "nodeType": "YulIdentifier", + "src": "15239:17:20" + }, + "nativeSrc": "15239:20:20", + "nodeType": "YulFunctionCall", + "src": "15239:20:20" + }, + "variableNames": [ + { + "name": "x", + "nativeSrc": "15234:1:20", + "nodeType": "YulIdentifier", + "src": "15234:1:20" + } + ] + }, + { + "nativeSrc": "15268:25:20", + "nodeType": "YulAssignment", + "src": "15268:25:20", + "value": { + "arguments": [ + { + "name": "y", + "nativeSrc": "15291:1:20", + "nodeType": "YulIdentifier", + "src": "15291:1:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "15273:17:20", + "nodeType": "YulIdentifier", + "src": "15273:17:20" + }, + "nativeSrc": "15273:20:20", + "nodeType": "YulFunctionCall", + "src": "15273:20:20" + }, + "variableNames": [ + { + "name": "y", + "nativeSrc": "15268:1:20", + "nodeType": "YulIdentifier", + "src": "15268:1:20" + } + ] + }, + { + "nativeSrc": "15302:16:20", + "nodeType": "YulAssignment", + "src": "15302:16:20", + "value": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15313:1:20", + "nodeType": "YulIdentifier", + "src": "15313:1:20" + }, + { + "name": "y", + "nativeSrc": "15316:1:20", + "nodeType": "YulIdentifier", + "src": "15316:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15309:3:20", + "nodeType": "YulIdentifier", + "src": "15309:3:20" + }, + "nativeSrc": "15309:9:20", + "nodeType": "YulFunctionCall", + "src": "15309:9:20" + }, + "variableNames": [ + { + "name": "sum", + "nativeSrc": "15302:3:20", + "nodeType": "YulIdentifier", + "src": "15302:3:20" + } + ] + }, + { + "body": { + "nativeSrc": "15342:22:20", + "nodeType": "YulBlock", + "src": "15342:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nativeSrc": "15344:16:20", + "nodeType": "YulIdentifier", + "src": "15344:16:20" + }, + "nativeSrc": "15344:18:20", + "nodeType": "YulFunctionCall", + "src": "15344:18:20" + }, + "nativeSrc": "15344:18:20", + "nodeType": "YulExpressionStatement", + "src": "15344:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nativeSrc": "15334:1:20", + "nodeType": "YulIdentifier", + "src": "15334:1:20" + }, + { + "name": "sum", + "nativeSrc": "15337:3:20", + "nodeType": "YulIdentifier", + "src": "15337:3:20" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "15331:2:20", + "nodeType": "YulIdentifier", + "src": "15331:2:20" + }, + "nativeSrc": "15331:10:20", + "nodeType": "YulFunctionCall", + "src": "15331:10:20" + }, + "nativeSrc": "15328:36:20", + "nodeType": "YulIf", + "src": "15328:36:20" + } + ] + }, + "name": "checked_add_t_uint256", + "nativeSrc": "15180:191:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nativeSrc": "15211:1:20", + "nodeType": "YulTypedName", + "src": "15211:1:20", + "type": "" + }, + { + "name": "y", + "nativeSrc": "15214:1:20", + "nodeType": "YulTypedName", + "src": "15214:1:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nativeSrc": "15220:3:20", + "nodeType": "YulTypedName", + "src": "15220:3:20", + "type": "" + } + ], + "src": "15180:191:20" + }, + { + "body": { + "nativeSrc": "15531:288:20", + "nodeType": "YulBlock", + "src": "15531:288:20", + "statements": [ + { + "nativeSrc": "15541:26:20", + "nodeType": "YulAssignment", + "src": "15541:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15553:9:20", + "nodeType": "YulIdentifier", + "src": "15553:9:20" + }, + { + "kind": "number", + "nativeSrc": "15564:2:20", + "nodeType": "YulLiteral", + "src": "15564:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15549:3:20", + "nodeType": "YulIdentifier", + "src": "15549:3:20" + }, + "nativeSrc": "15549:18:20", + "nodeType": "YulFunctionCall", + "src": "15549:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "15541:4:20", + "nodeType": "YulIdentifier", + "src": "15541:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "15621:6:20", + "nodeType": "YulIdentifier", + "src": "15621:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15634:9:20", + "nodeType": "YulIdentifier", + "src": "15634:9:20" + }, + { + "kind": "number", + "nativeSrc": "15645:1:20", + "nodeType": "YulLiteral", + "src": "15645:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15630:3:20", + "nodeType": "YulIdentifier", + "src": "15630:3:20" + }, + "nativeSrc": "15630:17:20", + "nodeType": "YulFunctionCall", + "src": "15630:17:20" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nativeSrc": "15577:43:20", + "nodeType": "YulIdentifier", + "src": "15577:43:20" + }, + "nativeSrc": "15577:71:20", + "nodeType": "YulFunctionCall", + "src": "15577:71:20" + }, + "nativeSrc": "15577:71:20", + "nodeType": "YulExpressionStatement", + "src": "15577:71:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "15702:6:20", + "nodeType": "YulIdentifier", + "src": "15702:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15715:9:20", + "nodeType": "YulIdentifier", + "src": "15715:9:20" + }, + { + "kind": "number", + "nativeSrc": "15726:2:20", + "nodeType": "YulLiteral", + "src": "15726:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15711:3:20", + "nodeType": "YulIdentifier", + "src": "15711:3:20" + }, + "nativeSrc": "15711:18:20", + "nodeType": "YulFunctionCall", + "src": "15711:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "15658:43:20", + "nodeType": "YulIdentifier", + "src": "15658:43:20" + }, + "nativeSrc": "15658:72:20", + "nodeType": "YulFunctionCall", + "src": "15658:72:20" + }, + "nativeSrc": "15658:72:20", + "nodeType": "YulExpressionStatement", + "src": "15658:72:20" + }, + { + "expression": { + "arguments": [ + { + "name": "value2", + "nativeSrc": "15784:6:20", + "nodeType": "YulIdentifier", + "src": "15784:6:20" + }, + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "15797:9:20", + "nodeType": "YulIdentifier", + "src": "15797:9:20" + }, + { + "kind": "number", + "nativeSrc": "15808:2:20", + "nodeType": "YulLiteral", + "src": "15808:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15793:3:20", + "nodeType": "YulIdentifier", + "src": "15793:3:20" + }, + "nativeSrc": "15793:18:20", + "nodeType": "YulFunctionCall", + "src": "15793:18:20" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nativeSrc": "15740:43:20", + "nodeType": "YulIdentifier", + "src": "15740:43:20" + }, + "nativeSrc": "15740:72:20", + "nodeType": "YulFunctionCall", + "src": "15740:72:20" + }, + "nativeSrc": "15740:72:20", + "nodeType": "YulExpressionStatement", + "src": "15740:72:20" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed", + "nativeSrc": "15377:442:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "15487:9:20", + "nodeType": "YulTypedName", + "src": "15487:9:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "15499:6:20", + "nodeType": "YulTypedName", + "src": "15499:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "15507:6:20", + "nodeType": "YulTypedName", + "src": "15507:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "15515:6:20", + "nodeType": "YulTypedName", + "src": "15515:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "15526:4:20", + "nodeType": "YulTypedName", + "src": "15526:4:20", + "type": "" + } + ], + "src": "15377:442:20" + } + ] + }, + "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\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 cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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 abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_uint256t_addresst_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3 {\n if slt(sub(dataEnd, headStart), 128) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 96\n\n value3 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490() {\n revert(0, 0)\n }\n\n function revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() {\n revert(0, 0)\n }\n\n // bytes\n function abi_decode_t_bytes_calldata_ptr(offset, end) -> arrayPos, length {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert_error_15abf5612cd996bc235ba1e55a4a30ac60e6bb601ff7ba4ad3f179b6be8d0490() }\n arrayPos := add(offset, 0x20)\n if gt(add(arrayPos, mul(length, 0x01)), end) { revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() }\n }\n\n function abi_decode_tuple_t_addresst_addresst_addresst_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4 {\n if slt(sub(dataEnd, headStart), 128) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 96))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value3, value4 := abi_decode_t_bytes_calldata_ptr(add(headStart, offset), dataEnd)\n }\n\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_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 abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_uint256t_addresst_addresst_addresst_bytes_calldata_ptrt_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7 {\n if slt(sub(dataEnd, headStart), 224) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 96\n\n value3 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 128))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value4, value5 := abi_decode_t_bytes_calldata_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 160\n\n value6 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 192\n\n value7 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\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_addresst_addresst_address(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { 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 let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address_fromMemory(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_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(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_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function validator_revert_t_bool(value) {\n if iszero(eq(value, cleanup_t_bool(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bool_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_bool(value)\n }\n\n function abi_decode_tuple_t_bool_fromMemory(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_bool_fromMemory(add(headStart, offset), dataEnd)\n }\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 store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d(memPtr) {\n\n mstore(add(memPtr, 0), \"Caller is not a lock manager\")\n\n }\n\n function abi_encode_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 28)\n store_literal_in_memory_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d__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_003e80e9813f84de724aa709b51fc6aaaed4846708ab6fb298af92ac2f07a66d_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71(memPtr) {\n\n mstore(add(memPtr, 0), \"No refund available\")\n\n }\n\n function abi_encode_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71__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_fcd7d324c1c5f7f732938cb6faa0f2b67ccebf54a3be160da80dc4f125449b71_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd(memPtr) {\n\n mstore(add(memPtr, 0), \"Refund not available yet\")\n\n }\n\n function abi_encode_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 24)\n store_literal_in_memory_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd__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_d3e39efd306b0edefc0bfe840a545e84b9be1b1a05a0557fa214423d621fd1dd_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n function store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(memPtr) {\n\n mstore(add(memPtr, 0), \"Already initialized\")\n\n }\n\n function abi_encode_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0__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_d3814fd4e72cfd7651525eee846049aca388165c613a1085fb56751abcdd36c0_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_address_t_uint256_t_address__to_t_address_t_uint256_t_address__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_address_to_t_address_fromStack(value2, add(headStart, 64))\n\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n let product_raw := mul(x, y)\n product := cleanup_t_uint256(product_raw)\n\n // overflow, if x != 0 and y != product/x\n if iszero(\n or(\n iszero(x),\n eq(y, div(product, x))\n )\n ) { panic_error_0x11() }\n\n }\n\n function panic_error_0x12() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n\n function checked_div_t_uint256(x, y) -> r {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n if iszero(y) { panic_error_0x12() }\n\n r := div(x, y)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value2, add(headStart, 64))\n\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106100b45760003560e01c80637dc0d1d0116100715780637dc0d1d01461018b5780638295d3be146101a9578063b5545a3c146101c5578063b8d1452f146101cf578063c0c53b8b146101eb578063db7d7f8d14610207576100b4565b8063016b9680146100b9578063221c1fd1146100d55780633436247b146101055780633fc8cef3146101355780635e895f29146101535780637adbf9731461016f575b600080fd5b6100d360048036038101906100ce91906112ee565b610225565b005b6100ef60048036038101906100ea91906113ba565b610376565b6040516100fc9190611451565b60405180910390f35b61011f600480360381019061011a919061146c565b6103f2565b60405161012c9190611451565b60405180910390f35b61013d61041a565b60405161014a91906114bb565b60405180910390f35b61016d600480360381019061016891906114d6565b610440565b005b61018960048036038101906101849190611598565b610516565b005b61019361066a565b6040516101a091906114bb565b60405180910390f35b6101c360048036038101906101be9190611598565b610690565b005b6101cd6107e3565b005b6101e960048036038101906101e49190611598565b610a35565b005b610205600480360381019061020091906115c5565b610b89565b005b61020f610d84565b60405161021c91906114bb565b60405180910390f35b600033905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361036f5761036e8173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016102b99190611451565b602060405180830381865afa1580156102d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fa919061162d565b8273ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610369919061166f565b610da8565b5b5050505050565b60003373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e7919061166f565b905095945050505050565b6003602052816000526040600020816002811061040e57600080fd5b01600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361050c5761050b863373ffffffffffffffffffffffffffffffffffffffff166310e569736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610506919061166f565b610da8565b5b5050505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b815260040161056f91906114bb565b602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b091906116d4565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e69061175e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa8160405161065f91906114bb565b60405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b81526004016106e991906114bb565b602060405180830381865afa158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a91906116d4565b610769576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107609061175e565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c5816040516107d891906114bb565b60405180910390a150565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060028060200260405190810160405280929190826002801561085b576020028201915b815481526020019060010190808311610847575b505050505090506000816000600281106108785761087761177e565b5b6020020151116108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b4906117f9565b60405180910390fd5b42816001600281106108d2576108d161177e565b5b602002015110610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90611865565b60405180910390fd5b6040518060400160405280600060ff168152602001600060ff16815250600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026109819291906111ae565b503373ffffffffffffffffffffffffffffffffffffffff166108fc826000600281106109b0576109af61177e565b5b60200201519081150290604051600060405180830381858888f193505050501580156109e0573d6000803e3d6000fd5b507f1fe70b87853839959e74387a76c2713282f77a4a0656bf8689058a0eea2891e03382600060028110610a1757610a1661177e565b5b6020020151604051610a2a929190611885565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aae4b8f7336040518263ffffffff1660e01b8152600401610a8e91906114bb565b602060405180830381865afa158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906116d4565b610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b059061175e565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610b7e91906114bb565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906118fa565b60405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f867b5ac058251d339d708e1228ac92d445562b0685454293fed8b862f87167c583604051610c8791906114bb565b60405180910390a181600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3f32684a32a11dabdbb8c0177de80aa3ae36a004d75210335b49e544e48cd0aa82604051610cff91906114bb565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f13a533084dcbb1cfe0dbea708ea977223c27c44d94f2fa3867a167c9cd340bf981604051610d7791906114bb565b60405180910390a1505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639d76ea586040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3a919061162d565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c1e553e78385600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610ebf9392919061191a565b6020604051808303816000875af1158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f02919061166f565b90506000600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028110610f5857610f5761177e565b5b015490506000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600160028110610fb057610faf61177e565b5b015490506000600a600b85610fc59190611980565b610fcf91906119f1565b905060006212750042610fe29190611a22565b90504283101561105f57604051806040016040528083866110039190611a22565b815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110599291906111f3565b506110c3565b604051806040016040528083815260200182815250600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209060026110c19291906111f3565b505b7fa1d590fd2e594a4a50983c420b530fcf5ffe210e5203b51d6c022cb0d9ac4f8088600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281106111375761113661177e565b5b0154600360008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061118b5761118a61177e565b5b015460405161119c93929190611a56565b60405180910390a15050505050505050565b82600281019282156111e2579160200282015b828111156111e1578251829060ff169055916020019190600101906111c1565b5b5090506111ef9190611233565b5090565b8260028101928215611222579160200282015b82811115611221578251825591602001919060010190611206565b5b50905061122f9190611233565b5090565b5b8082111561124c576000816000905550600101611234565b5090565b600080fd5b600080fd5b6000819050919050565b61126d8161125a565b811461127857600080fd5b50565b60008135905061128a81611264565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112bb82611290565b9050919050565b6112cb816112b0565b81146112d657600080fd5b50565b6000813590506112e8816112c2565b92915050565b6000806000806080858703121561130857611307611250565b5b60006113168782880161127b565b9450506020611327878288016112d9565b93505060406113388782880161127b565b92505060606113498782880161127b565b91505092959194509250565b600080fd5b600080fd5b600080fd5b60008083601f84011261137a57611379611355565b5b8235905067ffffffffffffffff8111156113975761139661135a565b5b6020830191508360018202830111156113b3576113b261135f565b5b9250929050565b6000806000806000608086880312156113d6576113d5611250565b5b60006113e4888289016112d9565b95505060206113f5888289016112d9565b9450506040611406888289016112d9565b935050606086013567ffffffffffffffff81111561142757611426611255565b5b61143388828901611364565b92509250509295509295909350565b61144b8161125a565b82525050565b60006020820190506114666000830184611442565b92915050565b6000806040838503121561148357611482611250565b5b6000611491858286016112d9565b92505060206114a28582860161127b565b9150509250929050565b6114b5816112b0565b82525050565b60006020820190506114d060008301846114ac565b92915050565b60008060008060008060008060e0898b0312156114f6576114f5611250565b5b60006115048b828c0161127b565b98505060206115158b828c016112d9565b97505060406115268b828c016112d9565b96505060606115378b828c016112d9565b955050608089013567ffffffffffffffff81111561155857611557611255565b5b6115648b828c01611364565b945094505060a06115778b828c0161127b565b92505060c06115888b828c0161127b565b9150509295985092959890939650565b6000602082840312156115ae576115ad611250565b5b60006115bc848285016112d9565b91505092915050565b6000806000606084860312156115de576115dd611250565b5b60006115ec868287016112d9565b93505060206115fd868287016112d9565b925050604061160e868287016112d9565b9150509250925092565b600081519050611627816112c2565b92915050565b60006020828403121561164357611642611250565b5b600061165184828501611618565b91505092915050565b60008151905061166981611264565b92915050565b60006020828403121561168557611684611250565b5b60006116938482850161165a565b91505092915050565b60008115159050919050565b6116b18161169c565b81146116bc57600080fd5b50565b6000815190506116ce816116a8565b92915050565b6000602082840312156116ea576116e9611250565b5b60006116f8848285016116bf565b91505092915050565b600082825260208201905092915050565b7f43616c6c6572206973206e6f742061206c6f636b206d616e6167657200000000600082015250565b6000611748601c83611701565b915061175382611712565b602082019050919050565b600060208201905081810360008301526117778161173b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f20726566756e6420617661696c61626c6500000000000000000000000000600082015250565b60006117e3601383611701565b91506117ee826117ad565b602082019050919050565b60006020820190508181036000830152611812816117d6565b9050919050565b7f526566756e64206e6f7420617661696c61626c65207965740000000000000000600082015250565b600061184f601883611701565b915061185a82611819565b602082019050919050565b6000602082019050818103600083015261187e81611842565b9050919050565b600060408201905061189a60008301856114ac565b6118a76020830184611442565b9392505050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b60006118e4601383611701565b91506118ef826118ae565b602082019050919050565b60006020820190508181036000830152611913816118d7565b9050919050565b600060608201905061192f60008301866114ac565b61193c6020830185611442565b61194960408301846114ac565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061198b8261125a565b91506119968361125a565b92508282026119a48161125a565b915082820484148315176119bb576119ba611951565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119fc8261125a565b9150611a078361125a565b925082611a1757611a166119c2565b5b828204905092915050565b6000611a2d8261125a565b9150611a388361125a565b9250828201905080821115611a5057611a4f611951565b5b92915050565b6000606082019050611a6b60008301866114ac565b611a786020830185611442565b611a856040830184611442565b94935050505056fea26469706673582212204a659cb1b5bf6c871620c5499c80c0e1315804ef5373e0c5809e323bcd51a38c64736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xB4 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x7DC0D1D0 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x7DC0D1D0 EQ PUSH2 0x18B JUMPI DUP1 PUSH4 0x8295D3BE EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0xB5545A3C EQ PUSH2 0x1C5 JUMPI DUP1 PUSH4 0xB8D1452F EQ PUSH2 0x1CF JUMPI DUP1 PUSH4 0xC0C53B8B EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xDB7D7F8D EQ PUSH2 0x207 JUMPI PUSH2 0xB4 JUMP JUMPDEST DUP1 PUSH4 0x16B9680 EQ PUSH2 0xB9 JUMPI DUP1 PUSH4 0x221C1FD1 EQ PUSH2 0xD5 JUMPI DUP1 PUSH4 0x3436247B EQ PUSH2 0x105 JUMPI DUP1 PUSH4 0x3FC8CEF3 EQ PUSH2 0x135 JUMPI DUP1 PUSH4 0x5E895F29 EQ PUSH2 0x153 JUMPI DUP1 PUSH4 0x7ADBF973 EQ PUSH2 0x16F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCE SWAP2 SWAP1 PUSH2 0x12EE JUMP JUMPDEST PUSH2 0x225 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xEF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEA SWAP2 SWAP1 PUSH2 0x13BA JUMP JUMPDEST PUSH2 0x376 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFC SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x11F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11A SWAP2 SWAP1 PUSH2 0x146C JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x12C SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x13D PUSH2 0x41A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x14A SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x16D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x168 SWAP2 SWAP1 PUSH2 0x14D6 JUMP JUMPDEST PUSH2 0x440 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x189 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x184 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x516 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x193 PUSH2 0x66A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1C3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1BE SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0x690 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1CD PUSH2 0x7E3 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1E9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1E4 SWAP2 SWAP1 PUSH2 0x1598 JUMP JUMPDEST PUSH2 0xA35 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x205 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x200 SWAP2 SWAP1 PUSH2 0x15C5 JUMP JUMPDEST PUSH2 0xB89 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x20F PUSH2 0xD84 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21C SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 CALLER SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x36F JUMPI PUSH2 0x36E DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6352211E DUP8 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2B9 SWAP2 SWAP1 PUSH2 0x1451 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2D6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2FA SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x345 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x369 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3E7 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP2 PUSH1 0x2 DUP2 LT PUSH2 0x40E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST ADD PUSH1 0x0 SWAP2 POP SWAP2 POP POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x50C JUMPI PUSH2 0x50B DUP7 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x10E56973 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4E2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x506 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xDA8 JUMP JUMPDEST JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x56F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x58C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5B0 SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x5EF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E6 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP2 PUSH1 0x40 MLOAD PUSH2 0x65F SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6E9 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x706 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x72A SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0x769 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x760 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP2 PUSH1 0x40 MLOAD PUSH2 0x7D8 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x2 DUP1 PUSH1 0x20 MUL PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP3 PUSH1 0x2 DUP1 ISZERO PUSH2 0x85B JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 JUMPDEST DUP2 SLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 DUP1 DUP4 GT PUSH2 0x847 JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x878 JUMPI PUSH2 0x877 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD GT PUSH2 0x8BD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8B4 SWAP1 PUSH2 0x17F9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST TIMESTAMP DUP2 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x8D2 JUMPI PUSH2 0x8D1 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD LT PUSH2 0x917 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x90E SWAP1 PUSH2 0x1865 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0xFF AND DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x981 SWAP3 SWAP2 SWAP1 PUSH2 0x11AE JUMP JUMPDEST POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x9B0 JUMPI PUSH2 0x9AF PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD 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 0x9E0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH32 0x1FE70B87853839959E74387A76C2713282F77A4A0656BF8689058A0EEA2891E0 CALLER DUP3 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xA17 JUMPI PUSH2 0xA16 PUSH2 0x177E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL ADD MLOAD PUSH1 0x40 MLOAD PUSH2 0xA2A SWAP3 SWAP2 SWAP1 PUSH2 0x1885 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAAE4B8F7 CALLER PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA8E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAAB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xACF SWAP2 SWAP1 PUSH2 0x16D4 JUMP JUMPDEST PUSH2 0xB0E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB05 SWAP1 PUSH2 0x175E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xB7E SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xC18 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xC0F SWAP1 PUSH2 0x18FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP3 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x867B5AC058251D339D708E1228AC92D445562B0685454293FED8B862F87167C5 DUP4 PUSH1 0x40 MLOAD PUSH2 0xC87 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP2 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x3F32684A32A11DABDBB8C0177DE80AA3AE36A004D75210335B49E544E48CD0AA DUP3 PUSH1 0x40 MLOAD PUSH2 0xCFF SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 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 PUSH32 0x13A533084DCBB1CFE0DBEA708EA977223C27C44D94F2FA3867A167C9CD340BF9 DUP2 PUSH1 0x40 MLOAD PUSH2 0xD77 SWAP2 SWAP1 PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x9D76EA58 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE16 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE3A SWAP2 SWAP1 PUSH2 0x162D JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xC1E553E7 DUP4 DUP6 PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xEBF SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x191A JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEDE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xF02 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0xF58 JUMPI PUSH2 0xF57 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0xFB0 JUMPI PUSH2 0xFAF PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD SWAP1 POP PUSH1 0x0 PUSH1 0xA PUSH1 0xB DUP6 PUSH2 0xFC5 SWAP2 SWAP1 PUSH2 0x1980 JUMP JUMPDEST PUSH2 0xFCF SWAP2 SWAP1 PUSH2 0x19F1 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH3 0x127500 TIMESTAMP PUSH2 0xFE2 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST SWAP1 POP TIMESTAMP DUP4 LT ISZERO PUSH2 0x105F JUMPI PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP7 PUSH2 0x1003 SWAP2 SWAP1 PUSH2 0x1A22 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x1059 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP PUSH2 0x10C3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x3 PUSH1 0x0 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 PUSH2 0x10C1 SWAP3 SWAP2 SWAP1 PUSH2 0x11F3 JUMP JUMPDEST POP JUMPDEST PUSH32 0xA1D590FD2E594A4A50983C420B530FCF5FFE210E5203B51D6C022CB0D9AC4F80 DUP9 PUSH1 0x3 PUSH1 0x0 DUP12 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x2 DUP2 LT PUSH2 0x1137 JUMPI PUSH2 0x1136 PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x3 PUSH1 0x0 DUP13 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0x2 DUP2 LT PUSH2 0x118B JUMPI PUSH2 0x118A PUSH2 0x177E JUMP JUMPDEST JUMPDEST ADD SLOAD PUSH1 0x40 MLOAD PUSH2 0x119C SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A56 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x11E2 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x11E1 JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0xFF AND SWAP1 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x11C1 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x11EF SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 PUSH1 0x2 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x1222 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1221 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1206 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x122F SWAP2 SWAP1 PUSH2 0x1233 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x124C JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1234 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x126D DUP2 PUSH2 0x125A JUMP JUMPDEST DUP2 EQ PUSH2 0x1278 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x128A DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x12BB DUP3 PUSH2 0x1290 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x12CB DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP2 EQ PUSH2 0x12D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x12E8 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x1308 JUMPI PUSH2 0x1307 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1316 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x1327 DUP8 DUP3 DUP9 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x1338 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x1349 DUP8 DUP3 DUP9 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x137A JUMPI PUSH2 0x1379 PUSH2 0x1355 JUMP JUMPDEST JUMPDEST DUP3 CALLDATALOAD SWAP1 POP PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1397 JUMPI PUSH2 0x1396 PUSH2 0x135A JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x1 DUP3 MUL DUP4 ADD GT ISZERO PUSH2 0x13B3 JUMPI PUSH2 0x13B2 PUSH2 0x135F JUMP JUMPDEST JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x80 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x13D6 JUMPI PUSH2 0x13D5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x13E4 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x13F5 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0x1406 DUP9 DUP3 DUP10 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1427 JUMPI PUSH2 0x1426 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1433 DUP9 DUP3 DUP10 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP3 POP SWAP3 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH2 0x144B DUP2 PUSH2 0x125A JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1466 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1483 JUMPI PUSH2 0x1482 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1491 DUP6 DUP3 DUP7 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x14A2 DUP6 DUP3 DUP7 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x14B5 DUP2 PUSH2 0x12B0 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x14D0 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x14F6 JUMPI PUSH2 0x14F5 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1504 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP9 POP POP PUSH1 0x20 PUSH2 0x1515 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP8 POP POP PUSH1 0x40 PUSH2 0x1526 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP7 POP POP PUSH1 0x60 PUSH2 0x1537 DUP12 DUP3 DUP13 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1558 JUMPI PUSH2 0x1557 PUSH2 0x1255 JUMP JUMPDEST JUMPDEST PUSH2 0x1564 DUP12 DUP3 DUP13 ADD PUSH2 0x1364 JUMP JUMPDEST SWAP5 POP SWAP5 POP POP PUSH1 0xA0 PUSH2 0x1577 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP3 POP POP PUSH1 0xC0 PUSH2 0x1588 DUP12 DUP3 DUP13 ADD PUSH2 0x127B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 SWAP1 SWAP4 SWAP7 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x15AE JUMPI PUSH2 0x15AD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15BC DUP5 DUP3 DUP6 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x15DE JUMPI PUSH2 0x15DD PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x15EC DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x15FD DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x160E DUP7 DUP3 DUP8 ADD PUSH2 0x12D9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1627 DUP2 PUSH2 0x12C2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1643 JUMPI PUSH2 0x1642 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1651 DUP5 DUP3 DUP6 ADD PUSH2 0x1618 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1669 DUP2 PUSH2 0x1264 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1685 JUMPI PUSH2 0x1684 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1693 DUP5 DUP3 DUP6 ADD PUSH2 0x165A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x16B1 DUP2 PUSH2 0x169C JUMP JUMPDEST DUP2 EQ PUSH2 0x16BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x16CE DUP2 PUSH2 0x16A8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16EA JUMPI PUSH2 0x16E9 PUSH2 0x1250 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x16F8 DUP5 DUP3 DUP6 ADD PUSH2 0x16BF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x43616C6C6572206973206E6F742061206C6F636B206D616E6167657200000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1748 PUSH1 0x1C DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x1753 DUP3 PUSH2 0x1712 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1777 DUP2 PUSH2 0x173B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E6F20726566756E6420617661696C61626C6500000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17E3 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x17EE DUP3 PUSH2 0x17AD JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1812 DUP2 PUSH2 0x17D6 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x526566756E64206E6F7420617661696C61626C65207965740000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x184F PUSH1 0x18 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x185A DUP3 PUSH2 0x1819 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x187E DUP2 PUSH2 0x1842 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x189A PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x18A7 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x416C726561647920696E697469616C697A656400000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18E4 PUSH1 0x13 DUP4 PUSH2 0x1701 JUMP JUMPDEST SWAP2 POP PUSH2 0x18EF DUP3 PUSH2 0x18AE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1913 DUP2 PUSH2 0x18D7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x192F PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x193C PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1949 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x14AC JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x198B DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1996 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x19A4 DUP2 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x19BB JUMPI PUSH2 0x19BA PUSH2 0x1951 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x19FC DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A07 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1A17 JUMPI PUSH2 0x1A16 PUSH2 0x19C2 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1A2D DUP3 PUSH2 0x125A JUMP JUMPDEST SWAP2 POP PUSH2 0x1A38 DUP4 PUSH2 0x125A JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x1A50 JUMPI PUSH2 0x1A4F PUSH2 0x1951 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x1A6B PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x14AC JUMP JUMPDEST PUSH2 0x1A78 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x1442 JUMP JUMPDEST PUSH2 0x1A85 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x1442 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BLOBBASEFEE PUSH6 0x9CB1B5BF6C87 AND KECCAK256 0xC5 BLOBHASH SWAP13 DUP1 0xC0 0xE1 BALANCE PC DIV 0xEF MSTORE8 PUSH20 0xE0C5809E323BCD51A38C64736F6C634300081B00 CALLER ", + "sourceMap": "724:4514:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4506:343;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2616:265;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;852:42;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;827:19;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4043:393;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2042:241;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;800:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1704:271;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4880:356;;;:::i;:::-;;2348:229;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1230:401;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;768:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4506:343;4677:19;4714:10;4677:48;;4753:11;;;;;;;;;;4739:25;;:10;:25;;;4735:108;;4780:52;4793:4;:12;;;4806:7;4793:21;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4816:4;:13;;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4780:12;:52::i;:::-;4735:108;4667:182;4506:343;;;;:::o;2616:265::-;2799:19;2852:10;2837:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2830:44;;2616:265;;;;;;;:::o;852:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;827:19::-;;;;;;;;;;;;;:::o;4043:393::-;4330:11;;;;;;;;;;4316:25;;:10;:25;;;4312:118;;4357:62;4370:9;4396:10;4381:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4357:12;:62::i;:::-;4312:118;4043:393;;;;;;;;:::o;2042:241::-;2115:11;;;;;;;;;;2100:41;;;2142:10;2100:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2095:123;;2169:38;;;;;;;;;;:::i;:::-;;;;;;;;2095:123;2236:7;2227:6;;:16;;;;;;;;;;;;;;;;;;2258:18;2268:7;2258:18;;;;;;:::i;:::-;;;;;;;;2042:241;:::o;800:21::-;;;;;;;;;;;;;:::o;1704:271::-;1787:11;;;;;;;;;;1772:41;;;1814:10;1772:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1767:123;;1841:38;;;;;;;;;;:::i;:::-;;;;;;;;1767:123;1913:12;1899:11;;:26;;;;;;;;;;;;;;;;;;1940:28;1955:12;1940:28;;;;;;:::i;:::-;;;;;;;;1704:271;:::o;4880:356::-;4922:21;4946:7;:19;4954:10;4946:19;;;;;;;;;;;;;;;4922:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4995:1;4983:6;4990:1;4983:9;;;;;;;:::i;:::-;;;;;;:13;4975:45;;;;;;;;;;;;:::i;:::-;;;;;;;;;5050:15;5038:6;5045:1;5038:9;;;;;;;:::i;:::-;;;;;;:27;5030:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;5104:28;;;;;;;;5127:1;5104:28;;;;;;5130:1;5104:28;;;;;:7;:19;5112:10;5104:19;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;5150:10;5142:28;;:39;5171:6;5178:1;5171:9;;;;;;;:::i;:::-;;;;;;5142:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5196:33;5207:10;5219:6;5226:1;5219:9;;;;;;;:::i;:::-;;;;;;5196:33;;;;;;;:::i;:::-;;;;;;;;4912:324;4880:356::o;2348:229::-;2417:11;;;;;;;;;;2402:41;;;2444:10;2402:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2397:123;;2471:38;;;;;;;;;;:::i;:::-;;;;;;;;2397:123;2536:5;2529:4;;:12;;;;;;;;;;;;;;;;;;2556:14;2564:5;2556:14;;;;;;:::i;:::-;;;;;;;;2348:229;:::o;1230:401::-;1378:1;1355:25;;:11;;;;;;;;;;:25;;;1351:85;;1396:29;;;;;;;;;;:::i;:::-;;;;;;;;1351:85;1459:12;1445:11;;:26;;;;;;;;;;;;;;;;;;1486:28;1501:12;1486:28;;;;;;:::i;:::-;;;;;;;;1533:7;1524:6;;:16;;;;;;;;;;;;;;;;;;1555:18;1565:7;1555:18;;;;;;:::i;:::-;;;;;;;;1590:5;1583:4;;:12;;;;;;;;;;;;;;;;;;1610:14;1618:5;1610:14;;;;;;:::i;:::-;;;;;;;;1230:401;;;:::o;768:26::-;;;;;;;;;;;;:::o;2887:1085::-;2961:17;2996:11;;;;;;;;;;;2981:40;;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2961:62;;3117:15;3152:6;;;;;;;;;;;3135:41;;;3190:9;3213:6;3233:4;;;;;;;;;;;3135:112;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3117:130;;3299:19;3321:7;:20;3329:11;3321:20;;;;;;;;;;;;;;;3342:1;3321:23;;;;;;;:::i;:::-;;;;3299:45;;3354:18;3375:7;:20;3383:11;3375:20;;;;;;;;;;;;;;;3396:1;3375:23;;;;;;;:::i;:::-;;;;3354:44;;3408:14;3445:2;3439;3426:10;:15;;;;:::i;:::-;3425:22;;;;:::i;:::-;3408:39;;3470:13;3504:17;3486:15;:35;;;;:::i;:::-;3470:51;;3570:15;3554:13;:31;3550:282;;;3601:61;;;;;;;;3642:9;3625:14;:26;;;;:::i;:::-;3601:61;;;;3653:8;3601:61;;;:7;:20;3609:11;3601:20;;;;;;;;;;;;;;;:61;;;;;;;:::i;:::-;;3550:282;;;3777:44;;;;;;;;3801:9;3777:44;;;;3812:8;3777:44;;;:7;:20;3785:11;3777:20;;;;;;;;;;;;;;;:44;;;;;;;:::i;:::-;;3550:282;3847:118;3870:11;3895:7;:20;3903:11;3895:20;;;;;;;;;;;;;;;3916:1;3895:23;;;;;;;:::i;:::-;;;;3932:7;:20;3940:11;3932:20;;;;;;;;;;;;;;;3953:1;3932:23;;;;;;;:::i;:::-;;;;3847:118;;;;;;;;:::i;:::-;;;;;;;;2951:1021;;;;;;2887:1085;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;88:117:20:-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:126::-;727:7;767:42;760:5;756:54;745:65;;690:126;;;:::o;822:96::-;859:7;888:24;906:5;888:24;:::i;:::-;877:35;;822:96;;;:::o;924:122::-;997:24;1015:5;997:24;:::i;:::-;990:5;987:35;977:63;;1036:1;1033;1026:12;977:63;924:122;:::o;1052:139::-;1098:5;1136:6;1123:20;1114:29;;1152:33;1179:5;1152:33;:::i;:::-;1052:139;;;;:::o;1197:765::-;1283:6;1291;1299;1307;1356:3;1344:9;1335:7;1331:23;1327:33;1324:120;;;1363:79;;:::i;:::-;1324:120;1483:1;1508:53;1553:7;1544:6;1533:9;1529:22;1508:53;:::i;:::-;1498:63;;1454:117;1610:2;1636:53;1681:7;1672:6;1661:9;1657:22;1636:53;:::i;:::-;1626:63;;1581:118;1738:2;1764:53;1809:7;1800:6;1789:9;1785:22;1764:53;:::i;:::-;1754:63;;1709:118;1866:2;1892:53;1937:7;1928:6;1917:9;1913:22;1892:53;:::i;:::-;1882:63;;1837:118;1197:765;;;;;;;:::o;1968:117::-;2077:1;2074;2067:12;2091:117;2200:1;2197;2190:12;2214:117;2323:1;2320;2313:12;2350:552;2407:8;2417:6;2467:3;2460:4;2452:6;2448:17;2444:27;2434:122;;2475:79;;:::i;:::-;2434:122;2588:6;2575:20;2565:30;;2618:18;2610:6;2607:30;2604:117;;;2640:79;;:::i;:::-;2604:117;2754:4;2746:6;2742:17;2730:29;;2808:3;2800:4;2792:6;2788:17;2778:8;2774:32;2771:41;2768:128;;;2815:79;;:::i;:::-;2768:128;2350:552;;;;;:::o;2908:963::-;3005:6;3013;3021;3029;3037;3086:3;3074:9;3065:7;3061:23;3057:33;3054:120;;;3093:79;;:::i;:::-;3054:120;3213:1;3238:53;3283:7;3274:6;3263:9;3259:22;3238:53;:::i;:::-;3228:63;;3184:117;3340:2;3366:53;3411:7;3402:6;3391:9;3387:22;3366:53;:::i;:::-;3356:63;;3311:118;3468:2;3494:53;3539:7;3530:6;3519:9;3515:22;3494:53;:::i;:::-;3484:63;;3439:118;3624:2;3613:9;3609:18;3596:32;3655:18;3647:6;3644:30;3641:117;;;3677:79;;:::i;:::-;3641:117;3790:64;3846:7;3837:6;3826:9;3822:22;3790:64;:::i;:::-;3772:82;;;;3567:297;2908:963;;;;;;;;:::o;3877:118::-;3964:24;3982:5;3964:24;:::i;:::-;3959:3;3952:37;3877:118;;:::o;4001:222::-;4094:4;4132:2;4121:9;4117:18;4109:26;;4145:71;4213:1;4202:9;4198:17;4189:6;4145:71;:::i;:::-;4001:222;;;;:::o;4229:474::-;4297:6;4305;4354:2;4342:9;4333:7;4329:23;4325:32;4322:119;;;4360:79;;:::i;:::-;4322:119;4480:1;4505:53;4550:7;4541:6;4530:9;4526:22;4505:53;:::i;:::-;4495:63;;4451:117;4607:2;4633:53;4678:7;4669:6;4658:9;4654:22;4633:53;:::i;:::-;4623:63;;4578:118;4229:474;;;;;:::o;4709:118::-;4796:24;4814:5;4796:24;:::i;:::-;4791:3;4784:37;4709:118;;:::o;4833:222::-;4926:4;4964:2;4953:9;4949:18;4941:26;;4977:71;5045:1;5034:9;5030:17;5021:6;4977:71;:::i;:::-;4833:222;;;;:::o;5061:1401::-;5185:6;5193;5201;5209;5217;5225;5233;5241;5290:3;5278:9;5269:7;5265:23;5261:33;5258:120;;;5297:79;;:::i;:::-;5258:120;5417:1;5442:53;5487:7;5478:6;5467:9;5463:22;5442:53;:::i;:::-;5432:63;;5388:117;5544:2;5570:53;5615:7;5606:6;5595:9;5591:22;5570:53;:::i;:::-;5560:63;;5515:118;5672:2;5698:53;5743:7;5734:6;5723:9;5719:22;5698:53;:::i;:::-;5688:63;;5643:118;5800:2;5826:53;5871:7;5862:6;5851:9;5847:22;5826:53;:::i;:::-;5816:63;;5771:118;5956:3;5945:9;5941:19;5928:33;5988:18;5980:6;5977:30;5974:117;;;6010:79;;:::i;:::-;5974:117;6123:64;6179:7;6170:6;6159:9;6155:22;6123:64;:::i;:::-;6105:82;;;;5899:298;6236:3;6263:53;6308:7;6299:6;6288:9;6284:22;6263:53;:::i;:::-;6253:63;;6207:119;6365:3;6392:53;6437:7;6428:6;6417:9;6413:22;6392:53;:::i;:::-;6382:63;;6336:119;5061:1401;;;;;;;;;;;:::o;6468:329::-;6527:6;6576:2;6564:9;6555:7;6551:23;6547:32;6544:119;;;6582:79;;:::i;:::-;6544:119;6702:1;6727:53;6772:7;6763:6;6752:9;6748:22;6727:53;:::i;:::-;6717:63;;6673:117;6468:329;;;;:::o;6803:619::-;6880:6;6888;6896;6945:2;6933:9;6924:7;6920:23;6916:32;6913:119;;;6951:79;;:::i;:::-;6913:119;7071:1;7096:53;7141:7;7132:6;7121:9;7117:22;7096:53;:::i;:::-;7086:63;;7042:117;7198:2;7224:53;7269:7;7260:6;7249:9;7245:22;7224:53;:::i;:::-;7214:63;;7169:118;7326:2;7352:53;7397:7;7388:6;7377:9;7373:22;7352:53;:::i;:::-;7342:63;;7297:118;6803:619;;;;;:::o;7428:143::-;7485:5;7516:6;7510:13;7501:22;;7532:33;7559:5;7532:33;:::i;:::-;7428:143;;;;:::o;7577:351::-;7647:6;7696:2;7684:9;7675:7;7671:23;7667:32;7664:119;;;7702:79;;:::i;:::-;7664:119;7822:1;7847:64;7903:7;7894:6;7883:9;7879:22;7847:64;:::i;:::-;7837:74;;7793:128;7577:351;;;;:::o;7934:143::-;7991:5;8022:6;8016:13;8007:22;;8038:33;8065:5;8038:33;:::i;:::-;7934:143;;;;:::o;8083:351::-;8153:6;8202:2;8190:9;8181:7;8177:23;8173:32;8170:119;;;8208:79;;:::i;:::-;8170:119;8328:1;8353:64;8409:7;8400:6;8389:9;8385:22;8353:64;:::i;:::-;8343:74;;8299:128;8083:351;;;;:::o;8440:90::-;8474:7;8517:5;8510:13;8503:21;8492:32;;8440:90;;;:::o;8536:116::-;8606:21;8621:5;8606:21;:::i;:::-;8599:5;8596:32;8586:60;;8642:1;8639;8632:12;8586:60;8536:116;:::o;8658:137::-;8712:5;8743:6;8737:13;8728:22;;8759:30;8783:5;8759:30;:::i;:::-;8658:137;;;;:::o;8801:345::-;8868:6;8917:2;8905:9;8896:7;8892:23;8888:32;8885:119;;;8923:79;;:::i;:::-;8885:119;9043:1;9068:61;9121:7;9112:6;9101:9;9097:22;9068:61;:::i;:::-;9058:71;;9014:125;8801:345;;;;:::o;9152:169::-;9236:11;9270:6;9265:3;9258:19;9310:4;9305:3;9301:14;9286:29;;9152:169;;;;:::o;9327:178::-;9467:30;9463:1;9455:6;9451:14;9444:54;9327:178;:::o;9511:366::-;9653:3;9674:67;9738:2;9733:3;9674:67;:::i;:::-;9667:74;;9750:93;9839:3;9750:93;:::i;:::-;9868:2;9863:3;9859:12;9852:19;;9511:366;;;:::o;9883:419::-;10049:4;10087:2;10076:9;10072:18;10064:26;;10136:9;10130:4;10126:20;10122:1;10111:9;10107:17;10100:47;10164:131;10290:4;10164:131;:::i;:::-;10156:139;;9883:419;;;:::o;10308:180::-;10356:77;10353:1;10346:88;10453:4;10450:1;10443:15;10477:4;10474:1;10467:15;10494:169;10634:21;10630:1;10622:6;10618:14;10611:45;10494:169;:::o;10669:366::-;10811:3;10832:67;10896:2;10891:3;10832:67;:::i;:::-;10825:74;;10908:93;10997:3;10908:93;:::i;:::-;11026:2;11021:3;11017:12;11010:19;;10669:366;;;:::o;11041:419::-;11207:4;11245:2;11234:9;11230:18;11222:26;;11294:9;11288:4;11284:20;11280:1;11269:9;11265:17;11258:47;11322:131;11448:4;11322:131;:::i;:::-;11314:139;;11041:419;;;:::o;11466:174::-;11606:26;11602:1;11594:6;11590:14;11583:50;11466:174;:::o;11646:366::-;11788:3;11809:67;11873:2;11868:3;11809:67;:::i;:::-;11802:74;;11885:93;11974:3;11885:93;:::i;:::-;12003:2;11998:3;11994:12;11987:19;;11646:366;;;:::o;12018:419::-;12184:4;12222:2;12211:9;12207:18;12199:26;;12271:9;12265:4;12261:20;12257:1;12246:9;12242:17;12235:47;12299:131;12425:4;12299:131;:::i;:::-;12291:139;;12018:419;;;:::o;12443:332::-;12564:4;12602:2;12591:9;12587:18;12579:26;;12615:71;12683:1;12672:9;12668:17;12659:6;12615:71;:::i;:::-;12696:72;12764:2;12753:9;12749:18;12740:6;12696:72;:::i;:::-;12443:332;;;;;:::o;12781:169::-;12921:21;12917:1;12909:6;12905:14;12898:45;12781:169;:::o;12956:366::-;13098:3;13119:67;13183:2;13178:3;13119:67;:::i;:::-;13112:74;;13195:93;13284:3;13195:93;:::i;:::-;13313:2;13308:3;13304:12;13297:19;;12956:366;;;:::o;13328:419::-;13494:4;13532:2;13521:9;13517:18;13509:26;;13581:9;13575:4;13571:20;13567:1;13556:9;13552:17;13545:47;13609:131;13735:4;13609:131;:::i;:::-;13601:139;;13328:419;;;:::o;13753:442::-;13902:4;13940:2;13929:9;13925:18;13917:26;;13953:71;14021:1;14010:9;14006:17;13997:6;13953:71;:::i;:::-;14034:72;14102:2;14091:9;14087:18;14078:6;14034:72;:::i;:::-;14116;14184:2;14173:9;14169:18;14160:6;14116:72;:::i;:::-;13753:442;;;;;;:::o;14201:180::-;14249:77;14246:1;14239:88;14346:4;14343:1;14336:15;14370:4;14367:1;14360:15;14387:410;14427:7;14450:20;14468:1;14450:20;:::i;:::-;14445:25;;14484:20;14502:1;14484:20;:::i;:::-;14479:25;;14539:1;14536;14532:9;14561:30;14579:11;14561:30;:::i;:::-;14550:41;;14740:1;14731:7;14727:15;14724:1;14721:22;14701:1;14694:9;14674:83;14651:139;;14770:18;;:::i;:::-;14651:139;14435:362;14387:410;;;;:::o;14803:180::-;14851:77;14848:1;14841:88;14948:4;14945:1;14938:15;14972:4;14969:1;14962:15;14989:185;15029:1;15046:20;15064:1;15046:20;:::i;:::-;15041:25;;15080:20;15098:1;15080:20;:::i;:::-;15075:25;;15119:1;15109:35;;15124:18;;:::i;:::-;15109:35;15166:1;15163;15159:9;15154:14;;14989:185;;;;:::o;15180:191::-;15220:3;15239:20;15257:1;15239:20;:::i;:::-;15234:25;;15273:20;15291:1;15273:20;:::i;:::-;15268:25;;15316:1;15313;15309:9;15302:16;;15337:3;15334:1;15331:10;15328:36;;;15344:18;;:::i;:::-;15328:36;15180:191;;;;:::o;15377:442::-;15526:4;15564:2;15553:9;15549:18;15541:26;;15577:71;15645:1;15634:9;15630:17;15621:6;15577:71;:::i;:::-;15658:72;15726:2;15715:9;15711:18;15702:6;15658:72;:::i;:::-;15740;15808:2;15797:9;15793:18;15784:6;15740:72;:::i;:::-;15377:442;;;;;;:::o" + }, + "methodIdentifiers": { + "claimRefund()": "b5545a3c", + "initialize(address,address,address)": "c0c53b8b", + "keyPurchasePrice(address,address,address,bytes)": "221c1fd1", + "onKeyExtend(uint256,address,uint256,uint256)": "016b9680", + "onKeyPurchase(uint256,address,address,address,bytes,uint256,uint256)": "5e895f29", + "oracle()": "7dc0d1d0", + "refunds(address,uint256)": "3436247b", + "setOracle(address)": "7adbf973", + "setUnlockPrime(address)": "8295d3be", + "setWeth(address)": "b8d1452f", + "unlockPrime()": "db7d7f8d", + "weth()": "3fc8cef3" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_unlockPrime\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"OracleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"RefundPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"RefundSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"UnlockPrimeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"WethSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"claimRefund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_unlockPrime\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"keyPurchasePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"minKeyPrice\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"onKeyExtend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"onKeyPurchase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"refunds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"name\":\"setOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_unlockPrime\",\"type\":\"address\"}],\"name\":\"setUnlockPrime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"name\":\"setWeth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockPrime\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weth\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/UnlockPrimeHookWithRecipient.sol\":\"UnlockPrimeHookWithRecipient\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@unlock-protocol/contracts/dist/PublicLock/IPublicLockV13.sol\":{\"keccak256\":\"0xcc5a3a09c6135b624989959c1e2ce86299da964b8c2bba7c51ffa6988c70e05d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b0e4a97444bd5a3fee04a52d68cc9f7833795257d9e2dfac6d8f96b6256c3b76\",\"dweb:/ipfs/QmZENp6w6ax9UiiyZ28oYBUdGCUNihoXbDT64igtFDTQGE\"]},\"contracts/UnlockPrimeHookWithRecipient.sol\":{\"keccak256\":\"0x3c860331e4def3d894b55c14804b9dc1054e81acd6da034da298c244d1a47e52\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://0f2b7d0602adfaec3c7c1f3960b7fe63b365fb25ffba31c94800652be8d24adb\",\"dweb:/ipfs/QmRSyTpFPpAhp6c95SFfsajyyjfudYzB8Z7kMpVqeYkGZF\"]}},\"version\":1}" + } + }, + "contracts/UnlockPrimeTokenURIHook.sol": { + "Datetime": { + "abi": [], + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122061f0f7a0730aa634267b4a960bc798ab58c086b0d144c1039235a5389a8e9c8364736f6c634300081b0033", + "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH2 0xF0F7 LOG0 PUSH20 0xAA634267B4A960BC798AB58C086B0D144C10392 CALLDATALOAD 0xA5 CODESIZE SWAP11 DUP15 SWAP13 DUP4 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "469:1779:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122061f0f7a0730aa634267b4a960bc798ab58c086b0d144c1039235a5389a8e9c8364736f6c634300081b0033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH2 0xF0F7 LOG0 PUSH20 0xAA634267B4A960BC798AB58C086B0D144C10392 CALLDATALOAD 0xA5 CODESIZE SWAP11 DUP15 SWAP13 DUP4 PUSH5 0x736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "469:1779:19:-:0;;;;;;;;" + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/UnlockPrimeTokenURIHook.sol\":\"Datetime\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Base64.sol\":{\"keccak256\":\"0x09000342b85b1a06fa1f5b71bdeef7c449cd25799aac14fa9053d8abd18219aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7cdab282a9165b685fa86da3bd331c8e319e5a5c64e16599134e738934a77d4\",\"dweb:/ipfs/QmSLcE5FmDqVQbFDB6MzUzuFi4UhJVUQ1A2rT4aJGhpERT\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x55f102ea785d8399c0e58d1108e2d289506dde18abc6db1b7f68c1f9f9bc5792\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e52e0a7765c943ef14e5bcf11e46e6139fa044be564881378349236bf2e3453\",\"dweb:/ipfs/QmZEeeXoFPW47amyP35gfzomF9DixqqTEPwzBakv6cZw6i\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4ece9f0b9c8daca08c76b6b5405a6446b6f73b3a15fab7ff56e296cbd4a2c875\",\"dweb:/ipfs/QmQyRpyPRL5SQuAgj6SHmbir3foX65FJjbVTTQrA2EFg6L\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0x5f7e4076e175393767754387c962926577f1660dd9b810187b9002407656be72\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7d533a1c97cd43a57cd9c465f7ee8dd0e39ae93a8fb8ff8e5303a356b081cdcc\",\"dweb:/ipfs/QmVBEei6aTnvYNZp2CHYVNKyZS4q1KkjANfY39WVXZXVoT\"]},\"contracts/UnlockPrimeTokenURIHook.sol\":{\"keccak256\":\"0x40452828738d9de1149b578c2bf588f9a26c49d1aa7db5f4b99404356f9c0d5d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d481dfb24356c75ee4271e960232e6d6e6a9698d4155d020b073f26c84261aea\",\"dweb:/ipfs/QmYNVGEYxPVQY8yWz6FbHwZE5ktZDhrCqqojkReaijueXB\"]}},\"version\":1}" + }, + "UnlockPrimeTokenURIHook": { + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "length", + "type": "uint256" + } + ], + "name": "StringsInsufficientHexLength", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "lockAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "keyId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expirationTimestamp", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "evm": { + "bytecode": { + "functionDebugData": { + "array_dataslot_t_string_storage": { + "entryPoint": 1150, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_length_t_string_memory_ptr": { + "entryPoint": 996, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "clean_up_bytearray_end_slots_t_string_storage": { + "entryPoint": 1447, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "cleanup_t_uint256": { + "entryPoint": 1282, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "clear_storage_range_t_bytes1": { + "entryPoint": 1412, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "convert_t_uint256_to_t_uint256": { + "entryPoint": 1302, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": { + "entryPoint": 1588, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "divide_by_32_ceil": { + "entryPoint": 1171, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "extract_byte_array_length": { + "entryPoint": 1101, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "extract_used_part_and_set_length_of_short_byte_array": { + "entryPoint": 1560, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "identity": { + "entryPoint": 1292, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "mask_bytes_dynamic": { + "entryPoint": 1530, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "panic_error_0x22": { + "entryPoint": 1054, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 1007, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "prepare_store_t_uint256": { + "entryPoint": 1336, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "shift_left_dynamic": { + "entryPoint": 1187, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "shift_right_unsigned_dynamic": { + "entryPoint": 1517, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "storage_set_to_zero_t_uint256": { + "entryPoint": 1388, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "update_byte_slice_dynamic32": { + "entryPoint": 1200, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "update_storage_value_t_uint256_to_t_uint256": { + "entryPoint": 1346, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "zero_value_for_split_t_uint256": { + "entryPoint": 1383, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:5231:20", + "nodeType": "YulBlock", + "src": "0:5231:20", + "statements": [ + { + "body": { + "nativeSrc": "66:40:20", + "nodeType": "YulBlock", + "src": "66:40:20", + "statements": [ + { + "nativeSrc": "77:22:20", + "nodeType": "YulAssignment", + "src": "77:22:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "93:5:20", + "nodeType": "YulIdentifier", + "src": "93:5:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "87:5:20", + "nodeType": "YulIdentifier", + "src": "87:5:20" + }, + "nativeSrc": "87:12:20", + "nodeType": "YulFunctionCall", + "src": "87:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "77:6:20", + "nodeType": "YulIdentifier", + "src": "77:6:20" + } + ] + } + ] + }, + "name": "array_length_t_string_memory_ptr", + "nativeSrc": "7:99:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "49:5:20", + "nodeType": "YulTypedName", + "src": "49:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "59:6:20", + "nodeType": "YulTypedName", + "src": "59:6:20", + "type": "" + } + ], + "src": "7:99:20" + }, + { + "body": { + "nativeSrc": "140:152:20", + "nodeType": "YulBlock", + "src": "140:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "157:1:20", + "nodeType": "YulLiteral", + "src": "157:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "160:77:20", + "nodeType": "YulLiteral", + "src": "160:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "150:6:20", + "nodeType": "YulIdentifier", + "src": "150:6:20" + }, + "nativeSrc": "150:88:20", + "nodeType": "YulFunctionCall", + "src": "150:88:20" + }, + "nativeSrc": "150:88:20", + "nodeType": "YulExpressionStatement", + "src": "150:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "254:1:20", + "nodeType": "YulLiteral", + "src": "254:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "257:4:20", + "nodeType": "YulLiteral", + "src": "257:4:20", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "247:6:20", + "nodeType": "YulIdentifier", + "src": "247:6:20" + }, + "nativeSrc": "247:15:20", + "nodeType": "YulFunctionCall", + "src": "247:15:20" + }, + "nativeSrc": "247:15:20", + "nodeType": "YulExpressionStatement", + "src": "247:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "278:1:20", + "nodeType": "YulLiteral", + "src": "278:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "281:4:20", + "nodeType": "YulLiteral", + "src": "281:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "271:6:20", + "nodeType": "YulIdentifier", + "src": "271:6:20" + }, + "nativeSrc": "271:15:20", + "nodeType": "YulFunctionCall", + "src": "271:15:20" + }, + "nativeSrc": "271:15:20", + "nodeType": "YulExpressionStatement", + "src": "271:15:20" + } + ] + }, + "name": "panic_error_0x41", + "nativeSrc": "112:180:20", + "nodeType": "YulFunctionDefinition", + "src": "112:180:20" + }, + { + "body": { + "nativeSrc": "326:152:20", + "nodeType": "YulBlock", + "src": "326:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "343:1:20", + "nodeType": "YulLiteral", + "src": "343:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "346:77:20", + "nodeType": "YulLiteral", + "src": "346:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "336:6:20", + "nodeType": "YulIdentifier", + "src": "336:6:20" + }, + "nativeSrc": "336:88:20", + "nodeType": "YulFunctionCall", + "src": "336:88:20" + }, + "nativeSrc": "336:88:20", + "nodeType": "YulExpressionStatement", + "src": "336:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "440:1:20", + "nodeType": "YulLiteral", + "src": "440:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "443:4:20", + "nodeType": "YulLiteral", + "src": "443:4:20", + "type": "", + "value": "0x22" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "433:6:20", + "nodeType": "YulIdentifier", + "src": "433:6:20" + }, + "nativeSrc": "433:15:20", + "nodeType": "YulFunctionCall", + "src": "433:15:20" + }, + "nativeSrc": "433:15:20", + "nodeType": "YulExpressionStatement", + "src": "433:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "464:1:20", + "nodeType": "YulLiteral", + "src": "464:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "467:4:20", + "nodeType": "YulLiteral", + "src": "467:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "457:6:20", + "nodeType": "YulIdentifier", + "src": "457:6:20" + }, + "nativeSrc": "457:15:20", + "nodeType": "YulFunctionCall", + "src": "457:15:20" + }, + "nativeSrc": "457:15:20", + "nodeType": "YulExpressionStatement", + "src": "457:15:20" + } + ] + }, + "name": "panic_error_0x22", + "nativeSrc": "298:180:20", + "nodeType": "YulFunctionDefinition", + "src": "298:180:20" + }, + { + "body": { + "nativeSrc": "535:269:20", + "nodeType": "YulBlock", + "src": "535:269:20", + "statements": [ + { + "nativeSrc": "545:22:20", + "nodeType": "YulAssignment", + "src": "545:22:20", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "559:4:20", + "nodeType": "YulIdentifier", + "src": "559:4:20" + }, + { + "kind": "number", + "nativeSrc": "565:1:20", + "nodeType": "YulLiteral", + "src": "565:1:20", + "type": "", + "value": "2" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "555:3:20", + "nodeType": "YulIdentifier", + "src": "555:3:20" + }, + "nativeSrc": "555:12:20", + "nodeType": "YulFunctionCall", + "src": "555:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "545:6:20", + "nodeType": "YulIdentifier", + "src": "545:6:20" + } + ] + }, + { + "nativeSrc": "576:38:20", + "nodeType": "YulVariableDeclaration", + "src": "576:38:20", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "606:4:20", + "nodeType": "YulIdentifier", + "src": "606:4:20" + }, + { + "kind": "number", + "nativeSrc": "612:1:20", + "nodeType": "YulLiteral", + "src": "612:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "602:3:20", + "nodeType": "YulIdentifier", + "src": "602:3:20" + }, + "nativeSrc": "602:12:20", + "nodeType": "YulFunctionCall", + "src": "602:12:20" + }, + "variables": [ + { + "name": "outOfPlaceEncoding", + "nativeSrc": "580:18:20", + "nodeType": "YulTypedName", + "src": "580:18:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "653:51:20", + "nodeType": "YulBlock", + "src": "653:51:20", + "statements": [ + { + "nativeSrc": "667:27:20", + "nodeType": "YulAssignment", + "src": "667:27:20", + "value": { + "arguments": [ + { + "name": "length", + "nativeSrc": "681:6:20", + "nodeType": "YulIdentifier", + "src": "681:6:20" + }, + { + "kind": "number", + "nativeSrc": "689:4:20", + "nodeType": "YulLiteral", + "src": "689:4:20", + "type": "", + "value": "0x7f" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "677:3:20", + "nodeType": "YulIdentifier", + "src": "677:3:20" + }, + "nativeSrc": "677:17:20", + "nodeType": "YulFunctionCall", + "src": "677:17:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "667:6:20", + "nodeType": "YulIdentifier", + "src": "667:6:20" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nativeSrc": "633:18:20", + "nodeType": "YulIdentifier", + "src": "633:18:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "626:6:20", + "nodeType": "YulIdentifier", + "src": "626:6:20" + }, + "nativeSrc": "626:26:20", + "nodeType": "YulFunctionCall", + "src": "626:26:20" + }, + "nativeSrc": "623:81:20", + "nodeType": "YulIf", + "src": "623:81:20" + }, + { + "body": { + "nativeSrc": "756:42:20", + "nodeType": "YulBlock", + "src": "756:42:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x22", + "nativeSrc": "770:16:20", + "nodeType": "YulIdentifier", + "src": "770:16:20" + }, + "nativeSrc": "770:18:20", + "nodeType": "YulFunctionCall", + "src": "770:18:20" + }, + "nativeSrc": "770:18:20", + "nodeType": "YulExpressionStatement", + "src": "770:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nativeSrc": "720:18:20", + "nodeType": "YulIdentifier", + "src": "720:18:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "743:6:20", + "nodeType": "YulIdentifier", + "src": "743:6:20" + }, + { + "kind": "number", + "nativeSrc": "751:2:20", + "nodeType": "YulLiteral", + "src": "751:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "740:2:20", + "nodeType": "YulIdentifier", + "src": "740:2:20" + }, + "nativeSrc": "740:14:20", + "nodeType": "YulFunctionCall", + "src": "740:14:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "717:2:20", + "nodeType": "YulIdentifier", + "src": "717:2:20" + }, + "nativeSrc": "717:38:20", + "nodeType": "YulFunctionCall", + "src": "717:38:20" + }, + "nativeSrc": "714:84:20", + "nodeType": "YulIf", + "src": "714:84:20" + } + ] + }, + "name": "extract_byte_array_length", + "nativeSrc": "484:320:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nativeSrc": "519:4:20", + "nodeType": "YulTypedName", + "src": "519:4:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "528:6:20", + "nodeType": "YulTypedName", + "src": "528:6:20", + "type": "" + } + ], + "src": "484:320:20" + }, + { + "body": { + "nativeSrc": "864:87:20", + "nodeType": "YulBlock", + "src": "864:87:20", + "statements": [ + { + "nativeSrc": "874:11:20", + "nodeType": "YulAssignment", + "src": "874:11:20", + "value": { + "name": "ptr", + "nativeSrc": "882:3:20", + "nodeType": "YulIdentifier", + "src": "882:3:20" + }, + "variableNames": [ + { + "name": "data", + "nativeSrc": "874:4:20", + "nodeType": "YulIdentifier", + "src": "874:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "902:1:20", + "nodeType": "YulLiteral", + "src": "902:1:20", + "type": "", + "value": "0" + }, + { + "name": "ptr", + "nativeSrc": "905:3:20", + "nodeType": "YulIdentifier", + "src": "905:3:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "895:6:20", + "nodeType": "YulIdentifier", + "src": "895:6:20" + }, + "nativeSrc": "895:14:20", + "nodeType": "YulFunctionCall", + "src": "895:14:20" + }, + "nativeSrc": "895:14:20", + "nodeType": "YulExpressionStatement", + "src": "895:14:20" + }, + { + "nativeSrc": "918:26:20", + "nodeType": "YulAssignment", + "src": "918:26:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "936:1:20", + "nodeType": "YulLiteral", + "src": "936:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "939:4:20", + "nodeType": "YulLiteral", + "src": "939:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "keccak256", + "nativeSrc": "926:9:20", + "nodeType": "YulIdentifier", + "src": "926:9:20" + }, + "nativeSrc": "926:18:20", + "nodeType": "YulFunctionCall", + "src": "926:18:20" + }, + "variableNames": [ + { + "name": "data", + "nativeSrc": "918:4:20", + "nodeType": "YulIdentifier", + "src": "918:4:20" + } + ] + } + ] + }, + "name": "array_dataslot_t_string_storage", + "nativeSrc": "810:141:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "ptr", + "nativeSrc": "851:3:20", + "nodeType": "YulTypedName", + "src": "851:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "data", + "nativeSrc": "859:4:20", + "nodeType": "YulTypedName", + "src": "859:4:20", + "type": "" + } + ], + "src": "810:141:20" + }, + { + "body": { + "nativeSrc": "1001:49:20", + "nodeType": "YulBlock", + "src": "1001:49:20", + "statements": [ + { + "nativeSrc": "1011:33:20", + "nodeType": "YulAssignment", + "src": "1011:33:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1029:5:20", + "nodeType": "YulIdentifier", + "src": "1029:5:20" + }, + { + "kind": "number", + "nativeSrc": "1036:2:20", + "nodeType": "YulLiteral", + "src": "1036:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1025:3:20", + "nodeType": "YulIdentifier", + "src": "1025:3:20" + }, + "nativeSrc": "1025:14:20", + "nodeType": "YulFunctionCall", + "src": "1025:14:20" + }, + { + "kind": "number", + "nativeSrc": "1041:2:20", + "nodeType": "YulLiteral", + "src": "1041:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "1021:3:20", + "nodeType": "YulIdentifier", + "src": "1021:3:20" + }, + "nativeSrc": "1021:23:20", + "nodeType": "YulFunctionCall", + "src": "1021:23:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "1011:6:20", + "nodeType": "YulIdentifier", + "src": "1011:6:20" + } + ] + } + ] + }, + "name": "divide_by_32_ceil", + "nativeSrc": "957:93:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "984:5:20", + "nodeType": "YulTypedName", + "src": "984:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "994:6:20", + "nodeType": "YulTypedName", + "src": "994:6:20", + "type": "" + } + ], + "src": "957:93:20" + }, + { + "body": { + "nativeSrc": "1109:54:20", + "nodeType": "YulBlock", + "src": "1109:54:20", + "statements": [ + { + "nativeSrc": "1119:37:20", + "nodeType": "YulAssignment", + "src": "1119:37:20", + "value": { + "arguments": [ + { + "name": "bits", + "nativeSrc": "1144:4:20", + "nodeType": "YulIdentifier", + "src": "1144:4:20" + }, + { + "name": "value", + "nativeSrc": "1150:5:20", + "nodeType": "YulIdentifier", + "src": "1150:5:20" + } + ], + "functionName": { + "name": "shl", + "nativeSrc": "1140:3:20", + "nodeType": "YulIdentifier", + "src": "1140:3:20" + }, + "nativeSrc": "1140:16:20", + "nodeType": "YulFunctionCall", + "src": "1140:16:20" + }, + "variableNames": [ + { + "name": "newValue", + "nativeSrc": "1119:8:20", + "nodeType": "YulIdentifier", + "src": "1119:8:20" + } + ] + } + ] + }, + "name": "shift_left_dynamic", + "nativeSrc": "1056:107:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "bits", + "nativeSrc": "1084:4:20", + "nodeType": "YulTypedName", + "src": "1084:4:20", + "type": "" + }, + { + "name": "value", + "nativeSrc": "1090:5:20", + "nodeType": "YulTypedName", + "src": "1090:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "newValue", + "nativeSrc": "1100:8:20", + "nodeType": "YulTypedName", + "src": "1100:8:20", + "type": "" + } + ], + "src": "1056:107:20" + }, + { + "body": { + "nativeSrc": "1245:317:20", + "nodeType": "YulBlock", + "src": "1245:317:20", + "statements": [ + { + "nativeSrc": "1255:35:20", + "nodeType": "YulVariableDeclaration", + "src": "1255:35:20", + "value": { + "arguments": [ + { + "name": "shiftBytes", + "nativeSrc": "1276:10:20", + "nodeType": "YulIdentifier", + "src": "1276:10:20" + }, + { + "kind": "number", + "nativeSrc": "1288:1:20", + "nodeType": "YulLiteral", + "src": "1288:1:20", + "type": "", + "value": "8" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "1272:3:20", + "nodeType": "YulIdentifier", + "src": "1272:3:20" + }, + "nativeSrc": "1272:18:20", + "nodeType": "YulFunctionCall", + "src": "1272:18:20" + }, + "variables": [ + { + "name": "shiftBits", + "nativeSrc": "1259:9:20", + "nodeType": "YulTypedName", + "src": "1259:9:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1299:109:20", + "nodeType": "YulVariableDeclaration", + "src": "1299:109:20", + "value": { + "arguments": [ + { + "name": "shiftBits", + "nativeSrc": "1330:9:20", + "nodeType": "YulIdentifier", + "src": "1330:9:20" + }, + { + "kind": "number", + "nativeSrc": "1341:66:20", + "nodeType": "YulLiteral", + "src": "1341:66:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "shift_left_dynamic", + "nativeSrc": "1311:18:20", + "nodeType": "YulIdentifier", + "src": "1311:18:20" + }, + "nativeSrc": "1311:97:20", + "nodeType": "YulFunctionCall", + "src": "1311:97:20" + }, + "variables": [ + { + "name": "mask", + "nativeSrc": "1303:4:20", + "nodeType": "YulTypedName", + "src": "1303:4:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1417:51:20", + "nodeType": "YulAssignment", + "src": "1417:51:20", + "value": { + "arguments": [ + { + "name": "shiftBits", + "nativeSrc": "1448:9:20", + "nodeType": "YulIdentifier", + "src": "1448:9:20" + }, + { + "name": "toInsert", + "nativeSrc": "1459:8:20", + "nodeType": "YulIdentifier", + "src": "1459:8:20" + } + ], + "functionName": { + "name": "shift_left_dynamic", + "nativeSrc": "1429:18:20", + "nodeType": "YulIdentifier", + "src": "1429:18:20" + }, + "nativeSrc": "1429:39:20", + "nodeType": "YulFunctionCall", + "src": "1429:39:20" + }, + "variableNames": [ + { + "name": "toInsert", + "nativeSrc": "1417:8:20", + "nodeType": "YulIdentifier", + "src": "1417:8:20" + } + ] + }, + { + "nativeSrc": "1477:30:20", + "nodeType": "YulAssignment", + "src": "1477:30:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1490:5:20", + "nodeType": "YulIdentifier", + "src": "1490:5:20" + }, + { + "arguments": [ + { + "name": "mask", + "nativeSrc": "1501:4:20", + "nodeType": "YulIdentifier", + "src": "1501:4:20" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "1497:3:20", + "nodeType": "YulIdentifier", + "src": "1497:3:20" + }, + "nativeSrc": "1497:9:20", + "nodeType": "YulFunctionCall", + "src": "1497:9:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "1486:3:20", + "nodeType": "YulIdentifier", + "src": "1486:3:20" + }, + "nativeSrc": "1486:21:20", + "nodeType": "YulFunctionCall", + "src": "1486:21:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "1477:5:20", + "nodeType": "YulIdentifier", + "src": "1477:5:20" + } + ] + }, + { + "nativeSrc": "1516:40:20", + "nodeType": "YulAssignment", + "src": "1516:40:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1529:5:20", + "nodeType": "YulIdentifier", + "src": "1529:5:20" + }, + { + "arguments": [ + { + "name": "toInsert", + "nativeSrc": "1540:8:20", + "nodeType": "YulIdentifier", + "src": "1540:8:20" + }, + { + "name": "mask", + "nativeSrc": "1550:4:20", + "nodeType": "YulIdentifier", + "src": "1550:4:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "1536:3:20", + "nodeType": "YulIdentifier", + "src": "1536:3:20" + }, + "nativeSrc": "1536:19:20", + "nodeType": "YulFunctionCall", + "src": "1536:19:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "1526:2:20", + "nodeType": "YulIdentifier", + "src": "1526:2:20" + }, + "nativeSrc": "1526:30:20", + "nodeType": "YulFunctionCall", + "src": "1526:30:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "1516:6:20", + "nodeType": "YulIdentifier", + "src": "1516:6:20" + } + ] + } + ] + }, + "name": "update_byte_slice_dynamic32", + "nativeSrc": "1169:393:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1206:5:20", + "nodeType": "YulTypedName", + "src": "1206:5:20", + "type": "" + }, + { + "name": "shiftBytes", + "nativeSrc": "1213:10:20", + "nodeType": "YulTypedName", + "src": "1213:10:20", + "type": "" + }, + { + "name": "toInsert", + "nativeSrc": "1225:8:20", + "nodeType": "YulTypedName", + "src": "1225:8:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "1238:6:20", + "nodeType": "YulTypedName", + "src": "1238:6:20", + "type": "" + } + ], + "src": "1169:393:20" + }, + { + "body": { + "nativeSrc": "1613:32:20", + "nodeType": "YulBlock", + "src": "1613:32:20", + "statements": [ + { + "nativeSrc": "1623:16:20", + "nodeType": "YulAssignment", + "src": "1623:16:20", + "value": { + "name": "value", + "nativeSrc": "1634:5:20", + "nodeType": "YulIdentifier", + "src": "1634:5:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "1623:7:20", + "nodeType": "YulIdentifier", + "src": "1623:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint256", + "nativeSrc": "1568:77:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1595:5:20", + "nodeType": "YulTypedName", + "src": "1595:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "1605:7:20", + "nodeType": "YulTypedName", + "src": "1605:7:20", + "type": "" + } + ], + "src": "1568:77:20" + }, + { + "body": { + "nativeSrc": "1683:28:20", + "nodeType": "YulBlock", + "src": "1683:28:20", + "statements": [ + { + "nativeSrc": "1693:12:20", + "nodeType": "YulAssignment", + "src": "1693:12:20", + "value": { + "name": "value", + "nativeSrc": "1700:5:20", + "nodeType": "YulIdentifier", + "src": "1700:5:20" + }, + "variableNames": [ + { + "name": "ret", + "nativeSrc": "1693:3:20", + "nodeType": "YulIdentifier", + "src": "1693:3:20" + } + ] + } + ] + }, + "name": "identity", + "nativeSrc": "1651:60:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1669:5:20", + "nodeType": "YulTypedName", + "src": "1669:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nativeSrc": "1679:3:20", + "nodeType": "YulTypedName", + "src": "1679:3:20", + "type": "" + } + ], + "src": "1651:60:20" + }, + { + "body": { + "nativeSrc": "1777:82:20", + "nodeType": "YulBlock", + "src": "1777:82:20", + "statements": [ + { + "nativeSrc": "1787:66:20", + "nodeType": "YulAssignment", + "src": "1787:66:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1845:5:20", + "nodeType": "YulIdentifier", + "src": "1845:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "1827:17:20", + "nodeType": "YulIdentifier", + "src": "1827:17:20" + }, + "nativeSrc": "1827:24:20", + "nodeType": "YulFunctionCall", + "src": "1827:24:20" + } + ], + "functionName": { + "name": "identity", + "nativeSrc": "1818:8:20", + "nodeType": "YulIdentifier", + "src": "1818:8:20" + }, + "nativeSrc": "1818:34:20", + "nodeType": "YulFunctionCall", + "src": "1818:34:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "1800:17:20", + "nodeType": "YulIdentifier", + "src": "1800:17:20" + }, + "nativeSrc": "1800:53:20", + "nodeType": "YulFunctionCall", + "src": "1800:53:20" + }, + "variableNames": [ + { + "name": "converted", + "nativeSrc": "1787:9:20", + "nodeType": "YulIdentifier", + "src": "1787:9:20" + } + ] + } + ] + }, + "name": "convert_t_uint256_to_t_uint256", + "nativeSrc": "1717:142:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1757:5:20", + "nodeType": "YulTypedName", + "src": "1757:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "converted", + "nativeSrc": "1767:9:20", + "nodeType": "YulTypedName", + "src": "1767:9:20", + "type": "" + } + ], + "src": "1717:142:20" + }, + { + "body": { + "nativeSrc": "1912:28:20", + "nodeType": "YulBlock", + "src": "1912:28:20", + "statements": [ + { + "nativeSrc": "1922:12:20", + "nodeType": "YulAssignment", + "src": "1922:12:20", + "value": { + "name": "value", + "nativeSrc": "1929:5:20", + "nodeType": "YulIdentifier", + "src": "1929:5:20" + }, + "variableNames": [ + { + "name": "ret", + "nativeSrc": "1922:3:20", + "nodeType": "YulIdentifier", + "src": "1922:3:20" + } + ] + } + ] + }, + "name": "prepare_store_t_uint256", + "nativeSrc": "1865:75:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "1898:5:20", + "nodeType": "YulTypedName", + "src": "1898:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nativeSrc": "1908:3:20", + "nodeType": "YulTypedName", + "src": "1908:3:20", + "type": "" + } + ], + "src": "1865:75:20" + }, + { + "body": { + "nativeSrc": "2022:193:20", + "nodeType": "YulBlock", + "src": "2022:193:20", + "statements": [ + { + "nativeSrc": "2032:63:20", + "nodeType": "YulVariableDeclaration", + "src": "2032:63:20", + "value": { + "arguments": [ + { + "name": "value_0", + "nativeSrc": "2087:7:20", + "nodeType": "YulIdentifier", + "src": "2087:7:20" + } + ], + "functionName": { + "name": "convert_t_uint256_to_t_uint256", + "nativeSrc": "2056:30:20", + "nodeType": "YulIdentifier", + "src": "2056:30:20" + }, + "nativeSrc": "2056:39:20", + "nodeType": "YulFunctionCall", + "src": "2056:39:20" + }, + "variables": [ + { + "name": "convertedValue_0", + "nativeSrc": "2036:16:20", + "nodeType": "YulTypedName", + "src": "2036:16:20", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "slot", + "nativeSrc": "2111:4:20", + "nodeType": "YulIdentifier", + "src": "2111:4:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "slot", + "nativeSrc": "2151:4:20", + "nodeType": "YulIdentifier", + "src": "2151:4:20" + } + ], + "functionName": { + "name": "sload", + "nativeSrc": "2145:5:20", + "nodeType": "YulIdentifier", + "src": "2145:5:20" + }, + "nativeSrc": "2145:11:20", + "nodeType": "YulFunctionCall", + "src": "2145:11:20" + }, + { + "name": "offset", + "nativeSrc": "2158:6:20", + "nodeType": "YulIdentifier", + "src": "2158:6:20" + }, + { + "arguments": [ + { + "name": "convertedValue_0", + "nativeSrc": "2190:16:20", + "nodeType": "YulIdentifier", + "src": "2190:16:20" + } + ], + "functionName": { + "name": "prepare_store_t_uint256", + "nativeSrc": "2166:23:20", + "nodeType": "YulIdentifier", + "src": "2166:23:20" + }, + "nativeSrc": "2166:41:20", + "nodeType": "YulFunctionCall", + "src": "2166:41:20" + } + ], + "functionName": { + "name": "update_byte_slice_dynamic32", + "nativeSrc": "2117:27:20", + "nodeType": "YulIdentifier", + "src": "2117:27:20" + }, + "nativeSrc": "2117:91:20", + "nodeType": "YulFunctionCall", + "src": "2117:91:20" + } + ], + "functionName": { + "name": "sstore", + "nativeSrc": "2104:6:20", + "nodeType": "YulIdentifier", + "src": "2104:6:20" + }, + "nativeSrc": "2104:105:20", + "nodeType": "YulFunctionCall", + "src": "2104:105:20" + }, + "nativeSrc": "2104:105:20", + "nodeType": "YulExpressionStatement", + "src": "2104:105:20" + } + ] + }, + "name": "update_storage_value_t_uint256_to_t_uint256", + "nativeSrc": "1946:269:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "slot", + "nativeSrc": "1999:4:20", + "nodeType": "YulTypedName", + "src": "1999:4:20", + "type": "" + }, + { + "name": "offset", + "nativeSrc": "2005:6:20", + "nodeType": "YulTypedName", + "src": "2005:6:20", + "type": "" + }, + { + "name": "value_0", + "nativeSrc": "2013:7:20", + "nodeType": "YulTypedName", + "src": "2013:7:20", + "type": "" + } + ], + "src": "1946:269:20" + }, + { + "body": { + "nativeSrc": "2270:24:20", + "nodeType": "YulBlock", + "src": "2270:24:20", + "statements": [ + { + "nativeSrc": "2280:8:20", + "nodeType": "YulAssignment", + "src": "2280:8:20", + "value": { + "kind": "number", + "nativeSrc": "2287:1:20", + "nodeType": "YulLiteral", + "src": "2287:1:20", + "type": "", + "value": "0" + }, + "variableNames": [ + { + "name": "ret", + "nativeSrc": "2280:3:20", + "nodeType": "YulIdentifier", + "src": "2280:3:20" + } + ] + } + ] + }, + "name": "zero_value_for_split_t_uint256", + "nativeSrc": "2221:73:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "ret", + "nativeSrc": "2266:3:20", + "nodeType": "YulTypedName", + "src": "2266:3:20", + "type": "" + } + ], + "src": "2221:73:20" + }, + { + "body": { + "nativeSrc": "2353:136:20", + "nodeType": "YulBlock", + "src": "2353:136:20", + "statements": [ + { + "nativeSrc": "2363:46:20", + "nodeType": "YulVariableDeclaration", + "src": "2363:46:20", + "value": { + "arguments": [], + "functionName": { + "name": "zero_value_for_split_t_uint256", + "nativeSrc": "2377:30:20", + "nodeType": "YulIdentifier", + "src": "2377:30:20" + }, + "nativeSrc": "2377:32:20", + "nodeType": "YulFunctionCall", + "src": "2377:32:20" + }, + "variables": [ + { + "name": "zero_0", + "nativeSrc": "2367:6:20", + "nodeType": "YulTypedName", + "src": "2367:6:20", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "slot", + "nativeSrc": "2462:4:20", + "nodeType": "YulIdentifier", + "src": "2462:4:20" + }, + { + "name": "offset", + "nativeSrc": "2468:6:20", + "nodeType": "YulIdentifier", + "src": "2468:6:20" + }, + { + "name": "zero_0", + "nativeSrc": "2476:6:20", + "nodeType": "YulIdentifier", + "src": "2476:6:20" + } + ], + "functionName": { + "name": "update_storage_value_t_uint256_to_t_uint256", + "nativeSrc": "2418:43:20", + "nodeType": "YulIdentifier", + "src": "2418:43:20" + }, + "nativeSrc": "2418:65:20", + "nodeType": "YulFunctionCall", + "src": "2418:65:20" + }, + "nativeSrc": "2418:65:20", + "nodeType": "YulExpressionStatement", + "src": "2418:65:20" + } + ] + }, + "name": "storage_set_to_zero_t_uint256", + "nativeSrc": "2300:189:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "slot", + "nativeSrc": "2339:4:20", + "nodeType": "YulTypedName", + "src": "2339:4:20", + "type": "" + }, + { + "name": "offset", + "nativeSrc": "2345:6:20", + "nodeType": "YulTypedName", + "src": "2345:6:20", + "type": "" + } + ], + "src": "2300:189:20" + }, + { + "body": { + "nativeSrc": "2545:136:20", + "nodeType": "YulBlock", + "src": "2545:136:20", + "statements": [ + { + "body": { + "nativeSrc": "2612:63:20", + "nodeType": "YulBlock", + "src": "2612:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "start", + "nativeSrc": "2656:5:20", + "nodeType": "YulIdentifier", + "src": "2656:5:20" + }, + { + "kind": "number", + "nativeSrc": "2663:1:20", + "nodeType": "YulLiteral", + "src": "2663:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "storage_set_to_zero_t_uint256", + "nativeSrc": "2626:29:20", + "nodeType": "YulIdentifier", + "src": "2626:29:20" + }, + "nativeSrc": "2626:39:20", + "nodeType": "YulFunctionCall", + "src": "2626:39:20" + }, + "nativeSrc": "2626:39:20", + "nodeType": "YulExpressionStatement", + "src": "2626:39:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "start", + "nativeSrc": "2565:5:20", + "nodeType": "YulIdentifier", + "src": "2565:5:20" + }, + { + "name": "end", + "nativeSrc": "2572:3:20", + "nodeType": "YulIdentifier", + "src": "2572:3:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "2562:2:20", + "nodeType": "YulIdentifier", + "src": "2562:2:20" + }, + "nativeSrc": "2562:14:20", + "nodeType": "YulFunctionCall", + "src": "2562:14:20" + }, + "nativeSrc": "2555:120:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "2577:26:20", + "nodeType": "YulBlock", + "src": "2577:26:20", + "statements": [ + { + "nativeSrc": "2579:22:20", + "nodeType": "YulAssignment", + "src": "2579:22:20", + "value": { + "arguments": [ + { + "name": "start", + "nativeSrc": "2592:5:20", + "nodeType": "YulIdentifier", + "src": "2592:5:20" + }, + { + "kind": "number", + "nativeSrc": "2599:1:20", + "nodeType": "YulLiteral", + "src": "2599:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2588:3:20", + "nodeType": "YulIdentifier", + "src": "2588:3:20" + }, + "nativeSrc": "2588:13:20", + "nodeType": "YulFunctionCall", + "src": "2588:13:20" + }, + "variableNames": [ + { + "name": "start", + "nativeSrc": "2579:5:20", + "nodeType": "YulIdentifier", + "src": "2579:5:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "2559:2:20", + "nodeType": "YulBlock", + "src": "2559:2:20", + "statements": [] + }, + "src": "2555:120:20" + } + ] + }, + "name": "clear_storage_range_t_bytes1", + "nativeSrc": "2495:186:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "start", + "nativeSrc": "2533:5:20", + "nodeType": "YulTypedName", + "src": "2533:5:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "2540:3:20", + "nodeType": "YulTypedName", + "src": "2540:3:20", + "type": "" + } + ], + "src": "2495:186:20" + }, + { + "body": { + "nativeSrc": "2766:464:20", + "nodeType": "YulBlock", + "src": "2766:464:20", + "statements": [ + { + "body": { + "nativeSrc": "2792:431:20", + "nodeType": "YulBlock", + "src": "2792:431:20", + "statements": [ + { + "nativeSrc": "2806:54:20", + "nodeType": "YulVariableDeclaration", + "src": "2806:54:20", + "value": { + "arguments": [ + { + "name": "array", + "nativeSrc": "2854:5:20", + "nodeType": "YulIdentifier", + "src": "2854:5:20" + } + ], + "functionName": { + "name": "array_dataslot_t_string_storage", + "nativeSrc": "2822:31:20", + "nodeType": "YulIdentifier", + "src": "2822:31:20" + }, + "nativeSrc": "2822:38:20", + "nodeType": "YulFunctionCall", + "src": "2822:38:20" + }, + "variables": [ + { + "name": "dataArea", + "nativeSrc": "2810:8:20", + "nodeType": "YulTypedName", + "src": "2810:8:20", + "type": "" + } + ] + }, + { + "nativeSrc": "2873:63:20", + "nodeType": "YulVariableDeclaration", + "src": "2873:63:20", + "value": { + "arguments": [ + { + "name": "dataArea", + "nativeSrc": "2896:8:20", + "nodeType": "YulIdentifier", + "src": "2896:8:20" + }, + { + "arguments": [ + { + "name": "startIndex", + "nativeSrc": "2924:10:20", + "nodeType": "YulIdentifier", + "src": "2924:10:20" + } + ], + "functionName": { + "name": "divide_by_32_ceil", + "nativeSrc": "2906:17:20", + "nodeType": "YulIdentifier", + "src": "2906:17:20" + }, + "nativeSrc": "2906:29:20", + "nodeType": "YulFunctionCall", + "src": "2906:29:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2892:3:20", + "nodeType": "YulIdentifier", + "src": "2892:3:20" + }, + "nativeSrc": "2892:44:20", + "nodeType": "YulFunctionCall", + "src": "2892:44:20" + }, + "variables": [ + { + "name": "deleteStart", + "nativeSrc": "2877:11:20", + "nodeType": "YulTypedName", + "src": "2877:11:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "3093:27:20", + "nodeType": "YulBlock", + "src": "3093:27:20", + "statements": [ + { + "nativeSrc": "3095:23:20", + "nodeType": "YulAssignment", + "src": "3095:23:20", + "value": { + "name": "dataArea", + "nativeSrc": "3110:8:20", + "nodeType": "YulIdentifier", + "src": "3110:8:20" + }, + "variableNames": [ + { + "name": "deleteStart", + "nativeSrc": "3095:11:20", + "nodeType": "YulIdentifier", + "src": "3095:11:20" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "startIndex", + "nativeSrc": "3077:10:20", + "nodeType": "YulIdentifier", + "src": "3077:10:20" + }, + { + "kind": "number", + "nativeSrc": "3089:2:20", + "nodeType": "YulLiteral", + "src": "3089:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "3074:2:20", + "nodeType": "YulIdentifier", + "src": "3074:2:20" + }, + "nativeSrc": "3074:18:20", + "nodeType": "YulFunctionCall", + "src": "3074:18:20" + }, + "nativeSrc": "3071:49:20", + "nodeType": "YulIf", + "src": "3071:49:20" + }, + { + "expression": { + "arguments": [ + { + "name": "deleteStart", + "nativeSrc": "3162:11:20", + "nodeType": "YulIdentifier", + "src": "3162:11:20" + }, + { + "arguments": [ + { + "name": "dataArea", + "nativeSrc": "3179:8:20", + "nodeType": "YulIdentifier", + "src": "3179:8:20" + }, + { + "arguments": [ + { + "name": "len", + "nativeSrc": "3207:3:20", + "nodeType": "YulIdentifier", + "src": "3207:3:20" + } + ], + "functionName": { + "name": "divide_by_32_ceil", + "nativeSrc": "3189:17:20", + "nodeType": "YulIdentifier", + "src": "3189:17:20" + }, + "nativeSrc": "3189:22:20", + "nodeType": "YulFunctionCall", + "src": "3189:22:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3175:3:20", + "nodeType": "YulIdentifier", + "src": "3175:3:20" + }, + "nativeSrc": "3175:37:20", + "nodeType": "YulFunctionCall", + "src": "3175:37:20" + } + ], + "functionName": { + "name": "clear_storage_range_t_bytes1", + "nativeSrc": "3133:28:20", + "nodeType": "YulIdentifier", + "src": "3133:28:20" + }, + "nativeSrc": "3133:80:20", + "nodeType": "YulFunctionCall", + "src": "3133:80:20" + }, + "nativeSrc": "3133:80:20", + "nodeType": "YulExpressionStatement", + "src": "3133:80:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "len", + "nativeSrc": "2783:3:20", + "nodeType": "YulIdentifier", + "src": "2783:3:20" + }, + { + "kind": "number", + "nativeSrc": "2788:2:20", + "nodeType": "YulLiteral", + "src": "2788:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "2780:2:20", + "nodeType": "YulIdentifier", + "src": "2780:2:20" + }, + "nativeSrc": "2780:11:20", + "nodeType": "YulFunctionCall", + "src": "2780:11:20" + }, + "nativeSrc": "2777:446:20", + "nodeType": "YulIf", + "src": "2777:446:20" + } + ] + }, + "name": "clean_up_bytearray_end_slots_t_string_storage", + "nativeSrc": "2687:543:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "array", + "nativeSrc": "2742:5:20", + "nodeType": "YulTypedName", + "src": "2742:5:20", + "type": "" + }, + { + "name": "len", + "nativeSrc": "2749:3:20", + "nodeType": "YulTypedName", + "src": "2749:3:20", + "type": "" + }, + { + "name": "startIndex", + "nativeSrc": "2754:10:20", + "nodeType": "YulTypedName", + "src": "2754:10:20", + "type": "" + } + ], + "src": "2687:543:20" + }, + { + "body": { + "nativeSrc": "3299:54:20", + "nodeType": "YulBlock", + "src": "3299:54:20", + "statements": [ + { + "nativeSrc": "3309:37:20", + "nodeType": "YulAssignment", + "src": "3309:37:20", + "value": { + "arguments": [ + { + "name": "bits", + "nativeSrc": "3334:4:20", + "nodeType": "YulIdentifier", + "src": "3334:4:20" + }, + { + "name": "value", + "nativeSrc": "3340:5:20", + "nodeType": "YulIdentifier", + "src": "3340:5:20" + } + ], + "functionName": { + "name": "shr", + "nativeSrc": "3330:3:20", + "nodeType": "YulIdentifier", + "src": "3330:3:20" + }, + "nativeSrc": "3330:16:20", + "nodeType": "YulFunctionCall", + "src": "3330:16:20" + }, + "variableNames": [ + { + "name": "newValue", + "nativeSrc": "3309:8:20", + "nodeType": "YulIdentifier", + "src": "3309:8:20" + } + ] + } + ] + }, + "name": "shift_right_unsigned_dynamic", + "nativeSrc": "3236:117:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "bits", + "nativeSrc": "3274:4:20", + "nodeType": "YulTypedName", + "src": "3274:4:20", + "type": "" + }, + { + "name": "value", + "nativeSrc": "3280:5:20", + "nodeType": "YulTypedName", + "src": "3280:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "newValue", + "nativeSrc": "3290:8:20", + "nodeType": "YulTypedName", + "src": "3290:8:20", + "type": "" + } + ], + "src": "3236:117:20" + }, + { + "body": { + "nativeSrc": "3410:118:20", + "nodeType": "YulBlock", + "src": "3410:118:20", + "statements": [ + { + "nativeSrc": "3420:68:20", + "nodeType": "YulVariableDeclaration", + "src": "3420:68:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "3469:1:20", + "nodeType": "YulLiteral", + "src": "3469:1:20", + "type": "", + "value": "8" + }, + { + "name": "bytes", + "nativeSrc": "3472:5:20", + "nodeType": "YulIdentifier", + "src": "3472:5:20" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "3465:3:20", + "nodeType": "YulIdentifier", + "src": "3465:3:20" + }, + "nativeSrc": "3465:13:20", + "nodeType": "YulFunctionCall", + "src": "3465:13:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "3484:1:20", + "nodeType": "YulLiteral", + "src": "3484:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "3480:3:20", + "nodeType": "YulIdentifier", + "src": "3480:3:20" + }, + "nativeSrc": "3480:6:20", + "nodeType": "YulFunctionCall", + "src": "3480:6:20" + } + ], + "functionName": { + "name": "shift_right_unsigned_dynamic", + "nativeSrc": "3436:28:20", + "nodeType": "YulIdentifier", + "src": "3436:28:20" + }, + "nativeSrc": "3436:51:20", + "nodeType": "YulFunctionCall", + "src": "3436:51:20" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "3432:3:20", + "nodeType": "YulIdentifier", + "src": "3432:3:20" + }, + "nativeSrc": "3432:56:20", + "nodeType": "YulFunctionCall", + "src": "3432:56:20" + }, + "variables": [ + { + "name": "mask", + "nativeSrc": "3424:4:20", + "nodeType": "YulTypedName", + "src": "3424:4:20", + "type": "" + } + ] + }, + { + "nativeSrc": "3497:25:20", + "nodeType": "YulAssignment", + "src": "3497:25:20", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "3511:4:20", + "nodeType": "YulIdentifier", + "src": "3511:4:20" + }, + { + "name": "mask", + "nativeSrc": "3517:4:20", + "nodeType": "YulIdentifier", + "src": "3517:4:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "3507:3:20", + "nodeType": "YulIdentifier", + "src": "3507:3:20" + }, + "nativeSrc": "3507:15:20", + "nodeType": "YulFunctionCall", + "src": "3507:15:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "3497:6:20", + "nodeType": "YulIdentifier", + "src": "3497:6:20" + } + ] + } + ] + }, + "name": "mask_bytes_dynamic", + "nativeSrc": "3359:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nativeSrc": "3387:4:20", + "nodeType": "YulTypedName", + "src": "3387:4:20", + "type": "" + }, + { + "name": "bytes", + "nativeSrc": "3393:5:20", + "nodeType": "YulTypedName", + "src": "3393:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "3403:6:20", + "nodeType": "YulTypedName", + "src": "3403:6:20", + "type": "" + } + ], + "src": "3359:169:20" + }, + { + "body": { + "nativeSrc": "3614:214:20", + "nodeType": "YulBlock", + "src": "3614:214:20", + "statements": [ + { + "nativeSrc": "3747:37:20", + "nodeType": "YulAssignment", + "src": "3747:37:20", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "3774:4:20", + "nodeType": "YulIdentifier", + "src": "3774:4:20" + }, + { + "name": "len", + "nativeSrc": "3780:3:20", + "nodeType": "YulIdentifier", + "src": "3780:3:20" + } + ], + "functionName": { + "name": "mask_bytes_dynamic", + "nativeSrc": "3755:18:20", + "nodeType": "YulIdentifier", + "src": "3755:18:20" + }, + "nativeSrc": "3755:29:20", + "nodeType": "YulFunctionCall", + "src": "3755:29:20" + }, + "variableNames": [ + { + "name": "data", + "nativeSrc": "3747:4:20", + "nodeType": "YulIdentifier", + "src": "3747:4:20" + } + ] + }, + { + "nativeSrc": "3793:29:20", + "nodeType": "YulAssignment", + "src": "3793:29:20", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "3804:4:20", + "nodeType": "YulIdentifier", + "src": "3804:4:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "3814:1:20", + "nodeType": "YulLiteral", + "src": "3814:1:20", + "type": "", + "value": "2" + }, + { + "name": "len", + "nativeSrc": "3817:3:20", + "nodeType": "YulIdentifier", + "src": "3817:3:20" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "3810:3:20", + "nodeType": "YulIdentifier", + "src": "3810:3:20" + }, + "nativeSrc": "3810:11:20", + "nodeType": "YulFunctionCall", + "src": "3810:11:20" + } + ], + "functionName": { + "name": "or", + "nativeSrc": "3801:2:20", + "nodeType": "YulIdentifier", + "src": "3801:2:20" + }, + "nativeSrc": "3801:21:20", + "nodeType": "YulFunctionCall", + "src": "3801:21:20" + }, + "variableNames": [ + { + "name": "used", + "nativeSrc": "3793:4:20", + "nodeType": "YulIdentifier", + "src": "3793:4:20" + } + ] + } + ] + }, + "name": "extract_used_part_and_set_length_of_short_byte_array", + "nativeSrc": "3533:295:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nativeSrc": "3595:4:20", + "nodeType": "YulTypedName", + "src": "3595:4:20", + "type": "" + }, + { + "name": "len", + "nativeSrc": "3601:3:20", + "nodeType": "YulTypedName", + "src": "3601:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "used", + "nativeSrc": "3609:4:20", + "nodeType": "YulTypedName", + "src": "3609:4:20", + "type": "" + } + ], + "src": "3533:295:20" + }, + { + "body": { + "nativeSrc": "3925:1303:20", + "nodeType": "YulBlock", + "src": "3925:1303:20", + "statements": [ + { + "nativeSrc": "3936:51:20", + "nodeType": "YulVariableDeclaration", + "src": "3936:51:20", + "value": { + "arguments": [ + { + "name": "src", + "nativeSrc": "3983:3:20", + "nodeType": "YulIdentifier", + "src": "3983:3:20" + } + ], + "functionName": { + "name": "array_length_t_string_memory_ptr", + "nativeSrc": "3950:32:20", + "nodeType": "YulIdentifier", + "src": "3950:32:20" + }, + "nativeSrc": "3950:37:20", + "nodeType": "YulFunctionCall", + "src": "3950:37:20" + }, + "variables": [ + { + "name": "newLen", + "nativeSrc": "3940:6:20", + "nodeType": "YulTypedName", + "src": "3940:6:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "4072:22:20", + "nodeType": "YulBlock", + "src": "4072:22:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nativeSrc": "4074:16:20", + "nodeType": "YulIdentifier", + "src": "4074:16:20" + }, + "nativeSrc": "4074:18:20", + "nodeType": "YulFunctionCall", + "src": "4074:18:20" + }, + "nativeSrc": "4074:18:20", + "nodeType": "YulExpressionStatement", + "src": "4074:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "newLen", + "nativeSrc": "4044:6:20", + "nodeType": "YulIdentifier", + "src": "4044:6:20" + }, + { + "kind": "number", + "nativeSrc": "4052:18:20", + "nodeType": "YulLiteral", + "src": "4052:18:20", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "4041:2:20", + "nodeType": "YulIdentifier", + "src": "4041:2:20" + }, + "nativeSrc": "4041:30:20", + "nodeType": "YulFunctionCall", + "src": "4041:30:20" + }, + "nativeSrc": "4038:56:20", + "nodeType": "YulIf", + "src": "4038:56:20" + }, + { + "nativeSrc": "4104:52:20", + "nodeType": "YulVariableDeclaration", + "src": "4104:52:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "slot", + "nativeSrc": "4150:4:20", + "nodeType": "YulIdentifier", + "src": "4150:4:20" + } + ], + "functionName": { + "name": "sload", + "nativeSrc": "4144:5:20", + "nodeType": "YulIdentifier", + "src": "4144:5:20" + }, + "nativeSrc": "4144:11:20", + "nodeType": "YulFunctionCall", + "src": "4144:11:20" + } + ], + "functionName": { + "name": "extract_byte_array_length", + "nativeSrc": "4118:25:20", + "nodeType": "YulIdentifier", + "src": "4118:25:20" + }, + "nativeSrc": "4118:38:20", + "nodeType": "YulFunctionCall", + "src": "4118:38:20" + }, + "variables": [ + { + "name": "oldLen", + "nativeSrc": "4108:6:20", + "nodeType": "YulTypedName", + "src": "4108:6:20", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "slot", + "nativeSrc": "4249:4:20", + "nodeType": "YulIdentifier", + "src": "4249:4:20" + }, + { + "name": "oldLen", + "nativeSrc": "4255:6:20", + "nodeType": "YulIdentifier", + "src": "4255:6:20" + }, + { + "name": "newLen", + "nativeSrc": "4263:6:20", + "nodeType": "YulIdentifier", + "src": "4263:6:20" + } + ], + "functionName": { + "name": "clean_up_bytearray_end_slots_t_string_storage", + "nativeSrc": "4203:45:20", + "nodeType": "YulIdentifier", + "src": "4203:45:20" + }, + "nativeSrc": "4203:67:20", + "nodeType": "YulFunctionCall", + "src": "4203:67:20" + }, + "nativeSrc": "4203:67:20", + "nodeType": "YulExpressionStatement", + "src": "4203:67:20" + }, + { + "nativeSrc": "4280:18:20", + "nodeType": "YulVariableDeclaration", + "src": "4280:18:20", + "value": { + "kind": "number", + "nativeSrc": "4297:1:20", + "nodeType": "YulLiteral", + "src": "4297:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "srcOffset", + "nativeSrc": "4284:9:20", + "nodeType": "YulTypedName", + "src": "4284:9:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4308:17:20", + "nodeType": "YulAssignment", + "src": "4308:17:20", + "value": { + "kind": "number", + "nativeSrc": "4321:4:20", + "nodeType": "YulLiteral", + "src": "4321:4:20", + "type": "", + "value": "0x20" + }, + "variableNames": [ + { + "name": "srcOffset", + "nativeSrc": "4308:9:20", + "nodeType": "YulIdentifier", + "src": "4308:9:20" + } + ] + }, + { + "cases": [ + { + "body": { + "nativeSrc": "4372:611:20", + "nodeType": "YulBlock", + "src": "4372:611:20", + "statements": [ + { + "nativeSrc": "4386:37:20", + "nodeType": "YulVariableDeclaration", + "src": "4386:37:20", + "value": { + "arguments": [ + { + "name": "newLen", + "nativeSrc": "4405:6:20", + "nodeType": "YulIdentifier", + "src": "4405:6:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "4417:4:20", + "nodeType": "YulLiteral", + "src": "4417:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "4413:3:20", + "nodeType": "YulIdentifier", + "src": "4413:3:20" + }, + "nativeSrc": "4413:9:20", + "nodeType": "YulFunctionCall", + "src": "4413:9:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "4401:3:20", + "nodeType": "YulIdentifier", + "src": "4401:3:20" + }, + "nativeSrc": "4401:22:20", + "nodeType": "YulFunctionCall", + "src": "4401:22:20" + }, + "variables": [ + { + "name": "loopEnd", + "nativeSrc": "4390:7:20", + "nodeType": "YulTypedName", + "src": "4390:7:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4437:51:20", + "nodeType": "YulVariableDeclaration", + "src": "4437:51:20", + "value": { + "arguments": [ + { + "name": "slot", + "nativeSrc": "4483:4:20", + "nodeType": "YulIdentifier", + "src": "4483:4:20" + } + ], + "functionName": { + "name": "array_dataslot_t_string_storage", + "nativeSrc": "4451:31:20", + "nodeType": "YulIdentifier", + "src": "4451:31:20" + }, + "nativeSrc": "4451:37:20", + "nodeType": "YulFunctionCall", + "src": "4451:37:20" + }, + "variables": [ + { + "name": "dstPtr", + "nativeSrc": "4441:6:20", + "nodeType": "YulTypedName", + "src": "4441:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4501:10:20", + "nodeType": "YulVariableDeclaration", + "src": "4501:10:20", + "value": { + "kind": "number", + "nativeSrc": "4510:1:20", + "nodeType": "YulLiteral", + "src": "4510:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nativeSrc": "4505:1:20", + "nodeType": "YulTypedName", + "src": "4505:1:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "4569:163:20", + "nodeType": "YulBlock", + "src": "4569:163:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "dstPtr", + "nativeSrc": "4594:6:20", + "nodeType": "YulIdentifier", + "src": "4594:6:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "4612:3:20", + "nodeType": "YulIdentifier", + "src": "4612:3:20" + }, + { + "name": "srcOffset", + "nativeSrc": "4617:9:20", + "nodeType": "YulIdentifier", + "src": "4617:9:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4608:3:20", + "nodeType": "YulIdentifier", + "src": "4608:3:20" + }, + "nativeSrc": "4608:19:20", + "nodeType": "YulFunctionCall", + "src": "4608:19:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "4602:5:20", + "nodeType": "YulIdentifier", + "src": "4602:5:20" + }, + "nativeSrc": "4602:26:20", + "nodeType": "YulFunctionCall", + "src": "4602:26:20" + } + ], + "functionName": { + "name": "sstore", + "nativeSrc": "4587:6:20", + "nodeType": "YulIdentifier", + "src": "4587:6:20" + }, + "nativeSrc": "4587:42:20", + "nodeType": "YulFunctionCall", + "src": "4587:42:20" + }, + "nativeSrc": "4587:42:20", + "nodeType": "YulExpressionStatement", + "src": "4587:42:20" + }, + { + "nativeSrc": "4646:24:20", + "nodeType": "YulAssignment", + "src": "4646:24:20", + "value": { + "arguments": [ + { + "name": "dstPtr", + "nativeSrc": "4660:6:20", + "nodeType": "YulIdentifier", + "src": "4660:6:20" + }, + { + "kind": "number", + "nativeSrc": "4668:1:20", + "nodeType": "YulLiteral", + "src": "4668:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4656:3:20", + "nodeType": "YulIdentifier", + "src": "4656:3:20" + }, + "nativeSrc": "4656:14:20", + "nodeType": "YulFunctionCall", + "src": "4656:14:20" + }, + "variableNames": [ + { + "name": "dstPtr", + "nativeSrc": "4646:6:20", + "nodeType": "YulIdentifier", + "src": "4646:6:20" + } + ] + }, + { + "nativeSrc": "4687:31:20", + "nodeType": "YulAssignment", + "src": "4687:31:20", + "value": { + "arguments": [ + { + "name": "srcOffset", + "nativeSrc": "4704:9:20", + "nodeType": "YulIdentifier", + "src": "4704:9:20" + }, + { + "kind": "number", + "nativeSrc": "4715:2:20", + "nodeType": "YulLiteral", + "src": "4715:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4700:3:20", + "nodeType": "YulIdentifier", + "src": "4700:3:20" + }, + "nativeSrc": "4700:18:20", + "nodeType": "YulFunctionCall", + "src": "4700:18:20" + }, + "variableNames": [ + { + "name": "srcOffset", + "nativeSrc": "4687:9:20", + "nodeType": "YulIdentifier", + "src": "4687:9:20" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nativeSrc": "4535:1:20", + "nodeType": "YulIdentifier", + "src": "4535:1:20" + }, + { + "name": "loopEnd", + "nativeSrc": "4538:7:20", + "nodeType": "YulIdentifier", + "src": "4538:7:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "4532:2:20", + "nodeType": "YulIdentifier", + "src": "4532:2:20" + }, + "nativeSrc": "4532:14:20", + "nodeType": "YulFunctionCall", + "src": "4532:14:20" + }, + "nativeSrc": "4524:208:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "4547:21:20", + "nodeType": "YulBlock", + "src": "4547:21:20", + "statements": [ + { + "nativeSrc": "4549:17:20", + "nodeType": "YulAssignment", + "src": "4549:17:20", + "value": { + "arguments": [ + { + "name": "i", + "nativeSrc": "4558:1:20", + "nodeType": "YulIdentifier", + "src": "4558:1:20" + }, + { + "kind": "number", + "nativeSrc": "4561:4:20", + "nodeType": "YulLiteral", + "src": "4561:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4554:3:20", + "nodeType": "YulIdentifier", + "src": "4554:3:20" + }, + "nativeSrc": "4554:12:20", + "nodeType": "YulFunctionCall", + "src": "4554:12:20" + }, + "variableNames": [ + { + "name": "i", + "nativeSrc": "4549:1:20", + "nodeType": "YulIdentifier", + "src": "4549:1:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "4528:3:20", + "nodeType": "YulBlock", + "src": "4528:3:20", + "statements": [] + }, + "src": "4524:208:20" + }, + { + "body": { + "nativeSrc": "4768:156:20", + "nodeType": "YulBlock", + "src": "4768:156:20", + "statements": [ + { + "nativeSrc": "4786:43:20", + "nodeType": "YulVariableDeclaration", + "src": "4786:43:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "4813:3:20", + "nodeType": "YulIdentifier", + "src": "4813:3:20" + }, + { + "name": "srcOffset", + "nativeSrc": "4818:9:20", + "nodeType": "YulIdentifier", + "src": "4818:9:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4809:3:20", + "nodeType": "YulIdentifier", + "src": "4809:3:20" + }, + "nativeSrc": "4809:19:20", + "nodeType": "YulFunctionCall", + "src": "4809:19:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "4803:5:20", + "nodeType": "YulIdentifier", + "src": "4803:5:20" + }, + "nativeSrc": "4803:26:20", + "nodeType": "YulFunctionCall", + "src": "4803:26:20" + }, + "variables": [ + { + "name": "lastValue", + "nativeSrc": "4790:9:20", + "nodeType": "YulTypedName", + "src": "4790:9:20", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "dstPtr", + "nativeSrc": "4853:6:20", + "nodeType": "YulIdentifier", + "src": "4853:6:20" + }, + { + "arguments": [ + { + "name": "lastValue", + "nativeSrc": "4880:9:20", + "nodeType": "YulIdentifier", + "src": "4880:9:20" + }, + { + "arguments": [ + { + "name": "newLen", + "nativeSrc": "4895:6:20", + "nodeType": "YulIdentifier", + "src": "4895:6:20" + }, + { + "kind": "number", + "nativeSrc": "4903:4:20", + "nodeType": "YulLiteral", + "src": "4903:4:20", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "4891:3:20", + "nodeType": "YulIdentifier", + "src": "4891:3:20" + }, + "nativeSrc": "4891:17:20", + "nodeType": "YulFunctionCall", + "src": "4891:17:20" + } + ], + "functionName": { + "name": "mask_bytes_dynamic", + "nativeSrc": "4861:18:20", + "nodeType": "YulIdentifier", + "src": "4861:18:20" + }, + "nativeSrc": "4861:48:20", + "nodeType": "YulFunctionCall", + "src": "4861:48:20" + } + ], + "functionName": { + "name": "sstore", + "nativeSrc": "4846:6:20", + "nodeType": "YulIdentifier", + "src": "4846:6:20" + }, + "nativeSrc": "4846:64:20", + "nodeType": "YulFunctionCall", + "src": "4846:64:20" + }, + "nativeSrc": "4846:64:20", + "nodeType": "YulExpressionStatement", + "src": "4846:64:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "loopEnd", + "nativeSrc": "4751:7:20", + "nodeType": "YulIdentifier", + "src": "4751:7:20" + }, + { + "name": "newLen", + "nativeSrc": "4760:6:20", + "nodeType": "YulIdentifier", + "src": "4760:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "4748:2:20", + "nodeType": "YulIdentifier", + "src": "4748:2:20" + }, + "nativeSrc": "4748:19:20", + "nodeType": "YulFunctionCall", + "src": "4748:19:20" + }, + "nativeSrc": "4745:179:20", + "nodeType": "YulIf", + "src": "4745:179:20" + }, + { + "expression": { + "arguments": [ + { + "name": "slot", + "nativeSrc": "4944:4:20", + "nodeType": "YulIdentifier", + "src": "4944:4:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "newLen", + "nativeSrc": "4958:6:20", + "nodeType": "YulIdentifier", + "src": "4958:6:20" + }, + { + "kind": "number", + "nativeSrc": "4966:1:20", + "nodeType": "YulLiteral", + "src": "4966:1:20", + "type": "", + "value": "2" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "4954:3:20", + "nodeType": "YulIdentifier", + "src": "4954:3:20" + }, + "nativeSrc": "4954:14:20", + "nodeType": "YulFunctionCall", + "src": "4954:14:20" + }, + { + "kind": "number", + "nativeSrc": "4970:1:20", + "nodeType": "YulLiteral", + "src": "4970:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4950:3:20", + "nodeType": "YulIdentifier", + "src": "4950:3:20" + }, + "nativeSrc": "4950:22:20", + "nodeType": "YulFunctionCall", + "src": "4950:22:20" + } + ], + "functionName": { + "name": "sstore", + "nativeSrc": "4937:6:20", + "nodeType": "YulIdentifier", + "src": "4937:6:20" + }, + "nativeSrc": "4937:36:20", + "nodeType": "YulFunctionCall", + "src": "4937:36:20" + }, + "nativeSrc": "4937:36:20", + "nodeType": "YulExpressionStatement", + "src": "4937:36:20" + } + ] + }, + "nativeSrc": "4365:618:20", + "nodeType": "YulCase", + "src": "4365:618:20", + "value": { + "kind": "number", + "nativeSrc": "4370:1:20", + "nodeType": "YulLiteral", + "src": "4370:1:20", + "type": "", + "value": "1" + } + }, + { + "body": { + "nativeSrc": "5000:222:20", + "nodeType": "YulBlock", + "src": "5000:222:20", + "statements": [ + { + "nativeSrc": "5014:14:20", + "nodeType": "YulVariableDeclaration", + "src": "5014:14:20", + "value": { + "kind": "number", + "nativeSrc": "5027:1:20", + "nodeType": "YulLiteral", + "src": "5027:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "value", + "nativeSrc": "5018:5:20", + "nodeType": "YulTypedName", + "src": "5018:5:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "5051:67:20", + "nodeType": "YulBlock", + "src": "5051:67:20", + "statements": [ + { + "nativeSrc": "5069:35:20", + "nodeType": "YulAssignment", + "src": "5069:35:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "5088:3:20", + "nodeType": "YulIdentifier", + "src": "5088:3:20" + }, + { + "name": "srcOffset", + "nativeSrc": "5093:9:20", + "nodeType": "YulIdentifier", + "src": "5093:9:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5084:3:20", + "nodeType": "YulIdentifier", + "src": "5084:3:20" + }, + "nativeSrc": "5084:19:20", + "nodeType": "YulFunctionCall", + "src": "5084:19:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "5078:5:20", + "nodeType": "YulIdentifier", + "src": "5078:5:20" + }, + "nativeSrc": "5078:26:20", + "nodeType": "YulFunctionCall", + "src": "5078:26:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "5069:5:20", + "nodeType": "YulIdentifier", + "src": "5069:5:20" + } + ] + } + ] + }, + "condition": { + "name": "newLen", + "nativeSrc": "5044:6:20", + "nodeType": "YulIdentifier", + "src": "5044:6:20" + }, + "nativeSrc": "5041:77:20", + "nodeType": "YulIf", + "src": "5041:77:20" + }, + { + "expression": { + "arguments": [ + { + "name": "slot", + "nativeSrc": "5138:4:20", + "nodeType": "YulIdentifier", + "src": "5138:4:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "5197:5:20", + "nodeType": "YulIdentifier", + "src": "5197:5:20" + }, + { + "name": "newLen", + "nativeSrc": "5204:6:20", + "nodeType": "YulIdentifier", + "src": "5204:6:20" + } + ], + "functionName": { + "name": "extract_used_part_and_set_length_of_short_byte_array", + "nativeSrc": "5144:52:20", + "nodeType": "YulIdentifier", + "src": "5144:52:20" + }, + "nativeSrc": "5144:67:20", + "nodeType": "YulFunctionCall", + "src": "5144:67:20" + } + ], + "functionName": { + "name": "sstore", + "nativeSrc": "5131:6:20", + "nodeType": "YulIdentifier", + "src": "5131:6:20" + }, + "nativeSrc": "5131:81:20", + "nodeType": "YulFunctionCall", + "src": "5131:81:20" + }, + "nativeSrc": "5131:81:20", + "nodeType": "YulExpressionStatement", + "src": "5131:81:20" + } + ] + }, + "nativeSrc": "4992:230:20", + "nodeType": "YulCase", + "src": "4992:230:20", + "value": "default" + } + ], + "expression": { + "arguments": [ + { + "name": "newLen", + "nativeSrc": "4345:6:20", + "nodeType": "YulIdentifier", + "src": "4345:6:20" + }, + { + "kind": "number", + "nativeSrc": "4353:2:20", + "nodeType": "YulLiteral", + "src": "4353:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "gt", + "nativeSrc": "4342:2:20", + "nodeType": "YulIdentifier", + "src": "4342:2:20" + }, + "nativeSrc": "4342:14:20", + "nodeType": "YulFunctionCall", + "src": "4342:14:20" + }, + "nativeSrc": "4335:887:20", + "nodeType": "YulSwitch", + "src": "4335:887:20" + } + ] + }, + "name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage", + "nativeSrc": "3833:1395:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "slot", + "nativeSrc": "3914:4:20", + "nodeType": "YulTypedName", + "src": "3914:4:20", + "type": "" + }, + { + "name": "src", + "nativeSrc": "3920:3:20", + "nodeType": "YulTypedName", + "src": "3920:3:20", + "type": "" + } + ], + "src": "3833:1395:20" + } + ] + }, + "contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n", + "id": 20, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "6080604052604051806101a001604052806040518060200160405280600081525081526020016040518060400160405280600781526020017f4a616e756172790000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f466562727561727900000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4d6172636800000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f417072696c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f4d6179000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4a756e650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4a756c790000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f417567757374000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f53657074656d626572000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4f63746f6265720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4e6f76656d62657200000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f446563656d626572000000000000000000000000000000000000000000000000815250815250600090600d6102f792919061030a565b5034801561030457600080fd5b50610706565b828054828255906000526020600020908101928215610352579160200282015b828111156103515782518290816103419190610634565b509160200191906001019061032a565b5b50905061035f9190610363565b5090565b5b80821115610383576000818161037a9190610387565b50600101610364565b5090565b5080546103939061044d565b6000825580601f106103a557506103c4565b601f0160209004906000526020600020908101906103c391906103c7565b5b50565b5b808211156103e05760008160009055506001016103c8565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061046557607f821691505b6020821081036104785761047761041e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026104e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826104a3565b6104ea86836104a3565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061053161052c61052784610502565b61050c565b610502565b9050919050565b6000819050919050565b61054b83610516565b61055f61055782610538565b8484546104b0565b825550505050565b600090565b610574610567565b61057f818484610542565b505050565b5b818110156105a35761059860008261056c565b600181019050610585565b5050565b601f8211156105e8576105b98161047e565b6105c284610493565b810160208510156105d1578190505b6105e56105dd85610493565b830182610584565b50505b505050565b600082821c905092915050565b600061060b600019846008026105ed565b1980831691505092915050565b600061062483836105fa565b9150826002028217905092915050565b61063d826103e4565b67ffffffffffffffff811115610656576106556103ef565b5b610660825461044d565b61066b8282856105a7565b600060209050601f83116001811461069e576000841561068c578287015190505b6106968582610618565b8655506106fe565b601f1984166106ac8661047e565b60005b828110156106d4578489015182556001820191506020850194506020810190506106af565b868310156106f157848901516106ed601f8916826105fa565b8355505b6001600288020188555050505b505050505050565b612be3806107156000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063988b93ad14610030575b600080fd5b61004a60048036038101906100459190610a52565b610060565b6040516100579190610b5d565b60405180910390f35b6060600061006d856101e5565b60405160200161007d9190610ceb565b6040516020818303038152906040529050600080600061009c86610212565b92509250925060008083815481106100b7576100b6610d18565b5b906000526020600020016100ca83610241565b6100d386610241565b6040516020016100e59392919061124b565b60405160208183030381529060405290506000858260405160200161010b9291906124aa565b60405160208183030381529060405290506000610146826040516020016101329190612505565b60405160208183030381529060405261030f565b6040516020016101569190612568565b604051602081830303815290604052905060008160405160200161017a91906127ca565b60405160208183030381529060405290506101b38160405160200161019f9190612505565b60405160208183030381529060405261030f565b6040516020016101c39190612843565b6040516020818303038152906040529850505050505050505095945050505050565b606061020b8273ffffffffffffffffffffffffffffffffffffffff16601460ff16610481565b9050919050565b600080600061022e620151808561022991906128c3565b6106c7565b8093508194508295505050509193909250565b60606000600161025084610866565b01905060008167ffffffffffffffff81111561026f5761026e6128f4565b5b6040519080825280601f01601f1916602001820160405280156102a15781602001600182028036833780820191505090505b509050600082602001820190505b600115610304578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816102f8576102f7612865565b5b049450600085036102af575b819350505050919050565b606060008251036103315760405180602001604052806000815250905061047c565b6000604051806060016040528060408152602001612b6e60409139905060006003600285516103609190612923565b61036a91906128c3565b60046103769190612957565b67ffffffffffffffff81111561038f5761038e6128f4565b5b6040519080825280601f01601f1916602001820160405280156103c15781602001600182028036833780820191505090505b50905060018201602082018586518701602081018051600082525b82841015610437576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f81168701518653600186019550506103dc565b80825260038a51066001811461045457600281146104675761046f565b603d6001870353603d600287035361046f565b603d60018703535b5050505050505080925050505b919050565b60606000839050600060028460026104999190612957565b6104a39190612923565b67ffffffffffffffff8111156104bc576104bb6128f4565b5b6040519080825280601f01601f1916602001820160405280156104ee5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061052657610525610d18565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061058a57610589610d18565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018560026105ca9190612957565b6105d49190612923565b90505b6001811115610674577f3031323334353637383961626364656600000000000000000000000000000000600f84166010811061061657610615610d18565b5b1a60f81b82828151811061062d5761062c610d18565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600483901c92508061066d90612999565b90506105d7565b50600082146106bc5784846040517fe22e27eb0000000000000000000000000000000000000000000000000000000081526004016106b39291906129d1565b60405180910390fd5b809250505092915050565b600080600080849050600062253d8c62010bd9836106e59190612a04565b6106ef9190612a04565b9050600062023ab18260046107049190612a48565b61070e9190612ac0565b9050600460038262023ab16107239190612a48565b61072d9190612a04565b6107379190612ac0565b826107429190612b2a565b9150600062164b096001846107579190612a04565b610fa06107649190612a48565b61076e9190612ac0565b9050601f6004826105b56107829190612a48565b61078c9190612ac0565b846107979190612b2a565b6107a19190612a04565b9250600061098f8460506107b59190612a48565b6107bf9190612ac0565b9050600060508261098f6107d39190612a48565b6107dd9190612ac0565b856107e89190612b2a565b9050600b826107f79190612ac0565b945084600c6108069190612a48565b6002836108139190612a04565b61081d9190612b2a565b9150848360318661082e9190612b2a565b606461083a9190612a48565b6108449190612a04565b61084e9190612a04565b92508298508197508096505050505050509193909250565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106108c4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816108ba576108b9612865565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310610901576d04ee2d6d415b85acef810000000083816108f7576108f6612865565b5b0492506020810190505b662386f26fc10000831061093057662386f26fc10000838161092657610925612865565b5b0492506010810190505b6305f5e1008310610959576305f5e100838161094f5761094e612865565b5b0492506008810190505b612710831061097e57612710838161097457610973612865565b5b0492506004810190505b606483106109a1576064838161099757610996612865565b5b0492506002810190505b600a83106109b0576001810190505b80915050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109e9826109be565b9050919050565b6109f9816109de565b8114610a0457600080fd5b50565b600081359050610a16816109f0565b92915050565b6000819050919050565b610a2f81610a1c565b8114610a3a57600080fd5b50565b600081359050610a4c81610a26565b92915050565b600080600080600060a08688031215610a6e57610a6d6109b9565b5b6000610a7c88828901610a07565b9550506020610a8d88828901610a07565b9450506040610a9e88828901610a07565b9350506060610aaf88828901610a3d565b9250506080610ac088828901610a3d565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b83811015610b07578082015181840152602081019050610aec565b60008484015250505050565b6000601f19601f8301169050919050565b6000610b2f82610acd565b610b398185610ad8565b9350610b49818560208601610ae9565b610b5281610b13565b840191505092915050565b60006020820190508181036000830152610b778184610b24565b905092915050565b600081905092915050565b7f3c746578742066696c6c3d22233630334445422220786d6c3a73706163653d2260008201527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d73697a653d2232302220666f6e742d7765696768743d223660408201527f303022206c65747465722d73706163696e673d2230656d223e3c747370616e2060608201527f783d223237372220793d223537302e323733223e000000000000000000000000608082015250565b6000610c58609483610b7f565b9150610c6382610b8a565b609482019050919050565b6000610c7982610acd565b610c838185610b7f565b9350610c93818560208601610ae9565b80840191505092915050565b7f3c2f747370616e3e3c2f746578743e0000000000000000000000000000000000600082015250565b6000610cd5600f83610b7f565b9150610ce082610c9f565b600f82019050919050565b6000610cf682610c4b565b9150610d028284610c6e565b9150610d0d82610cc8565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f3c746578742066696c6c3d22233630334445422220786d6c3a73706163653d2260008201527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d73697a653d2232302220666f6e742d7765696768743d223660408201527f303022206c65747465722d73706163696e673d2230656d223e3c747370616e2060608201527f783d223237372220793d223635392e323733223e000000000000000000000000608082015250565b6000610e15609483610b7f565b9150610e2082610d47565b609482019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610e7257607f821691505b602082108103610e8557610e84610e2b565b5b50919050565b60008190508160005260206000209050919050565b60008154610ead81610e5a565b610eb78186610b7f565b94506001821660008114610ed25760018114610ee757610f1a565b60ff1983168652811515820286019350610f1a565b610ef085610e8b565b60005b83811015610f1257815481890152600182019150602081019050610ef3565b838801955050505b50505092915050565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b6000610f59600183610b7f565b9150610f6482610f23565b600182019050919050565b7f2c20000000000000000000000000000000000000000000000000000000000000600082015250565b6000610fa5600283610b7f565b9150610fb082610f6f565b600282019050919050565b7f262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223660008201527f38332e323733223e262331303b3c2f747370616e3e3c747370616e20783d223260208201527f37372220793d223730372e323733223e262331303b3c2f747370616e3e3c747360408201527f70616e20783d223237372220793d223733312e323733223e262331303b3c2f7460608201527f7370616e3e3c747370616e20783d223237372220793d223735352e323733223e60808201527f262331303b3c2f747370616e3e3c747370616e20783d223237372220793d223760a08201527f37392e323733223e262331303b3c2f747370616e3e3c747370616e20783d223260c08201527f37372220793d223830332e323733223e262331303b3c2f747370616e3e3c747360e08201527f70616e20783d223237372220793d223832372e323733223e262331303b3c2f746101008201527f7370616e3e3c747370616e20783d223237372220793d223835312e323733223e6101208201527f262331303b3c2f747370616e3e3c747370616e20783d223237372220793d22386101408201527f37352e323733223e262331303b3c2f747370616e3e3c747370616e20783d22326101608201527f37372220793d223839392e323733223e262331303b3c2f747370616e3e3c74736101808201527f70616e20783d223237372220793d223932332e323733223e262331303b3c2f746101a08201527f7370616e3e3c747370616e20783d223237372220793d223934372e323733223e6101c08201527f262331303b3c2f747370616e3e3c2f746578743e0000000000000000000000006101e082015250565b60006112346101f483610b7f565b915061123f82610fbb565b6101f482019050919050565b600061125682610e08565b91506112628286610ea0565b915061126d82610f4c565b91506112798285610c6e565b915061128482610f98565b91506112908284610c6e565b915061129b82611226565b9150819050949350505050565b7f3c7376672077696474683d223130323422206865696768743d2231303234222060008201527f76696577426f783d2230203020313032342031303234222066696c6c3d226e6f60208201527f6e652220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f32303060408201527f302f737667223e00000000000000000000000000000000000000000000000000606082015250565b6000611350606783610b7f565b915061135b826112a8565b606782019050919050565b7f3c7374796c653e746578742c20747370616e207b20666f6e742d66616d696c7960008201527f3a2022496e746572222c20417269616c2c2022526f626f746f20436f6e64656e60208201527f736564222c20224f70656e2053616e73222c2073616e733b20207d3c2f73747960408201527f6c653e0000000000000000000000000000000000000000000000000000000000606082015250565b600061140e606383610b7f565b915061141982611366565b606382019050919050565b7f3c726563742077696474683d223130323422206865696768743d22313032342260008201527f2066696c6c3d222346324336354522202f3e203c672066696c7465723d22757260208201527f6c282366696c746572305f645f323031385f3236303729223e203c6720636c6960408201527f702d706174683d2275726c2823636c6970305f323031385f3236303729223e2060608201527f3c7061746820643d224d3233372035344838313156313236483233375635345a60808201527f222066696c6c3d222346354635463522202f3e203c7061746820643d224d343860a08201527f38203930433438382038372e37393039203438392e373931203836203439322060c08201527f383648353536433535382e323039203836203536302038372e3739303920353660e08201527f30203930563930433536302039322e32303931203535382e32303920393420356101008201527f353620393448343932433438392e373931203934203438382039322e323039316101208201527f203438382039305639305a222066696c6c3d222346324336354522202f3e203c6101408201527f726563742077696474683d2235373422206865696768743d22313636222074726101608201527f616e73666f726d3d227472616e736c617465283233372031323629222066696c6101808201527f6c3d222346354635463522202f3e203c746578742066696c6c3d2223323131386101a08201527f31342220786d6c3a73706163653d22707265736572766522207374796c653d226101c08201527f77686974652d73706163653a207072652220666f6e742d73697a653d223238226101e08201527f206c65747465722d73706163696e673d2230656d223e3c747370616e20783d226102008201527f3237372220793d223233372e383634223e627920556e6c6f636b204c6162733c6102208201527f2f747370616e3e3c2f746578743e203c746578742066696c6c3d2223323131386102408201527f31342220786d6c3a73706163653d22707265736572766522207374796c653d226102608201527f77686974652d73706163653a207072652220666f6e742d73697a653d223132226102808201527f206c65747465722d73706163696e673d2230656d223e3c747370616e20783d226102a08201527f3237372220793d223230332e383634223e262331303b3c2f747370616e3e3c2f6102c08201527f746578743e203c746578742066696c6c3d2275726c28237061696e74305f6c696102e08201527f6e6561725f323031385f32363037292220786d6c3a73706163653d22707265736103008201527f6572766522207374796c653d2277686974652d73706163653a207072652220666103208201527f6f6e742d73697a653d2234382220666f6e742d7765696768743d2238303022206103408201527f6c65747465722d73706163696e673d2230656d223e3c747370616e20783d22326103608201527f37372220793d223231302e343535223e554e4c4f434b205052494d453c2f74736103808201527f70616e3e3c2f746578743e203c726563742077696474683d22353734222068656103a08201527f696768743d2235393822207472616e73666f726d3d227472616e736c617465286103c08201527f3233372032393229222066696c6c3d22776869746522202f3e203c74657874206103e08201527f66696c6c3d22233231313831342220786d6c3a73706163653d227072657365726104008201527f766522207374796c653d2277686974652d73706163653a207072652220666f6e6104208201527f742d73697a653d2235312220666f6e742d7765696768743d22626f6c6422206c6104408201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d2232376104608201527f372220793d223338392e353435223e4d7920556e6c6f636b203c2f747370616e6104808201527f3e3c747370616e20783d223237372220793d223435312e353435223e5072696d6104a08201527f6520506173733c2f747370616e3e3c2f746578743e203c746578742066696c6c6104c08201527f3d22233231313831342220786d6c3a73706163653d22707265736572766522206104e08201527f7374796c653d2277686974652d73706163653a207072652220666f6e742d73696105008201527f7a653d2232342220666f6e742d7765696768743d2235303022206c65747465726105208201527f2d73706163696e673d2230656d223e3c747370616e20783d223237372220793d6105408201527f223534302e353435223e4d656d62657220416464726573733c2f747370616e3e6105608201527f3c2f746578743e203c746578742066696c6c3d22233231313831342220786d6c6105808201527f3a73706163653d22707265736572766522207374796c653d2277686974652d736105a08201527f706163653a207072652220666f6e742d73697a653d2231382220666f6e742d776105c08201527f65696768743d2235303022206c65747465722d73706163696e673d2230656d226105e08201527f3e3c747370616e20783d223237372220793d223438392e353435223e262331306106008201527f3b3c2f747370616e3e3c747370616e20783d223237372220793d223531312e356106208201527f3435223e262331303b3c2f747370616e3e3c2f746578743e000000000000000061064082015250565b6000611bf261065883610b7f565b9150611bfd82611424565b61065882019050919050565b7f3c746578742066696c6c3d22233231313831342220786d6c3a73706163653d2260008201527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d73697a653d2232342220666f6e742d7765696768743d223560408201527f303022206c65747465722d73706163696e673d2230656d223e3c747370616e2060608201527f783d223237372220793d223632392e353435223e56616c6964205468726f756760808201527f683c2f747370616e3e3c2f746578743e3c746578742066696c6c3d222332313160a08201527f3831342220786d6c3a73706163653d22707265736572766522207374796c653d60c08201527f2277686974652d73706163653a207072652220666f6e742d73697a653d22313860e08201527f2220666f6e742d7765696768743d2235303022206c65747465722d73706163696101008201527f6e673d2230656d223e3c747370616e20783d223237372220793d223630302e356101208201527f3435223e262331303b3c2f747370616e3e3c2f746578743e000000000000000061014082015250565b6000611dbf61015883610b7f565b9150611dca82611c09565b61015882019050919050565b7f3c726563742077696474683d2235373422206865696768743d2238362220747260008201527f616e73666f726d3d227472616e736c617465283233372038393029222066696c60208201527f6c3d22776869746522202f3e3c2f673e3c2f673e3c706174682066696c6c2d7260408201527f756c653d226576656e6f64642220636c69702d72756c653d226576656e6f646460608201527f2220643d224d3535352e35313920304c343837203930483535332e3438314c3660808201527f32322030483535352e3531395a222066696c6c3d22776869746522202f3e3c7060a08201527f6174682066696c6c2d72756c653d226576656e6f64642220636c69702d72756c60c08201527f653d226576656e6f64642220643d224d34323420304c3439322e35313920393060e08201527f483535394c3439302e3438312030483432345a222066696c6c3d2277686974656101008201527f22202f3e3c646566733e3c66696c7465722069643d2266696c746572305f645f6101208201527f323031385f323630372220783d223230392220793d223236222077696474683d6101408201527f2236333022206865696768743d22393738222066696c746572556e6974733d226101608201527f7573657253706163654f6e5573652220636f6c6f722d696e746572706f6c61746101808201527f696f6e2d66696c746572733d2273524742223e3c6665466c6f6f6420666c6f6f6101a08201527f642d6f7061636974793d22302220726573756c743d224261636b67726f756e646101c08201527f496d61676546697822202f3e3c6665436f6c6f724d617472697820696e3d22536101e08201527f6f75726365416c7068612220747970653d226d6174726978222076616c7565736102008201527f3d223020302030203020302030203020302030203020302030203020302030206102208201527f30203020302031323720302220726573756c743d2268617264416c70686122206102408201527f2f3e3c66654d6f7270686f6c6f6779207261646975733d223422206f706572616102608201527f746f723d2264696c6174652220696e3d22536f75726365416c706861222072656102808201527f73756c743d22656666656374315f64726f70536861646f775f323031385f32366102a08201527f303722202f3e3c66654f6666736574202f3e3c6665476175737369616e426c756102c08201527f7220737464446576696174696f6e3d22313222202f3e3c6665436f6c6f724d616102e08201527f7472697820747970653d226d6174726978222076616c7565733d2230203020306103008201527f203020302e313239343132203020302030203020302e303934313137362030206103208201527f302030203020302e3037383433313420302030203020302e3135203022202f3e6103408201527f3c6665426c656e64206d6f64653d226e6f726d616c2220696e323d224261636b6103608201527f67726f756e64496d6167654669782220726573756c743d22656666656374315f6103808201527f64726f70536861646f775f323031385f3236303722202f3e3c6665426c656e646103a08201527f206d6f64653d226e6f726d616c2220696e3d22536f75726365477261706869636103c08201527f2220696e323d22656666656374315f64726f70536861646f775f323031385f326103e08201527f3630372220726573756c743d22736861706522202f3e3c2f66696c7465723e3c6104008201527f6c696e6561724772616469656e742069643d227061696e74305f6c696e6561726104208201527f5f323031385f32363037222078313d22323737222079313d223137312e3439316104408201527f222078323d223332382e363235222079323d2231342e343339312220677261646104608201527f69656e74556e6974733d227573657253706163654f6e557365223e3c73746f706104808201527f2073746f702d636f6c6f723d222336303344454222202f3e3c73746f70206f666104a08201527f667365743d2231222073746f702d636f6c6f723d222332374331443622202f3e6104c08201527f3c2f6c696e6561724772616469656e743e3c636c6970506174682069643d22636104e08201527f6c6970305f323031385f32363037223e3c7265637420783d223233372220793d6105008201527f223534222077696474683d2235373422206865696768743d22393232222072786105208201527f3d223234222066696c6c3d22776869746522202f3e3c2f636c6970506174683e6105408201527f3c2f646566733e3c2f7376673e0000000000000000000000000000000000000061056082015250565b600061249361056d83610b7f565b915061249e82611dd6565b61056d82019050919050565b60006124b582611343565b91506124c082611401565b91506124cb82611be4565b91506124d78285610c6e565b91506124e282611db1565b91506124ee8284610c6e565b91506124f982612485565b91508190509392505050565b60006125118284610c6e565b915081905092915050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b6000612552601a83610b7f565b915061255d8261251c565b601a82019050919050565b600061257382612545565b915061257f8284610c6e565b915081905092915050565b7f7b20226e616d6522203a2022556e6c6f636b205072696d65222c20226578746560008201527f726e616c5f75726c223a2268747470733a2f2f6170702e756e6c6f636b2d707260208201527f6f746f636f6c2e636f6d2f7072696d65222c226465736372697074696f6e223a60408201527f22556e6c6f636b205072696d65206f666665727320656e68616e63656420666560608201527f6174757265732c206d6f6e74686c792045544820726577617264732c20756e6c60808201527f696d69746564206576656e74732c20616e64206578636c75736976652070617260a08201527f746e657220646973636f756e747320666f72206d656d626572732e204272696e60c08201527f6720796f7572206f6e636861696e20657870657269656e63657320746f20746860e08201527f65206e657874206c6576656c20776974682061207072656d69756d206d656d626101008201527f657273686970207468617420776f726b73206163726f737320616c6c207468656101208201527f20617070732066726f6d20556e6c6f636b204c616273222c22696d616765223a6101408201527f220000000000000000000000000000000000000000000000000000000000000061016082015250565b600061276761016183610b7f565b91506127728261258a565b61016182019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006127b4600283610b7f565b91506127bf8261277e565b600282019050919050565b60006127d582612759565b91506127e18284610c6e565b91506127ec826127a7565b915081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061282d601d83610b7f565b9150612838826127f7565b601d82019050919050565b600061284e82612820565b915061285a8284610c6e565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006128ce82610a1c565b91506128d983610a1c565b9250826128e9576128e8612865565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600061292e82610a1c565b915061293983610a1c565b925082820190508082111561295157612950612894565b5b92915050565b600061296282610a1c565b915061296d83610a1c565b925082820261297b81610a1c565b9150828204841483151761299257612991612894565b5b5092915050565b60006129a482610a1c565b9150600082036129b7576129b6612894565b5b600182039050919050565b6129cb81610a1c565b82525050565b60006040820190506129e660008301856129c2565b6129f360208301846129c2565b9392505050565b6000819050919050565b6000612a0f826129fa565b9150612a1a836129fa565b925082820190508281121560008312168382126000841215161715612a4257612a41612894565b5b92915050565b6000612a53826129fa565b9150612a5e836129fa565b9250828202612a6c816129fa565b91507f80000000000000000000000000000000000000000000000000000000000000008414600084121615612aa457612aa3612894565b5b8282058414831517612ab957612ab8612894565b5b5092915050565b6000612acb826129fa565b9150612ad6836129fa565b925082612ae657612ae5612865565b5b600160000383147f800000000000000000000000000000000000000000000000000000000000000083141615612b1f57612b1e612894565b5b828205905092915050565b6000612b35826129fa565b9150612b40836129fa565b9250828203905081811260008412168282136000851215161715612b6757612b66612894565b5b9291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d3c943750c9941d647f1813e6546a6b90dbff0ec14bee82f9073dba1e3675d5964736f6c634300081b0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH2 0x1A0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4A616E7561727900000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x8 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4665627275617279000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4D61726368000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x417072696C000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4D61790000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x4 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4A756E6500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x4 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4A756C7900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4175677573740000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x53657074656D6265720000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4F63746F62657200000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x8 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4E6F76656D626572000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x8 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x446563656D626572000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE POP PUSH1 0x0 SWAP1 PUSH1 0xD PUSH2 0x2F7 SWAP3 SWAP2 SWAP1 PUSH2 0x30A JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH2 0x304 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x706 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x352 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x351 JUMPI DUP3 MLOAD DUP3 SWAP1 DUP2 PUSH2 0x341 SWAP2 SWAP1 PUSH2 0x634 JUMP JUMPDEST POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x32A JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x35F SWAP2 SWAP1 PUSH2 0x363 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x383 JUMPI PUSH1 0x0 DUP2 DUP2 PUSH2 0x37A SWAP2 SWAP1 PUSH2 0x387 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH2 0x364 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST POP DUP1 SLOAD PUSH2 0x393 SWAP1 PUSH2 0x44D JUMP JUMPDEST PUSH1 0x0 DUP3 SSTORE DUP1 PUSH1 0x1F LT PUSH2 0x3A5 JUMPI POP PUSH2 0x3C4 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 PUSH2 0x3C3 SWAP2 SWAP1 PUSH2 0x3C7 JUMP JUMPDEST JUMPDEST POP JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x3E0 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x3C8 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x465 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x478 JUMPI PUSH2 0x477 PUSH2 0x41E JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH2 0x4E0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x4A3 JUMP JUMPDEST PUSH2 0x4EA DUP7 DUP4 PUSH2 0x4A3 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x531 PUSH2 0x52C PUSH2 0x527 DUP5 PUSH2 0x502 JUMP JUMPDEST PUSH2 0x50C JUMP JUMPDEST PUSH2 0x502 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x54B DUP4 PUSH2 0x516 JUMP JUMPDEST PUSH2 0x55F PUSH2 0x557 DUP3 PUSH2 0x538 JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x4B0 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH2 0x574 PUSH2 0x567 JUMP JUMPDEST PUSH2 0x57F DUP2 DUP5 DUP5 PUSH2 0x542 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x5A3 JUMPI PUSH2 0x598 PUSH1 0x0 DUP3 PUSH2 0x56C JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x585 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x5E8 JUMPI PUSH2 0x5B9 DUP2 PUSH2 0x47E JUMP JUMPDEST PUSH2 0x5C2 DUP5 PUSH2 0x493 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x5D1 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x5E5 PUSH2 0x5DD DUP6 PUSH2 0x493 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x584 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x60B PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x5ED JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x624 DUP4 DUP4 PUSH2 0x5FA JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x63D DUP3 PUSH2 0x3E4 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x656 JUMPI PUSH2 0x655 PUSH2 0x3EF JUMP JUMPDEST JUMPDEST PUSH2 0x660 DUP3 SLOAD PUSH2 0x44D JUMP JUMPDEST PUSH2 0x66B DUP3 DUP3 DUP6 PUSH2 0x5A7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x69E JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x68C JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x696 DUP6 DUP3 PUSH2 0x618 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x6FE JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x6AC DUP7 PUSH2 0x47E JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x6D4 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x6AF JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x6F1 JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x6ED PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x5FA JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2BE3 DUP1 PUSH2 0x715 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x988B93AD EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xA52 JUMP JUMPDEST PUSH2 0x60 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x57 SWAP2 SWAP1 PUSH2 0xB5D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x6D DUP6 PUSH2 0x1E5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x7D SWAP2 SWAP1 PUSH2 0xCEB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x9C DUP7 PUSH2 0x212 JUMP JUMPDEST SWAP3 POP SWAP3 POP SWAP3 POP PUSH1 0x0 DUP1 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0xB7 JUMPI PUSH2 0xB6 PUSH2 0xD18 JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH2 0xCA DUP4 PUSH2 0x241 JUMP JUMPDEST PUSH2 0xD3 DUP7 PUSH2 0x241 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xE5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x124B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP PUSH1 0x0 DUP6 DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x10B SWAP3 SWAP2 SWAP1 PUSH2 0x24AA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP PUSH1 0x0 PUSH2 0x146 DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x132 SWAP2 SWAP1 PUSH2 0x2505 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE PUSH2 0x30F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x156 SWAP2 SWAP1 PUSH2 0x2568 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x17A SWAP2 SWAP1 PUSH2 0x27CA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP PUSH2 0x1B3 DUP2 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x19F SWAP2 SWAP1 PUSH2 0x2505 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE PUSH2 0x30F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1C3 SWAP2 SWAP1 PUSH2 0x2843 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP9 POP POP POP POP POP POP POP POP POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x20B DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x14 PUSH1 0xFF AND PUSH2 0x481 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x22E PUSH3 0x15180 DUP6 PUSH2 0x229 SWAP2 SWAP1 PUSH2 0x28C3 JUMP JUMPDEST PUSH2 0x6C7 JUMP JUMPDEST DUP1 SWAP4 POP DUP2 SWAP5 POP DUP3 SWAP6 POP POP POP POP SWAP2 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH1 0x1 PUSH2 0x250 DUP5 PUSH2 0x866 JUMP JUMPDEST ADD SWAP1 POP PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x26F JUMPI PUSH2 0x26E PUSH2 0x28F4 JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2A1 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP3 PUSH1 0x20 ADD DUP3 ADD SWAP1 POP JUMPDEST PUSH1 0x1 ISZERO PUSH2 0x304 JUMPI DUP1 DUP1 PUSH1 0x1 SWAP1 SUB SWAP2 POP POP PUSH32 0x3031323334353637383961626364656600000000000000000000000000000000 PUSH1 0xA DUP7 MOD BYTE DUP2 MSTORE8 PUSH1 0xA DUP6 DUP2 PUSH2 0x2F8 JUMPI PUSH2 0x2F7 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DIV SWAP5 POP PUSH1 0x0 DUP6 SUB PUSH2 0x2AF JUMPI JUMPDEST DUP2 SWAP4 POP POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP3 MLOAD SUB PUSH2 0x331 JUMPI PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP SWAP1 POP PUSH2 0x47C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x40 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x2B6E PUSH1 0x40 SWAP2 CODECOPY SWAP1 POP PUSH1 0x0 PUSH1 0x3 PUSH1 0x2 DUP6 MLOAD PUSH2 0x360 SWAP2 SWAP1 PUSH2 0x2923 JUMP JUMPDEST PUSH2 0x36A SWAP2 SWAP1 PUSH2 0x28C3 JUMP JUMPDEST PUSH1 0x4 PUSH2 0x376 SWAP2 SWAP1 PUSH2 0x2957 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x38F JUMPI PUSH2 0x38E PUSH2 0x28F4 JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x3C1 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x1 DUP3 ADD PUSH1 0x20 DUP3 ADD DUP6 DUP7 MLOAD DUP8 ADD PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH1 0x0 DUP3 MSTORE JUMPDEST DUP3 DUP5 LT ISZERO PUSH2 0x437 JUMPI PUSH1 0x3 DUP5 ADD SWAP4 POP DUP4 MLOAD PUSH1 0x3F DUP2 PUSH1 0x12 SHR AND DUP8 ADD MLOAD DUP7 MSTORE8 PUSH1 0x1 DUP7 ADD SWAP6 POP PUSH1 0x3F DUP2 PUSH1 0xC SHR AND DUP8 ADD MLOAD DUP7 MSTORE8 PUSH1 0x1 DUP7 ADD SWAP6 POP PUSH1 0x3F DUP2 PUSH1 0x6 SHR AND DUP8 ADD MLOAD DUP7 MSTORE8 PUSH1 0x1 DUP7 ADD SWAP6 POP PUSH1 0x3F DUP2 AND DUP8 ADD MLOAD DUP7 MSTORE8 PUSH1 0x1 DUP7 ADD SWAP6 POP POP PUSH2 0x3DC JUMP JUMPDEST DUP1 DUP3 MSTORE PUSH1 0x3 DUP11 MLOAD MOD PUSH1 0x1 DUP2 EQ PUSH2 0x454 JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x467 JUMPI PUSH2 0x46F JUMP JUMPDEST PUSH1 0x3D PUSH1 0x1 DUP8 SUB MSTORE8 PUSH1 0x3D PUSH1 0x2 DUP8 SUB MSTORE8 PUSH2 0x46F JUMP JUMPDEST PUSH1 0x3D PUSH1 0x1 DUP8 SUB MSTORE8 JUMPDEST POP POP POP POP POP POP POP DUP1 SWAP3 POP POP POP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP4 SWAP1 POP PUSH1 0x0 PUSH1 0x2 DUP5 PUSH1 0x2 PUSH2 0x499 SWAP2 SWAP1 PUSH2 0x2957 JUMP JUMPDEST PUSH2 0x4A3 SWAP2 SWAP1 PUSH2 0x2923 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x4BC JUMPI PUSH2 0x4BB PUSH2 0x28F4 JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x4EE JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH32 0x3000000000000000000000000000000000000000000000000000000000000000 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x526 JUMPI PUSH2 0x525 PUSH2 0xD18 JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH32 0x7800000000000000000000000000000000000000000000000000000000000000 DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x58A JUMPI PUSH2 0x589 PUSH2 0xD18 JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH1 0x1 DUP6 PUSH1 0x2 PUSH2 0x5CA SWAP2 SWAP1 PUSH2 0x2957 JUMP JUMPDEST PUSH2 0x5D4 SWAP2 SWAP1 PUSH2 0x2923 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x674 JUMPI PUSH32 0x3031323334353637383961626364656600000000000000000000000000000000 PUSH1 0xF DUP5 AND PUSH1 0x10 DUP2 LT PUSH2 0x616 JUMPI PUSH2 0x615 PUSH2 0xD18 JUMP JUMPDEST JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x62D JUMPI PUSH2 0x62C PUSH2 0xD18 JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 DUP4 SWAP1 SHR SWAP3 POP DUP1 PUSH2 0x66D SWAP1 PUSH2 0x2999 JUMP JUMPDEST SWAP1 POP PUSH2 0x5D7 JUMP JUMPDEST POP PUSH1 0x0 DUP3 EQ PUSH2 0x6BC JUMPI DUP5 DUP5 PUSH1 0x40 MLOAD PUSH32 0xE22E27EB00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B3 SWAP3 SWAP2 SWAP1 PUSH2 0x29D1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 DUP5 SWAP1 POP PUSH1 0x0 PUSH3 0x253D8C PUSH3 0x10BD9 DUP4 PUSH2 0x6E5 SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST PUSH2 0x6EF SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH3 0x23AB1 DUP3 PUSH1 0x4 PUSH2 0x704 SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH2 0x70E SWAP2 SWAP1 PUSH2 0x2AC0 JUMP JUMPDEST SWAP1 POP PUSH1 0x4 PUSH1 0x3 DUP3 PUSH3 0x23AB1 PUSH2 0x723 SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH2 0x72D SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST PUSH2 0x737 SWAP2 SWAP1 PUSH2 0x2AC0 JUMP JUMPDEST DUP3 PUSH2 0x742 SWAP2 SWAP1 PUSH2 0x2B2A JUMP JUMPDEST SWAP2 POP PUSH1 0x0 PUSH3 0x164B09 PUSH1 0x1 DUP5 PUSH2 0x757 SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST PUSH2 0xFA0 PUSH2 0x764 SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH2 0x76E SWAP2 SWAP1 PUSH2 0x2AC0 JUMP JUMPDEST SWAP1 POP PUSH1 0x1F PUSH1 0x4 DUP3 PUSH2 0x5B5 PUSH2 0x782 SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH2 0x78C SWAP2 SWAP1 PUSH2 0x2AC0 JUMP JUMPDEST DUP5 PUSH2 0x797 SWAP2 SWAP1 PUSH2 0x2B2A JUMP JUMPDEST PUSH2 0x7A1 SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST SWAP3 POP PUSH1 0x0 PUSH2 0x98F DUP5 PUSH1 0x50 PUSH2 0x7B5 SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH2 0x7BF SWAP2 SWAP1 PUSH2 0x2AC0 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x50 DUP3 PUSH2 0x98F PUSH2 0x7D3 SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH2 0x7DD SWAP2 SWAP1 PUSH2 0x2AC0 JUMP JUMPDEST DUP6 PUSH2 0x7E8 SWAP2 SWAP1 PUSH2 0x2B2A JUMP JUMPDEST SWAP1 POP PUSH1 0xB DUP3 PUSH2 0x7F7 SWAP2 SWAP1 PUSH2 0x2AC0 JUMP JUMPDEST SWAP5 POP DUP5 PUSH1 0xC PUSH2 0x806 SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH1 0x2 DUP4 PUSH2 0x813 SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST PUSH2 0x81D SWAP2 SWAP1 PUSH2 0x2B2A JUMP JUMPDEST SWAP2 POP DUP5 DUP4 PUSH1 0x31 DUP7 PUSH2 0x82E SWAP2 SWAP1 PUSH2 0x2B2A JUMP JUMPDEST PUSH1 0x64 PUSH2 0x83A SWAP2 SWAP1 PUSH2 0x2A48 JUMP JUMPDEST PUSH2 0x844 SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST PUSH2 0x84E SWAP2 SWAP1 PUSH2 0x2A04 JUMP JUMPDEST SWAP3 POP DUP3 SWAP9 POP DUP2 SWAP8 POP DUP1 SWAP7 POP POP POP POP POP POP POP SWAP2 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 POP PUSH27 0x184F03E93FF9F4DAA797ED6E38ED64BF6A1F010000000000000000 DUP4 LT PUSH2 0x8C4 JUMPI PUSH27 0x184F03E93FF9F4DAA797ED6E38ED64BF6A1F010000000000000000 DUP4 DUP2 PUSH2 0x8BA JUMPI PUSH2 0x8B9 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DIV SWAP3 POP PUSH1 0x40 DUP2 ADD SWAP1 POP JUMPDEST PUSH14 0x4EE2D6D415B85ACEF8100000000 DUP4 LT PUSH2 0x901 JUMPI PUSH14 0x4EE2D6D415B85ACEF8100000000 DUP4 DUP2 PUSH2 0x8F7 JUMPI PUSH2 0x8F6 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DIV SWAP3 POP PUSH1 0x20 DUP2 ADD SWAP1 POP JUMPDEST PUSH7 0x2386F26FC10000 DUP4 LT PUSH2 0x930 JUMPI PUSH7 0x2386F26FC10000 DUP4 DUP2 PUSH2 0x926 JUMPI PUSH2 0x925 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DIV SWAP3 POP PUSH1 0x10 DUP2 ADD SWAP1 POP JUMPDEST PUSH4 0x5F5E100 DUP4 LT PUSH2 0x959 JUMPI PUSH4 0x5F5E100 DUP4 DUP2 PUSH2 0x94F JUMPI PUSH2 0x94E PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DIV SWAP3 POP PUSH1 0x8 DUP2 ADD SWAP1 POP JUMPDEST PUSH2 0x2710 DUP4 LT PUSH2 0x97E JUMPI PUSH2 0x2710 DUP4 DUP2 PUSH2 0x974 JUMPI PUSH2 0x973 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DIV SWAP3 POP PUSH1 0x4 DUP2 ADD SWAP1 POP JUMPDEST PUSH1 0x64 DUP4 LT PUSH2 0x9A1 JUMPI PUSH1 0x64 DUP4 DUP2 PUSH2 0x997 JUMPI PUSH2 0x996 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DIV SWAP3 POP PUSH1 0x2 DUP2 ADD SWAP1 POP JUMPDEST PUSH1 0xA DUP4 LT PUSH2 0x9B0 JUMPI PUSH1 0x1 DUP2 ADD SWAP1 POP JUMPDEST DUP1 SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9E9 DUP3 PUSH2 0x9BE JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x9F9 DUP2 PUSH2 0x9DE JUMP JUMPDEST DUP2 EQ PUSH2 0xA04 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA16 DUP2 PUSH2 0x9F0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xA2F DUP2 PUSH2 0xA1C JUMP JUMPDEST DUP2 EQ PUSH2 0xA3A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA4C DUP2 PUSH2 0xA26 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0xA6E JUMPI PUSH2 0xA6D PUSH2 0x9B9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xA7C DUP9 DUP3 DUP10 ADD PUSH2 0xA07 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0xA8D DUP9 DUP3 DUP10 ADD PUSH2 0xA07 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0xA9E DUP9 DUP3 DUP10 ADD PUSH2 0xA07 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 PUSH2 0xAAF DUP9 DUP3 DUP10 ADD PUSH2 0xA3D JUMP JUMPDEST SWAP3 POP POP PUSH1 0x80 PUSH2 0xAC0 DUP9 DUP3 DUP10 ADD PUSH2 0xA3D JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xB07 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xAEC JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB2F DUP3 PUSH2 0xACD JUMP JUMPDEST PUSH2 0xB39 DUP2 DUP6 PUSH2 0xAD8 JUMP JUMPDEST SWAP4 POP PUSH2 0xB49 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xAE9 JUMP JUMPDEST PUSH2 0xB52 DUP2 PUSH2 0xB13 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xB77 DUP2 DUP5 PUSH2 0xB24 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x3C746578742066696C6C3D22233630334445422220786D6C3A73706163653D22 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x707265736572766522207374796C653D2277686974652D73706163653A207072 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x652220666F6E742D73697A653D2232302220666F6E742D7765696768743D2236 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x303022206C65747465722D73706163696E673D2230656D223E3C747370616E20 PUSH1 0x60 DUP3 ADD MSTORE PUSH32 0x783D223237372220793D223537302E323733223E000000000000000000000000 PUSH1 0x80 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC58 PUSH1 0x94 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0xC63 DUP3 PUSH2 0xB8A JUMP JUMPDEST PUSH1 0x94 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC79 DUP3 PUSH2 0xACD JUMP JUMPDEST PUSH2 0xC83 DUP2 DUP6 PUSH2 0xB7F JUMP JUMPDEST SWAP4 POP PUSH2 0xC93 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xAE9 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x3C2F747370616E3E3C2F746578743E0000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCD5 PUSH1 0xF DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0xCE0 DUP3 PUSH2 0xC9F JUMP JUMPDEST PUSH1 0xF DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCF6 DUP3 PUSH2 0xC4B JUMP JUMPDEST SWAP2 POP PUSH2 0xD02 DUP3 DUP5 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP PUSH2 0xD0D DUP3 PUSH2 0xCC8 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x3C746578742066696C6C3D22233630334445422220786D6C3A73706163653D22 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x707265736572766522207374796C653D2277686974652D73706163653A207072 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x652220666F6E742D73697A653D2232302220666F6E742D7765696768743D2236 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x303022206C65747465722D73706163696E673D2230656D223E3C747370616E20 PUSH1 0x60 DUP3 ADD MSTORE PUSH32 0x783D223237372220793D223635392E323733223E000000000000000000000000 PUSH1 0x80 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE15 PUSH1 0x94 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0xE20 DUP3 PUSH2 0xD47 JUMP JUMPDEST PUSH1 0x94 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0xE72 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0xE85 JUMPI PUSH2 0xE84 PUSH2 0xE2B JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SLOAD PUSH2 0xEAD DUP2 PUSH2 0xE5A JUMP JUMPDEST PUSH2 0xEB7 DUP2 DUP7 PUSH2 0xB7F JUMP JUMPDEST SWAP5 POP PUSH1 0x1 DUP3 AND PUSH1 0x0 DUP2 EQ PUSH2 0xED2 JUMPI PUSH1 0x1 DUP2 EQ PUSH2 0xEE7 JUMPI PUSH2 0xF1A JUMP JUMPDEST PUSH1 0xFF NOT DUP4 AND DUP7 MSTORE DUP2 ISZERO ISZERO DUP3 MUL DUP7 ADD SWAP4 POP PUSH2 0xF1A JUMP JUMPDEST PUSH2 0xEF0 DUP6 PUSH2 0xE8B JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xF12 JUMPI DUP2 SLOAD DUP2 DUP10 ADD MSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xEF3 JUMP JUMPDEST DUP4 DUP9 ADD SWAP6 POP POP POP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x2000000000000000000000000000000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF59 PUSH1 0x1 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0xF64 DUP3 PUSH2 0xF23 JUMP JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x2C20000000000000000000000000000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xFA5 PUSH1 0x2 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0xFB0 DUP3 PUSH2 0xF6F JUMP JUMPDEST PUSH1 0x2 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x262331303B3C2F747370616E3E3C747370616E20783D223237372220793D2236 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x38332E323733223E262331303B3C2F747370616E3E3C747370616E20783D2232 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x37372220793D223730372E323733223E262331303B3C2F747370616E3E3C7473 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x70616E20783D223237372220793D223733312E323733223E262331303B3C2F74 PUSH1 0x60 DUP3 ADD MSTORE PUSH32 0x7370616E3E3C747370616E20783D223237372220793D223735352E323733223E PUSH1 0x80 DUP3 ADD MSTORE PUSH32 0x262331303B3C2F747370616E3E3C747370616E20783D223237372220793D2237 PUSH1 0xA0 DUP3 ADD MSTORE PUSH32 0x37392E323733223E262331303B3C2F747370616E3E3C747370616E20783D2232 PUSH1 0xC0 DUP3 ADD MSTORE PUSH32 0x37372220793D223830332E323733223E262331303B3C2F747370616E3E3C7473 PUSH1 0xE0 DUP3 ADD MSTORE PUSH32 0x70616E20783D223237372220793D223832372E323733223E262331303B3C2F74 PUSH2 0x100 DUP3 ADD MSTORE PUSH32 0x7370616E3E3C747370616E20783D223237372220793D223835312E323733223E PUSH2 0x120 DUP3 ADD MSTORE PUSH32 0x262331303B3C2F747370616E3E3C747370616E20783D223237372220793D2238 PUSH2 0x140 DUP3 ADD MSTORE PUSH32 0x37352E323733223E262331303B3C2F747370616E3E3C747370616E20783D2232 PUSH2 0x160 DUP3 ADD MSTORE PUSH32 0x37372220793D223839392E323733223E262331303B3C2F747370616E3E3C7473 PUSH2 0x180 DUP3 ADD MSTORE PUSH32 0x70616E20783D223237372220793D223932332E323733223E262331303B3C2F74 PUSH2 0x1A0 DUP3 ADD MSTORE PUSH32 0x7370616E3E3C747370616E20783D223237372220793D223934372E323733223E PUSH2 0x1C0 DUP3 ADD MSTORE PUSH32 0x262331303B3C2F747370616E3E3C2F746578743E000000000000000000000000 PUSH2 0x1E0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1234 PUSH2 0x1F4 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x123F DUP3 PUSH2 0xFBB JUMP JUMPDEST PUSH2 0x1F4 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1256 DUP3 PUSH2 0xE08 JUMP JUMPDEST SWAP2 POP PUSH2 0x1262 DUP3 DUP7 PUSH2 0xEA0 JUMP JUMPDEST SWAP2 POP PUSH2 0x126D DUP3 PUSH2 0xF4C JUMP JUMPDEST SWAP2 POP PUSH2 0x1279 DUP3 DUP6 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP PUSH2 0x1284 DUP3 PUSH2 0xF98 JUMP JUMPDEST SWAP2 POP PUSH2 0x1290 DUP3 DUP5 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP PUSH2 0x129B DUP3 PUSH2 0x1226 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH32 0x3C7376672077696474683D223130323422206865696768743D22313032342220 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x76696577426F783D2230203020313032342031303234222066696C6C3D226E6F PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x6E652220786D6C6E733D22687474703A2F2F7777772E77332E6F72672F323030 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x302F737667223E00000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1350 PUSH1 0x67 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x135B DUP3 PUSH2 0x12A8 JUMP JUMPDEST PUSH1 0x67 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x3C7374796C653E746578742C20747370616E207B20666F6E742D66616D696C79 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x3A2022496E746572222C20417269616C2C2022526F626F746F20436F6E64656E PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x736564222C20224F70656E2053616E73222C2073616E733B20207D3C2F737479 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6C653E0000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x140E PUSH1 0x63 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x1419 DUP3 PUSH2 0x1366 JUMP JUMPDEST PUSH1 0x63 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x3C726563742077696474683D223130323422206865696768743D223130323422 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x2066696C6C3D222346324336354522202F3E203C672066696C7465723D227572 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x6C282366696C746572305F645F323031385F3236303729223E203C6720636C69 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x702D706174683D2275726C2823636C6970305F323031385F3236303729223E20 PUSH1 0x60 DUP3 ADD MSTORE PUSH32 0x3C7061746820643D224D3233372035344838313156313236483233375635345A PUSH1 0x80 DUP3 ADD MSTORE PUSH32 0x222066696C6C3D222346354635463522202F3E203C7061746820643D224D3438 PUSH1 0xA0 DUP3 ADD MSTORE PUSH32 0x38203930433438382038372E37393039203438392E3739312038362034393220 PUSH1 0xC0 DUP3 ADD MSTORE PUSH32 0x383648353536433535382E323039203836203536302038372E37393039203536 PUSH1 0xE0 DUP3 ADD MSTORE PUSH32 0x30203930563930433536302039322E32303931203535382E3230392039342035 PUSH2 0x100 DUP3 ADD MSTORE PUSH32 0x353620393448343932433438392E373931203934203438382039322E32303931 PUSH2 0x120 DUP3 ADD MSTORE PUSH32 0x203438382039305639305A222066696C6C3D222346324336354522202F3E203C PUSH2 0x140 DUP3 ADD MSTORE PUSH32 0x726563742077696474683D2235373422206865696768743D2231363622207472 PUSH2 0x160 DUP3 ADD MSTORE PUSH32 0x616E73666F726D3D227472616E736C617465283233372031323629222066696C PUSH2 0x180 DUP3 ADD MSTORE PUSH32 0x6C3D222346354635463522202F3E203C746578742066696C6C3D222332313138 PUSH2 0x1A0 DUP3 ADD MSTORE PUSH32 0x31342220786D6C3A73706163653D22707265736572766522207374796C653D22 PUSH2 0x1C0 DUP3 ADD MSTORE PUSH32 0x77686974652D73706163653A207072652220666F6E742D73697A653D22323822 PUSH2 0x1E0 DUP3 ADD MSTORE PUSH32 0x206C65747465722D73706163696E673D2230656D223E3C747370616E20783D22 PUSH2 0x200 DUP3 ADD MSTORE PUSH32 0x3237372220793D223233372E383634223E627920556E6C6F636B204C6162733C PUSH2 0x220 DUP3 ADD MSTORE PUSH32 0x2F747370616E3E3C2F746578743E203C746578742066696C6C3D222332313138 PUSH2 0x240 DUP3 ADD MSTORE PUSH32 0x31342220786D6C3A73706163653D22707265736572766522207374796C653D22 PUSH2 0x260 DUP3 ADD MSTORE PUSH32 0x77686974652D73706163653A207072652220666F6E742D73697A653D22313222 PUSH2 0x280 DUP3 ADD MSTORE PUSH32 0x206C65747465722D73706163696E673D2230656D223E3C747370616E20783D22 PUSH2 0x2A0 DUP3 ADD MSTORE PUSH32 0x3237372220793D223230332E383634223E262331303B3C2F747370616E3E3C2F PUSH2 0x2C0 DUP3 ADD MSTORE PUSH32 0x746578743E203C746578742066696C6C3D2275726C28237061696E74305F6C69 PUSH2 0x2E0 DUP3 ADD MSTORE PUSH32 0x6E6561725F323031385F32363037292220786D6C3A73706163653D2270726573 PUSH2 0x300 DUP3 ADD MSTORE PUSH32 0x6572766522207374796C653D2277686974652D73706163653A20707265222066 PUSH2 0x320 DUP3 ADD MSTORE PUSH32 0x6F6E742D73697A653D2234382220666F6E742D7765696768743D223830302220 PUSH2 0x340 DUP3 ADD MSTORE PUSH32 0x6C65747465722D73706163696E673D2230656D223E3C747370616E20783D2232 PUSH2 0x360 DUP3 ADD MSTORE PUSH32 0x37372220793D223231302E343535223E554E4C4F434B205052494D453C2F7473 PUSH2 0x380 DUP3 ADD MSTORE PUSH32 0x70616E3E3C2F746578743E203C726563742077696474683D2235373422206865 PUSH2 0x3A0 DUP3 ADD MSTORE PUSH32 0x696768743D2235393822207472616E73666F726D3D227472616E736C61746528 PUSH2 0x3C0 DUP3 ADD MSTORE PUSH32 0x3233372032393229222066696C6C3D22776869746522202F3E203C7465787420 PUSH2 0x3E0 DUP3 ADD MSTORE PUSH32 0x66696C6C3D22233231313831342220786D6C3A73706163653D22707265736572 PUSH2 0x400 DUP3 ADD MSTORE PUSH32 0x766522207374796C653D2277686974652D73706163653A207072652220666F6E PUSH2 0x420 DUP3 ADD MSTORE PUSH32 0x742D73697A653D2235312220666F6E742D7765696768743D22626F6C6422206C PUSH2 0x440 DUP3 ADD MSTORE PUSH32 0x65747465722D73706163696E673D2230656D223E3C747370616E20783D223237 PUSH2 0x460 DUP3 ADD MSTORE PUSH32 0x372220793D223338392E353435223E4D7920556E6C6F636B203C2F747370616E PUSH2 0x480 DUP3 ADD MSTORE PUSH32 0x3E3C747370616E20783D223237372220793D223435312E353435223E5072696D PUSH2 0x4A0 DUP3 ADD MSTORE PUSH32 0x6520506173733C2F747370616E3E3C2F746578743E203C746578742066696C6C PUSH2 0x4C0 DUP3 ADD MSTORE PUSH32 0x3D22233231313831342220786D6C3A73706163653D2270726573657276652220 PUSH2 0x4E0 DUP3 ADD MSTORE PUSH32 0x7374796C653D2277686974652D73706163653A207072652220666F6E742D7369 PUSH2 0x500 DUP3 ADD MSTORE PUSH32 0x7A653D2232342220666F6E742D7765696768743D2235303022206C6574746572 PUSH2 0x520 DUP3 ADD MSTORE PUSH32 0x2D73706163696E673D2230656D223E3C747370616E20783D223237372220793D PUSH2 0x540 DUP3 ADD MSTORE PUSH32 0x223534302E353435223E4D656D62657220416464726573733C2F747370616E3E PUSH2 0x560 DUP3 ADD MSTORE PUSH32 0x3C2F746578743E203C746578742066696C6C3D22233231313831342220786D6C PUSH2 0x580 DUP3 ADD MSTORE PUSH32 0x3A73706163653D22707265736572766522207374796C653D2277686974652D73 PUSH2 0x5A0 DUP3 ADD MSTORE PUSH32 0x706163653A207072652220666F6E742D73697A653D2231382220666F6E742D77 PUSH2 0x5C0 DUP3 ADD MSTORE PUSH32 0x65696768743D2235303022206C65747465722D73706163696E673D2230656D22 PUSH2 0x5E0 DUP3 ADD MSTORE PUSH32 0x3E3C747370616E20783D223237372220793D223438392E353435223E26233130 PUSH2 0x600 DUP3 ADD MSTORE PUSH32 0x3B3C2F747370616E3E3C747370616E20783D223237372220793D223531312E35 PUSH2 0x620 DUP3 ADD MSTORE PUSH32 0x3435223E262331303B3C2F747370616E3E3C2F746578743E0000000000000000 PUSH2 0x640 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1BF2 PUSH2 0x658 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x1BFD DUP3 PUSH2 0x1424 JUMP JUMPDEST PUSH2 0x658 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x3C746578742066696C6C3D22233231313831342220786D6C3A73706163653D22 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x707265736572766522207374796C653D2277686974652D73706163653A207072 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x652220666F6E742D73697A653D2232342220666F6E742D7765696768743D2235 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x303022206C65747465722D73706163696E673D2230656D223E3C747370616E20 PUSH1 0x60 DUP3 ADD MSTORE PUSH32 0x783D223237372220793D223632392E353435223E56616C6964205468726F7567 PUSH1 0x80 DUP3 ADD MSTORE PUSH32 0x683C2F747370616E3E3C2F746578743E3C746578742066696C6C3D2223323131 PUSH1 0xA0 DUP3 ADD MSTORE PUSH32 0x3831342220786D6C3A73706163653D22707265736572766522207374796C653D PUSH1 0xC0 DUP3 ADD MSTORE PUSH32 0x2277686974652D73706163653A207072652220666F6E742D73697A653D223138 PUSH1 0xE0 DUP3 ADD MSTORE PUSH32 0x2220666F6E742D7765696768743D2235303022206C65747465722D7370616369 PUSH2 0x100 DUP3 ADD MSTORE PUSH32 0x6E673D2230656D223E3C747370616E20783D223237372220793D223630302E35 PUSH2 0x120 DUP3 ADD MSTORE PUSH32 0x3435223E262331303B3C2F747370616E3E3C2F746578743E0000000000000000 PUSH2 0x140 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1DBF PUSH2 0x158 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x1DCA DUP3 PUSH2 0x1C09 JUMP JUMPDEST PUSH2 0x158 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x3C726563742077696474683D2235373422206865696768743D22383622207472 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x616E73666F726D3D227472616E736C617465283233372038393029222066696C PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x6C3D22776869746522202F3E3C2F673E3C2F673E3C706174682066696C6C2D72 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x756C653D226576656E6F64642220636C69702D72756C653D226576656E6F6464 PUSH1 0x60 DUP3 ADD MSTORE PUSH32 0x2220643D224D3535352E35313920304C343837203930483535332E3438314C36 PUSH1 0x80 DUP3 ADD MSTORE PUSH32 0x32322030483535352E3531395A222066696C6C3D22776869746522202F3E3C70 PUSH1 0xA0 DUP3 ADD MSTORE PUSH32 0x6174682066696C6C2D72756C653D226576656E6F64642220636C69702D72756C PUSH1 0xC0 DUP3 ADD MSTORE PUSH32 0x653D226576656E6F64642220643D224D34323420304C3439322E353139203930 PUSH1 0xE0 DUP3 ADD MSTORE PUSH32 0x483535394C3439302E3438312030483432345A222066696C6C3D227768697465 PUSH2 0x100 DUP3 ADD MSTORE PUSH32 0x22202F3E3C646566733E3C66696C7465722069643D2266696C746572305F645F PUSH2 0x120 DUP3 ADD MSTORE PUSH32 0x323031385F323630372220783D223230392220793D223236222077696474683D PUSH2 0x140 DUP3 ADD MSTORE PUSH32 0x2236333022206865696768743D22393738222066696C746572556E6974733D22 PUSH2 0x160 DUP3 ADD MSTORE PUSH32 0x7573657253706163654F6E5573652220636F6C6F722D696E746572706F6C6174 PUSH2 0x180 DUP3 ADD MSTORE PUSH32 0x696F6E2D66696C746572733D2273524742223E3C6665466C6F6F6420666C6F6F PUSH2 0x1A0 DUP3 ADD MSTORE PUSH32 0x642D6F7061636974793D22302220726573756C743D224261636B67726F756E64 PUSH2 0x1C0 DUP3 ADD MSTORE PUSH32 0x496D61676546697822202F3E3C6665436F6C6F724D617472697820696E3D2253 PUSH2 0x1E0 DUP3 ADD MSTORE PUSH32 0x6F75726365416C7068612220747970653D226D6174726978222076616C756573 PUSH2 0x200 DUP3 ADD MSTORE PUSH32 0x3D22302030203020302030203020302030203020302030203020302030203020 PUSH2 0x220 DUP3 ADD MSTORE PUSH32 0x30203020302031323720302220726573756C743D2268617264416C7068612220 PUSH2 0x240 DUP3 ADD MSTORE PUSH32 0x2F3E3C66654D6F7270686F6C6F6779207261646975733D223422206F70657261 PUSH2 0x260 DUP3 ADD MSTORE PUSH32 0x746F723D2264696C6174652220696E3D22536F75726365416C70686122207265 PUSH2 0x280 DUP3 ADD MSTORE PUSH32 0x73756C743D22656666656374315F64726F70536861646F775F323031385F3236 PUSH2 0x2A0 DUP3 ADD MSTORE PUSH32 0x303722202F3E3C66654F6666736574202F3E3C6665476175737369616E426C75 PUSH2 0x2C0 DUP3 ADD MSTORE PUSH32 0x7220737464446576696174696F6E3D22313222202F3E3C6665436F6C6F724D61 PUSH2 0x2E0 DUP3 ADD MSTORE PUSH32 0x7472697820747970653D226D6174726978222076616C7565733D223020302030 PUSH2 0x300 DUP3 ADD MSTORE PUSH32 0x203020302E313239343132203020302030203020302E30393431313736203020 PUSH2 0x320 DUP3 ADD MSTORE PUSH32 0x302030203020302E3037383433313420302030203020302E3135203022202F3E PUSH2 0x340 DUP3 ADD MSTORE PUSH32 0x3C6665426C656E64206D6F64653D226E6F726D616C2220696E323D224261636B PUSH2 0x360 DUP3 ADD MSTORE PUSH32 0x67726F756E64496D6167654669782220726573756C743D22656666656374315F PUSH2 0x380 DUP3 ADD MSTORE PUSH32 0x64726F70536861646F775F323031385F3236303722202F3E3C6665426C656E64 PUSH2 0x3A0 DUP3 ADD MSTORE PUSH32 0x206D6F64653D226E6F726D616C2220696E3D22536F7572636547726170686963 PUSH2 0x3C0 DUP3 ADD MSTORE PUSH32 0x2220696E323D22656666656374315F64726F70536861646F775F323031385F32 PUSH2 0x3E0 DUP3 ADD MSTORE PUSH32 0x3630372220726573756C743D22736861706522202F3E3C2F66696C7465723E3C PUSH2 0x400 DUP3 ADD MSTORE PUSH32 0x6C696E6561724772616469656E742069643D227061696E74305F6C696E656172 PUSH2 0x420 DUP3 ADD MSTORE PUSH32 0x5F323031385F32363037222078313D22323737222079313D223137312E343931 PUSH2 0x440 DUP3 ADD MSTORE PUSH32 0x222078323D223332382E363235222079323D2231342E34333931222067726164 PUSH2 0x460 DUP3 ADD MSTORE PUSH32 0x69656E74556E6974733D227573657253706163654F6E557365223E3C73746F70 PUSH2 0x480 DUP3 ADD MSTORE PUSH32 0x2073746F702D636F6C6F723D222336303344454222202F3E3C73746F70206F66 PUSH2 0x4A0 DUP3 ADD MSTORE PUSH32 0x667365743D2231222073746F702D636F6C6F723D222332374331443622202F3E PUSH2 0x4C0 DUP3 ADD MSTORE PUSH32 0x3C2F6C696E6561724772616469656E743E3C636C6970506174682069643D2263 PUSH2 0x4E0 DUP3 ADD MSTORE PUSH32 0x6C6970305F323031385F32363037223E3C7265637420783D223233372220793D PUSH2 0x500 DUP3 ADD MSTORE PUSH32 0x223534222077696474683D2235373422206865696768743D2239323222207278 PUSH2 0x520 DUP3 ADD MSTORE PUSH32 0x3D223234222066696C6C3D22776869746522202F3E3C2F636C6970506174683E PUSH2 0x540 DUP3 ADD MSTORE PUSH32 0x3C2F646566733E3C2F7376673E00000000000000000000000000000000000000 PUSH2 0x560 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2493 PUSH2 0x56D DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x249E DUP3 PUSH2 0x1DD6 JUMP JUMPDEST PUSH2 0x56D DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x24B5 DUP3 PUSH2 0x1343 JUMP JUMPDEST SWAP2 POP PUSH2 0x24C0 DUP3 PUSH2 0x1401 JUMP JUMPDEST SWAP2 POP PUSH2 0x24CB DUP3 PUSH2 0x1BE4 JUMP JUMPDEST SWAP2 POP PUSH2 0x24D7 DUP3 DUP6 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP PUSH2 0x24E2 DUP3 PUSH2 0x1DB1 JUMP JUMPDEST SWAP2 POP PUSH2 0x24EE DUP3 DUP5 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP PUSH2 0x24F9 DUP3 PUSH2 0x2485 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2511 DUP3 DUP5 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x646174613A696D6167652F7376672B786D6C3B6261736536342C000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2552 PUSH1 0x1A DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x255D DUP3 PUSH2 0x251C JUMP JUMPDEST PUSH1 0x1A DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2573 DUP3 PUSH2 0x2545 JUMP JUMPDEST SWAP2 POP PUSH2 0x257F DUP3 DUP5 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x7B20226E616D6522203A2022556E6C6F636B205072696D65222C202265787465 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x726E616C5F75726C223A2268747470733A2F2F6170702E756E6C6F636B2D7072 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x6F746F636F6C2E636F6D2F7072696D65222C226465736372697074696F6E223A PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x22556E6C6F636B205072696D65206F666665727320656E68616E636564206665 PUSH1 0x60 DUP3 ADD MSTORE PUSH32 0x6174757265732C206D6F6E74686C792045544820726577617264732C20756E6C PUSH1 0x80 DUP3 ADD MSTORE PUSH32 0x696D69746564206576656E74732C20616E64206578636C757369766520706172 PUSH1 0xA0 DUP3 ADD MSTORE PUSH32 0x746E657220646973636F756E747320666F72206D656D626572732E204272696E PUSH1 0xC0 DUP3 ADD MSTORE PUSH32 0x6720796F7572206F6E636861696E20657870657269656E63657320746F207468 PUSH1 0xE0 DUP3 ADD MSTORE PUSH32 0x65206E657874206C6576656C20776974682061207072656D69756D206D656D62 PUSH2 0x100 DUP3 ADD MSTORE PUSH32 0x657273686970207468617420776F726B73206163726F737320616C6C20746865 PUSH2 0x120 DUP3 ADD MSTORE PUSH32 0x20617070732066726F6D20556E6C6F636B204C616273222C22696D616765223A PUSH2 0x140 DUP3 ADD MSTORE PUSH32 0x2200000000000000000000000000000000000000000000000000000000000000 PUSH2 0x160 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2767 PUSH2 0x161 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x2772 DUP3 PUSH2 0x258A JUMP JUMPDEST PUSH2 0x161 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x227D000000000000000000000000000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x27B4 PUSH1 0x2 DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x27BF DUP3 PUSH2 0x277E JUMP JUMPDEST PUSH1 0x2 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x27D5 DUP3 PUSH2 0x2759 JUMP JUMPDEST SWAP2 POP PUSH2 0x27E1 DUP3 DUP5 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP PUSH2 0x27EC DUP3 PUSH2 0x27A7 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x646174613A6170706C69636174696F6E2F6A736F6E3B6261736536342C000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x282D PUSH1 0x1D DUP4 PUSH2 0xB7F JUMP JUMPDEST SWAP2 POP PUSH2 0x2838 DUP3 PUSH2 0x27F7 JUMP JUMPDEST PUSH1 0x1D DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x284E DUP3 PUSH2 0x2820 JUMP JUMPDEST SWAP2 POP PUSH2 0x285A DUP3 DUP5 PUSH2 0xC6E JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x28CE DUP3 PUSH2 0xA1C JUMP JUMPDEST SWAP2 POP PUSH2 0x28D9 DUP4 PUSH2 0xA1C JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x28E9 JUMPI PUSH2 0x28E8 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x292E DUP3 PUSH2 0xA1C JUMP JUMPDEST SWAP2 POP PUSH2 0x2939 DUP4 PUSH2 0xA1C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x2951 JUMPI PUSH2 0x2950 PUSH2 0x2894 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2962 DUP3 PUSH2 0xA1C JUMP JUMPDEST SWAP2 POP PUSH2 0x296D DUP4 PUSH2 0xA1C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x297B DUP2 PUSH2 0xA1C JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x2992 JUMPI PUSH2 0x2991 PUSH2 0x2894 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29A4 DUP3 PUSH2 0xA1C JUMP JUMPDEST SWAP2 POP PUSH1 0x0 DUP3 SUB PUSH2 0x29B7 JUMPI PUSH2 0x29B6 PUSH2 0x2894 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 SUB SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x29CB DUP2 PUSH2 0xA1C JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x29E6 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x29C2 JUMP JUMPDEST PUSH2 0x29F3 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x29C2 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2A0F DUP3 PUSH2 0x29FA JUMP JUMPDEST SWAP2 POP PUSH2 0x2A1A DUP4 PUSH2 0x29FA JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP3 DUP2 SLT ISZERO PUSH1 0x0 DUP4 SLT AND DUP4 DUP3 SLT PUSH1 0x0 DUP5 SLT ISZERO AND OR ISZERO PUSH2 0x2A42 JUMPI PUSH2 0x2A41 PUSH2 0x2894 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2A53 DUP3 PUSH2 0x29FA JUMP JUMPDEST SWAP2 POP PUSH2 0x2A5E DUP4 PUSH2 0x29FA JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x2A6C DUP2 PUSH2 0x29FA JUMP JUMPDEST SWAP2 POP PUSH32 0x8000000000000000000000000000000000000000000000000000000000000000 DUP5 EQ PUSH1 0x0 DUP5 SLT AND ISZERO PUSH2 0x2AA4 JUMPI PUSH2 0x2AA3 PUSH2 0x2894 JUMP JUMPDEST JUMPDEST DUP3 DUP3 SDIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x2AB9 JUMPI PUSH2 0x2AB8 PUSH2 0x2894 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2ACB DUP3 PUSH2 0x29FA JUMP JUMPDEST SWAP2 POP PUSH2 0x2AD6 DUP4 PUSH2 0x29FA JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x2AE6 JUMPI PUSH2 0x2AE5 PUSH2 0x2865 JUMP JUMPDEST JUMPDEST PUSH1 0x1 PUSH1 0x0 SUB DUP4 EQ PUSH32 0x8000000000000000000000000000000000000000000000000000000000000000 DUP4 EQ AND ISZERO PUSH2 0x2B1F JUMPI PUSH2 0x2B1E PUSH2 0x2894 JUMP JUMPDEST JUMPDEST DUP3 DUP3 SDIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2B35 DUP3 PUSH2 0x29FA JUMP JUMPDEST SWAP2 POP PUSH2 0x2B40 DUP4 PUSH2 0x29FA JUMP JUMPDEST SWAP3 POP DUP3 DUP3 SUB SWAP1 POP DUP2 DUP2 SLT PUSH1 0x0 DUP5 SLT AND DUP3 DUP3 SGT PUSH1 0x0 DUP6 SLT ISZERO AND OR ISZERO PUSH2 0x2B67 JUMPI PUSH2 0x2B66 PUSH2 0x2894 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP INVALID COINBASE TIMESTAMP NUMBER PREVRANDAO GASLIMIT CHAINID SELFBALANCE BASEFEE BLOBHASH BLOBBASEFEE 0x4B 0x4C 0x4D 0x4E 0x4F POP MLOAD MSTORE MSTORE8 SLOAD SSTORE JUMP JUMPI PC MSIZE GAS PUSH2 0x6263 PUSH5 0x6566676869 PUSH11 0x6B6C6D6E6F707172737475 PUSH23 0x7778797A303132333435363738392B2FA2646970667358 0x22 SLT KECCAK256 0xD3 0xC9 NUMBER PUSH22 0xC9941D647F1813E6546A6B90DBFF0EC14BEE82F9073 0xDB LOG1 0xE3 PUSH8 0x5D5964736F6C6343 STOP ADDMOD SHL STOP CALLER ", + "sourceMap": "2390:7375:19:-:0;;;2429:287;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2390:7375;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:99:20:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:180::-;160:77;157:1;150:88;257:4;254:1;247:15;281:4;278:1;271:15;298:180;346:77;343:1;336:88;443:4;440:1;433:15;467:4;464:1;457:15;484:320;528:6;565:1;559:4;555:12;545:22;;612:1;606:4;602:12;633:18;623:81;;689:4;681:6;677:17;667:27;;623:81;751:2;743:6;740:14;720:18;717:38;714:84;;770:18;;:::i;:::-;714:84;535:269;484:320;;;:::o;810:141::-;859:4;882:3;874:11;;905:3;902:1;895:14;939:4;936:1;926:18;918:26;;810:141;;;:::o;957:93::-;994:6;1041:2;1036;1029:5;1025:14;1021:23;1011:33;;957:93;;;:::o;1056:107::-;1100:8;1150:5;1144:4;1140:16;1119:37;;1056:107;;;;:::o;1169:393::-;1238:6;1288:1;1276:10;1272:18;1311:97;1341:66;1330:9;1311:97;:::i;:::-;1429:39;1459:8;1448:9;1429:39;:::i;:::-;1417:51;;1501:4;1497:9;1490:5;1486:21;1477:30;;1550:4;1540:8;1536:19;1529:5;1526:30;1516:40;;1245:317;;1169:393;;;;;:::o;1568:77::-;1605:7;1634:5;1623:16;;1568:77;;;:::o;1651:60::-;1679:3;1700:5;1693:12;;1651:60;;;:::o;1717:142::-;1767:9;1800:53;1818:34;1827:24;1845:5;1827:24;:::i;:::-;1818:34;:::i;:::-;1800:53;:::i;:::-;1787:66;;1717:142;;;:::o;1865:75::-;1908:3;1929:5;1922:12;;1865:75;;;:::o;1946:269::-;2056:39;2087:7;2056:39;:::i;:::-;2117:91;2166:41;2190:16;2166:41;:::i;:::-;2158:6;2151:4;2145:11;2117:91;:::i;:::-;2111:4;2104:105;2022:193;1946:269;;;:::o;2221:73::-;2266:3;2221:73;:::o;2300:189::-;2377:32;;:::i;:::-;2418:65;2476:6;2468;2462:4;2418:65;:::i;:::-;2353:136;2300:189;;:::o;2495:186::-;2555:120;2572:3;2565:5;2562:14;2555:120;;;2626:39;2663:1;2656:5;2626:39;:::i;:::-;2599:1;2592:5;2588:13;2579:22;;2555:120;;;2495:186;;:::o;2687:543::-;2788:2;2783:3;2780:11;2777:446;;;2822:38;2854:5;2822:38;:::i;:::-;2906:29;2924:10;2906:29;:::i;:::-;2896:8;2892:44;3089:2;3077:10;3074:18;3071:49;;;3110:8;3095:23;;3071:49;3133:80;3189:22;3207:3;3189:22;:::i;:::-;3179:8;3175:37;3162:11;3133:80;:::i;:::-;2792:431;;2777:446;2687:543;;;:::o;3236:117::-;3290:8;3340:5;3334:4;3330:16;3309:37;;3236:117;;;;:::o;3359:169::-;3403:6;3436:51;3484:1;3480:6;3472:5;3469:1;3465:13;3436:51;:::i;:::-;3432:56;3517:4;3511;3507:15;3497:25;;3410:118;3359:169;;;;:::o;3533:295::-;3609:4;3755:29;3780:3;3774:4;3755:29;:::i;:::-;3747:37;;3817:3;3814:1;3810:11;3804:4;3801:21;3793:29;;3533:295;;;;:::o;3833:1395::-;3950:37;3983:3;3950:37;:::i;:::-;4052:18;4044:6;4041:30;4038:56;;;4074:18;;:::i;:::-;4038:56;4118:38;4150:4;4144:11;4118:38;:::i;:::-;4203:67;4263:6;4255;4249:4;4203:67;:::i;:::-;4297:1;4321:4;4308:17;;4353:2;4345:6;4342:14;4370:1;4365:618;;;;5027:1;5044:6;5041:77;;;5093:9;5088:3;5084:19;5078:26;5069:35;;5041:77;5144:67;5204:6;5197:5;5144:67;:::i;:::-;5138:4;5131:81;5000:222;4335:887;;4365:618;4417:4;4413:9;4405:6;4401:22;4451:37;4483:4;4451:37;:::i;:::-;4510:1;4524:208;4538:7;4535:1;4532:14;4524:208;;;4617:9;4612:3;4608:19;4602:26;4594:6;4587:42;4668:1;4660:6;4656:14;4646:24;;4715:2;4704:9;4700:18;4687:31;;4561:4;4558:1;4554:12;4549:17;;4524:208;;;4760:6;4751:7;4748:19;4745:179;;;4818:9;4813:3;4809:19;4803:26;4861:48;4903:4;4895:6;4891:17;4880:9;4861:48;:::i;:::-;4853:6;4846:64;4768:156;4745:179;4970:1;4966;4958:6;4954:14;4950:22;4944:4;4937:36;4372:611;;;4335:887;;3925:1303;;;3833:1395;;:::o;2390:7375:19:-;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@_daysToDate_4385": { + "entryPoint": 1735, + "id": 4385, + "parameterSlots": 1, + "returnSlots": 3 + }, + "@encode_1037": { + "entryPoint": 783, + "id": 1037, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@log10_2307": { + "entryPoint": 2150, + "id": 2307, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@timestampToDate_4408": { + "entryPoint": 530, + "id": 4408, + "parameterSlots": 1, + "returnSlots": 3 + }, + "@toHexString_1375": { + "entryPoint": 1153, + "id": 1375, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@toHexString_1395": { + "entryPoint": 485, + "id": 1395, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toString_1246": { + "entryPoint": 577, + "id": 1246, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@tokenURI_4560": { + "entryPoint": 96, + "id": 4560, + "parameterSlots": 5, + "returnSlots": 1 + }, + "abi_decode_t_address": { + "entryPoint": 2567, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_t_uint256": { + "entryPoint": 2621, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_addresst_addresst_uint256t_uint256": { + "entryPoint": 2642, + "id": null, + "parameterSlots": 2, + "returnSlots": 5 + }, + "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { + "entryPoint": 2852, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 3182, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 3744, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 3272, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_3a2645b17e05d3e582fbac6f6e6f0c2d01a7294f75f1fa256bc7a6ab83dae6d3_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 7601, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_3e1bf689d6a80663e4d4e97d0d8f05b041ff69b66cde8d075279a3c3047336e8_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 5121, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_5be9d1f303a72f4f3866cd7625167569c1892b4d0a9a2d12b967da4bed674db9_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 9349, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 3592, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 3916, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 4646, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_7a90f30a38133f46db2d349b1f35142be0b8c10ac903fb67f200bed69c556043_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 7140, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_835b459273672627bbafc3a2eded65187a632f4128bdc79e126c7ef579a27475_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 10151, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_a4d32f0a8f0fcfc1ca98ff2d9e21279f61efd1c8479154b8153fd87fc93112fa_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 10073, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 3992, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 10272, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 4931, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 3147, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_stringliteral_f90ae014c41cb48231e1f02c314087ff9c479133697911d25c5fe231e237dd14_to_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 9541, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_t_uint256_to_t_uint256_fromStack": { + "entryPoint": 10690, + "id": null, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 9477, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3_t_string_storage_t_stringliteral_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a_t_string_memory_ptr_t_stringliteral_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d_t_string_memory_ptr_t_stringliteral_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 4683, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_a4d32f0a8f0fcfc1ca98ff2d9e21279f61efd1c8479154b8153fd87fc93112fa_t_string_memory_ptr_t_stringliteral_835b459273672627bbafc3a2eded65187a632f4128bdc79e126c7ef579a27475__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 10186, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 10307, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477_t_stringliteral_3e1bf689d6a80663e4d4e97d0d8f05b041ff69b66cde8d075279a3c3047336e8_t_stringliteral_7a90f30a38133f46db2d349b1f35142be0b8c10ac903fb67f200bed69c556043_t_string_memory_ptr_t_stringliteral_3a2645b17e05d3e582fbac6f6e6f0c2d01a7294f75f1fa256bc7a6ab83dae6d3_t_string_memory_ptr_t_stringliteral_5be9d1f303a72f4f3866cd7625167569c1892b4d0a9a2d12b967da4bed674db9__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 9386, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0_t_string_memory_ptr_t_stringliteral_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 3307, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f90ae014c41cb48231e1f02c314087ff9c479133697911d25c5fe231e237dd14_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 9576, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 2909, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed": { + "entryPoint": 10705, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "allocate_unbounded": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 1 + }, + "array_dataslot_t_string_storage": { + "entryPoint": 3723, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_length_t_string_memory_ptr": { + "entryPoint": 2765, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { + "entryPoint": 2776, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack": { + "entryPoint": 2943, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_int256": { + "entryPoint": 10756, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 10531, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_div_t_int256": { + "entryPoint": 10944, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_div_t_uint256": { + "entryPoint": 10435, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_int256": { + "entryPoint": 10824, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 10583, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_sub_t_int256": { + "entryPoint": 11050, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "cleanup_t_address": { + "entryPoint": 2526, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_int256": { + "entryPoint": 10746, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint160": { + "entryPoint": 2494, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "cleanup_t_uint256": { + "entryPoint": 2588, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "copy_memory_to_memory_with_cleanup": { + "entryPoint": 2793, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 10649, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "extract_byte_array_length": { + "entryPoint": 3674, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 10388, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x12": { + "entryPoint": 10341, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x22": { + "entryPoint": 3627, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 3352, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 10484, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { + "entryPoint": null, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { + "entryPoint": 2489, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "round_up_to_mul_of_32": { + "entryPoint": 2835, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "store_literal_in_memory_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a": { + "entryPoint": 3231, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_3a2645b17e05d3e582fbac6f6e6f0c2d01a7294f75f1fa256bc7a6ab83dae6d3": { + "entryPoint": 7177, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_3e1bf689d6a80663e4d4e97d0d8f05b041ff69b66cde8d075279a3c3047336e8": { + "entryPoint": 4966, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_5be9d1f303a72f4f3866cd7625167569c1892b4d0a9a2d12b967da4bed674db9": { + "entryPoint": 7638, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3": { + "entryPoint": 3399, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a": { + "entryPoint": 3875, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2": { + "entryPoint": 4027, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_7a90f30a38133f46db2d349b1f35142be0b8c10ac903fb67f200bed69c556043": { + "entryPoint": 5156, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_835b459273672627bbafc3a2eded65187a632f4128bdc79e126c7ef579a27475": { + "entryPoint": 10110, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_a4d32f0a8f0fcfc1ca98ff2d9e21279f61efd1c8479154b8153fd87fc93112fa": { + "entryPoint": 9610, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d": { + "entryPoint": 3951, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_bccab2d885f86fda81bfd84dd4248d31f8073b473d187111d36536db073076fa": { + "entryPoint": 10231, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477": { + "entryPoint": 4776, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0": { + "entryPoint": 2954, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "store_literal_in_memory_f90ae014c41cb48231e1f02c314087ff9c479133697911d25c5fe231e237dd14": { + "entryPoint": 9500, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_address": { + "entryPoint": 2544, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_t_uint256": { + "entryPoint": 2598, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nativeSrc": "0:40441:20", + "nodeType": "YulBlock", + "src": "0:40441:20", + "statements": [ + { + "body": { + "nativeSrc": "47:35:20", + "nodeType": "YulBlock", + "src": "47:35:20", + "statements": [ + { + "nativeSrc": "57:19:20", + "nodeType": "YulAssignment", + "src": "57:19:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "73:2:20", + "nodeType": "YulLiteral", + "src": "73:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "67:5:20", + "nodeType": "YulIdentifier", + "src": "67:5:20" + }, + "nativeSrc": "67:9:20", + "nodeType": "YulFunctionCall", + "src": "67:9:20" + }, + "variableNames": [ + { + "name": "memPtr", + "nativeSrc": "57:6:20", + "nodeType": "YulIdentifier", + "src": "57:6:20" + } + ] + } + ] + }, + "name": "allocate_unbounded", + "nativeSrc": "7:75:20", + "nodeType": "YulFunctionDefinition", + "returnVariables": [ + { + "name": "memPtr", + "nativeSrc": "40:6:20", + "nodeType": "YulTypedName", + "src": "40:6:20", + "type": "" + } + ], + "src": "7:75:20" + }, + { + "body": { + "nativeSrc": "177:28:20", + "nodeType": "YulBlock", + "src": "177:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "194:1:20", + "nodeType": "YulLiteral", + "src": "194:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "197:1:20", + "nodeType": "YulLiteral", + "src": "197:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "187:6:20", + "nodeType": "YulIdentifier", + "src": "187:6:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulFunctionCall", + "src": "187:12:20" + }, + "nativeSrc": "187:12:20", + "nodeType": "YulExpressionStatement", + "src": "187:12:20" + } + ] + }, + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "88:117:20", + "nodeType": "YulFunctionDefinition", + "src": "88:117:20" + }, + { + "body": { + "nativeSrc": "300:28:20", + "nodeType": "YulBlock", + "src": "300:28:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "317:1:20", + "nodeType": "YulLiteral", + "src": "317:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "320:1:20", + "nodeType": "YulLiteral", + "src": "320:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "310:6:20", + "nodeType": "YulIdentifier", + "src": "310:6:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulFunctionCall", + "src": "310:12:20" + }, + "nativeSrc": "310:12:20", + "nodeType": "YulExpressionStatement", + "src": "310:12:20" + } + ] + }, + "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", + "nativeSrc": "211:117:20", + "nodeType": "YulFunctionDefinition", + "src": "211:117:20" + }, + { + "body": { + "nativeSrc": "379:81:20", + "nodeType": "YulBlock", + "src": "379:81:20", + "statements": [ + { + "nativeSrc": "389:65:20", + "nodeType": "YulAssignment", + "src": "389:65:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "404:5:20", + "nodeType": "YulIdentifier", + "src": "404:5:20" + }, + { + "kind": "number", + "nativeSrc": "411:42:20", + "nodeType": "YulLiteral", + "src": "411:42:20", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "400:3:20", + "nodeType": "YulIdentifier", + "src": "400:3:20" + }, + "nativeSrc": "400:54:20", + "nodeType": "YulFunctionCall", + "src": "400:54:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "389:7:20", + "nodeType": "YulIdentifier", + "src": "389:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nativeSrc": "334:126:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "361:5:20", + "nodeType": "YulTypedName", + "src": "361:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "371:7:20", + "nodeType": "YulTypedName", + "src": "371:7:20", + "type": "" + } + ], + "src": "334:126:20" + }, + { + "body": { + "nativeSrc": "511:51:20", + "nodeType": "YulBlock", + "src": "511:51:20", + "statements": [ + { + "nativeSrc": "521:35:20", + "nodeType": "YulAssignment", + "src": "521:35:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "550:5:20", + "nodeType": "YulIdentifier", + "src": "550:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nativeSrc": "532:17:20", + "nodeType": "YulIdentifier", + "src": "532:17:20" + }, + "nativeSrc": "532:24:20", + "nodeType": "YulFunctionCall", + "src": "532:24:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "521:7:20", + "nodeType": "YulIdentifier", + "src": "521:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nativeSrc": "466:96:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "493:5:20", + "nodeType": "YulTypedName", + "src": "493:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "503:7:20", + "nodeType": "YulTypedName", + "src": "503:7:20", + "type": "" + } + ], + "src": "466:96:20" + }, + { + "body": { + "nativeSrc": "611:79:20", + "nodeType": "YulBlock", + "src": "611:79:20", + "statements": [ + { + "body": { + "nativeSrc": "668:16:20", + "nodeType": "YulBlock", + "src": "668:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "677:1:20", + "nodeType": "YulLiteral", + "src": "677:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "680:1:20", + "nodeType": "YulLiteral", + "src": "680:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "670:6:20", + "nodeType": "YulIdentifier", + "src": "670:6:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulFunctionCall", + "src": "670:12:20" + }, + "nativeSrc": "670:12:20", + "nodeType": "YulExpressionStatement", + "src": "670:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "634:5:20", + "nodeType": "YulIdentifier", + "src": "634:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "659:5:20", + "nodeType": "YulIdentifier", + "src": "659:5:20" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nativeSrc": "641:17:20", + "nodeType": "YulIdentifier", + "src": "641:17:20" + }, + "nativeSrc": "641:24:20", + "nodeType": "YulFunctionCall", + "src": "641:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "631:2:20", + "nodeType": "YulIdentifier", + "src": "631:2:20" + }, + "nativeSrc": "631:35:20", + "nodeType": "YulFunctionCall", + "src": "631:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "624:6:20", + "nodeType": "YulIdentifier", + "src": "624:6:20" + }, + "nativeSrc": "624:43:20", + "nodeType": "YulFunctionCall", + "src": "624:43:20" + }, + "nativeSrc": "621:63:20", + "nodeType": "YulIf", + "src": "621:63:20" + } + ] + }, + "name": "validator_revert_t_address", + "nativeSrc": "568:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "604:5:20", + "nodeType": "YulTypedName", + "src": "604:5:20", + "type": "" + } + ], + "src": "568:122:20" + }, + { + "body": { + "nativeSrc": "748:87:20", + "nodeType": "YulBlock", + "src": "748:87:20", + "statements": [ + { + "nativeSrc": "758:29:20", + "nodeType": "YulAssignment", + "src": "758:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "780:6:20", + "nodeType": "YulIdentifier", + "src": "780:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "767:12:20", + "nodeType": "YulIdentifier", + "src": "767:12:20" + }, + "nativeSrc": "767:20:20", + "nodeType": "YulFunctionCall", + "src": "767:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "758:5:20", + "nodeType": "YulIdentifier", + "src": "758:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "823:5:20", + "nodeType": "YulIdentifier", + "src": "823:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nativeSrc": "796:26:20", + "nodeType": "YulIdentifier", + "src": "796:26:20" + }, + "nativeSrc": "796:33:20", + "nodeType": "YulFunctionCall", + "src": "796:33:20" + }, + "nativeSrc": "796:33:20", + "nodeType": "YulExpressionStatement", + "src": "796:33:20" + } + ] + }, + "name": "abi_decode_t_address", + "nativeSrc": "696:139:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "726:6:20", + "nodeType": "YulTypedName", + "src": "726:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "734:3:20", + "nodeType": "YulTypedName", + "src": "734:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "742:5:20", + "nodeType": "YulTypedName", + "src": "742:5:20", + "type": "" + } + ], + "src": "696:139:20" + }, + { + "body": { + "nativeSrc": "886:32:20", + "nodeType": "YulBlock", + "src": "886:32:20", + "statements": [ + { + "nativeSrc": "896:16:20", + "nodeType": "YulAssignment", + "src": "896:16:20", + "value": { + "name": "value", + "nativeSrc": "907:5:20", + "nodeType": "YulIdentifier", + "src": "907:5:20" + }, + "variableNames": [ + { + "name": "cleaned", + "nativeSrc": "896:7:20", + "nodeType": "YulIdentifier", + "src": "896:7:20" + } + ] + } + ] + }, + "name": "cleanup_t_uint256", + "nativeSrc": "841:77:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "868:5:20", + "nodeType": "YulTypedName", + "src": "868:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nativeSrc": "878:7:20", + "nodeType": "YulTypedName", + "src": "878:7:20", + "type": "" + } + ], + "src": "841:77:20" + }, + { + "body": { + "nativeSrc": "967:79:20", + "nodeType": "YulBlock", + "src": "967:79:20", + "statements": [ + { + "body": { + "nativeSrc": "1024:16:20", + "nodeType": "YulBlock", + "src": "1024:16:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "1033:1:20", + "nodeType": "YulLiteral", + "src": "1033:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "1036:1:20", + "nodeType": "YulLiteral", + "src": "1036:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "1026:6:20", + "nodeType": "YulIdentifier", + "src": "1026:6:20" + }, + "nativeSrc": "1026:12:20", + "nodeType": "YulFunctionCall", + "src": "1026:12:20" + }, + "nativeSrc": "1026:12:20", + "nodeType": "YulExpressionStatement", + "src": "1026:12:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "990:5:20", + "nodeType": "YulIdentifier", + "src": "990:5:20" + }, + { + "arguments": [ + { + "name": "value", + "nativeSrc": "1015:5:20", + "nodeType": "YulIdentifier", + "src": "1015:5:20" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nativeSrc": "997:17:20", + "nodeType": "YulIdentifier", + "src": "997:17:20" + }, + "nativeSrc": "997:24:20", + "nodeType": "YulFunctionCall", + "src": "997:24:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "987:2:20", + "nodeType": "YulIdentifier", + "src": "987:2:20" + }, + "nativeSrc": "987:35:20", + "nodeType": "YulFunctionCall", + "src": "987:35:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "980:6:20", + "nodeType": "YulIdentifier", + "src": "980:6:20" + }, + "nativeSrc": "980:43:20", + "nodeType": "YulFunctionCall", + "src": "980:43:20" + }, + "nativeSrc": "977:63:20", + "nodeType": "YulIf", + "src": "977:63:20" + } + ] + }, + "name": "validator_revert_t_uint256", + "nativeSrc": "924:122:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "960:5:20", + "nodeType": "YulTypedName", + "src": "960:5:20", + "type": "" + } + ], + "src": "924:122:20" + }, + { + "body": { + "nativeSrc": "1104:87:20", + "nodeType": "YulBlock", + "src": "1104:87:20", + "statements": [ + { + "nativeSrc": "1114:29:20", + "nodeType": "YulAssignment", + "src": "1114:29:20", + "value": { + "arguments": [ + { + "name": "offset", + "nativeSrc": "1136:6:20", + "nodeType": "YulIdentifier", + "src": "1136:6:20" + } + ], + "functionName": { + "name": "calldataload", + "nativeSrc": "1123:12:20", + "nodeType": "YulIdentifier", + "src": "1123:12:20" + }, + "nativeSrc": "1123:20:20", + "nodeType": "YulFunctionCall", + "src": "1123:20:20" + }, + "variableNames": [ + { + "name": "value", + "nativeSrc": "1114:5:20", + "nodeType": "YulIdentifier", + "src": "1114:5:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nativeSrc": "1179:5:20", + "nodeType": "YulIdentifier", + "src": "1179:5:20" + } + ], + "functionName": { + "name": "validator_revert_t_uint256", + "nativeSrc": "1152:26:20", + "nodeType": "YulIdentifier", + "src": "1152:26:20" + }, + "nativeSrc": "1152:33:20", + "nodeType": "YulFunctionCall", + "src": "1152:33:20" + }, + "nativeSrc": "1152:33:20", + "nodeType": "YulExpressionStatement", + "src": "1152:33:20" + } + ] + }, + "name": "abi_decode_t_uint256", + "nativeSrc": "1052:139:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nativeSrc": "1082:6:20", + "nodeType": "YulTypedName", + "src": "1082:6:20", + "type": "" + }, + { + "name": "end", + "nativeSrc": "1090:3:20", + "nodeType": "YulTypedName", + "src": "1090:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nativeSrc": "1098:5:20", + "nodeType": "YulTypedName", + "src": "1098:5:20", + "type": "" + } + ], + "src": "1052:139:20" + }, + { + "body": { + "nativeSrc": "1331:777:20", + "nodeType": "YulBlock", + "src": "1331:777:20", + "statements": [ + { + "body": { + "nativeSrc": "1378:83:20", + "nodeType": "YulBlock", + "src": "1378:83:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", + "nativeSrc": "1380:77:20", + "nodeType": "YulIdentifier", + "src": "1380:77:20" + }, + "nativeSrc": "1380:79:20", + "nodeType": "YulFunctionCall", + "src": "1380:79:20" + }, + "nativeSrc": "1380:79:20", + "nodeType": "YulExpressionStatement", + "src": "1380:79:20" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nativeSrc": "1352:7:20", + "nodeType": "YulIdentifier", + "src": "1352:7:20" + }, + { + "name": "headStart", + "nativeSrc": "1361:9:20", + "nodeType": "YulIdentifier", + "src": "1361:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "1348:3:20", + "nodeType": "YulIdentifier", + "src": "1348:3:20" + }, + "nativeSrc": "1348:23:20", + "nodeType": "YulFunctionCall", + "src": "1348:23:20" + }, + { + "kind": "number", + "nativeSrc": "1373:3:20", + "nodeType": "YulLiteral", + "src": "1373:3:20", + "type": "", + "value": "160" + } + ], + "functionName": { + "name": "slt", + "nativeSrc": "1344:3:20", + "nodeType": "YulIdentifier", + "src": "1344:3:20" + }, + "nativeSrc": "1344:33:20", + "nodeType": "YulFunctionCall", + "src": "1344:33:20" + }, + "nativeSrc": "1341:120:20", + "nodeType": "YulIf", + "src": "1341:120:20" + }, + { + "nativeSrc": "1471:117:20", + "nodeType": "YulBlock", + "src": "1471:117:20", + "statements": [ + { + "nativeSrc": "1486:15:20", + "nodeType": "YulVariableDeclaration", + "src": "1486:15:20", + "value": { + "kind": "number", + "nativeSrc": "1500:1:20", + "nodeType": "YulLiteral", + "src": "1500:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1490:6:20", + "nodeType": "YulTypedName", + "src": "1490:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1515:63:20", + "nodeType": "YulAssignment", + "src": "1515:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1550:9:20", + "nodeType": "YulIdentifier", + "src": "1550:9:20" + }, + { + "name": "offset", + "nativeSrc": "1561:6:20", + "nodeType": "YulIdentifier", + "src": "1561:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1546:3:20", + "nodeType": "YulIdentifier", + "src": "1546:3:20" + }, + "nativeSrc": "1546:22:20", + "nodeType": "YulFunctionCall", + "src": "1546:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1570:7:20", + "nodeType": "YulIdentifier", + "src": "1570:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "1525:20:20", + "nodeType": "YulIdentifier", + "src": "1525:20:20" + }, + "nativeSrc": "1525:53:20", + "nodeType": "YulFunctionCall", + "src": "1525:53:20" + }, + "variableNames": [ + { + "name": "value0", + "nativeSrc": "1515:6:20", + "nodeType": "YulIdentifier", + "src": "1515:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1598:118:20", + "nodeType": "YulBlock", + "src": "1598:118:20", + "statements": [ + { + "nativeSrc": "1613:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1613:16:20", + "value": { + "kind": "number", + "nativeSrc": "1627:2:20", + "nodeType": "YulLiteral", + "src": "1627:2:20", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1617:6:20", + "nodeType": "YulTypedName", + "src": "1617:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1643:63:20", + "nodeType": "YulAssignment", + "src": "1643:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1678:9:20", + "nodeType": "YulIdentifier", + "src": "1678:9:20" + }, + { + "name": "offset", + "nativeSrc": "1689:6:20", + "nodeType": "YulIdentifier", + "src": "1689:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1674:3:20", + "nodeType": "YulIdentifier", + "src": "1674:3:20" + }, + "nativeSrc": "1674:22:20", + "nodeType": "YulFunctionCall", + "src": "1674:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1698:7:20", + "nodeType": "YulIdentifier", + "src": "1698:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "1653:20:20", + "nodeType": "YulIdentifier", + "src": "1653:20:20" + }, + "nativeSrc": "1653:53:20", + "nodeType": "YulFunctionCall", + "src": "1653:53:20" + }, + "variableNames": [ + { + "name": "value1", + "nativeSrc": "1643:6:20", + "nodeType": "YulIdentifier", + "src": "1643:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1726:118:20", + "nodeType": "YulBlock", + "src": "1726:118:20", + "statements": [ + { + "nativeSrc": "1741:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1741:16:20", + "value": { + "kind": "number", + "nativeSrc": "1755:2:20", + "nodeType": "YulLiteral", + "src": "1755:2:20", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1745:6:20", + "nodeType": "YulTypedName", + "src": "1745:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1771:63:20", + "nodeType": "YulAssignment", + "src": "1771:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1806:9:20", + "nodeType": "YulIdentifier", + "src": "1806:9:20" + }, + { + "name": "offset", + "nativeSrc": "1817:6:20", + "nodeType": "YulIdentifier", + "src": "1817:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1802:3:20", + "nodeType": "YulIdentifier", + "src": "1802:3:20" + }, + "nativeSrc": "1802:22:20", + "nodeType": "YulFunctionCall", + "src": "1802:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1826:7:20", + "nodeType": "YulIdentifier", + "src": "1826:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nativeSrc": "1781:20:20", + "nodeType": "YulIdentifier", + "src": "1781:20:20" + }, + "nativeSrc": "1781:53:20", + "nodeType": "YulFunctionCall", + "src": "1781:53:20" + }, + "variableNames": [ + { + "name": "value2", + "nativeSrc": "1771:6:20", + "nodeType": "YulIdentifier", + "src": "1771:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1854:118:20", + "nodeType": "YulBlock", + "src": "1854:118:20", + "statements": [ + { + "nativeSrc": "1869:16:20", + "nodeType": "YulVariableDeclaration", + "src": "1869:16:20", + "value": { + "kind": "number", + "nativeSrc": "1883:2:20", + "nodeType": "YulLiteral", + "src": "1883:2:20", + "type": "", + "value": "96" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "1873:6:20", + "nodeType": "YulTypedName", + "src": "1873:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "1899:63:20", + "nodeType": "YulAssignment", + "src": "1899:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "1934:9:20", + "nodeType": "YulIdentifier", + "src": "1934:9:20" + }, + { + "name": "offset", + "nativeSrc": "1945:6:20", + "nodeType": "YulIdentifier", + "src": "1945:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "1930:3:20", + "nodeType": "YulIdentifier", + "src": "1930:3:20" + }, + "nativeSrc": "1930:22:20", + "nodeType": "YulFunctionCall", + "src": "1930:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "1954:7:20", + "nodeType": "YulIdentifier", + "src": "1954:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "1909:20:20", + "nodeType": "YulIdentifier", + "src": "1909:20:20" + }, + "nativeSrc": "1909:53:20", + "nodeType": "YulFunctionCall", + "src": "1909:53:20" + }, + "variableNames": [ + { + "name": "value3", + "nativeSrc": "1899:6:20", + "nodeType": "YulIdentifier", + "src": "1899:6:20" + } + ] + } + ] + }, + { + "nativeSrc": "1982:119:20", + "nodeType": "YulBlock", + "src": "1982:119:20", + "statements": [ + { + "nativeSrc": "1997:17:20", + "nodeType": "YulVariableDeclaration", + "src": "1997:17:20", + "value": { + "kind": "number", + "nativeSrc": "2011:3:20", + "nodeType": "YulLiteral", + "src": "2011:3:20", + "type": "", + "value": "128" + }, + "variables": [ + { + "name": "offset", + "nativeSrc": "2001:6:20", + "nodeType": "YulTypedName", + "src": "2001:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "2028:63:20", + "nodeType": "YulAssignment", + "src": "2028:63:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "2063:9:20", + "nodeType": "YulIdentifier", + "src": "2063:9:20" + }, + { + "name": "offset", + "nativeSrc": "2074:6:20", + "nodeType": "YulIdentifier", + "src": "2074:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2059:3:20", + "nodeType": "YulIdentifier", + "src": "2059:3:20" + }, + "nativeSrc": "2059:22:20", + "nodeType": "YulFunctionCall", + "src": "2059:22:20" + }, + { + "name": "dataEnd", + "nativeSrc": "2083:7:20", + "nodeType": "YulIdentifier", + "src": "2083:7:20" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nativeSrc": "2038:20:20", + "nodeType": "YulIdentifier", + "src": "2038:20:20" + }, + "nativeSrc": "2038:53:20", + "nodeType": "YulFunctionCall", + "src": "2038:53:20" + }, + "variableNames": [ + { + "name": "value4", + "nativeSrc": "2028:6:20", + "nodeType": "YulIdentifier", + "src": "2028:6:20" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_addresst_uint256t_uint256", + "nativeSrc": "1197:911:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "1269:9:20", + "nodeType": "YulTypedName", + "src": "1269:9:20", + "type": "" + }, + { + "name": "dataEnd", + "nativeSrc": "1280:7:20", + "nodeType": "YulTypedName", + "src": "1280:7:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nativeSrc": "1292:6:20", + "nodeType": "YulTypedName", + "src": "1292:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "1300:6:20", + "nodeType": "YulTypedName", + "src": "1300:6:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "1308:6:20", + "nodeType": "YulTypedName", + "src": "1308:6:20", + "type": "" + }, + { + "name": "value3", + "nativeSrc": "1316:6:20", + "nodeType": "YulTypedName", + "src": "1316:6:20", + "type": "" + }, + { + "name": "value4", + "nativeSrc": "1324:6:20", + "nodeType": "YulTypedName", + "src": "1324:6:20", + "type": "" + } + ], + "src": "1197:911:20" + }, + { + "body": { + "nativeSrc": "2173:40:20", + "nodeType": "YulBlock", + "src": "2173:40:20", + "statements": [ + { + "nativeSrc": "2184:22:20", + "nodeType": "YulAssignment", + "src": "2184:22:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "2200:5:20", + "nodeType": "YulIdentifier", + "src": "2200:5:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "2194:5:20", + "nodeType": "YulIdentifier", + "src": "2194:5:20" + }, + "nativeSrc": "2194:12:20", + "nodeType": "YulFunctionCall", + "src": "2194:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "2184:6:20", + "nodeType": "YulIdentifier", + "src": "2184:6:20" + } + ] + } + ] + }, + "name": "array_length_t_string_memory_ptr", + "nativeSrc": "2114:99:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "2156:5:20", + "nodeType": "YulTypedName", + "src": "2156:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "2166:6:20", + "nodeType": "YulTypedName", + "src": "2166:6:20", + "type": "" + } + ], + "src": "2114:99:20" + }, + { + "body": { + "nativeSrc": "2315:73:20", + "nodeType": "YulBlock", + "src": "2315:73:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2332:3:20", + "nodeType": "YulIdentifier", + "src": "2332:3:20" + }, + { + "name": "length", + "nativeSrc": "2337:6:20", + "nodeType": "YulIdentifier", + "src": "2337:6:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2325:6:20", + "nodeType": "YulIdentifier", + "src": "2325:6:20" + }, + "nativeSrc": "2325:19:20", + "nodeType": "YulFunctionCall", + "src": "2325:19:20" + }, + "nativeSrc": "2325:19:20", + "nodeType": "YulExpressionStatement", + "src": "2325:19:20" + }, + { + "nativeSrc": "2353:29:20", + "nodeType": "YulAssignment", + "src": "2353:29:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2372:3:20", + "nodeType": "YulIdentifier", + "src": "2372:3:20" + }, + { + "kind": "number", + "nativeSrc": "2377:4:20", + "nodeType": "YulLiteral", + "src": "2377:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2368:3:20", + "nodeType": "YulIdentifier", + "src": "2368:3:20" + }, + "nativeSrc": "2368:14:20", + "nodeType": "YulFunctionCall", + "src": "2368:14:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "2353:11:20", + "nodeType": "YulIdentifier", + "src": "2353:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "2219:169:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "2287:3:20", + "nodeType": "YulTypedName", + "src": "2287:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2292:6:20", + "nodeType": "YulTypedName", + "src": "2292:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "2303:11:20", + "nodeType": "YulTypedName", + "src": "2303:11:20", + "type": "" + } + ], + "src": "2219:169:20" + }, + { + "body": { + "nativeSrc": "2456:186:20", + "nodeType": "YulBlock", + "src": "2456:186:20", + "statements": [ + { + "nativeSrc": "2467:10:20", + "nodeType": "YulVariableDeclaration", + "src": "2467:10:20", + "value": { + "kind": "number", + "nativeSrc": "2476:1:20", + "nodeType": "YulLiteral", + "src": "2476:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nativeSrc": "2471:1:20", + "nodeType": "YulTypedName", + "src": "2471:1:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "2536:63:20", + "nodeType": "YulBlock", + "src": "2536:63:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "2561:3:20", + "nodeType": "YulIdentifier", + "src": "2561:3:20" + }, + { + "name": "i", + "nativeSrc": "2566:1:20", + "nodeType": "YulIdentifier", + "src": "2566:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2557:3:20", + "nodeType": "YulIdentifier", + "src": "2557:3:20" + }, + "nativeSrc": "2557:11:20", + "nodeType": "YulFunctionCall", + "src": "2557:11:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nativeSrc": "2580:3:20", + "nodeType": "YulIdentifier", + "src": "2580:3:20" + }, + { + "name": "i", + "nativeSrc": "2585:1:20", + "nodeType": "YulIdentifier", + "src": "2585:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2576:3:20", + "nodeType": "YulIdentifier", + "src": "2576:3:20" + }, + "nativeSrc": "2576:11:20", + "nodeType": "YulFunctionCall", + "src": "2576:11:20" + } + ], + "functionName": { + "name": "mload", + "nativeSrc": "2570:5:20", + "nodeType": "YulIdentifier", + "src": "2570:5:20" + }, + "nativeSrc": "2570:18:20", + "nodeType": "YulFunctionCall", + "src": "2570:18:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2550:6:20", + "nodeType": "YulIdentifier", + "src": "2550:6:20" + }, + "nativeSrc": "2550:39:20", + "nodeType": "YulFunctionCall", + "src": "2550:39:20" + }, + "nativeSrc": "2550:39:20", + "nodeType": "YulExpressionStatement", + "src": "2550:39:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nativeSrc": "2497:1:20", + "nodeType": "YulIdentifier", + "src": "2497:1:20" + }, + { + "name": "length", + "nativeSrc": "2500:6:20", + "nodeType": "YulIdentifier", + "src": "2500:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "2494:2:20", + "nodeType": "YulIdentifier", + "src": "2494:2:20" + }, + "nativeSrc": "2494:13:20", + "nodeType": "YulFunctionCall", + "src": "2494:13:20" + }, + "nativeSrc": "2486:113:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "2508:19:20", + "nodeType": "YulBlock", + "src": "2508:19:20", + "statements": [ + { + "nativeSrc": "2510:15:20", + "nodeType": "YulAssignment", + "src": "2510:15:20", + "value": { + "arguments": [ + { + "name": "i", + "nativeSrc": "2519:1:20", + "nodeType": "YulIdentifier", + "src": "2519:1:20" + }, + { + "kind": "number", + "nativeSrc": "2522:2:20", + "nodeType": "YulLiteral", + "src": "2522:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2515:3:20", + "nodeType": "YulIdentifier", + "src": "2515:3:20" + }, + "nativeSrc": "2515:10:20", + "nodeType": "YulFunctionCall", + "src": "2515:10:20" + }, + "variableNames": [ + { + "name": "i", + "nativeSrc": "2510:1:20", + "nodeType": "YulIdentifier", + "src": "2510:1:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "2490:3:20", + "nodeType": "YulBlock", + "src": "2490:3:20", + "statements": [] + }, + "src": "2486:113:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nativeSrc": "2619:3:20", + "nodeType": "YulIdentifier", + "src": "2619:3:20" + }, + { + "name": "length", + "nativeSrc": "2624:6:20", + "nodeType": "YulIdentifier", + "src": "2624:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2615:3:20", + "nodeType": "YulIdentifier", + "src": "2615:3:20" + }, + "nativeSrc": "2615:16:20", + "nodeType": "YulFunctionCall", + "src": "2615:16:20" + }, + { + "kind": "number", + "nativeSrc": "2633:1:20", + "nodeType": "YulLiteral", + "src": "2633:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "2608:6:20", + "nodeType": "YulIdentifier", + "src": "2608:6:20" + }, + "nativeSrc": "2608:27:20", + "nodeType": "YulFunctionCall", + "src": "2608:27:20" + }, + "nativeSrc": "2608:27:20", + "nodeType": "YulExpressionStatement", + "src": "2608:27:20" + } + ] + }, + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "2394:248:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nativeSrc": "2438:3:20", + "nodeType": "YulTypedName", + "src": "2438:3:20", + "type": "" + }, + { + "name": "dst", + "nativeSrc": "2443:3:20", + "nodeType": "YulTypedName", + "src": "2443:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "2448:6:20", + "nodeType": "YulTypedName", + "src": "2448:6:20", + "type": "" + } + ], + "src": "2394:248:20" + }, + { + "body": { + "nativeSrc": "2696:54:20", + "nodeType": "YulBlock", + "src": "2696:54:20", + "statements": [ + { + "nativeSrc": "2706:38:20", + "nodeType": "YulAssignment", + "src": "2706:38:20", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "2724:5:20", + "nodeType": "YulIdentifier", + "src": "2724:5:20" + }, + { + "kind": "number", + "nativeSrc": "2731:2:20", + "nodeType": "YulLiteral", + "src": "2731:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "2720:3:20", + "nodeType": "YulIdentifier", + "src": "2720:3:20" + }, + "nativeSrc": "2720:14:20", + "nodeType": "YulFunctionCall", + "src": "2720:14:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "2740:2:20", + "nodeType": "YulLiteral", + "src": "2740:2:20", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "2736:3:20", + "nodeType": "YulIdentifier", + "src": "2736:3:20" + }, + "nativeSrc": "2736:7:20", + "nodeType": "YulFunctionCall", + "src": "2736:7:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "2716:3:20", + "nodeType": "YulIdentifier", + "src": "2716:3:20" + }, + "nativeSrc": "2716:28:20", + "nodeType": "YulFunctionCall", + "src": "2716:28:20" + }, + "variableNames": [ + { + "name": "result", + "nativeSrc": "2706:6:20", + "nodeType": "YulIdentifier", + "src": "2706:6:20" + } + ] + } + ] + }, + "name": "round_up_to_mul_of_32", + "nativeSrc": "2648:102:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "2679:5:20", + "nodeType": "YulTypedName", + "src": "2679:5:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nativeSrc": "2689:6:20", + "nodeType": "YulTypedName", + "src": "2689:6:20", + "type": "" + } + ], + "src": "2648:102:20" + }, + { + "body": { + "nativeSrc": "2848:285:20", + "nodeType": "YulBlock", + "src": "2848:285:20", + "statements": [ + { + "nativeSrc": "2858:53:20", + "nodeType": "YulVariableDeclaration", + "src": "2858:53:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "2905:5:20", + "nodeType": "YulIdentifier", + "src": "2905:5:20" + } + ], + "functionName": { + "name": "array_length_t_string_memory_ptr", + "nativeSrc": "2872:32:20", + "nodeType": "YulIdentifier", + "src": "2872:32:20" + }, + "nativeSrc": "2872:39:20", + "nodeType": "YulFunctionCall", + "src": "2872:39:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "2862:6:20", + "nodeType": "YulTypedName", + "src": "2862:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "2920:78:20", + "nodeType": "YulAssignment", + "src": "2920:78:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "2986:3:20", + "nodeType": "YulIdentifier", + "src": "2986:3:20" + }, + { + "name": "length", + "nativeSrc": "2991:6:20", + "nodeType": "YulIdentifier", + "src": "2991:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nativeSrc": "2927:58:20", + "nodeType": "YulIdentifier", + "src": "2927:58:20" + }, + "nativeSrc": "2927:71:20", + "nodeType": "YulFunctionCall", + "src": "2927:71:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "2920:3:20", + "nodeType": "YulIdentifier", + "src": "2920:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "3046:5:20", + "nodeType": "YulIdentifier", + "src": "3046:5:20" + }, + { + "kind": "number", + "nativeSrc": "3053:4:20", + "nodeType": "YulLiteral", + "src": "3053:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3042:3:20", + "nodeType": "YulIdentifier", + "src": "3042:3:20" + }, + "nativeSrc": "3042:16:20", + "nodeType": "YulFunctionCall", + "src": "3042:16:20" + }, + { + "name": "pos", + "nativeSrc": "3060:3:20", + "nodeType": "YulIdentifier", + "src": "3060:3:20" + }, + { + "name": "length", + "nativeSrc": "3065:6:20", + "nodeType": "YulIdentifier", + "src": "3065:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "3007:34:20", + "nodeType": "YulIdentifier", + "src": "3007:34:20" + }, + "nativeSrc": "3007:65:20", + "nodeType": "YulFunctionCall", + "src": "3007:65:20" + }, + "nativeSrc": "3007:65:20", + "nodeType": "YulExpressionStatement", + "src": "3007:65:20" + }, + { + "nativeSrc": "3081:46:20", + "nodeType": "YulAssignment", + "src": "3081:46:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "3092:3:20", + "nodeType": "YulIdentifier", + "src": "3092:3:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "3119:6:20", + "nodeType": "YulIdentifier", + "src": "3119:6:20" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nativeSrc": "3097:21:20", + "nodeType": "YulIdentifier", + "src": "3097:21:20" + }, + "nativeSrc": "3097:29:20", + "nodeType": "YulFunctionCall", + "src": "3097:29:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3088:3:20", + "nodeType": "YulIdentifier", + "src": "3088:3:20" + }, + "nativeSrc": "3088:39:20", + "nodeType": "YulFunctionCall", + "src": "3088:39:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "3081:3:20", + "nodeType": "YulIdentifier", + "src": "3081:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nativeSrc": "2756:377:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "2829:5:20", + "nodeType": "YulTypedName", + "src": "2829:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "2836:3:20", + "nodeType": "YulTypedName", + "src": "2836:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "2844:3:20", + "nodeType": "YulTypedName", + "src": "2844:3:20", + "type": "" + } + ], + "src": "2756:377:20" + }, + { + "body": { + "nativeSrc": "3257:195:20", + "nodeType": "YulBlock", + "src": "3257:195:20", + "statements": [ + { + "nativeSrc": "3267:26:20", + "nodeType": "YulAssignment", + "src": "3267:26:20", + "value": { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3279:9:20", + "nodeType": "YulIdentifier", + "src": "3279:9:20" + }, + { + "kind": "number", + "nativeSrc": "3290:2:20", + "nodeType": "YulLiteral", + "src": "3290:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3275:3:20", + "nodeType": "YulIdentifier", + "src": "3275:3:20" + }, + "nativeSrc": "3275:18:20", + "nodeType": "YulFunctionCall", + "src": "3275:18:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "3267:4:20", + "nodeType": "YulIdentifier", + "src": "3267:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nativeSrc": "3314:9:20", + "nodeType": "YulIdentifier", + "src": "3314:9:20" + }, + { + "kind": "number", + "nativeSrc": "3325:1:20", + "nodeType": "YulLiteral", + "src": "3325:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3310:3:20", + "nodeType": "YulIdentifier", + "src": "3310:3:20" + }, + "nativeSrc": "3310:17:20", + "nodeType": "YulFunctionCall", + "src": "3310:17:20" + }, + { + "arguments": [ + { + "name": "tail", + "nativeSrc": "3333:4:20", + "nodeType": "YulIdentifier", + "src": "3333:4:20" + }, + { + "name": "headStart", + "nativeSrc": "3339:9:20", + "nodeType": "YulIdentifier", + "src": "3339:9:20" + } + ], + "functionName": { + "name": "sub", + "nativeSrc": "3329:3:20", + "nodeType": "YulIdentifier", + "src": "3329:3:20" + }, + "nativeSrc": "3329:20:20", + "nodeType": "YulFunctionCall", + "src": "3329:20:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3303:6:20", + "nodeType": "YulIdentifier", + "src": "3303:6:20" + }, + "nativeSrc": "3303:47:20", + "nodeType": "YulFunctionCall", + "src": "3303:47:20" + }, + "nativeSrc": "3303:47:20", + "nodeType": "YulExpressionStatement", + "src": "3303:47:20" + }, + { + "nativeSrc": "3359:86:20", + "nodeType": "YulAssignment", + "src": "3359:86:20", + "value": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "3431:6:20", + "nodeType": "YulIdentifier", + "src": "3431:6:20" + }, + { + "name": "tail", + "nativeSrc": "3440:4:20", + "nodeType": "YulIdentifier", + "src": "3440:4:20" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nativeSrc": "3367:63:20", + "nodeType": "YulIdentifier", + "src": "3367:63:20" + }, + "nativeSrc": "3367:78:20", + "nodeType": "YulFunctionCall", + "src": "3367:78:20" + }, + "variableNames": [ + { + "name": "tail", + "nativeSrc": "3359:4:20", + "nodeType": "YulIdentifier", + "src": "3359:4:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nativeSrc": "3139:313:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nativeSrc": "3229:9:20", + "nodeType": "YulTypedName", + "src": "3229:9:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "3241:6:20", + "nodeType": "YulTypedName", + "src": "3241:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nativeSrc": "3252:4:20", + "nodeType": "YulTypedName", + "src": "3252:4:20", + "type": "" + } + ], + "src": "3139:313:20" + }, + { + "body": { + "nativeSrc": "3572:34:20", + "nodeType": "YulBlock", + "src": "3572:34:20", + "statements": [ + { + "nativeSrc": "3582:18:20", + "nodeType": "YulAssignment", + "src": "3582:18:20", + "value": { + "name": "pos", + "nativeSrc": "3597:3:20", + "nodeType": "YulIdentifier", + "src": "3597:3:20" + }, + "variableNames": [ + { + "name": "updated_pos", + "nativeSrc": "3582:11:20", + "nodeType": "YulIdentifier", + "src": "3582:11:20" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "3458:148:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "3544:3:20", + "nodeType": "YulTypedName", + "src": "3544:3:20", + "type": "" + }, + { + "name": "length", + "nativeSrc": "3549:6:20", + "nodeType": "YulTypedName", + "src": "3549:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nativeSrc": "3560:11:20", + "nodeType": "YulTypedName", + "src": "3560:11:20", + "type": "" + } + ], + "src": "3458:148:20" + }, + { + "body": { + "nativeSrc": "3718:513:20", + "nodeType": "YulBlock", + "src": "3718:513:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "3740:6:20", + "nodeType": "YulIdentifier", + "src": "3740:6:20" + }, + { + "kind": "number", + "nativeSrc": "3748:1:20", + "nodeType": "YulLiteral", + "src": "3748:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3736:3:20", + "nodeType": "YulIdentifier", + "src": "3736:3:20" + }, + "nativeSrc": "3736:14:20", + "nodeType": "YulFunctionCall", + "src": "3736:14:20" + }, + { + "kind": "number", + "nativeSrc": "3752:66:20", + "nodeType": "YulLiteral", + "src": "3752:66:20", + "type": "", + "value": "0x3c746578742066696c6c3d22233630334445422220786d6c3a73706163653d22" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3729:6:20", + "nodeType": "YulIdentifier", + "src": "3729:6:20" + }, + "nativeSrc": "3729:90:20", + "nodeType": "YulFunctionCall", + "src": "3729:90:20" + }, + "nativeSrc": "3729:90:20", + "nodeType": "YulExpressionStatement", + "src": "3729:90:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "3840:6:20", + "nodeType": "YulIdentifier", + "src": "3840:6:20" + }, + { + "kind": "number", + "nativeSrc": "3848:2:20", + "nodeType": "YulLiteral", + "src": "3848:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3836:3:20", + "nodeType": "YulIdentifier", + "src": "3836:3:20" + }, + "nativeSrc": "3836:15:20", + "nodeType": "YulFunctionCall", + "src": "3836:15:20" + }, + { + "kind": "number", + "nativeSrc": "3853:66:20", + "nodeType": "YulLiteral", + "src": "3853:66:20", + "type": "", + "value": "0x707265736572766522207374796c653d2277686974652d73706163653a207072" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3829:6:20", + "nodeType": "YulIdentifier", + "src": "3829:6:20" + }, + "nativeSrc": "3829:91:20", + "nodeType": "YulFunctionCall", + "src": "3829:91:20" + }, + "nativeSrc": "3829:91:20", + "nodeType": "YulExpressionStatement", + "src": "3829:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "3941:6:20", + "nodeType": "YulIdentifier", + "src": "3941:6:20" + }, + { + "kind": "number", + "nativeSrc": "3949:2:20", + "nodeType": "YulLiteral", + "src": "3949:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "3937:3:20", + "nodeType": "YulIdentifier", + "src": "3937:3:20" + }, + "nativeSrc": "3937:15:20", + "nodeType": "YulFunctionCall", + "src": "3937:15:20" + }, + { + "kind": "number", + "nativeSrc": "3954:66:20", + "nodeType": "YulLiteral", + "src": "3954:66:20", + "type": "", + "value": "0x652220666f6e742d73697a653d2232302220666f6e742d7765696768743d2236" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "3930:6:20", + "nodeType": "YulIdentifier", + "src": "3930:6:20" + }, + "nativeSrc": "3930:91:20", + "nodeType": "YulFunctionCall", + "src": "3930:91:20" + }, + "nativeSrc": "3930:91:20", + "nodeType": "YulExpressionStatement", + "src": "3930:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "4042:6:20", + "nodeType": "YulIdentifier", + "src": "4042:6:20" + }, + { + "kind": "number", + "nativeSrc": "4050:2:20", + "nodeType": "YulLiteral", + "src": "4050:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4038:3:20", + "nodeType": "YulIdentifier", + "src": "4038:3:20" + }, + "nativeSrc": "4038:15:20", + "nodeType": "YulFunctionCall", + "src": "4038:15:20" + }, + { + "kind": "number", + "nativeSrc": "4055:66:20", + "nodeType": "YulLiteral", + "src": "4055:66:20", + "type": "", + "value": "0x303022206c65747465722d73706163696e673d2230656d223e3c747370616e20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "4031:6:20", + "nodeType": "YulIdentifier", + "src": "4031:6:20" + }, + "nativeSrc": "4031:91:20", + "nodeType": "YulFunctionCall", + "src": "4031:91:20" + }, + "nativeSrc": "4031:91:20", + "nodeType": "YulExpressionStatement", + "src": "4031:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "4143:6:20", + "nodeType": "YulIdentifier", + "src": "4143:6:20" + }, + { + "kind": "number", + "nativeSrc": "4151:3:20", + "nodeType": "YulLiteral", + "src": "4151:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4139:3:20", + "nodeType": "YulIdentifier", + "src": "4139:3:20" + }, + "nativeSrc": "4139:16:20", + "nodeType": "YulFunctionCall", + "src": "4139:16:20" + }, + { + "kind": "number", + "nativeSrc": "4157:66:20", + "nodeType": "YulLiteral", + "src": "4157:66:20", + "type": "", + "value": "0x783d223237372220793d223537302e323733223e000000000000000000000000" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "4132:6:20", + "nodeType": "YulIdentifier", + "src": "4132:6:20" + }, + "nativeSrc": "4132:92:20", + "nodeType": "YulFunctionCall", + "src": "4132:92:20" + }, + "nativeSrc": "4132:92:20", + "nodeType": "YulExpressionStatement", + "src": "4132:92:20" + } + ] + }, + "name": "store_literal_in_memory_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0", + "nativeSrc": "3612:619:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "3710:6:20", + "nodeType": "YulTypedName", + "src": "3710:6:20", + "type": "" + } + ], + "src": "3612:619:20" + }, + { + "body": { + "nativeSrc": "4401:240:20", + "nodeType": "YulBlock", + "src": "4401:240:20", + "statements": [ + { + "nativeSrc": "4411:93:20", + "nodeType": "YulAssignment", + "src": "4411:93:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4495:3:20", + "nodeType": "YulIdentifier", + "src": "4495:3:20" + }, + { + "kind": "number", + "nativeSrc": "4500:3:20", + "nodeType": "YulLiteral", + "src": "4500:3:20", + "type": "", + "value": "148" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4418:76:20", + "nodeType": "YulIdentifier", + "src": "4418:76:20" + }, + "nativeSrc": "4418:86:20", + "nodeType": "YulFunctionCall", + "src": "4418:86:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "4411:3:20", + "nodeType": "YulIdentifier", + "src": "4411:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4602:3:20", + "nodeType": "YulIdentifier", + "src": "4602:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0", + "nativeSrc": "4513:88:20", + "nodeType": "YulIdentifier", + "src": "4513:88:20" + }, + "nativeSrc": "4513:93:20", + "nodeType": "YulFunctionCall", + "src": "4513:93:20" + }, + "nativeSrc": "4513:93:20", + "nodeType": "YulExpressionStatement", + "src": "4513:93:20" + }, + { + "nativeSrc": "4615:20:20", + "nodeType": "YulAssignment", + "src": "4615:20:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4626:3:20", + "nodeType": "YulIdentifier", + "src": "4626:3:20" + }, + { + "kind": "number", + "nativeSrc": "4631:3:20", + "nodeType": "YulLiteral", + "src": "4631:3:20", + "type": "", + "value": "148" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4622:3:20", + "nodeType": "YulIdentifier", + "src": "4622:3:20" + }, + "nativeSrc": "4622:13:20", + "nodeType": "YulFunctionCall", + "src": "4622:13:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "4615:3:20", + "nodeType": "YulIdentifier", + "src": "4615:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4237:404:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "4389:3:20", + "nodeType": "YulTypedName", + "src": "4389:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "4397:3:20", + "nodeType": "YulTypedName", + "src": "4397:3:20", + "type": "" + } + ], + "src": "4237:404:20" + }, + { + "body": { + "nativeSrc": "4757:280:20", + "nodeType": "YulBlock", + "src": "4757:280:20", + "statements": [ + { + "nativeSrc": "4767:53:20", + "nodeType": "YulVariableDeclaration", + "src": "4767:53:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "4814:5:20", + "nodeType": "YulIdentifier", + "src": "4814:5:20" + } + ], + "functionName": { + "name": "array_length_t_string_memory_ptr", + "nativeSrc": "4781:32:20", + "nodeType": "YulIdentifier", + "src": "4781:32:20" + }, + "nativeSrc": "4781:39:20", + "nodeType": "YulFunctionCall", + "src": "4781:39:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "4771:6:20", + "nodeType": "YulTypedName", + "src": "4771:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "4829:96:20", + "nodeType": "YulAssignment", + "src": "4829:96:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "4913:3:20", + "nodeType": "YulIdentifier", + "src": "4913:3:20" + }, + { + "name": "length", + "nativeSrc": "4918:6:20", + "nodeType": "YulIdentifier", + "src": "4918:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4836:76:20", + "nodeType": "YulIdentifier", + "src": "4836:76:20" + }, + "nativeSrc": "4836:89:20", + "nodeType": "YulFunctionCall", + "src": "4836:89:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "4829:3:20", + "nodeType": "YulIdentifier", + "src": "4829:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nativeSrc": "4973:5:20", + "nodeType": "YulIdentifier", + "src": "4973:5:20" + }, + { + "kind": "number", + "nativeSrc": "4980:4:20", + "nodeType": "YulLiteral", + "src": "4980:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "4969:3:20", + "nodeType": "YulIdentifier", + "src": "4969:3:20" + }, + "nativeSrc": "4969:16:20", + "nodeType": "YulFunctionCall", + "src": "4969:16:20" + }, + { + "name": "pos", + "nativeSrc": "4987:3:20", + "nodeType": "YulIdentifier", + "src": "4987:3:20" + }, + { + "name": "length", + "nativeSrc": "4992:6:20", + "nodeType": "YulIdentifier", + "src": "4992:6:20" + } + ], + "functionName": { + "name": "copy_memory_to_memory_with_cleanup", + "nativeSrc": "4934:34:20", + "nodeType": "YulIdentifier", + "src": "4934:34:20" + }, + "nativeSrc": "4934:65:20", + "nodeType": "YulFunctionCall", + "src": "4934:65:20" + }, + "nativeSrc": "4934:65:20", + "nodeType": "YulExpressionStatement", + "src": "4934:65:20" + }, + { + "nativeSrc": "5008:23:20", + "nodeType": "YulAssignment", + "src": "5008:23:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5019:3:20", + "nodeType": "YulIdentifier", + "src": "5019:3:20" + }, + { + "name": "length", + "nativeSrc": "5024:6:20", + "nodeType": "YulIdentifier", + "src": "5024:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5015:3:20", + "nodeType": "YulIdentifier", + "src": "5015:3:20" + }, + "nativeSrc": "5015:16:20", + "nodeType": "YulFunctionCall", + "src": "5015:16:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "5008:3:20", + "nodeType": "YulIdentifier", + "src": "5008:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "4647:390:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "4738:5:20", + "nodeType": "YulTypedName", + "src": "4738:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "4745:3:20", + "nodeType": "YulTypedName", + "src": "4745:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "4753:3:20", + "nodeType": "YulTypedName", + "src": "4753:3:20", + "type": "" + } + ], + "src": "4647:390:20" + }, + { + "body": { + "nativeSrc": "5149:59:20", + "nodeType": "YulBlock", + "src": "5149:59:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "5171:6:20", + "nodeType": "YulIdentifier", + "src": "5171:6:20" + }, + { + "kind": "number", + "nativeSrc": "5179:1:20", + "nodeType": "YulLiteral", + "src": "5179:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5167:3:20", + "nodeType": "YulIdentifier", + "src": "5167:3:20" + }, + "nativeSrc": "5167:14:20", + "nodeType": "YulFunctionCall", + "src": "5167:14:20" + }, + { + "hexValue": "3c2f747370616e3e3c2f746578743e", + "kind": "string", + "nativeSrc": "5183:17:20", + "nodeType": "YulLiteral", + "src": "5183:17:20", + "type": "", + "value": "" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "5160:6:20", + "nodeType": "YulIdentifier", + "src": "5160:6:20" + }, + "nativeSrc": "5160:41:20", + "nodeType": "YulFunctionCall", + "src": "5160:41:20" + }, + "nativeSrc": "5160:41:20", + "nodeType": "YulExpressionStatement", + "src": "5160:41:20" + } + ] + }, + "name": "store_literal_in_memory_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a", + "nativeSrc": "5043:165:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "5141:6:20", + "nodeType": "YulTypedName", + "src": "5141:6:20", + "type": "" + } + ], + "src": "5043:165:20" + }, + { + "body": { + "nativeSrc": "5378:238:20", + "nodeType": "YulBlock", + "src": "5378:238:20", + "statements": [ + { + "nativeSrc": "5388:92:20", + "nodeType": "YulAssignment", + "src": "5388:92:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5472:3:20", + "nodeType": "YulIdentifier", + "src": "5472:3:20" + }, + { + "kind": "number", + "nativeSrc": "5477:2:20", + "nodeType": "YulLiteral", + "src": "5477:2:20", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5395:76:20", + "nodeType": "YulIdentifier", + "src": "5395:76:20" + }, + "nativeSrc": "5395:85:20", + "nodeType": "YulFunctionCall", + "src": "5395:85:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5388:3:20", + "nodeType": "YulIdentifier", + "src": "5388:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5578:3:20", + "nodeType": "YulIdentifier", + "src": "5578:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a", + "nativeSrc": "5489:88:20", + "nodeType": "YulIdentifier", + "src": "5489:88:20" + }, + "nativeSrc": "5489:93:20", + "nodeType": "YulFunctionCall", + "src": "5489:93:20" + }, + "nativeSrc": "5489:93:20", + "nodeType": "YulExpressionStatement", + "src": "5489:93:20" + }, + { + "nativeSrc": "5591:19:20", + "nodeType": "YulAssignment", + "src": "5591:19:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "5602:3:20", + "nodeType": "YulIdentifier", + "src": "5602:3:20" + }, + { + "kind": "number", + "nativeSrc": "5607:2:20", + "nodeType": "YulLiteral", + "src": "5607:2:20", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "5598:3:20", + "nodeType": "YulIdentifier", + "src": "5598:3:20" + }, + "nativeSrc": "5598:12:20", + "nodeType": "YulFunctionCall", + "src": "5598:12:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "5591:3:20", + "nodeType": "YulIdentifier", + "src": "5591:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5214:402:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "5366:3:20", + "nodeType": "YulTypedName", + "src": "5366:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "5374:3:20", + "nodeType": "YulTypedName", + "src": "5374:3:20", + "type": "" + } + ], + "src": "5214:402:20" + }, + { + "body": { + "nativeSrc": "5960:469:20", + "nodeType": "YulBlock", + "src": "5960:469:20", + "statements": [ + { + "nativeSrc": "5971:155:20", + "nodeType": "YulAssignment", + "src": "5971:155:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "6122:3:20", + "nodeType": "YulIdentifier", + "src": "6122:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "5978:142:20", + "nodeType": "YulIdentifier", + "src": "5978:142:20" + }, + "nativeSrc": "5978:148:20", + "nodeType": "YulFunctionCall", + "src": "5978:148:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "5971:3:20", + "nodeType": "YulIdentifier", + "src": "5971:3:20" + } + ] + }, + { + "nativeSrc": "6136:102:20", + "nodeType": "YulAssignment", + "src": "6136:102:20", + "value": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "6225:6:20", + "nodeType": "YulIdentifier", + "src": "6225:6:20" + }, + { + "name": "pos", + "nativeSrc": "6234:3:20", + "nodeType": "YulIdentifier", + "src": "6234:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "6143:81:20", + "nodeType": "YulIdentifier", + "src": "6143:81:20" + }, + "nativeSrc": "6143:95:20", + "nodeType": "YulFunctionCall", + "src": "6143:95:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "6136:3:20", + "nodeType": "YulIdentifier", + "src": "6136:3:20" + } + ] + }, + { + "nativeSrc": "6248:155:20", + "nodeType": "YulAssignment", + "src": "6248:155:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "6399:3:20", + "nodeType": "YulIdentifier", + "src": "6399:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "6255:142:20", + "nodeType": "YulIdentifier", + "src": "6255:142:20" + }, + "nativeSrc": "6255:148:20", + "nodeType": "YulFunctionCall", + "src": "6255:148:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "6248:3:20", + "nodeType": "YulIdentifier", + "src": "6248:3:20" + } + ] + }, + { + "nativeSrc": "6413:10:20", + "nodeType": "YulAssignment", + "src": "6413:10:20", + "value": { + "name": "pos", + "nativeSrc": "6420:3:20", + "nodeType": "YulIdentifier", + "src": "6420:3:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "6413:3:20", + "nodeType": "YulIdentifier", + "src": "6413:3:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_e3f06c9e5496358a9083d67cbe94d50d4914a9e7f458ae04b417a7e7dd4852f0_t_string_memory_ptr_t_stringliteral_12cd338f047f630f7b9ae19fa03ba2b18150f2d691b9114aa1e444b9e9ad496a__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nativeSrc": "5622:807:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "5939:3:20", + "nodeType": "YulTypedName", + "src": "5939:3:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "5945:6:20", + "nodeType": "YulTypedName", + "src": "5945:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "5956:3:20", + "nodeType": "YulTypedName", + "src": "5956:3:20", + "type": "" + } + ], + "src": "5622:807:20" + }, + { + "body": { + "nativeSrc": "6463:152:20", + "nodeType": "YulBlock", + "src": "6463:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "6480:1:20", + "nodeType": "YulLiteral", + "src": "6480:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "6483:77:20", + "nodeType": "YulLiteral", + "src": "6483:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "6473:6:20", + "nodeType": "YulIdentifier", + "src": "6473:6:20" + }, + "nativeSrc": "6473:88:20", + "nodeType": "YulFunctionCall", + "src": "6473:88:20" + }, + "nativeSrc": "6473:88:20", + "nodeType": "YulExpressionStatement", + "src": "6473:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "6577:1:20", + "nodeType": "YulLiteral", + "src": "6577:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "6580:4:20", + "nodeType": "YulLiteral", + "src": "6580:4:20", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "6570:6:20", + "nodeType": "YulIdentifier", + "src": "6570:6:20" + }, + "nativeSrc": "6570:15:20", + "nodeType": "YulFunctionCall", + "src": "6570:15:20" + }, + "nativeSrc": "6570:15:20", + "nodeType": "YulExpressionStatement", + "src": "6570:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "6601:1:20", + "nodeType": "YulLiteral", + "src": "6601:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "6604:4:20", + "nodeType": "YulLiteral", + "src": "6604:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "6594:6:20", + "nodeType": "YulIdentifier", + "src": "6594:6:20" + }, + "nativeSrc": "6594:15:20", + "nodeType": "YulFunctionCall", + "src": "6594:15:20" + }, + "nativeSrc": "6594:15:20", + "nodeType": "YulExpressionStatement", + "src": "6594:15:20" + } + ] + }, + "name": "panic_error_0x32", + "nativeSrc": "6435:180:20", + "nodeType": "YulFunctionDefinition", + "src": "6435:180:20" + }, + { + "body": { + "nativeSrc": "6727:513:20", + "nodeType": "YulBlock", + "src": "6727:513:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "6749:6:20", + "nodeType": "YulIdentifier", + "src": "6749:6:20" + }, + { + "kind": "number", + "nativeSrc": "6757:1:20", + "nodeType": "YulLiteral", + "src": "6757:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6745:3:20", + "nodeType": "YulIdentifier", + "src": "6745:3:20" + }, + "nativeSrc": "6745:14:20", + "nodeType": "YulFunctionCall", + "src": "6745:14:20" + }, + { + "kind": "number", + "nativeSrc": "6761:66:20", + "nodeType": "YulLiteral", + "src": "6761:66:20", + "type": "", + "value": "0x3c746578742066696c6c3d22233630334445422220786d6c3a73706163653d22" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "6738:6:20", + "nodeType": "YulIdentifier", + "src": "6738:6:20" + }, + "nativeSrc": "6738:90:20", + "nodeType": "YulFunctionCall", + "src": "6738:90:20" + }, + "nativeSrc": "6738:90:20", + "nodeType": "YulExpressionStatement", + "src": "6738:90:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "6849:6:20", + "nodeType": "YulIdentifier", + "src": "6849:6:20" + }, + { + "kind": "number", + "nativeSrc": "6857:2:20", + "nodeType": "YulLiteral", + "src": "6857:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6845:3:20", + "nodeType": "YulIdentifier", + "src": "6845:3:20" + }, + "nativeSrc": "6845:15:20", + "nodeType": "YulFunctionCall", + "src": "6845:15:20" + }, + { + "kind": "number", + "nativeSrc": "6862:66:20", + "nodeType": "YulLiteral", + "src": "6862:66:20", + "type": "", + "value": "0x707265736572766522207374796c653d2277686974652d73706163653a207072" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "6838:6:20", + "nodeType": "YulIdentifier", + "src": "6838:6:20" + }, + "nativeSrc": "6838:91:20", + "nodeType": "YulFunctionCall", + "src": "6838:91:20" + }, + "nativeSrc": "6838:91:20", + "nodeType": "YulExpressionStatement", + "src": "6838:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "6950:6:20", + "nodeType": "YulIdentifier", + "src": "6950:6:20" + }, + { + "kind": "number", + "nativeSrc": "6958:2:20", + "nodeType": "YulLiteral", + "src": "6958:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "6946:3:20", + "nodeType": "YulIdentifier", + "src": "6946:3:20" + }, + "nativeSrc": "6946:15:20", + "nodeType": "YulFunctionCall", + "src": "6946:15:20" + }, + { + "kind": "number", + "nativeSrc": "6963:66:20", + "nodeType": "YulLiteral", + "src": "6963:66:20", + "type": "", + "value": "0x652220666f6e742d73697a653d2232302220666f6e742d7765696768743d2236" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "6939:6:20", + "nodeType": "YulIdentifier", + "src": "6939:6:20" + }, + "nativeSrc": "6939:91:20", + "nodeType": "YulFunctionCall", + "src": "6939:91:20" + }, + "nativeSrc": "6939:91:20", + "nodeType": "YulExpressionStatement", + "src": "6939:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "7051:6:20", + "nodeType": "YulIdentifier", + "src": "7051:6:20" + }, + { + "kind": "number", + "nativeSrc": "7059:2:20", + "nodeType": "YulLiteral", + "src": "7059:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7047:3:20", + "nodeType": "YulIdentifier", + "src": "7047:3:20" + }, + "nativeSrc": "7047:15:20", + "nodeType": "YulFunctionCall", + "src": "7047:15:20" + }, + { + "kind": "number", + "nativeSrc": "7064:66:20", + "nodeType": "YulLiteral", + "src": "7064:66:20", + "type": "", + "value": "0x303022206c65747465722d73706163696e673d2230656d223e3c747370616e20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "7040:6:20", + "nodeType": "YulIdentifier", + "src": "7040:6:20" + }, + "nativeSrc": "7040:91:20", + "nodeType": "YulFunctionCall", + "src": "7040:91:20" + }, + "nativeSrc": "7040:91:20", + "nodeType": "YulExpressionStatement", + "src": "7040:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "7152:6:20", + "nodeType": "YulIdentifier", + "src": "7152:6:20" + }, + { + "kind": "number", + "nativeSrc": "7160:3:20", + "nodeType": "YulLiteral", + "src": "7160:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7148:3:20", + "nodeType": "YulIdentifier", + "src": "7148:3:20" + }, + "nativeSrc": "7148:16:20", + "nodeType": "YulFunctionCall", + "src": "7148:16:20" + }, + { + "kind": "number", + "nativeSrc": "7166:66:20", + "nodeType": "YulLiteral", + "src": "7166:66:20", + "type": "", + "value": "0x783d223237372220793d223635392e323733223e000000000000000000000000" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "7141:6:20", + "nodeType": "YulIdentifier", + "src": "7141:6:20" + }, + "nativeSrc": "7141:92:20", + "nodeType": "YulFunctionCall", + "src": "7141:92:20" + }, + "nativeSrc": "7141:92:20", + "nodeType": "YulExpressionStatement", + "src": "7141:92:20" + } + ] + }, + "name": "store_literal_in_memory_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3", + "nativeSrc": "6621:619:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "6719:6:20", + "nodeType": "YulTypedName", + "src": "6719:6:20", + "type": "" + } + ], + "src": "6621:619:20" + }, + { + "body": { + "nativeSrc": "7410:240:20", + "nodeType": "YulBlock", + "src": "7410:240:20", + "statements": [ + { + "nativeSrc": "7420:93:20", + "nodeType": "YulAssignment", + "src": "7420:93:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "7504:3:20", + "nodeType": "YulIdentifier", + "src": "7504:3:20" + }, + { + "kind": "number", + "nativeSrc": "7509:3:20", + "nodeType": "YulLiteral", + "src": "7509:3:20", + "type": "", + "value": "148" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "7427:76:20", + "nodeType": "YulIdentifier", + "src": "7427:76:20" + }, + "nativeSrc": "7427:86:20", + "nodeType": "YulFunctionCall", + "src": "7427:86:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "7420:3:20", + "nodeType": "YulIdentifier", + "src": "7420:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "7611:3:20", + "nodeType": "YulIdentifier", + "src": "7611:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3", + "nativeSrc": "7522:88:20", + "nodeType": "YulIdentifier", + "src": "7522:88:20" + }, + "nativeSrc": "7522:93:20", + "nodeType": "YulFunctionCall", + "src": "7522:93:20" + }, + "nativeSrc": "7522:93:20", + "nodeType": "YulExpressionStatement", + "src": "7522:93:20" + }, + { + "nativeSrc": "7624:20:20", + "nodeType": "YulAssignment", + "src": "7624:20:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "7635:3:20", + "nodeType": "YulIdentifier", + "src": "7635:3:20" + }, + { + "kind": "number", + "nativeSrc": "7640:3:20", + "nodeType": "YulLiteral", + "src": "7640:3:20", + "type": "", + "value": "148" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "7631:3:20", + "nodeType": "YulIdentifier", + "src": "7631:3:20" + }, + "nativeSrc": "7631:13:20", + "nodeType": "YulFunctionCall", + "src": "7631:13:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "7624:3:20", + "nodeType": "YulIdentifier", + "src": "7624:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "7246:404:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "7398:3:20", + "nodeType": "YulTypedName", + "src": "7398:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "7406:3:20", + "nodeType": "YulTypedName", + "src": "7406:3:20", + "type": "" + } + ], + "src": "7246:404:20" + }, + { + "body": { + "nativeSrc": "7684:152:20", + "nodeType": "YulBlock", + "src": "7684:152:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "7701:1:20", + "nodeType": "YulLiteral", + "src": "7701:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "7704:77:20", + "nodeType": "YulLiteral", + "src": "7704:77:20", + "type": "", + "value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "7694:6:20", + "nodeType": "YulIdentifier", + "src": "7694:6:20" + }, + "nativeSrc": "7694:88:20", + "nodeType": "YulFunctionCall", + "src": "7694:88:20" + }, + "nativeSrc": "7694:88:20", + "nodeType": "YulExpressionStatement", + "src": "7694:88:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "7798:1:20", + "nodeType": "YulLiteral", + "src": "7798:1:20", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nativeSrc": "7801:4:20", + "nodeType": "YulLiteral", + "src": "7801:4:20", + "type": "", + "value": "0x22" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "7791:6:20", + "nodeType": "YulIdentifier", + "src": "7791:6:20" + }, + "nativeSrc": "7791:15:20", + "nodeType": "YulFunctionCall", + "src": "7791:15:20" + }, + "nativeSrc": "7791:15:20", + "nodeType": "YulExpressionStatement", + "src": "7791:15:20" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "7822:1:20", + "nodeType": "YulLiteral", + "src": "7822:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "7825:4:20", + "nodeType": "YulLiteral", + "src": "7825:4:20", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nativeSrc": "7815:6:20", + "nodeType": "YulIdentifier", + "src": "7815:6:20" + }, + "nativeSrc": "7815:15:20", + "nodeType": "YulFunctionCall", + "src": "7815:15:20" + }, + "nativeSrc": "7815:15:20", + "nodeType": "YulExpressionStatement", + "src": "7815:15:20" + } + ] + }, + "name": "panic_error_0x22", + "nativeSrc": "7656:180:20", + "nodeType": "YulFunctionDefinition", + "src": "7656:180:20" + }, + { + "body": { + "nativeSrc": "7893:269:20", + "nodeType": "YulBlock", + "src": "7893:269:20", + "statements": [ + { + "nativeSrc": "7903:22:20", + "nodeType": "YulAssignment", + "src": "7903:22:20", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "7917:4:20", + "nodeType": "YulIdentifier", + "src": "7917:4:20" + }, + { + "kind": "number", + "nativeSrc": "7923:1:20", + "nodeType": "YulLiteral", + "src": "7923:1:20", + "type": "", + "value": "2" + } + ], + "functionName": { + "name": "div", + "nativeSrc": "7913:3:20", + "nodeType": "YulIdentifier", + "src": "7913:3:20" + }, + "nativeSrc": "7913:12:20", + "nodeType": "YulFunctionCall", + "src": "7913:12:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "7903:6:20", + "nodeType": "YulIdentifier", + "src": "7903:6:20" + } + ] + }, + { + "nativeSrc": "7934:38:20", + "nodeType": "YulVariableDeclaration", + "src": "7934:38:20", + "value": { + "arguments": [ + { + "name": "data", + "nativeSrc": "7964:4:20", + "nodeType": "YulIdentifier", + "src": "7964:4:20" + }, + { + "kind": "number", + "nativeSrc": "7970:1:20", + "nodeType": "YulLiteral", + "src": "7970:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "7960:3:20", + "nodeType": "YulIdentifier", + "src": "7960:3:20" + }, + "nativeSrc": "7960:12:20", + "nodeType": "YulFunctionCall", + "src": "7960:12:20" + }, + "variables": [ + { + "name": "outOfPlaceEncoding", + "nativeSrc": "7938:18:20", + "nodeType": "YulTypedName", + "src": "7938:18:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "8011:51:20", + "nodeType": "YulBlock", + "src": "8011:51:20", + "statements": [ + { + "nativeSrc": "8025:27:20", + "nodeType": "YulAssignment", + "src": "8025:27:20", + "value": { + "arguments": [ + { + "name": "length", + "nativeSrc": "8039:6:20", + "nodeType": "YulIdentifier", + "src": "8039:6:20" + }, + { + "kind": "number", + "nativeSrc": "8047:4:20", + "nodeType": "YulLiteral", + "src": "8047:4:20", + "type": "", + "value": "0x7f" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "8035:3:20", + "nodeType": "YulIdentifier", + "src": "8035:3:20" + }, + "nativeSrc": "8035:17:20", + "nodeType": "YulFunctionCall", + "src": "8035:17:20" + }, + "variableNames": [ + { + "name": "length", + "nativeSrc": "8025:6:20", + "nodeType": "YulIdentifier", + "src": "8025:6:20" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nativeSrc": "7991:18:20", + "nodeType": "YulIdentifier", + "src": "7991:18:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "7984:6:20", + "nodeType": "YulIdentifier", + "src": "7984:6:20" + }, + "nativeSrc": "7984:26:20", + "nodeType": "YulFunctionCall", + "src": "7984:26:20" + }, + "nativeSrc": "7981:81:20", + "nodeType": "YulIf", + "src": "7981:81:20" + }, + { + "body": { + "nativeSrc": "8114:42:20", + "nodeType": "YulBlock", + "src": "8114:42:20", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x22", + "nativeSrc": "8128:16:20", + "nodeType": "YulIdentifier", + "src": "8128:16:20" + }, + "nativeSrc": "8128:18:20", + "nodeType": "YulFunctionCall", + "src": "8128:18:20" + }, + "nativeSrc": "8128:18:20", + "nodeType": "YulExpressionStatement", + "src": "8128:18:20" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nativeSrc": "8078:18:20", + "nodeType": "YulIdentifier", + "src": "8078:18:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "8101:6:20", + "nodeType": "YulIdentifier", + "src": "8101:6:20" + }, + { + "kind": "number", + "nativeSrc": "8109:2:20", + "nodeType": "YulLiteral", + "src": "8109:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "8098:2:20", + "nodeType": "YulIdentifier", + "src": "8098:2:20" + }, + "nativeSrc": "8098:14:20", + "nodeType": "YulFunctionCall", + "src": "8098:14:20" + } + ], + "functionName": { + "name": "eq", + "nativeSrc": "8075:2:20", + "nodeType": "YulIdentifier", + "src": "8075:2:20" + }, + "nativeSrc": "8075:38:20", + "nodeType": "YulFunctionCall", + "src": "8075:38:20" + }, + "nativeSrc": "8072:84:20", + "nodeType": "YulIf", + "src": "8072:84:20" + } + ] + }, + "name": "extract_byte_array_length", + "nativeSrc": "7842:320:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nativeSrc": "7877:4:20", + "nodeType": "YulTypedName", + "src": "7877:4:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nativeSrc": "7886:6:20", + "nodeType": "YulTypedName", + "src": "7886:6:20", + "type": "" + } + ], + "src": "7842:320:20" + }, + { + "body": { + "nativeSrc": "8222:87:20", + "nodeType": "YulBlock", + "src": "8222:87:20", + "statements": [ + { + "nativeSrc": "8232:11:20", + "nodeType": "YulAssignment", + "src": "8232:11:20", + "value": { + "name": "ptr", + "nativeSrc": "8240:3:20", + "nodeType": "YulIdentifier", + "src": "8240:3:20" + }, + "variableNames": [ + { + "name": "data", + "nativeSrc": "8232:4:20", + "nodeType": "YulIdentifier", + "src": "8232:4:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "8260:1:20", + "nodeType": "YulLiteral", + "src": "8260:1:20", + "type": "", + "value": "0" + }, + { + "name": "ptr", + "nativeSrc": "8263:3:20", + "nodeType": "YulIdentifier", + "src": "8263:3:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "8253:6:20", + "nodeType": "YulIdentifier", + "src": "8253:6:20" + }, + "nativeSrc": "8253:14:20", + "nodeType": "YulFunctionCall", + "src": "8253:14:20" + }, + "nativeSrc": "8253:14:20", + "nodeType": "YulExpressionStatement", + "src": "8253:14:20" + }, + { + "nativeSrc": "8276:26:20", + "nodeType": "YulAssignment", + "src": "8276:26:20", + "value": { + "arguments": [ + { + "kind": "number", + "nativeSrc": "8294:1:20", + "nodeType": "YulLiteral", + "src": "8294:1:20", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nativeSrc": "8297:4:20", + "nodeType": "YulLiteral", + "src": "8297:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "keccak256", + "nativeSrc": "8284:9:20", + "nodeType": "YulIdentifier", + "src": "8284:9:20" + }, + "nativeSrc": "8284:18:20", + "nodeType": "YulFunctionCall", + "src": "8284:18:20" + }, + "variableNames": [ + { + "name": "data", + "nativeSrc": "8276:4:20", + "nodeType": "YulIdentifier", + "src": "8276:4:20" + } + ] + } + ] + }, + "name": "array_dataslot_t_string_storage", + "nativeSrc": "8168:141:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "ptr", + "nativeSrc": "8209:3:20", + "nodeType": "YulTypedName", + "src": "8209:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "data", + "nativeSrc": "8217:4:20", + "nodeType": "YulTypedName", + "src": "8217:4:20", + "type": "" + } + ], + "src": "8168:141:20" + }, + { + "body": { + "nativeSrc": "8446:767:20", + "nodeType": "YulBlock", + "src": "8446:767:20", + "statements": [ + { + "nativeSrc": "8456:29:20", + "nodeType": "YulVariableDeclaration", + "src": "8456:29:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "8479:5:20", + "nodeType": "YulIdentifier", + "src": "8479:5:20" + } + ], + "functionName": { + "name": "sload", + "nativeSrc": "8473:5:20", + "nodeType": "YulIdentifier", + "src": "8473:5:20" + }, + "nativeSrc": "8473:12:20", + "nodeType": "YulFunctionCall", + "src": "8473:12:20" + }, + "variables": [ + { + "name": "slotValue", + "nativeSrc": "8460:9:20", + "nodeType": "YulTypedName", + "src": "8460:9:20", + "type": "" + } + ] + }, + { + "nativeSrc": "8494:50:20", + "nodeType": "YulVariableDeclaration", + "src": "8494:50:20", + "value": { + "arguments": [ + { + "name": "slotValue", + "nativeSrc": "8534:9:20", + "nodeType": "YulIdentifier", + "src": "8534:9:20" + } + ], + "functionName": { + "name": "extract_byte_array_length", + "nativeSrc": "8508:25:20", + "nodeType": "YulIdentifier", + "src": "8508:25:20" + }, + "nativeSrc": "8508:36:20", + "nodeType": "YulFunctionCall", + "src": "8508:36:20" + }, + "variables": [ + { + "name": "length", + "nativeSrc": "8498:6:20", + "nodeType": "YulTypedName", + "src": "8498:6:20", + "type": "" + } + ] + }, + { + "nativeSrc": "8553:96:20", + "nodeType": "YulAssignment", + "src": "8553:96:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "8637:3:20", + "nodeType": "YulIdentifier", + "src": "8637:3:20" + }, + { + "name": "length", + "nativeSrc": "8642:6:20", + "nodeType": "YulIdentifier", + "src": "8642:6:20" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "8560:76:20", + "nodeType": "YulIdentifier", + "src": "8560:76:20" + }, + "nativeSrc": "8560:89:20", + "nodeType": "YulFunctionCall", + "src": "8560:89:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "8553:3:20", + "nodeType": "YulIdentifier", + "src": "8553:3:20" + } + ] + }, + { + "cases": [ + { + "body": { + "nativeSrc": "8698:159:20", + "nodeType": "YulBlock", + "src": "8698:159:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "8751:3:20", + "nodeType": "YulIdentifier", + "src": "8751:3:20" + }, + { + "arguments": [ + { + "name": "slotValue", + "nativeSrc": "8760:9:20", + "nodeType": "YulIdentifier", + "src": "8760:9:20" + }, + { + "arguments": [ + { + "kind": "number", + "nativeSrc": "8775:4:20", + "nodeType": "YulLiteral", + "src": "8775:4:20", + "type": "", + "value": "0xff" + } + ], + "functionName": { + "name": "not", + "nativeSrc": "8771:3:20", + "nodeType": "YulIdentifier", + "src": "8771:3:20" + }, + "nativeSrc": "8771:9:20", + "nodeType": "YulFunctionCall", + "src": "8771:9:20" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "8756:3:20", + "nodeType": "YulIdentifier", + "src": "8756:3:20" + }, + "nativeSrc": "8756:25:20", + "nodeType": "YulFunctionCall", + "src": "8756:25:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "8744:6:20", + "nodeType": "YulIdentifier", + "src": "8744:6:20" + }, + "nativeSrc": "8744:38:20", + "nodeType": "YulFunctionCall", + "src": "8744:38:20" + }, + "nativeSrc": "8744:38:20", + "nodeType": "YulExpressionStatement", + "src": "8744:38:20" + }, + { + "nativeSrc": "8795:52:20", + "nodeType": "YulAssignment", + "src": "8795:52:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "8806:3:20", + "nodeType": "YulIdentifier", + "src": "8806:3:20" + }, + { + "arguments": [ + { + "name": "length", + "nativeSrc": "8815:6:20", + "nodeType": "YulIdentifier", + "src": "8815:6:20" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nativeSrc": "8837:6:20", + "nodeType": "YulIdentifier", + "src": "8837:6:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8830:6:20", + "nodeType": "YulIdentifier", + "src": "8830:6:20" + }, + "nativeSrc": "8830:14:20", + "nodeType": "YulFunctionCall", + "src": "8830:14:20" + } + ], + "functionName": { + "name": "iszero", + "nativeSrc": "8823:6:20", + "nodeType": "YulIdentifier", + "src": "8823:6:20" + }, + "nativeSrc": "8823:22:20", + "nodeType": "YulFunctionCall", + "src": "8823:22:20" + } + ], + "functionName": { + "name": "mul", + "nativeSrc": "8811:3:20", + "nodeType": "YulIdentifier", + "src": "8811:3:20" + }, + "nativeSrc": "8811:35:20", + "nodeType": "YulFunctionCall", + "src": "8811:35:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "8802:3:20", + "nodeType": "YulIdentifier", + "src": "8802:3:20" + }, + "nativeSrc": "8802:45:20", + "nodeType": "YulFunctionCall", + "src": "8802:45:20" + }, + "variableNames": [ + { + "name": "ret", + "nativeSrc": "8795:3:20", + "nodeType": "YulIdentifier", + "src": "8795:3:20" + } + ] + } + ] + }, + "nativeSrc": "8691:166:20", + "nodeType": "YulCase", + "src": "8691:166:20", + "value": { + "kind": "number", + "nativeSrc": "8696:1:20", + "nodeType": "YulLiteral", + "src": "8696:1:20", + "type": "", + "value": "0" + } + }, + { + "body": { + "nativeSrc": "8873:334:20", + "nodeType": "YulBlock", + "src": "8873:334:20", + "statements": [ + { + "nativeSrc": "8918:53:20", + "nodeType": "YulVariableDeclaration", + "src": "8918:53:20", + "value": { + "arguments": [ + { + "name": "value", + "nativeSrc": "8965:5:20", + "nodeType": "YulIdentifier", + "src": "8965:5:20" + } + ], + "functionName": { + "name": "array_dataslot_t_string_storage", + "nativeSrc": "8933:31:20", + "nodeType": "YulIdentifier", + "src": "8933:31:20" + }, + "nativeSrc": "8933:38:20", + "nodeType": "YulFunctionCall", + "src": "8933:38:20" + }, + "variables": [ + { + "name": "dataPos", + "nativeSrc": "8922:7:20", + "nodeType": "YulTypedName", + "src": "8922:7:20", + "type": "" + } + ] + }, + { + "nativeSrc": "8984:10:20", + "nodeType": "YulVariableDeclaration", + "src": "8984:10:20", + "value": { + "kind": "number", + "nativeSrc": "8993:1:20", + "nodeType": "YulLiteral", + "src": "8993:1:20", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nativeSrc": "8988:1:20", + "nodeType": "YulTypedName", + "src": "8988:1:20", + "type": "" + } + ] + }, + { + "body": { + "nativeSrc": "9051:110:20", + "nodeType": "YulBlock", + "src": "9051:110:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9080:3:20", + "nodeType": "YulIdentifier", + "src": "9080:3:20" + }, + { + "name": "i", + "nativeSrc": "9085:1:20", + "nodeType": "YulIdentifier", + "src": "9085:1:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9076:3:20", + "nodeType": "YulIdentifier", + "src": "9076:3:20" + }, + "nativeSrc": "9076:11:20", + "nodeType": "YulFunctionCall", + "src": "9076:11:20" + }, + { + "arguments": [ + { + "name": "dataPos", + "nativeSrc": "9095:7:20", + "nodeType": "YulIdentifier", + "src": "9095:7:20" + } + ], + "functionName": { + "name": "sload", + "nativeSrc": "9089:5:20", + "nodeType": "YulIdentifier", + "src": "9089:5:20" + }, + "nativeSrc": "9089:14:20", + "nodeType": "YulFunctionCall", + "src": "9089:14:20" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "9069:6:20", + "nodeType": "YulIdentifier", + "src": "9069:6:20" + }, + "nativeSrc": "9069:35:20", + "nodeType": "YulFunctionCall", + "src": "9069:35:20" + }, + "nativeSrc": "9069:35:20", + "nodeType": "YulExpressionStatement", + "src": "9069:35:20" + }, + { + "nativeSrc": "9121:26:20", + "nodeType": "YulAssignment", + "src": "9121:26:20", + "value": { + "arguments": [ + { + "name": "dataPos", + "nativeSrc": "9136:7:20", + "nodeType": "YulIdentifier", + "src": "9136:7:20" + }, + { + "kind": "number", + "nativeSrc": "9145:1:20", + "nodeType": "YulLiteral", + "src": "9145:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9132:3:20", + "nodeType": "YulIdentifier", + "src": "9132:3:20" + }, + "nativeSrc": "9132:15:20", + "nodeType": "YulFunctionCall", + "src": "9132:15:20" + }, + "variableNames": [ + { + "name": "dataPos", + "nativeSrc": "9121:7:20", + "nodeType": "YulIdentifier", + "src": "9121:7:20" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nativeSrc": "9018:1:20", + "nodeType": "YulIdentifier", + "src": "9018:1:20" + }, + { + "name": "length", + "nativeSrc": "9021:6:20", + "nodeType": "YulIdentifier", + "src": "9021:6:20" + } + ], + "functionName": { + "name": "lt", + "nativeSrc": "9015:2:20", + "nodeType": "YulIdentifier", + "src": "9015:2:20" + }, + "nativeSrc": "9015:13:20", + "nodeType": "YulFunctionCall", + "src": "9015:13:20" + }, + "nativeSrc": "9007:154:20", + "nodeType": "YulForLoop", + "post": { + "nativeSrc": "9029:21:20", + "nodeType": "YulBlock", + "src": "9029:21:20", + "statements": [ + { + "nativeSrc": "9031:17:20", + "nodeType": "YulAssignment", + "src": "9031:17:20", + "value": { + "arguments": [ + { + "name": "i", + "nativeSrc": "9040:1:20", + "nodeType": "YulIdentifier", + "src": "9040:1:20" + }, + { + "kind": "number", + "nativeSrc": "9043:4:20", + "nodeType": "YulLiteral", + "src": "9043:4:20", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9036:3:20", + "nodeType": "YulIdentifier", + "src": "9036:3:20" + }, + "nativeSrc": "9036:12:20", + "nodeType": "YulFunctionCall", + "src": "9036:12:20" + }, + "variableNames": [ + { + "name": "i", + "nativeSrc": "9031:1:20", + "nodeType": "YulIdentifier", + "src": "9031:1:20" + } + ] + } + ] + }, + "pre": { + "nativeSrc": "9011:3:20", + "nodeType": "YulBlock", + "src": "9011:3:20", + "statements": [] + }, + "src": "9007:154:20" + }, + { + "nativeSrc": "9174:23:20", + "nodeType": "YulAssignment", + "src": "9174:23:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9185:3:20", + "nodeType": "YulIdentifier", + "src": "9185:3:20" + }, + { + "name": "length", + "nativeSrc": "9190:6:20", + "nodeType": "YulIdentifier", + "src": "9190:6:20" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9181:3:20", + "nodeType": "YulIdentifier", + "src": "9181:3:20" + }, + "nativeSrc": "9181:16:20", + "nodeType": "YulFunctionCall", + "src": "9181:16:20" + }, + "variableNames": [ + { + "name": "ret", + "nativeSrc": "9174:3:20", + "nodeType": "YulIdentifier", + "src": "9174:3:20" + } + ] + } + ] + }, + "nativeSrc": "8866:341:20", + "nodeType": "YulCase", + "src": "8866:341:20", + "value": { + "kind": "number", + "nativeSrc": "8871:1:20", + "nodeType": "YulLiteral", + "src": "8871:1:20", + "type": "", + "value": "1" + } + } + ], + "expression": { + "arguments": [ + { + "name": "slotValue", + "nativeSrc": "8669:9:20", + "nodeType": "YulIdentifier", + "src": "8669:9:20" + }, + { + "kind": "number", + "nativeSrc": "8680:1:20", + "nodeType": "YulLiteral", + "src": "8680:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "and", + "nativeSrc": "8665:3:20", + "nodeType": "YulIdentifier", + "src": "8665:3:20" + }, + "nativeSrc": "8665:17:20", + "nodeType": "YulFunctionCall", + "src": "8665:17:20" + }, + "nativeSrc": "8658:549:20", + "nodeType": "YulSwitch", + "src": "8658:549:20" + } + ] + }, + "name": "abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "8339:874:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nativeSrc": "8427:5:20", + "nodeType": "YulTypedName", + "src": "8427:5:20", + "type": "" + }, + { + "name": "pos", + "nativeSrc": "8434:3:20", + "nodeType": "YulTypedName", + "src": "8434:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nativeSrc": "8442:3:20", + "nodeType": "YulTypedName", + "src": "8442:3:20", + "type": "" + } + ], + "src": "8339:874:20" + }, + { + "body": { + "nativeSrc": "9325:45:20", + "nodeType": "YulBlock", + "src": "9325:45:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "9347:6:20", + "nodeType": "YulIdentifier", + "src": "9347:6:20" + }, + { + "kind": "number", + "nativeSrc": "9355:1:20", + "nodeType": "YulLiteral", + "src": "9355:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9343:3:20", + "nodeType": "YulIdentifier", + "src": "9343:3:20" + }, + "nativeSrc": "9343:14:20", + "nodeType": "YulFunctionCall", + "src": "9343:14:20" + }, + { + "hexValue": "20", + "kind": "string", + "nativeSrc": "9359:3:20", + "nodeType": "YulLiteral", + "src": "9359:3:20", + "type": "", + "value": " " + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "9336:6:20", + "nodeType": "YulIdentifier", + "src": "9336:6:20" + }, + "nativeSrc": "9336:27:20", + "nodeType": "YulFunctionCall", + "src": "9336:27:20" + }, + "nativeSrc": "9336:27:20", + "nodeType": "YulExpressionStatement", + "src": "9336:27:20" + } + ] + }, + "name": "store_literal_in_memory_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a", + "nativeSrc": "9219:151:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "9317:6:20", + "nodeType": "YulTypedName", + "src": "9317:6:20", + "type": "" + } + ], + "src": "9219:151:20" + }, + { + "body": { + "nativeSrc": "9540:236:20", + "nodeType": "YulBlock", + "src": "9540:236:20", + "statements": [ + { + "nativeSrc": "9550:91:20", + "nodeType": "YulAssignment", + "src": "9550:91:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9634:3:20", + "nodeType": "YulIdentifier", + "src": "9634:3:20" + }, + { + "kind": "number", + "nativeSrc": "9639:1:20", + "nodeType": "YulLiteral", + "src": "9639:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "9557:76:20", + "nodeType": "YulIdentifier", + "src": "9557:76:20" + }, + "nativeSrc": "9557:84:20", + "nodeType": "YulFunctionCall", + "src": "9557:84:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "9550:3:20", + "nodeType": "YulIdentifier", + "src": "9550:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9739:3:20", + "nodeType": "YulIdentifier", + "src": "9739:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a", + "nativeSrc": "9650:88:20", + "nodeType": "YulIdentifier", + "src": "9650:88:20" + }, + "nativeSrc": "9650:93:20", + "nodeType": "YulFunctionCall", + "src": "9650:93:20" + }, + "nativeSrc": "9650:93:20", + "nodeType": "YulExpressionStatement", + "src": "9650:93:20" + }, + { + "nativeSrc": "9752:18:20", + "nodeType": "YulAssignment", + "src": "9752:18:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "9763:3:20", + "nodeType": "YulIdentifier", + "src": "9763:3:20" + }, + { + "kind": "number", + "nativeSrc": "9768:1:20", + "nodeType": "YulLiteral", + "src": "9768:1:20", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9759:3:20", + "nodeType": "YulIdentifier", + "src": "9759:3:20" + }, + "nativeSrc": "9759:11:20", + "nodeType": "YulFunctionCall", + "src": "9759:11:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "9752:3:20", + "nodeType": "YulIdentifier", + "src": "9752:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "9376:400:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "9528:3:20", + "nodeType": "YulTypedName", + "src": "9528:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "9536:3:20", + "nodeType": "YulTypedName", + "src": "9536:3:20", + "type": "" + } + ], + "src": "9376:400:20" + }, + { + "body": { + "nativeSrc": "9888:46:20", + "nodeType": "YulBlock", + "src": "9888:46:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "9910:6:20", + "nodeType": "YulIdentifier", + "src": "9910:6:20" + }, + { + "kind": "number", + "nativeSrc": "9918:1:20", + "nodeType": "YulLiteral", + "src": "9918:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "9906:3:20", + "nodeType": "YulIdentifier", + "src": "9906:3:20" + }, + "nativeSrc": "9906:14:20", + "nodeType": "YulFunctionCall", + "src": "9906:14:20" + }, + { + "hexValue": "2c20", + "kind": "string", + "nativeSrc": "9922:4:20", + "nodeType": "YulLiteral", + "src": "9922:4:20", + "type": "", + "value": ", " + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "9899:6:20", + "nodeType": "YulIdentifier", + "src": "9899:6:20" + }, + "nativeSrc": "9899:28:20", + "nodeType": "YulFunctionCall", + "src": "9899:28:20" + }, + "nativeSrc": "9899:28:20", + "nodeType": "YulExpressionStatement", + "src": "9899:28:20" + } + ] + }, + "name": "store_literal_in_memory_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d", + "nativeSrc": "9782:152:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "9880:6:20", + "nodeType": "YulTypedName", + "src": "9880:6:20", + "type": "" + } + ], + "src": "9782:152:20" + }, + { + "body": { + "nativeSrc": "10104:236:20", + "nodeType": "YulBlock", + "src": "10104:236:20", + "statements": [ + { + "nativeSrc": "10114:91:20", + "nodeType": "YulAssignment", + "src": "10114:91:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "10198:3:20", + "nodeType": "YulIdentifier", + "src": "10198:3:20" + }, + { + "kind": "number", + "nativeSrc": "10203:1:20", + "nodeType": "YulLiteral", + "src": "10203:1:20", + "type": "", + "value": "2" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "10121:76:20", + "nodeType": "YulIdentifier", + "src": "10121:76:20" + }, + "nativeSrc": "10121:84:20", + "nodeType": "YulFunctionCall", + "src": "10121:84:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "10114:3:20", + "nodeType": "YulIdentifier", + "src": "10114:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "10303:3:20", + "nodeType": "YulIdentifier", + "src": "10303:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d", + "nativeSrc": "10214:88:20", + "nodeType": "YulIdentifier", + "src": "10214:88:20" + }, + "nativeSrc": "10214:93:20", + "nodeType": "YulFunctionCall", + "src": "10214:93:20" + }, + "nativeSrc": "10214:93:20", + "nodeType": "YulExpressionStatement", + "src": "10214:93:20" + }, + { + "nativeSrc": "10316:18:20", + "nodeType": "YulAssignment", + "src": "10316:18:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "10327:3:20", + "nodeType": "YulIdentifier", + "src": "10327:3:20" + }, + { + "kind": "number", + "nativeSrc": "10332:1:20", + "nodeType": "YulLiteral", + "src": "10332:1:20", + "type": "", + "value": "2" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10323:3:20", + "nodeType": "YulIdentifier", + "src": "10323:3:20" + }, + "nativeSrc": "10323:11:20", + "nodeType": "YulFunctionCall", + "src": "10323:11:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "10316:3:20", + "nodeType": "YulIdentifier", + "src": "10316:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "9940:400:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "10092:3:20", + "nodeType": "YulTypedName", + "src": "10092:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "10100:3:20", + "nodeType": "YulTypedName", + "src": "10100:3:20", + "type": "" + } + ], + "src": "9940:400:20" + }, + { + "body": { + "nativeSrc": "10452:1591:20", + "nodeType": "YulBlock", + "src": "10452:1591:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10474:6:20", + "nodeType": "YulIdentifier", + "src": "10474:6:20" + }, + { + "kind": "number", + "nativeSrc": "10482:1:20", + "nodeType": "YulLiteral", + "src": "10482:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10470:3:20", + "nodeType": "YulIdentifier", + "src": "10470:3:20" + }, + "nativeSrc": "10470:14:20", + "nodeType": "YulFunctionCall", + "src": "10470:14:20" + }, + { + "kind": "number", + "nativeSrc": "10486:66:20", + "nodeType": "YulLiteral", + "src": "10486:66:20", + "type": "", + "value": "0x262331303b3c2f747370616e3e3c747370616e20783d223237372220793d2236" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10463:6:20", + "nodeType": "YulIdentifier", + "src": "10463:6:20" + }, + "nativeSrc": "10463:90:20", + "nodeType": "YulFunctionCall", + "src": "10463:90:20" + }, + "nativeSrc": "10463:90:20", + "nodeType": "YulExpressionStatement", + "src": "10463:90:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10574:6:20", + "nodeType": "YulIdentifier", + "src": "10574:6:20" + }, + { + "kind": "number", + "nativeSrc": "10582:2:20", + "nodeType": "YulLiteral", + "src": "10582:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10570:3:20", + "nodeType": "YulIdentifier", + "src": "10570:3:20" + }, + "nativeSrc": "10570:15:20", + "nodeType": "YulFunctionCall", + "src": "10570:15:20" + }, + { + "kind": "number", + "nativeSrc": "10587:66:20", + "nodeType": "YulLiteral", + "src": "10587:66:20", + "type": "", + "value": "0x38332e323733223e262331303b3c2f747370616e3e3c747370616e20783d2232" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10563:6:20", + "nodeType": "YulIdentifier", + "src": "10563:6:20" + }, + "nativeSrc": "10563:91:20", + "nodeType": "YulFunctionCall", + "src": "10563:91:20" + }, + "nativeSrc": "10563:91:20", + "nodeType": "YulExpressionStatement", + "src": "10563:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10675:6:20", + "nodeType": "YulIdentifier", + "src": "10675:6:20" + }, + { + "kind": "number", + "nativeSrc": "10683:2:20", + "nodeType": "YulLiteral", + "src": "10683:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10671:3:20", + "nodeType": "YulIdentifier", + "src": "10671:3:20" + }, + "nativeSrc": "10671:15:20", + "nodeType": "YulFunctionCall", + "src": "10671:15:20" + }, + { + "kind": "number", + "nativeSrc": "10688:66:20", + "nodeType": "YulLiteral", + "src": "10688:66:20", + "type": "", + "value": "0x37372220793d223730372e323733223e262331303b3c2f747370616e3e3c7473" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10664:6:20", + "nodeType": "YulIdentifier", + "src": "10664:6:20" + }, + "nativeSrc": "10664:91:20", + "nodeType": "YulFunctionCall", + "src": "10664:91:20" + }, + "nativeSrc": "10664:91:20", + "nodeType": "YulExpressionStatement", + "src": "10664:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10776:6:20", + "nodeType": "YulIdentifier", + "src": "10776:6:20" + }, + { + "kind": "number", + "nativeSrc": "10784:2:20", + "nodeType": "YulLiteral", + "src": "10784:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10772:3:20", + "nodeType": "YulIdentifier", + "src": "10772:3:20" + }, + "nativeSrc": "10772:15:20", + "nodeType": "YulFunctionCall", + "src": "10772:15:20" + }, + { + "kind": "number", + "nativeSrc": "10789:66:20", + "nodeType": "YulLiteral", + "src": "10789:66:20", + "type": "", + "value": "0x70616e20783d223237372220793d223733312e323733223e262331303b3c2f74" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10765:6:20", + "nodeType": "YulIdentifier", + "src": "10765:6:20" + }, + "nativeSrc": "10765:91:20", + "nodeType": "YulFunctionCall", + "src": "10765:91:20" + }, + "nativeSrc": "10765:91:20", + "nodeType": "YulExpressionStatement", + "src": "10765:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10877:6:20", + "nodeType": "YulIdentifier", + "src": "10877:6:20" + }, + { + "kind": "number", + "nativeSrc": "10885:3:20", + "nodeType": "YulLiteral", + "src": "10885:3:20", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10873:3:20", + "nodeType": "YulIdentifier", + "src": "10873:3:20" + }, + "nativeSrc": "10873:16:20", + "nodeType": "YulFunctionCall", + "src": "10873:16:20" + }, + { + "kind": "number", + "nativeSrc": "10891:66:20", + "nodeType": "YulLiteral", + "src": "10891:66:20", + "type": "", + "value": "0x7370616e3e3c747370616e20783d223237372220793d223735352e323733223e" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10866:6:20", + "nodeType": "YulIdentifier", + "src": "10866:6:20" + }, + "nativeSrc": "10866:92:20", + "nodeType": "YulFunctionCall", + "src": "10866:92:20" + }, + "nativeSrc": "10866:92:20", + "nodeType": "YulExpressionStatement", + "src": "10866:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "10979:6:20", + "nodeType": "YulIdentifier", + "src": "10979:6:20" + }, + { + "kind": "number", + "nativeSrc": "10987:3:20", + "nodeType": "YulLiteral", + "src": "10987:3:20", + "type": "", + "value": "160" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "10975:3:20", + "nodeType": "YulIdentifier", + "src": "10975:3:20" + }, + "nativeSrc": "10975:16:20", + "nodeType": "YulFunctionCall", + "src": "10975:16:20" + }, + { + "kind": "number", + "nativeSrc": "10993:66:20", + "nodeType": "YulLiteral", + "src": "10993:66:20", + "type": "", + "value": "0x262331303b3c2f747370616e3e3c747370616e20783d223237372220793d2237" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "10968:6:20", + "nodeType": "YulIdentifier", + "src": "10968:6:20" + }, + "nativeSrc": "10968:92:20", + "nodeType": "YulFunctionCall", + "src": "10968:92:20" + }, + "nativeSrc": "10968:92:20", + "nodeType": "YulExpressionStatement", + "src": "10968:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11081:6:20", + "nodeType": "YulIdentifier", + "src": "11081:6:20" + }, + { + "kind": "number", + "nativeSrc": "11089:3:20", + "nodeType": "YulLiteral", + "src": "11089:3:20", + "type": "", + "value": "192" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11077:3:20", + "nodeType": "YulIdentifier", + "src": "11077:3:20" + }, + "nativeSrc": "11077:16:20", + "nodeType": "YulFunctionCall", + "src": "11077:16:20" + }, + { + "kind": "number", + "nativeSrc": "11095:66:20", + "nodeType": "YulLiteral", + "src": "11095:66:20", + "type": "", + "value": "0x37392e323733223e262331303b3c2f747370616e3e3c747370616e20783d2232" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11070:6:20", + "nodeType": "YulIdentifier", + "src": "11070:6:20" + }, + "nativeSrc": "11070:92:20", + "nodeType": "YulFunctionCall", + "src": "11070:92:20" + }, + "nativeSrc": "11070:92:20", + "nodeType": "YulExpressionStatement", + "src": "11070:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11183:6:20", + "nodeType": "YulIdentifier", + "src": "11183:6:20" + }, + { + "kind": "number", + "nativeSrc": "11191:3:20", + "nodeType": "YulLiteral", + "src": "11191:3:20", + "type": "", + "value": "224" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11179:3:20", + "nodeType": "YulIdentifier", + "src": "11179:3:20" + }, + "nativeSrc": "11179:16:20", + "nodeType": "YulFunctionCall", + "src": "11179:16:20" + }, + { + "kind": "number", + "nativeSrc": "11197:66:20", + "nodeType": "YulLiteral", + "src": "11197:66:20", + "type": "", + "value": "0x37372220793d223830332e323733223e262331303b3c2f747370616e3e3c7473" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11172:6:20", + "nodeType": "YulIdentifier", + "src": "11172:6:20" + }, + "nativeSrc": "11172:92:20", + "nodeType": "YulFunctionCall", + "src": "11172:92:20" + }, + "nativeSrc": "11172:92:20", + "nodeType": "YulExpressionStatement", + "src": "11172:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11285:6:20", + "nodeType": "YulIdentifier", + "src": "11285:6:20" + }, + { + "kind": "number", + "nativeSrc": "11293:3:20", + "nodeType": "YulLiteral", + "src": "11293:3:20", + "type": "", + "value": "256" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11281:3:20", + "nodeType": "YulIdentifier", + "src": "11281:3:20" + }, + "nativeSrc": "11281:16:20", + "nodeType": "YulFunctionCall", + "src": "11281:16:20" + }, + { + "kind": "number", + "nativeSrc": "11299:66:20", + "nodeType": "YulLiteral", + "src": "11299:66:20", + "type": "", + "value": "0x70616e20783d223237372220793d223832372e323733223e262331303b3c2f74" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11274:6:20", + "nodeType": "YulIdentifier", + "src": "11274:6:20" + }, + "nativeSrc": "11274:92:20", + "nodeType": "YulFunctionCall", + "src": "11274:92:20" + }, + "nativeSrc": "11274:92:20", + "nodeType": "YulExpressionStatement", + "src": "11274:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11387:6:20", + "nodeType": "YulIdentifier", + "src": "11387:6:20" + }, + { + "kind": "number", + "nativeSrc": "11395:3:20", + "nodeType": "YulLiteral", + "src": "11395:3:20", + "type": "", + "value": "288" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11383:3:20", + "nodeType": "YulIdentifier", + "src": "11383:3:20" + }, + "nativeSrc": "11383:16:20", + "nodeType": "YulFunctionCall", + "src": "11383:16:20" + }, + { + "kind": "number", + "nativeSrc": "11401:66:20", + "nodeType": "YulLiteral", + "src": "11401:66:20", + "type": "", + "value": "0x7370616e3e3c747370616e20783d223237372220793d223835312e323733223e" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11376:6:20", + "nodeType": "YulIdentifier", + "src": "11376:6:20" + }, + "nativeSrc": "11376:92:20", + "nodeType": "YulFunctionCall", + "src": "11376:92:20" + }, + "nativeSrc": "11376:92:20", + "nodeType": "YulExpressionStatement", + "src": "11376:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11489:6:20", + "nodeType": "YulIdentifier", + "src": "11489:6:20" + }, + { + "kind": "number", + "nativeSrc": "11497:3:20", + "nodeType": "YulLiteral", + "src": "11497:3:20", + "type": "", + "value": "320" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11485:3:20", + "nodeType": "YulIdentifier", + "src": "11485:3:20" + }, + "nativeSrc": "11485:16:20", + "nodeType": "YulFunctionCall", + "src": "11485:16:20" + }, + { + "kind": "number", + "nativeSrc": "11503:66:20", + "nodeType": "YulLiteral", + "src": "11503:66:20", + "type": "", + "value": "0x262331303b3c2f747370616e3e3c747370616e20783d223237372220793d2238" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11478:6:20", + "nodeType": "YulIdentifier", + "src": "11478:6:20" + }, + "nativeSrc": "11478:92:20", + "nodeType": "YulFunctionCall", + "src": "11478:92:20" + }, + "nativeSrc": "11478:92:20", + "nodeType": "YulExpressionStatement", + "src": "11478:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11591:6:20", + "nodeType": "YulIdentifier", + "src": "11591:6:20" + }, + { + "kind": "number", + "nativeSrc": "11599:3:20", + "nodeType": "YulLiteral", + "src": "11599:3:20", + "type": "", + "value": "352" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11587:3:20", + "nodeType": "YulIdentifier", + "src": "11587:3:20" + }, + "nativeSrc": "11587:16:20", + "nodeType": "YulFunctionCall", + "src": "11587:16:20" + }, + { + "kind": "number", + "nativeSrc": "11605:66:20", + "nodeType": "YulLiteral", + "src": "11605:66:20", + "type": "", + "value": "0x37352e323733223e262331303b3c2f747370616e3e3c747370616e20783d2232" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11580:6:20", + "nodeType": "YulIdentifier", + "src": "11580:6:20" + }, + "nativeSrc": "11580:92:20", + "nodeType": "YulFunctionCall", + "src": "11580:92:20" + }, + "nativeSrc": "11580:92:20", + "nodeType": "YulExpressionStatement", + "src": "11580:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11693:6:20", + "nodeType": "YulIdentifier", + "src": "11693:6:20" + }, + { + "kind": "number", + "nativeSrc": "11701:3:20", + "nodeType": "YulLiteral", + "src": "11701:3:20", + "type": "", + "value": "384" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11689:3:20", + "nodeType": "YulIdentifier", + "src": "11689:3:20" + }, + "nativeSrc": "11689:16:20", + "nodeType": "YulFunctionCall", + "src": "11689:16:20" + }, + { + "kind": "number", + "nativeSrc": "11707:66:20", + "nodeType": "YulLiteral", + "src": "11707:66:20", + "type": "", + "value": "0x37372220793d223839392e323733223e262331303b3c2f747370616e3e3c7473" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11682:6:20", + "nodeType": "YulIdentifier", + "src": "11682:6:20" + }, + "nativeSrc": "11682:92:20", + "nodeType": "YulFunctionCall", + "src": "11682:92:20" + }, + "nativeSrc": "11682:92:20", + "nodeType": "YulExpressionStatement", + "src": "11682:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11795:6:20", + "nodeType": "YulIdentifier", + "src": "11795:6:20" + }, + { + "kind": "number", + "nativeSrc": "11803:3:20", + "nodeType": "YulLiteral", + "src": "11803:3:20", + "type": "", + "value": "416" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11791:3:20", + "nodeType": "YulIdentifier", + "src": "11791:3:20" + }, + "nativeSrc": "11791:16:20", + "nodeType": "YulFunctionCall", + "src": "11791:16:20" + }, + { + "kind": "number", + "nativeSrc": "11809:66:20", + "nodeType": "YulLiteral", + "src": "11809:66:20", + "type": "", + "value": "0x70616e20783d223237372220793d223932332e323733223e262331303b3c2f74" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11784:6:20", + "nodeType": "YulIdentifier", + "src": "11784:6:20" + }, + "nativeSrc": "11784:92:20", + "nodeType": "YulFunctionCall", + "src": "11784:92:20" + }, + "nativeSrc": "11784:92:20", + "nodeType": "YulExpressionStatement", + "src": "11784:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11897:6:20", + "nodeType": "YulIdentifier", + "src": "11897:6:20" + }, + { + "kind": "number", + "nativeSrc": "11905:3:20", + "nodeType": "YulLiteral", + "src": "11905:3:20", + "type": "", + "value": "448" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11893:3:20", + "nodeType": "YulIdentifier", + "src": "11893:3:20" + }, + "nativeSrc": "11893:16:20", + "nodeType": "YulFunctionCall", + "src": "11893:16:20" + }, + { + "kind": "number", + "nativeSrc": "11911:66:20", + "nodeType": "YulLiteral", + "src": "11911:66:20", + "type": "", + "value": "0x7370616e3e3c747370616e20783d223237372220793d223934372e323733223e" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11886:6:20", + "nodeType": "YulIdentifier", + "src": "11886:6:20" + }, + "nativeSrc": "11886:92:20", + "nodeType": "YulFunctionCall", + "src": "11886:92:20" + }, + "nativeSrc": "11886:92:20", + "nodeType": "YulExpressionStatement", + "src": "11886:92:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "11999:6:20", + "nodeType": "YulIdentifier", + "src": "11999:6:20" + }, + { + "kind": "number", + "nativeSrc": "12007:3:20", + "nodeType": "YulLiteral", + "src": "12007:3:20", + "type": "", + "value": "480" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "11995:3:20", + "nodeType": "YulIdentifier", + "src": "11995:3:20" + }, + "nativeSrc": "11995:16:20", + "nodeType": "YulFunctionCall", + "src": "11995:16:20" + }, + { + "hexValue": "262331303b3c2f747370616e3e3c2f746578743e", + "kind": "string", + "nativeSrc": "12013:22:20", + "nodeType": "YulLiteral", + "src": "12013:22:20", + "type": "", + "value": " " + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "11988:6:20", + "nodeType": "YulIdentifier", + "src": "11988:6:20" + }, + "nativeSrc": "11988:48:20", + "nodeType": "YulFunctionCall", + "src": "11988:48:20" + }, + "nativeSrc": "11988:48:20", + "nodeType": "YulExpressionStatement", + "src": "11988:48:20" + } + ] + }, + "name": "store_literal_in_memory_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2", + "nativeSrc": "10346:1697:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "10444:6:20", + "nodeType": "YulTypedName", + "src": "10444:6:20", + "type": "" + } + ], + "src": "10346:1697:20" + }, + { + "body": { + "nativeSrc": "12213:240:20", + "nodeType": "YulBlock", + "src": "12213:240:20", + "statements": [ + { + "nativeSrc": "12223:93:20", + "nodeType": "YulAssignment", + "src": "12223:93:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "12307:3:20", + "nodeType": "YulIdentifier", + "src": "12307:3:20" + }, + { + "kind": "number", + "nativeSrc": "12312:3:20", + "nodeType": "YulLiteral", + "src": "12312:3:20", + "type": "", + "value": "500" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "12230:76:20", + "nodeType": "YulIdentifier", + "src": "12230:76:20" + }, + "nativeSrc": "12230:86:20", + "nodeType": "YulFunctionCall", + "src": "12230:86:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "12223:3:20", + "nodeType": "YulIdentifier", + "src": "12223:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "12414:3:20", + "nodeType": "YulIdentifier", + "src": "12414:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2", + "nativeSrc": "12325:88:20", + "nodeType": "YulIdentifier", + "src": "12325:88:20" + }, + "nativeSrc": "12325:93:20", + "nodeType": "YulFunctionCall", + "src": "12325:93:20" + }, + "nativeSrc": "12325:93:20", + "nodeType": "YulExpressionStatement", + "src": "12325:93:20" + }, + { + "nativeSrc": "12427:20:20", + "nodeType": "YulAssignment", + "src": "12427:20:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "12438:3:20", + "nodeType": "YulIdentifier", + "src": "12438:3:20" + }, + { + "kind": "number", + "nativeSrc": "12443:3:20", + "nodeType": "YulLiteral", + "src": "12443:3:20", + "type": "", + "value": "500" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "12434:3:20", + "nodeType": "YulIdentifier", + "src": "12434:3:20" + }, + "nativeSrc": "12434:13:20", + "nodeType": "YulFunctionCall", + "src": "12434:13:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "12427:3:20", + "nodeType": "YulIdentifier", + "src": "12427:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "12049:404:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "12201:3:20", + "nodeType": "YulTypedName", + "src": "12201:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "12209:3:20", + "nodeType": "YulTypedName", + "src": "12209:3:20", + "type": "" + } + ], + "src": "12049:404:20" + }, + { + "body": { + "nativeSrc": "13092:1020:20", + "nodeType": "YulBlock", + "src": "13092:1020:20", + "statements": [ + { + "nativeSrc": "13103:155:20", + "nodeType": "YulAssignment", + "src": "13103:155:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13254:3:20", + "nodeType": "YulIdentifier", + "src": "13254:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "13110:142:20", + "nodeType": "YulIdentifier", + "src": "13110:142:20" + }, + "nativeSrc": "13110:148:20", + "nodeType": "YulFunctionCall", + "src": "13110:148:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13103:3:20", + "nodeType": "YulIdentifier", + "src": "13103:3:20" + } + ] + }, + { + "nativeSrc": "13268:99:20", + "nodeType": "YulAssignment", + "src": "13268:99:20", + "value": { + "arguments": [ + { + "name": "value0", + "nativeSrc": "13354:6:20", + "nodeType": "YulIdentifier", + "src": "13354:6:20" + }, + { + "name": "pos", + "nativeSrc": "13363:3:20", + "nodeType": "YulIdentifier", + "src": "13363:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "13275:78:20", + "nodeType": "YulIdentifier", + "src": "13275:78:20" + }, + "nativeSrc": "13275:92:20", + "nodeType": "YulFunctionCall", + "src": "13275:92:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13268:3:20", + "nodeType": "YulIdentifier", + "src": "13268:3:20" + } + ] + }, + { + "nativeSrc": "13377:155:20", + "nodeType": "YulAssignment", + "src": "13377:155:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13528:3:20", + "nodeType": "YulIdentifier", + "src": "13528:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "13384:142:20", + "nodeType": "YulIdentifier", + "src": "13384:142:20" + }, + "nativeSrc": "13384:148:20", + "nodeType": "YulFunctionCall", + "src": "13384:148:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13377:3:20", + "nodeType": "YulIdentifier", + "src": "13377:3:20" + } + ] + }, + { + "nativeSrc": "13542:102:20", + "nodeType": "YulAssignment", + "src": "13542:102:20", + "value": { + "arguments": [ + { + "name": "value1", + "nativeSrc": "13631:6:20", + "nodeType": "YulIdentifier", + "src": "13631:6:20" + }, + { + "name": "pos", + "nativeSrc": "13640:3:20", + "nodeType": "YulIdentifier", + "src": "13640:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "13549:81:20", + "nodeType": "YulIdentifier", + "src": "13549:81:20" + }, + "nativeSrc": "13549:95:20", + "nodeType": "YulFunctionCall", + "src": "13549:95:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13542:3:20", + "nodeType": "YulIdentifier", + "src": "13542:3:20" + } + ] + }, + { + "nativeSrc": "13654:155:20", + "nodeType": "YulAssignment", + "src": "13654:155:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "13805:3:20", + "nodeType": "YulIdentifier", + "src": "13805:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "13661:142:20", + "nodeType": "YulIdentifier", + "src": "13661:142:20" + }, + "nativeSrc": "13661:148:20", + "nodeType": "YulFunctionCall", + "src": "13661:148:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13654:3:20", + "nodeType": "YulIdentifier", + "src": "13654:3:20" + } + ] + }, + { + "nativeSrc": "13819:102:20", + "nodeType": "YulAssignment", + "src": "13819:102:20", + "value": { + "arguments": [ + { + "name": "value2", + "nativeSrc": "13908:6:20", + "nodeType": "YulIdentifier", + "src": "13908:6:20" + }, + { + "name": "pos", + "nativeSrc": "13917:3:20", + "nodeType": "YulIdentifier", + "src": "13917:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "13826:81:20", + "nodeType": "YulIdentifier", + "src": "13826:81:20" + }, + "nativeSrc": "13826:95:20", + "nodeType": "YulFunctionCall", + "src": "13826:95:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13819:3:20", + "nodeType": "YulIdentifier", + "src": "13819:3:20" + } + ] + }, + { + "nativeSrc": "13931:155:20", + "nodeType": "YulAssignment", + "src": "13931:155:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "14082:3:20", + "nodeType": "YulIdentifier", + "src": "14082:3:20" + } + ], + "functionName": { + "name": "abi_encode_t_stringliteral_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "13938:142:20", + "nodeType": "YulIdentifier", + "src": "13938:142:20" + }, + "nativeSrc": "13938:148:20", + "nodeType": "YulFunctionCall", + "src": "13938:148:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "13931:3:20", + "nodeType": "YulIdentifier", + "src": "13931:3:20" + } + ] + }, + { + "nativeSrc": "14096:10:20", + "nodeType": "YulAssignment", + "src": "14096:10:20", + "value": { + "name": "pos", + "nativeSrc": "14103:3:20", + "nodeType": "YulIdentifier", + "src": "14103:3:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "14096:3:20", + "nodeType": "YulIdentifier", + "src": "14096:3:20" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_679f9ffaa7a39c74b331df9d88f067845c472733f2a362159e83a94684a7b9f3_t_string_storage_t_stringliteral_681afa780d17da29203322b473d3f210a7d621259a4e6ce9e403f5a266ff719a_t_string_memory_ptr_t_stringliteral_bca0729fb6730dfd2fb395d597640354b22fad86e25c1680a49df80925b5fa0d_t_string_memory_ptr_t_stringliteral_789d7ceef7209314d725c203ed42f029dc39c12f044399dd4f6063c8c7e450c2__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nativeSrc": "12459:1653:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "13055:3:20", + "nodeType": "YulTypedName", + "src": "13055:3:20", + "type": "" + }, + { + "name": "value2", + "nativeSrc": "13061:6:20", + "nodeType": "YulTypedName", + "src": "13061:6:20", + "type": "" + }, + { + "name": "value1", + "nativeSrc": "13069:6:20", + "nodeType": "YulTypedName", + "src": "13069:6:20", + "type": "" + }, + { + "name": "value0", + "nativeSrc": "13077:6:20", + "nodeType": "YulTypedName", + "src": "13077:6:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "13088:3:20", + "nodeType": "YulTypedName", + "src": "13088:3:20", + "type": "" + } + ], + "src": "12459:1653:20" + }, + { + "body": { + "nativeSrc": "14224:411:20", + "nodeType": "YulBlock", + "src": "14224:411:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "14246:6:20", + "nodeType": "YulIdentifier", + "src": "14246:6:20" + }, + { + "kind": "number", + "nativeSrc": "14254:1:20", + "nodeType": "YulLiteral", + "src": "14254:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14242:3:20", + "nodeType": "YulIdentifier", + "src": "14242:3:20" + }, + "nativeSrc": "14242:14:20", + "nodeType": "YulFunctionCall", + "src": "14242:14:20" + }, + { + "kind": "number", + "nativeSrc": "14258:66:20", + "nodeType": "YulLiteral", + "src": "14258:66:20", + "type": "", + "value": "0x3c7376672077696474683d223130323422206865696768743d22313032342220" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14235:6:20", + "nodeType": "YulIdentifier", + "src": "14235:6:20" + }, + "nativeSrc": "14235:90:20", + "nodeType": "YulFunctionCall", + "src": "14235:90:20" + }, + "nativeSrc": "14235:90:20", + "nodeType": "YulExpressionStatement", + "src": "14235:90:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "14346:6:20", + "nodeType": "YulIdentifier", + "src": "14346:6:20" + }, + { + "kind": "number", + "nativeSrc": "14354:2:20", + "nodeType": "YulLiteral", + "src": "14354:2:20", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14342:3:20", + "nodeType": "YulIdentifier", + "src": "14342:3:20" + }, + "nativeSrc": "14342:15:20", + "nodeType": "YulFunctionCall", + "src": "14342:15:20" + }, + { + "kind": "number", + "nativeSrc": "14359:66:20", + "nodeType": "YulLiteral", + "src": "14359:66:20", + "type": "", + "value": "0x76696577426f783d2230203020313032342031303234222066696c6c3d226e6f" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14335:6:20", + "nodeType": "YulIdentifier", + "src": "14335:6:20" + }, + "nativeSrc": "14335:91:20", + "nodeType": "YulFunctionCall", + "src": "14335:91:20" + }, + "nativeSrc": "14335:91:20", + "nodeType": "YulExpressionStatement", + "src": "14335:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "14447:6:20", + "nodeType": "YulIdentifier", + "src": "14447:6:20" + }, + { + "kind": "number", + "nativeSrc": "14455:2:20", + "nodeType": "YulLiteral", + "src": "14455:2:20", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14443:3:20", + "nodeType": "YulIdentifier", + "src": "14443:3:20" + }, + "nativeSrc": "14443:15:20", + "nodeType": "YulFunctionCall", + "src": "14443:15:20" + }, + { + "kind": "number", + "nativeSrc": "14460:66:20", + "nodeType": "YulLiteral", + "src": "14460:66:20", + "type": "", + "value": "0x6e652220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14436:6:20", + "nodeType": "YulIdentifier", + "src": "14436:6:20" + }, + "nativeSrc": "14436:91:20", + "nodeType": "YulFunctionCall", + "src": "14436:91:20" + }, + "nativeSrc": "14436:91:20", + "nodeType": "YulExpressionStatement", + "src": "14436:91:20" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "14548:6:20", + "nodeType": "YulIdentifier", + "src": "14548:6:20" + }, + { + "kind": "number", + "nativeSrc": "14556:2:20", + "nodeType": "YulLiteral", + "src": "14556:2:20", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "14544:3:20", + "nodeType": "YulIdentifier", + "src": "14544:3:20" + }, + "nativeSrc": "14544:15:20", + "nodeType": "YulFunctionCall", + "src": "14544:15:20" + }, + { + "kind": "number", + "nativeSrc": "14561:66:20", + "nodeType": "YulLiteral", + "src": "14561:66:20", + "type": "", + "value": "0x302f737667223e00000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "mstore", + "nativeSrc": "14537:6:20", + "nodeType": "YulIdentifier", + "src": "14537:6:20" + }, + "nativeSrc": "14537:91:20", + "nodeType": "YulFunctionCall", + "src": "14537:91:20" + }, + "nativeSrc": "14537:91:20", + "nodeType": "YulExpressionStatement", + "src": "14537:91:20" + } + ] + }, + "name": "store_literal_in_memory_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477", + "nativeSrc": "14118:517:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "memPtr", + "nativeSrc": "14216:6:20", + "nodeType": "YulTypedName", + "src": "14216:6:20", + "type": "" + } + ], + "src": "14118:517:20" + }, + { + "body": { + "nativeSrc": "14805:240:20", + "nodeType": "YulBlock", + "src": "14805:240:20", + "statements": [ + { + "nativeSrc": "14815:93:20", + "nodeType": "YulAssignment", + "src": "14815:93:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "14899:3:20", + "nodeType": "YulIdentifier", + "src": "14899:3:20" + }, + { + "kind": "number", + "nativeSrc": "14904:3:20", + "nodeType": "YulLiteral", + "src": "14904:3:20", + "type": "", + "value": "103" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "14822:76:20", + "nodeType": "YulIdentifier", + "src": "14822:76:20" + }, + "nativeSrc": "14822:86:20", + "nodeType": "YulFunctionCall", + "src": "14822:86:20" + }, + "variableNames": [ + { + "name": "pos", + "nativeSrc": "14815:3:20", + "nodeType": "YulIdentifier", + "src": "14815:3:20" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "15006:3:20", + "nodeType": "YulIdentifier", + "src": "15006:3:20" + } + ], + "functionName": { + "name": "store_literal_in_memory_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477", + "nativeSrc": "14917:88:20", + "nodeType": "YulIdentifier", + "src": "14917:88:20" + }, + "nativeSrc": "14917:93:20", + "nodeType": "YulFunctionCall", + "src": "14917:93:20" + }, + "nativeSrc": "14917:93:20", + "nodeType": "YulExpressionStatement", + "src": "14917:93:20" + }, + { + "nativeSrc": "15019:20:20", + "nodeType": "YulAssignment", + "src": "15019:20:20", + "value": { + "arguments": [ + { + "name": "pos", + "nativeSrc": "15030:3:20", + "nodeType": "YulIdentifier", + "src": "15030:3:20" + }, + { + "kind": "number", + "nativeSrc": "15035:3:20", + "nodeType": "YulLiteral", + "src": "15035:3:20", + "type": "", + "value": "103" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15026:3:20", + "nodeType": "YulIdentifier", + "src": "15026:3:20" + }, + "nativeSrc": "15026:13:20", + "nodeType": "YulFunctionCall", + "src": "15026:13:20" + }, + "variableNames": [ + { + "name": "end", + "nativeSrc": "15019:3:20", + "nodeType": "YulIdentifier", + "src": "15019:3:20" + } + ] + } + ] + }, + "name": "abi_encode_t_stringliteral_c170c943af9a38976035e4f35214a5f683bbdb7a3c535fe20435e97b2c320477_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nativeSrc": "14641:404:20", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nativeSrc": "14793:3:20", + "nodeType": "YulTypedName", + "src": "14793:3:20", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nativeSrc": "14801:3:20", + "nodeType": "YulTypedName", + "src": "14801:3:20", + "type": "" + } + ], + "src": "14641:404:20" + }, + { + "body": { + "nativeSrc": "15157:334:20", + "nodeType": "YulBlock", + "src": "15157:334:20", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nativeSrc": "15179:6:20", + "nodeType": "YulIdentifier", + "src": "15179:6:20" + }, + { + "kind": "number", + "nativeSrc": "15187:1:20", + "nodeType": "YulLiteral", + "src": "15187:1:20", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nativeSrc": "15175:3:20", + "nodeType": "YulIdentifier", + "src": "15175:3:20" + }, + "nativeSrc": "15175:14:20", + "nodeType": "YulFunctionCall", + "src": "15175:14:20" + }, + { + "hexValue": "3c7374796c653e746578742c20747370616e207b20666f6e742d66616d696c79", + "kind": "string", + "nativeSrc": "15191:34:20", + "nodeType": "YulLiteral", + "src": "15191:34:20", + "type": "", + "value": "