9211 lines
374 KiB
JSON
9211 lines
374 KiB
JSON
{
|
|
"contractName": "EthereumBridge",
|
|
"abi": [
|
|
{
|
|
"inputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "messageId",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "string",
|
|
"name": "sourceChain",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "MessageReceived",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "bytes32",
|
|
"name": "messageId",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "string",
|
|
"name": "destinationChain",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "MessageSent",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "admin",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "messageId",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "isMessageProcessed",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "processedMessages",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "destinationChain",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "sendMessage",
|
|
"outputs": [],
|
|
"stateMutability": "payable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "messageId",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "string",
|
|
"name": "sourceChain",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "receiveMessage",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"messageId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"}],\"name\":\"MessageReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"messageId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"}],\"name\":\"MessageSent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"messageId\",\"type\":\"bytes32\"}],\"name\":\"isMessageProcessed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"processedMessages\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"messageId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"sourceChain\",\"type\":\"string\"}],\"name\":\"receiveMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"destinationChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"sendMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/EthereumBridge.sol\":\"EthereumBridge\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/BridgeBase.sol\":{\"keccak256\":\"0xec854c325a96abfdfcf1282c2a8a54b80ee83c118bbe4a8b45254ec31e3e6f20\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://03db0ea752ff200f79292c2922fcb58600e9af6bcebbb8db71d1390d601d46c0\",\"dweb:/ipfs/QmQnQeDVijjnxb3oa1VizL6wvguWXbp5n6JVc7jeGASX1Y\"]},\"project:/contracts/EthereumBridge.sol\":{\"keccak256\":\"0x0f12f5da2c02d3fbd0f11e93d4a48ec590ce840b486a176310002d39d0077da1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2435782ec6d31d31d2a2119c44d6f6c0494abfd614cd075f16e7d8ebed76d50a\",\"dweb:/ipfs/QmZXYdZ6BDeCgZpJmjc465xbwej55m4uMuhDswuGZA7kzV\"]}},\"version\":1}",
|
|
"bytecode": "0x608060405234801561000f575f80fd5b503360015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610aa08061005d5f395ff3fe608060405260043610610049575f3560e01c80631bd31ef61461004d57806388ba16ab14610089578063affc215f146100c5578063e9e33e8b146100e1578063f851a44014610109575b5f80fd5b348015610058575f80fd5b50610073600480360381019061006e9190610426565b610133565b604051610080919061046b565b60405180910390f35b348015610094575f80fd5b506100af60048036038101906100aa9190610426565b610158565b6040516100bc919061046b565b60405180910390f35b6100df60048036038101906100da919061064d565b610174565b005b3480156100ec575f80fd5b50610107600480360381019061010291906106b9565b61022a565b005b348015610114575f80fd5b5061011d610392565b60405161012a919061075b565b60405180910390f35b5f805f8381526020019081526020015f205f9054906101000a900460ff169050919050565b5f602052805f5260405f205f915054906101000a900460ff1681565b8034146101b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad906107ce565b60405180910390fd5b5f42338484876040516020016101d09594939291906108bd565b604051602081830303815290604052805190602001209050807f1e2fd99e146720cc637dc68804d00fec4c8e871519c4f06f7355687d531fed4233848760405161021c9392919061095e565b60405180910390a250505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b0906109e4565b60405180910390fd5b6102c285610133565b15610302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f990610a4c565b60405180910390fd5b61030b856103b7565b8273ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f1935050505015801561034e573d5f803e3d5ffd5b50847f8645342bb16bf17dde1d74c272a01fc207ecbed8572fc58ee8e49574fd8291198484846040516103839392919061095e565b60405180910390a25050505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f808381526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b610405816103f3565b811461040f575f80fd5b50565b5f81359050610420816103fc565b92915050565b5f6020828403121561043b5761043a6103eb565b5b5f61044884828501610412565b91505092915050565b5f8115159050919050565b61046581610451565b82525050565b5f60208201905061047e5f83018461045c565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6104d28261048c565b810181811067ffffffffffffffff821117156104f1576104f061049c565b5b80604052505050565b5f6105036103e2565b905061050f82826104c9565b919050565b5f67ffffffffffffffff82111561052e5761052d61049c565b5b6105378261048c565b9050602081019050919050565b828183375f83830152505050565b5f61056461055f84610514565b6104fa565b9050828152602081018484840111156105805761057f610488565b5b61058b848285610544565b509392505050565b5f82601f8301126105a7576105a6610484565b5b81356105b7848260208601610552565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6105e9826105c0565b9050919050565b6105f9816105df565b8114610603575f80fd5b50565b5f81359050610614816105f0565b92915050565b5f819050919050565b61062c8161061a565b8114610636575f80fd5b50565b5f8135905061064781610623565b92915050565b5f805f60608486031215610664576106636103eb565b5b5f84013567ffffffffffffffff811115610681576106806103ef565b5b61068d86828701610593565b935050602061069e86828701610606565b92505060406106af86828701610639565b9150509250925092565b5f805f805f60a086880312156106d2576106d16103eb565b5b5f6106df88828901610412565b95505060206106f088828901610606565b945050604061070188828901610606565b935050606061071288828901610639565b925050608086013567ffffffffffffffff811115610733576107326103ef565b5b61073f88828901610593565b9150509295509295909350565b610755816105df565b82525050565b5f60208201905061076e5f83018461074c565b92915050565b5f82825260208201905092915050565b7f53656e7420455448206d757374206d617463682074686520616d6f756e7400005f82015250565b5f6107b8601e83610774565b91506107c382610784565b602082019050919050565b5f6020820190508181035f8301526107e5816107ac565b9050919050565b5f819050919050565b6108066108018261061a565b6107ec565b82525050565b5f8160601b9050919050565b5f6108228261080c565b9050919050565b5f61083382610818565b9050919050565b61084b610846826105df565b610829565b82525050565b5f81519050919050565b5f81905092915050565b5f5b83811015610882578082015181840152602081019050610867565b5f8484015250505050565b5f61089782610851565b6108a1818561085b565b93506108b1818560208601610865565b80840191505092915050565b5f6108c882886107f5565b6020820191506108d8828761083a565b6014820191506108e8828661083a565b6014820191506108f882856107f5565b602082019150610908828461088d565b91508190509695505050505050565b6109208161061a565b82525050565b5f61093082610851565b61093a8185610774565b935061094a818560208601610865565b6109538161048c565b840191505092915050565b5f6060820190506109715f83018661074c565b61097e6020830185610917565b81810360408301526109908184610926565b9050949350505050565b7f4f6e6c792061646d696e2063616e2072656365697665206d65737361676573005f82015250565b5f6109ce601f83610774565b91506109d98261099a565b602082019050919050565b5f6020820190508181035f8301526109fb816109c2565b9050919050565b7f4d65737361676520616c72656164792070726f636573736564000000000000005f82015250565b5f610a36601983610774565b9150610a4182610a02565b602082019050919050565b5f6020820190508181035f830152610a6381610a2a565b905091905056fea2646970667358221220e61cc63d933b6c89218a7ca7c3c4aab261406d8e0b397c9a52c69ae6ce6de92a64736f6c63430008150033",
|
|
"deployedBytecode": "0x608060405260043610610049575f3560e01c80631bd31ef61461004d57806388ba16ab14610089578063affc215f146100c5578063e9e33e8b146100e1578063f851a44014610109575b5f80fd5b348015610058575f80fd5b50610073600480360381019061006e9190610426565b610133565b604051610080919061046b565b60405180910390f35b348015610094575f80fd5b506100af60048036038101906100aa9190610426565b610158565b6040516100bc919061046b565b60405180910390f35b6100df60048036038101906100da919061064d565b610174565b005b3480156100ec575f80fd5b50610107600480360381019061010291906106b9565b61022a565b005b348015610114575f80fd5b5061011d610392565b60405161012a919061075b565b60405180910390f35b5f805f8381526020019081526020015f205f9054906101000a900460ff169050919050565b5f602052805f5260405f205f915054906101000a900460ff1681565b8034146101b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad906107ce565b60405180910390fd5b5f42338484876040516020016101d09594939291906108bd565b604051602081830303815290604052805190602001209050807f1e2fd99e146720cc637dc68804d00fec4c8e871519c4f06f7355687d531fed4233848760405161021c9392919061095e565b60405180910390a250505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b0906109e4565b60405180910390fd5b6102c285610133565b15610302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f990610a4c565b60405180910390fd5b61030b856103b7565b8273ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f1935050505015801561034e573d5f803e3d5ffd5b50847f8645342bb16bf17dde1d74c272a01fc207ecbed8572fc58ee8e49574fd8291198484846040516103839392919061095e565b60405180910390a25050505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f808381526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b610405816103f3565b811461040f575f80fd5b50565b5f81359050610420816103fc565b92915050565b5f6020828403121561043b5761043a6103eb565b5b5f61044884828501610412565b91505092915050565b5f8115159050919050565b61046581610451565b82525050565b5f60208201905061047e5f83018461045c565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6104d28261048c565b810181811067ffffffffffffffff821117156104f1576104f061049c565b5b80604052505050565b5f6105036103e2565b905061050f82826104c9565b919050565b5f67ffffffffffffffff82111561052e5761052d61049c565b5b6105378261048c565b9050602081019050919050565b828183375f83830152505050565b5f61056461055f84610514565b6104fa565b9050828152602081018484840111156105805761057f610488565b5b61058b848285610544565b509392505050565b5f82601f8301126105a7576105a6610484565b5b81356105b7848260208601610552565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6105e9826105c0565b9050919050565b6105f9816105df565b8114610603575f80fd5b50565b5f81359050610614816105f0565b92915050565b5f819050919050565b61062c8161061a565b8114610636575f80fd5b50565b5f8135905061064781610623565b92915050565b5f805f60608486031215610664576106636103eb565b5b5f84013567ffffffffffffffff811115610681576106806103ef565b5b61068d86828701610593565b935050602061069e86828701610606565b92505060406106af86828701610639565b9150509250925092565b5f805f805f60a086880312156106d2576106d16103eb565b5b5f6106df88828901610412565b95505060206106f088828901610606565b945050604061070188828901610606565b935050606061071288828901610639565b925050608086013567ffffffffffffffff811115610733576107326103ef565b5b61073f88828901610593565b9150509295509295909350565b610755816105df565b82525050565b5f60208201905061076e5f83018461074c565b92915050565b5f82825260208201905092915050565b7f53656e7420455448206d757374206d617463682074686520616d6f756e7400005f82015250565b5f6107b8601e83610774565b91506107c382610784565b602082019050919050565b5f6020820190508181035f8301526107e5816107ac565b9050919050565b5f819050919050565b6108066108018261061a565b6107ec565b82525050565b5f8160601b9050919050565b5f6108228261080c565b9050919050565b5f61083382610818565b9050919050565b61084b610846826105df565b610829565b82525050565b5f81519050919050565b5f81905092915050565b5f5b83811015610882578082015181840152602081019050610867565b5f8484015250505050565b5f61089782610851565b6108a1818561085b565b93506108b1818560208601610865565b80840191505092915050565b5f6108c882886107f5565b6020820191506108d8828761083a565b6014820191506108e8828661083a565b6014820191506108f882856107f5565b602082019150610908828461088d565b91508190509695505050505050565b6109208161061a565b82525050565b5f61093082610851565b61093a8185610774565b935061094a818560208601610865565b6109538161048c565b840191505092915050565b5f6060820190506109715f83018661074c565b61097e6020830185610917565b81810360408301526109908184610926565b9050949350505050565b7f4f6e6c792061646d696e2063616e2072656365697665206d65737361676573005f82015250565b5f6109ce601f83610774565b91506109d98261099a565b602082019050919050565b5f6020820190508181035f8301526109fb816109c2565b9050919050565b7f4d65737361676520616c72656164792070726f636573736564000000000000005f82015250565b5f610a36601983610774565b9150610a4182610a02565b602082019050919050565b5f6020820190508181035f830152610a6381610a2a565b905091905056fea2646970667358221220e61cc63d933b6c89218a7ca7c3c4aab261406d8e0b397c9a52c69ae6ce6de92a64736f6c63430008150033",
|
|
"immutableReferences": {},
|
|
"generatedSources": [],
|
|
"deployedGeneratedSources": [
|
|
{
|
|
"ast": {
|
|
"nativeSrc": "0:13420:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "0:13420:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "47:35:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "47:35:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "57:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "57:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "73:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "73:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "67:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "67:5:5"
|
|
},
|
|
"nativeSrc": "67:9:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "67:9:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "57:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "57:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "allocate_unbounded",
|
|
"nativeSrc": "7:75:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"returnVariables": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "40:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "40:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7:75:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "177:28:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "177:28:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "194:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "194:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "197:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "197:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "187:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "187:6:5"
|
|
},
|
|
"nativeSrc": "187:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "187:12:5"
|
|
},
|
|
"nativeSrc": "187:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "187:12:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "88:117:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "88:117:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "300:28:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "300:28:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "317:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "317:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "320:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "320:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "310:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "310:6:5"
|
|
},
|
|
"nativeSrc": "310:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "310:12:5"
|
|
},
|
|
"nativeSrc": "310:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "310:12:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
"nativeSrc": "211:117:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "211:117:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "379:32:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "379:32:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "389:16:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "389:16:5",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "400:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "400:5:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "389:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "389:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_bytes32",
|
|
"nativeSrc": "334:77:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "361:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "361:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "371:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "371:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "334:77:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "460:79:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "460:79:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "517:16:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "517:16:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "526:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "526:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "529:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "529:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "519:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "519:6:5"
|
|
},
|
|
"nativeSrc": "519:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "519:12:5"
|
|
},
|
|
"nativeSrc": "519:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "519:12:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "483:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "483:5:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "508:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "508:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_bytes32",
|
|
"nativeSrc": "490:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "490:17:5"
|
|
},
|
|
"nativeSrc": "490:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "490:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "480:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "480:2:5"
|
|
},
|
|
"nativeSrc": "480:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "480:35:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "473:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "473:6:5"
|
|
},
|
|
"nativeSrc": "473:43:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "473:43:5"
|
|
},
|
|
"nativeSrc": "470:63:5",
|
|
"nodeType": "YulIf",
|
|
"src": "470:63:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "validator_revert_t_bytes32",
|
|
"nativeSrc": "417:122:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "453:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "453:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "417:122:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "597:87:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "597:87:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "607:29:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "607:29:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "629:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "629:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "616:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "616:12:5"
|
|
},
|
|
"nativeSrc": "616:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "616:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "607:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "607:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "672:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "672:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "validator_revert_t_bytes32",
|
|
"nativeSrc": "645:26:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "645:26:5"
|
|
},
|
|
"nativeSrc": "645:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "645:33:5"
|
|
},
|
|
"nativeSrc": "645:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "645:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_bytes32",
|
|
"nativeSrc": "545:139:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "575:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "575:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "583:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "583:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "591:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "591:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "545:139:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "756:263:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "756:263:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "802:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "802:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "804:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "804:77:5"
|
|
},
|
|
"nativeSrc": "804:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "804:79:5"
|
|
},
|
|
"nativeSrc": "804:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "804:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "777:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "777:7:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "786:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "786:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "773:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "773:3:5"
|
|
},
|
|
"nativeSrc": "773:23:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "773:23:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "798:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "798:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "769:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "769:3:5"
|
|
},
|
|
"nativeSrc": "769:32:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "769:32:5"
|
|
},
|
|
"nativeSrc": "766:119:5",
|
|
"nodeType": "YulIf",
|
|
"src": "766:119:5"
|
|
},
|
|
{
|
|
"nativeSrc": "895:117:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "895:117:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "910:15:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "910:15:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "924:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "924:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "914:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "914:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "939:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "939:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "974:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "974:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "985:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "985:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "970:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "970:3:5"
|
|
},
|
|
"nativeSrc": "970:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "970:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "994:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "994:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_bytes32",
|
|
"nativeSrc": "949:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "949:20:5"
|
|
},
|
|
"nativeSrc": "949:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "949:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "939:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "939:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_bytes32",
|
|
"nativeSrc": "690:329:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "726:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "726:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "737:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "737:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "749:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "749:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "690:329:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1067:48:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1067:48:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1077:32:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1077:32:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1102:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1102:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "1095:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1095:6:5"
|
|
},
|
|
"nativeSrc": "1095:13:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1095:13:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "1088:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1088:6:5"
|
|
},
|
|
"nativeSrc": "1088:21:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1088:21:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "1077:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1077:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_bool",
|
|
"nativeSrc": "1025:90:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1049:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1049:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "1059:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1059:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1025:90:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1180:50:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1180:50:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1197:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1197:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1217:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1217:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_bool",
|
|
"nativeSrc": "1202:14:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1202:14:5"
|
|
},
|
|
"nativeSrc": "1202:21:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1202:21:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "1190:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1190:6:5"
|
|
},
|
|
"nativeSrc": "1190:34:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1190:34:5"
|
|
},
|
|
"nativeSrc": "1190:34:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1190:34:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_bool_to_t_bool_fromStack",
|
|
"nativeSrc": "1121:109:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1168:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1168:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1175:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1175:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1121:109:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1328:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1328:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1338:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1338:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "1350:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1350:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1361:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1361:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1346:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1346:3:5"
|
|
},
|
|
"nativeSrc": "1346:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1346:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "1338:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1338:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "1412:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1412:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "1425:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1425:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1436:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1436:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1421:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1421:3:5"
|
|
},
|
|
"nativeSrc": "1421:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1421:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_bool_to_t_bool_fromStack",
|
|
"nativeSrc": "1374:37:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1374:37:5"
|
|
},
|
|
"nativeSrc": "1374:65:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1374:65:5"
|
|
},
|
|
"nativeSrc": "1374:65:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1374:65:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
|
|
"nativeSrc": "1236:210:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "1300:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1300:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "1312:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1312:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "1323:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1323:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1236:210:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1541:28:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1541:28:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1558:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1558:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1561:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1561:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "1551:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1551:6:5"
|
|
},
|
|
"nativeSrc": "1551:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1551:12:5"
|
|
},
|
|
"nativeSrc": "1551:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1551:12:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
"nativeSrc": "1452:117:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "1452:117:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1664:28:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1664:28:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1681:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1681:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1684:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1684:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "1674:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1674:6:5"
|
|
},
|
|
"nativeSrc": "1674:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1674:12:5"
|
|
},
|
|
"nativeSrc": "1674:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1674:12:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
|
|
"nativeSrc": "1575:117:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "1575:117:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1746:54:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1746:54:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1756:38:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1756:38:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1774:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1774:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1781:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1781:2:5",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1770:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1770:3:5"
|
|
},
|
|
"nativeSrc": "1770:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1770:14:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1790:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1790:2:5",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "not",
|
|
"nativeSrc": "1786:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1786:3:5"
|
|
},
|
|
"nativeSrc": "1786:7:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1786:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "1766:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1766:3:5"
|
|
},
|
|
"nativeSrc": "1766:28:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1766:28:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "1756:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1756:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "1698:102:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1729:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1729:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "1739:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1739:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1698:102:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1834:152:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1834:152:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1851:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1851:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1854:77:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1854:77:5",
|
|
"type": "",
|
|
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "1844:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1844:6:5"
|
|
},
|
|
"nativeSrc": "1844:88:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1844:88:5"
|
|
},
|
|
"nativeSrc": "1844:88:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1844:88:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1948:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1948:1:5",
|
|
"type": "",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1951:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1951:4:5",
|
|
"type": "",
|
|
"value": "0x41"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "1941:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1941:6:5"
|
|
},
|
|
"nativeSrc": "1941:15:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1941:15:5"
|
|
},
|
|
"nativeSrc": "1941:15:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1941:15:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1972:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1972:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1975:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1975:4:5",
|
|
"type": "",
|
|
"value": "0x24"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "1965:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1965:6:5"
|
|
},
|
|
"nativeSrc": "1965:15:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1965:15:5"
|
|
},
|
|
"nativeSrc": "1965:15:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1965:15:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "1806:180:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "1806:180:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2035:238:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2035:238:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2045:58:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "2045:58:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "2067:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2067:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2097:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2097:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "2075:21:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2075:21:5"
|
|
},
|
|
"nativeSrc": "2075:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2075:27:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2063:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2063:3:5"
|
|
},
|
|
"nativeSrc": "2063:40:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2063:40:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "2049:10:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2049:10:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2214:22:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2214:22:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "2216:16:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2216:16:5"
|
|
},
|
|
"nativeSrc": "2216:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2216:18:5"
|
|
},
|
|
"nativeSrc": "2216:18:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2216:18:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "2157:10:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2157:10:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2169:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2169:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "2154:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2154:2:5"
|
|
},
|
|
"nativeSrc": "2154:34:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2154:34:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "2193:10:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2193:10:5"
|
|
},
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "2205:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2205:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "2190:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2190:2:5"
|
|
},
|
|
"nativeSrc": "2190:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2190:22:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "or",
|
|
"nativeSrc": "2151:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2151:2:5"
|
|
},
|
|
"nativeSrc": "2151:62:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2151:62:5"
|
|
},
|
|
"nativeSrc": "2148:88:5",
|
|
"nodeType": "YulIf",
|
|
"src": "2148:88:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2252:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2252:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
},
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "2256:10:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2256:10:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "2245:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2245:6:5"
|
|
},
|
|
"nativeSrc": "2245:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2245:22:5"
|
|
},
|
|
"nativeSrc": "2245:22:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2245:22:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "finalize_allocation",
|
|
"nativeSrc": "1992:281:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "2021:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2021:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2029:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2029:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1992:281:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2320:88:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2320:88:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2330:30:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2330:30:5",
|
|
"value": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "allocate_unbounded",
|
|
"nativeSrc": "2340:18:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2340:18:5"
|
|
},
|
|
"nativeSrc": "2340:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2340:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "2330:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2330:6:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "2389:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2389:6:5"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2397:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2397:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "finalize_allocation",
|
|
"nativeSrc": "2369:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2369:19:5"
|
|
},
|
|
"nativeSrc": "2369:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2369:33:5"
|
|
},
|
|
"nativeSrc": "2369:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2369:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "allocate_memory",
|
|
"nativeSrc": "2279:129:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2304:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2304:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "2313:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2313:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2279:129:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2481:241:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2481:241:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2586:22:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2586:22:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "2588:16:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2588:16:5"
|
|
},
|
|
"nativeSrc": "2588:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2588:18:5"
|
|
},
|
|
"nativeSrc": "2588:18:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2588:18:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2558:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2558:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2566:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2566:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "2555:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2555:2:5"
|
|
},
|
|
"nativeSrc": "2555:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2555:30:5"
|
|
},
|
|
"nativeSrc": "2552:56:5",
|
|
"nodeType": "YulIf",
|
|
"src": "2552:56:5"
|
|
},
|
|
{
|
|
"nativeSrc": "2618:37:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2618:37:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2648:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2648:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "2626:21:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2626:21:5"
|
|
},
|
|
"nativeSrc": "2626:29:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2626:29:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2618:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2618:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "2692:23:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2692:23:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2704:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2704:4:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2710:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2710:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2700:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2700:3:5"
|
|
},
|
|
"nativeSrc": "2700:15:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2700:15:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2692:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2692:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_allocation_size_t_string_memory_ptr",
|
|
"nativeSrc": "2414:308:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2465:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2465:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "2476:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2476:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2414:308:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2792:82:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2792:82:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "2815:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2815:3:5"
|
|
},
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "2820:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2820:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2825:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2825:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldatacopy",
|
|
"nativeSrc": "2802:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2802:12:5"
|
|
},
|
|
"nativeSrc": "2802:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2802:30:5"
|
|
},
|
|
"nativeSrc": "2802:30:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2802:30:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "2852:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2852:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2857:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2857:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2848:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2848:3:5"
|
|
},
|
|
"nativeSrc": "2848:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2848:16:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2866:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2866:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "2841:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2841:6:5"
|
|
},
|
|
"nativeSrc": "2841:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2841:27:5"
|
|
},
|
|
"nativeSrc": "2841:27:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2841:27:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "copy_calldata_to_memory_with_cleanup",
|
|
"nativeSrc": "2728:146:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "2774:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2774:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "2779:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2779:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2784:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2784:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2728:146:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2964:341:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2964:341:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2974:75:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2974:75:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3041:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3041:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_allocation_size_t_string_memory_ptr",
|
|
"nativeSrc": "2999:41:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2999:41:5"
|
|
},
|
|
"nativeSrc": "2999:49:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2999:49:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "allocate_memory",
|
|
"nativeSrc": "2983:15:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2983:15:5"
|
|
},
|
|
"nativeSrc": "2983:66:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2983:66:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "2974:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2974:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "3065:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3065:5:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3072:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3072:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "3058:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3058:6:5"
|
|
},
|
|
"nativeSrc": "3058:21:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3058:21:5"
|
|
},
|
|
"nativeSrc": "3058:21:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3058:21:5"
|
|
},
|
|
{
|
|
"nativeSrc": "3088:27:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3088:27:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "3103:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3103:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3110:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3110:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3099:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3099:3:5"
|
|
},
|
|
"nativeSrc": "3099:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3099:16:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "3092:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3092:3:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3153:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3153:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
|
|
"nativeSrc": "3155:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3155:77:5"
|
|
},
|
|
"nativeSrc": "3155:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3155:79:5"
|
|
},
|
|
"nativeSrc": "3155:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3155:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "3134:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3134:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3139:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3139:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3130:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3130:3:5"
|
|
},
|
|
"nativeSrc": "3130:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3130:16:5"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "3148:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3148:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "3127:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3127:2:5"
|
|
},
|
|
"nativeSrc": "3127:25:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3127:25:5"
|
|
},
|
|
"nativeSrc": "3124:112:5",
|
|
"nodeType": "YulIf",
|
|
"src": "3124:112:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "3282:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3282:3:5"
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "3287:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3287:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3292:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3292:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_calldata_to_memory_with_cleanup",
|
|
"nativeSrc": "3245:36:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3245:36:5"
|
|
},
|
|
"nativeSrc": "3245:54:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3245:54:5"
|
|
},
|
|
"nativeSrc": "3245:54:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3245:54:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_available_length_t_string_memory_ptr",
|
|
"nativeSrc": "2880:425:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "2937:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2937:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2942:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2942:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "2950:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2950:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "2958:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2958:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2880:425:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3387:278:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3387:278:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3436:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3436:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
"nativeSrc": "3438:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3438:77:5"
|
|
},
|
|
"nativeSrc": "3438:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3438:79:5"
|
|
},
|
|
"nativeSrc": "3438:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3438:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "3415:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3415:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3423:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3423:4:5",
|
|
"type": "",
|
|
"value": "0x1f"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3411:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3411:3:5"
|
|
},
|
|
"nativeSrc": "3411:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3411:17:5"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "3430:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3430:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "3407:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3407:3:5"
|
|
},
|
|
"nativeSrc": "3407:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3407:27:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "3400:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3400:6:5"
|
|
},
|
|
"nativeSrc": "3400:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3400:35:5"
|
|
},
|
|
"nativeSrc": "3397:122:5",
|
|
"nodeType": "YulIf",
|
|
"src": "3397:122:5"
|
|
},
|
|
{
|
|
"nativeSrc": "3528:34:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3528:34:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "3555:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3555:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "3542:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3542:12:5"
|
|
},
|
|
"nativeSrc": "3542:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3542:20:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3532:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3532:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3571:88:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3571:88:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "3632:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3632:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3640:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3640:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3628:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3628:3:5"
|
|
},
|
|
"nativeSrc": "3628:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3628:17:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3647:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3647:6:5"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "3655:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3655:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_available_length_t_string_memory_ptr",
|
|
"nativeSrc": "3580:47:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3580:47:5"
|
|
},
|
|
"nativeSrc": "3580:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3580:79:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "3571:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3571:5:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "3325:340:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "3365:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3365:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "3373:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3373:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "3381:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3381:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3325:340:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3716:81:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3716:81:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "3726:65:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3726:65:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3741:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3741:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3748:42:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3748:42:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "3737:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3737:3:5"
|
|
},
|
|
"nativeSrc": "3737:54:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3737:54:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "3726:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3726:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "3671:126:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3698:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3698:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "3708:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3708:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3671:126:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3848:51:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3848:51:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "3858:35:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3858:35:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3887:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3887:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "3869:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3869:17:5"
|
|
},
|
|
"nativeSrc": "3869:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3869:24:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "3858:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3858:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "3803:96:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3830:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3830:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "3840:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3840:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3803:96:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3948:79:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3948:79:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4005:16:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4005:16:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4014:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4014:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4017:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4017:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "4007:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4007:6:5"
|
|
},
|
|
"nativeSrc": "4007:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4007:12:5"
|
|
},
|
|
"nativeSrc": "4007:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4007:12:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3971:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3971:5:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3996:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3996:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "3978:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3978:17:5"
|
|
},
|
|
"nativeSrc": "3978:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3978:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "3968:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3968:2:5"
|
|
},
|
|
"nativeSrc": "3968:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3968:35:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "3961:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3961:6:5"
|
|
},
|
|
"nativeSrc": "3961:43:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3961:43:5"
|
|
},
|
|
"nativeSrc": "3958:63:5",
|
|
"nodeType": "YulIf",
|
|
"src": "3958:63:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "validator_revert_t_address",
|
|
"nativeSrc": "3905:122:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3941:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3941:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3905:122:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4085:87:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4085:87:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4095:29:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4095:29:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4117:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4117:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "4104:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4104:12:5"
|
|
},
|
|
"nativeSrc": "4104:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4104:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4095:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4095:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4160:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4160:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "validator_revert_t_address",
|
|
"nativeSrc": "4133:26:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4133:26:5"
|
|
},
|
|
"nativeSrc": "4133:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4133:33:5"
|
|
},
|
|
"nativeSrc": "4133:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4133:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "4033:139:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4063:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4063:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "4071:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4071:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4079:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4079:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4033:139:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4223:32:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4223:32:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4233:16:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4233:16:5",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "4244:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4244:5:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "4233:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4233:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "4178:77:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4205:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4205:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "4215:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4215:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4178:77:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4304:79:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4304:79:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4361:16:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4361:16:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4370:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4370:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4373:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4373:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "4363:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4363:6:5"
|
|
},
|
|
"nativeSrc": "4363:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4363:12:5"
|
|
},
|
|
"nativeSrc": "4363:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4363:12:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4327:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4327:5:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4352:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4352:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "4334:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4334:17:5"
|
|
},
|
|
"nativeSrc": "4334:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4334:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "4324:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4324:2:5"
|
|
},
|
|
"nativeSrc": "4324:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4324:35:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "4317:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4317:6:5"
|
|
},
|
|
"nativeSrc": "4317:43:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4317:43:5"
|
|
},
|
|
"nativeSrc": "4314:63:5",
|
|
"nodeType": "YulIf",
|
|
"src": "4314:63:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "validator_revert_t_uint256",
|
|
"nativeSrc": "4261:122:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4297:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4297:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4261:122:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4441:87:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4441:87:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4451:29:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4451:29:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4473:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4473:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "4460:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4460:12:5"
|
|
},
|
|
"nativeSrc": "4460:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4460:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4451:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4451:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4516:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4516:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "validator_revert_t_uint256",
|
|
"nativeSrc": "4489:26:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4489:26:5"
|
|
},
|
|
"nativeSrc": "4489:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4489:33:5"
|
|
},
|
|
"nativeSrc": "4489:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4489:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_uint256",
|
|
"nativeSrc": "4389:139:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4419:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4419:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "4427:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4427:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4435:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4435:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4389:139:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4644:689:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4644:689:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4690:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4690:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "4692:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4692:77:5"
|
|
},
|
|
"nativeSrc": "4692:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4692:79:5"
|
|
},
|
|
"nativeSrc": "4692:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4692:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "4665:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4665:7:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "4674:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4674:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "4661:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4661:3:5"
|
|
},
|
|
"nativeSrc": "4661:23:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4661:23:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4686:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4686:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "4657:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4657:3:5"
|
|
},
|
|
"nativeSrc": "4657:32:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4657:32:5"
|
|
},
|
|
"nativeSrc": "4654:119:5",
|
|
"nodeType": "YulIf",
|
|
"src": "4654:119:5"
|
|
},
|
|
{
|
|
"nativeSrc": "4783:287:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4783:287:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4798:45:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "4798:45:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "4829:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4829:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4840:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4840:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "4825:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4825:3:5"
|
|
},
|
|
"nativeSrc": "4825:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4825:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "4812:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4812:12:5"
|
|
},
|
|
"nativeSrc": "4812:31:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4812:31:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4802:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4802:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4890:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4890:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
"nativeSrc": "4892:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4892:77:5"
|
|
},
|
|
"nativeSrc": "4892:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4892:79:5"
|
|
},
|
|
"nativeSrc": "4892:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4892:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4862:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4862:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4870:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4870:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "4859:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4859:2:5"
|
|
},
|
|
"nativeSrc": "4859:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4859:30:5"
|
|
},
|
|
"nativeSrc": "4856:117:5",
|
|
"nodeType": "YulIf",
|
|
"src": "4856:117:5"
|
|
},
|
|
{
|
|
"nativeSrc": "4987:73:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4987:73:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5032:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5032:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5043:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5043:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5028:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5028:3:5"
|
|
},
|
|
"nativeSrc": "5028:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5028:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5052:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5052:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "4997:30:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4997:30:5"
|
|
},
|
|
"nativeSrc": "4997:63:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4997:63:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "4987:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4987:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5080:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5080:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5095:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "5095:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "5109:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5109:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5099:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5099:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5125:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5125:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5160:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5160:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5171:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5171:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5156:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5156:3:5"
|
|
},
|
|
"nativeSrc": "5156:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5156:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5180:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5180:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "5135:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5135:20:5"
|
|
},
|
|
"nativeSrc": "5135:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5135:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "5125:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5125:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5208:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5208:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5223:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "5223:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "5237:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5237:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5227:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5227:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5253:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5253:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5288:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5288:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5299:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5299:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5284:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5284:3:5"
|
|
},
|
|
"nativeSrc": "5284:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5284:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5308:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5308:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_uint256",
|
|
"nativeSrc": "5263:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5263:20:5"
|
|
},
|
|
"nativeSrc": "5263:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5263:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "5253:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5253:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_string_memory_ptrt_addresst_uint256",
|
|
"nativeSrc": "4534:799:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "4598:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4598:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "4609:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4609:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "4621:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4621:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "4629:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4629:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "4637:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4637:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4534:799:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5483:947:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5483:947:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5530:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5530:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "5532:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5532:77:5"
|
|
},
|
|
"nativeSrc": "5532:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5532:79:5"
|
|
},
|
|
"nativeSrc": "5532:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5532:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5504:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5504:7:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5513:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5513:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "5500:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5500:3:5"
|
|
},
|
|
"nativeSrc": "5500:23:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5500:23:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5525:3:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5525:3:5",
|
|
"type": "",
|
|
"value": "160"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "5496:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5496:3:5"
|
|
},
|
|
"nativeSrc": "5496:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5496:33:5"
|
|
},
|
|
"nativeSrc": "5493:120:5",
|
|
"nodeType": "YulIf",
|
|
"src": "5493:120:5"
|
|
},
|
|
{
|
|
"nativeSrc": "5623:117:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5623:117:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5638:15:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "5638:15:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "5652:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5652:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5642:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5642:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5667:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5667:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5702:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5702:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5713:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5713:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5698:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5698:3:5"
|
|
},
|
|
"nativeSrc": "5698:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5698:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5722:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5722:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_bytes32",
|
|
"nativeSrc": "5677:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5677:20:5"
|
|
},
|
|
"nativeSrc": "5677:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5677:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "5667:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5667:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5750:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5750:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5765:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "5765:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "5779:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5779:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5769:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5769:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5795:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5795:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5830:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5830:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5841:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5841:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5826:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5826:3:5"
|
|
},
|
|
"nativeSrc": "5826:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5826:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5850:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5850:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "5805:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5805:20:5"
|
|
},
|
|
"nativeSrc": "5805:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5805:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "5795:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5795:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5878:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5878:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5893:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "5893:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "5907:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5907:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5897:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5897:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5923:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5923:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5958:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5958:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5969:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5969:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5954:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5954:3:5"
|
|
},
|
|
"nativeSrc": "5954:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5954:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5978:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5978:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "5933:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5933:20:5"
|
|
},
|
|
"nativeSrc": "5933:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5933:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "5923:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5923:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6006:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6006:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6021:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6021:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "6035:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6035:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6025:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6025:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6051:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6051:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6086:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6086:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6097:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6097:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6082:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6082:3:5"
|
|
},
|
|
"nativeSrc": "6082:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6082:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6106:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6106:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_uint256",
|
|
"nativeSrc": "6061:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6061:20:5"
|
|
},
|
|
"nativeSrc": "6061:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6061:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "6051:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6051:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6134:289:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6134:289:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6149:47:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6149:47:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6180:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6180:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6191:3:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6191:3:5",
|
|
"type": "",
|
|
"value": "128"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6176:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6176:3:5"
|
|
},
|
|
"nativeSrc": "6176:19:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6176:19:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "6163:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6163:12:5"
|
|
},
|
|
"nativeSrc": "6163:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6163:33:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6153:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6153:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6243:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6243:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
"nativeSrc": "6245:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6245:77:5"
|
|
},
|
|
"nativeSrc": "6245:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6245:79:5"
|
|
},
|
|
"nativeSrc": "6245:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6245:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6215:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6215:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6223:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6223:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "6212:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6212:2:5"
|
|
},
|
|
"nativeSrc": "6212:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6212:30:5"
|
|
},
|
|
"nativeSrc": "6209:117:5",
|
|
"nodeType": "YulIf",
|
|
"src": "6209:117:5"
|
|
},
|
|
{
|
|
"nativeSrc": "6340:73:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6340:73:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6385:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6385:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6396:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6396:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6381:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6381:3:5"
|
|
},
|
|
"nativeSrc": "6381:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6381:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6405:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6405:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "6350:30:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6350:30:5"
|
|
},
|
|
"nativeSrc": "6350:63:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6350:63:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "6340:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6340:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_bytes32t_addresst_addresst_uint256t_string_memory_ptr",
|
|
"nativeSrc": "5339:1091:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5421:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5421:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5432:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5432:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "5444:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5444:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "5452:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5452:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "5460:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5460:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "5468:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5468:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "5476:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5476:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5339:1091:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6501:53:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6501:53:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "6518:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6518:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "6541:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6541:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "6523:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6523:17:5"
|
|
},
|
|
"nativeSrc": "6523:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6523:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "6511:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6511:6:5"
|
|
},
|
|
"nativeSrc": "6511:37:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6511:37:5"
|
|
},
|
|
"nativeSrc": "6511:37:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6511:37:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "6436:118:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "6489:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6489:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "6496:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6496:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "6436:118:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6658:124:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6658:124:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6668:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6668:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6680:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6680:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6691:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6691:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6676:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6676:3:5"
|
|
},
|
|
"nativeSrc": "6676:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6676:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "6668:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6668:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "6748:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6748:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6761:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6761:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6772:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6772:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6757:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6757:3:5"
|
|
},
|
|
"nativeSrc": "6757:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6757:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "6704:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6704:43:5"
|
|
},
|
|
"nativeSrc": "6704:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6704:71:5"
|
|
},
|
|
"nativeSrc": "6704:71:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6704:71:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
|
|
"nativeSrc": "6560:222:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6630:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6630:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "6642:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6642:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "6653:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6653:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "6560:222:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6884:73:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6884:73:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "6901:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6901:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6906:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6906:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "6894:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6894:6:5"
|
|
},
|
|
"nativeSrc": "6894:19:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6894:19:5"
|
|
},
|
|
"nativeSrc": "6894:19:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6894:19:5"
|
|
},
|
|
{
|
|
"nativeSrc": "6922:29:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6922:29:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "6941:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6941:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6946:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6946:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6937:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6937:3:5"
|
|
},
|
|
"nativeSrc": "6937:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6937:14:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "6922:11:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6922:11:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "6788:169:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "6856:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6856:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6861:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6861:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "6872:11:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6872:11:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "6788:169:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7069:74:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7069:74:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "7091:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7091:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7099:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7099:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7087:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7087:3:5"
|
|
},
|
|
"nativeSrc": "7087:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7087:14:5"
|
|
},
|
|
{
|
|
"hexValue": "53656e7420455448206d757374206d617463682074686520616d6f756e74",
|
|
"kind": "string",
|
|
"nativeSrc": "7103:32:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7103:32:5",
|
|
"type": "",
|
|
"value": "Sent ETH must match the amount"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7080:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7080:6:5"
|
|
},
|
|
"nativeSrc": "7080:56:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7080:56:5"
|
|
},
|
|
"nativeSrc": "7080:56:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7080:56:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "store_literal_in_memory_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76",
|
|
"nativeSrc": "6963:180:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "7061:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7061:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "6963:180:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7295:220:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7295:220:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7305:74:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7305:74:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7371:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7371:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7376:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7376:2:5",
|
|
"type": "",
|
|
"value": "30"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "7312:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7312:58:5"
|
|
},
|
|
"nativeSrc": "7312:67:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7312:67:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7305:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7305:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7477:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7477:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "store_literal_in_memory_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76",
|
|
"nativeSrc": "7388:88:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7388:88:5"
|
|
},
|
|
"nativeSrc": "7388:93:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7388:93:5"
|
|
},
|
|
"nativeSrc": "7388:93:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7388:93:5"
|
|
},
|
|
{
|
|
"nativeSrc": "7490:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7490:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7501:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7501:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7506:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7506:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7497:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7497:3:5"
|
|
},
|
|
"nativeSrc": "7497:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7497:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "7490:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7490:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_stringliteral_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "7149:366:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7283:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7283:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "7291:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7291:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7149:366:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7692:248:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7692:248:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7702:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7702:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7714:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7714:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7725:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7725:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7710:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7710:3:5"
|
|
},
|
|
"nativeSrc": "7710:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7710:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7702:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7702:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7749:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7749:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7760:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7760:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7745:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7745:3:5"
|
|
},
|
|
"nativeSrc": "7745:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7745:17:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7768:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7768:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7774:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7774:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "7764:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7764:3:5"
|
|
},
|
|
"nativeSrc": "7764:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7764:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7738:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7738:6:5"
|
|
},
|
|
"nativeSrc": "7738:47:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7738:47:5"
|
|
},
|
|
"nativeSrc": "7738:47:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7738:47:5"
|
|
},
|
|
{
|
|
"nativeSrc": "7794:139:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7794:139:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7928:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7928:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_stringliteral_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "7802:124:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7802:124:5"
|
|
},
|
|
"nativeSrc": "7802:131:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7802:131:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7794:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7794:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_stringliteral_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76__to_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "7521:419:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7672:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7672:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7687:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7687:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7521:419:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7993:32:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7993:32:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8003:16:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8003:16:5",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "8014:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8014:5:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "8003:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8003:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "leftAlign_t_uint256",
|
|
"nativeSrc": "7946:79:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "7975:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7975:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "7985:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7985:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7946:79:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8114:74:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8114:74:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "8131:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8131:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8174:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8174:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "8156:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8156:17:5"
|
|
},
|
|
"nativeSrc": "8156:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8156:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "leftAlign_t_uint256",
|
|
"nativeSrc": "8136:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8136:19:5"
|
|
},
|
|
"nativeSrc": "8136:45:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8136:45:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "8124:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8124:6:5"
|
|
},
|
|
"nativeSrc": "8124:58:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8124:58:5"
|
|
},
|
|
"nativeSrc": "8124:58:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8124:58:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "8031:157:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8102:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8102:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "8109:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8109:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8031:157:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8236:52:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8236:52:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8246:35:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8246:35:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8271:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8271:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8275:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8275:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shl",
|
|
"nativeSrc": "8267:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8267:3:5"
|
|
},
|
|
"nativeSrc": "8267:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8267:14:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "8246:8:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8246:8:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "shift_left_96",
|
|
"nativeSrc": "8194:94:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8217:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8217:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "8227:8:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8227:8:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8194:94:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8341:47:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8341:47:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8351:31:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8351:31:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8376:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8376:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shift_left_96",
|
|
"nativeSrc": "8362:13:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8362:13:5"
|
|
},
|
|
"nativeSrc": "8362:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8362:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "8351:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8351:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "leftAlign_t_uint160",
|
|
"nativeSrc": "8294:94:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8323:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8323:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "8333:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8333:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8294:94:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8441:53:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8441:53:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8451:37:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8451:37:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8482:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8482:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "leftAlign_t_uint160",
|
|
"nativeSrc": "8462:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8462:19:5"
|
|
},
|
|
"nativeSrc": "8462:26:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8462:26:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "8451:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8451:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "leftAlign_t_address",
|
|
"nativeSrc": "8394:100:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8423:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8423:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "8433:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8433:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8394:100:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8583:74:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8583:74:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "8600:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8600:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8643:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8643:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "8625:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8625:17:5"
|
|
},
|
|
"nativeSrc": "8625:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8625:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "leftAlign_t_address",
|
|
"nativeSrc": "8605:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8605:19:5"
|
|
},
|
|
"nativeSrc": "8605:45:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8605:45:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "8593:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8593:6:5"
|
|
},
|
|
"nativeSrc": "8593:58:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8593:58:5"
|
|
},
|
|
"nativeSrc": "8593:58:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8593:58:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "8500:157:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8571:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8571:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "8578:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8578:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8500:157:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8722:40:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8722:40:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8733:22:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8733:22:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8749:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8749:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "8743:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8743:5:5"
|
|
},
|
|
"nativeSrc": "8743:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8743:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "8733:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8733:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "8663:99:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8705:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8705:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "8715:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8715:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8663:99:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8882:34:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8882:34:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8892:18:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8892:18:5",
|
|
"value": {
|
|
"name": "pos",
|
|
"nativeSrc": "8907:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8907:3:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "8892:11:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8892:11:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "8768:148:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "8854:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8854:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "8859:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8859:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "8870:11:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8870:11:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8768:148:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8984:184:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8984:184:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8994:10:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "8994:10:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "9003:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9003:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "8998:1:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8998:1:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9063:63:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9063:63:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "9088:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9088:3:5"
|
|
},
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "9093:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9093:1:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9084:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9084:3:5"
|
|
},
|
|
"nativeSrc": "9084:11:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9084:11:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "9107:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9107:3:5"
|
|
},
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "9112:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9112:1:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9103:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9103:3:5"
|
|
},
|
|
"nativeSrc": "9103:11:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9103:11:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "9097:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9097:5:5"
|
|
},
|
|
"nativeSrc": "9097:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9097:18:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "9077:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9077:6:5"
|
|
},
|
|
"nativeSrc": "9077:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9077:39:5"
|
|
},
|
|
"nativeSrc": "9077:39:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9077:39:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "9024:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9024:1:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "9027:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9027:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "9021:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9021:2:5"
|
|
},
|
|
"nativeSrc": "9021:13:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9021:13:5"
|
|
},
|
|
"nativeSrc": "9013:113:5",
|
|
"nodeType": "YulForLoop",
|
|
"post": {
|
|
"nativeSrc": "9035:19:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9035:19:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9037:15:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9037:15:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "9046:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9046:1:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9049:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9049:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9042:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9042:3:5"
|
|
},
|
|
"nativeSrc": "9042:10:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9042:10:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "9037:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9037:1:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"pre": {
|
|
"nativeSrc": "9017:3:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9017:3:5",
|
|
"statements": []
|
|
},
|
|
"src": "9013:113:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "9146:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9146:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "9151:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9151:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9142:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9142:3:5"
|
|
},
|
|
"nativeSrc": "9142:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9142:16:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9160:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9160:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "9135:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9135:6:5"
|
|
},
|
|
"nativeSrc": "9135:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9135:27:5"
|
|
},
|
|
"nativeSrc": "9135:27:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9135:27:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "8922:246:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "8966:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8966:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "8971:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8971:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "8976:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8976:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8922:246:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9284:280:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9284:280:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9294:53:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "9294:53:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "9341:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9341:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "9308:32:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9308:32:5"
|
|
},
|
|
"nativeSrc": "9308:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9308:39:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "9298:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9298:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "9356:96:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9356:96:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9440:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9440:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "9445:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9445:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "9363:76:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9363:76:5"
|
|
},
|
|
"nativeSrc": "9363:89:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9363:89:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9356:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9356:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "9500:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9500:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9507:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9507:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9496:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9496:3:5"
|
|
},
|
|
"nativeSrc": "9496:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9496:16:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9514:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9514:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "9519:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9519:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "9461:34:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9461:34:5"
|
|
},
|
|
"nativeSrc": "9461:65:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9461:65:5"
|
|
},
|
|
"nativeSrc": "9461:65:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9461:65:5"
|
|
},
|
|
{
|
|
"nativeSrc": "9535:23:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9535:23:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9546:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9546:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "9551:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9551:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9542:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9542:3:5"
|
|
},
|
|
"nativeSrc": "9542:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9542:16:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "9535:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9535:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "9174:390:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "9265:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9265:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9272:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9272:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "9280:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9280:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9174:390:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9818:591:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9818:591:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "9891:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9891:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9900:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9900:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "9829:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9829:61:5"
|
|
},
|
|
"nativeSrc": "9829:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9829:75:5"
|
|
},
|
|
"nativeSrc": "9829:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9829:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "9913:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9913:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9924:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9924:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9929:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9929:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9920:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9920:3:5"
|
|
},
|
|
"nativeSrc": "9920:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9920:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9913:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9913:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "10004:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10004:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10013:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10013:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "9942:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9942:61:5"
|
|
},
|
|
"nativeSrc": "9942:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9942:75:5"
|
|
},
|
|
"nativeSrc": "9942:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9942:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "10026:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10026:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10037:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10037:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10042:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10042:2:5",
|
|
"type": "",
|
|
"value": "20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "10033:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10033:3:5"
|
|
},
|
|
"nativeSrc": "10033:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10033:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10026:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10026:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "10117:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10117:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10126:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10126:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "10055:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10055:61:5"
|
|
},
|
|
"nativeSrc": "10055:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10055:75:5"
|
|
},
|
|
"nativeSrc": "10055:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "10055:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "10139:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10139:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10150:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10150:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10155:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10155:2:5",
|
|
"type": "",
|
|
"value": "20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "10146:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10146:3:5"
|
|
},
|
|
"nativeSrc": "10146:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10146:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10139:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10139:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "10230:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10230:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10239:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10239:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "10168:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10168:61:5"
|
|
},
|
|
"nativeSrc": "10168:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10168:75:5"
|
|
},
|
|
"nativeSrc": "10168:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "10168:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "10252:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10252:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10263:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10263:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10268:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10268:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "10259:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10259:3:5"
|
|
},
|
|
"nativeSrc": "10259:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10259:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10252:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10252:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "10281:102:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10281:102:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "10370:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10370:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10379:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10379:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "10288:81:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10288:81:5"
|
|
},
|
|
"nativeSrc": "10288:95:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10288:95:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10281:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10281:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "10393:10:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10393:10:5",
|
|
"value": {
|
|
"name": "pos",
|
|
"nativeSrc": "10400:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10400:3:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "10393:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10393:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_packed_t_uint256_t_address_t_address_t_uint256_t_string_memory_ptr__to_t_uint256_t_address_t_address_t_uint256_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed",
|
|
"nativeSrc": "9570:839:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9765:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9765:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "9771:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9771:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "9779:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9779:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "9787:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9787:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "9795:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9795:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "9803:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9803:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "9814:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9814:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9570:839:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10480:53:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10480:53:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10497:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10497:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10520:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10520:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "10502:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10502:17:5"
|
|
},
|
|
"nativeSrc": "10502:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10502:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "10490:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10490:6:5"
|
|
},
|
|
"nativeSrc": "10490:37:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10490:37:5"
|
|
},
|
|
"nativeSrc": "10490:37:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "10490:37:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
"nativeSrc": "10415:118:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10468:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10468:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10475:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10475:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10415:118:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10631:285:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10631:285:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10641:53:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "10641:53:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10688:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10688:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "10655:32:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10655:32:5"
|
|
},
|
|
"nativeSrc": "10655:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10655:39:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "10645:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10645:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "10703:78:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10703:78:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10769:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10769:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "10774:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10774:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "10710:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10710:58:5"
|
|
},
|
|
"nativeSrc": "10710:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10710:71:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10703:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10703:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10829:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10829:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10836:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10836:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "10825:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10825:3:5"
|
|
},
|
|
"nativeSrc": "10825:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10825:16:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10843:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10843:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "10848:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10848:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "10790:34:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10790:34:5"
|
|
},
|
|
"nativeSrc": "10790:65:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10790:65:5"
|
|
},
|
|
"nativeSrc": "10790:65:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "10790:65:5"
|
|
},
|
|
{
|
|
"nativeSrc": "10864:46:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10864:46:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10875:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10875:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "10902:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10902:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "10880:21:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10880:21:5"
|
|
},
|
|
"nativeSrc": "10880:29:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10880:29:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "10871:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10871:3:5"
|
|
},
|
|
"nativeSrc": "10871:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10871:39:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "10864:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10864:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "10539:377:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10612:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10612:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10619:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10619:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "10627:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10627:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10539:377:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11096:359:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11096:359:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11106:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11106:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "11118:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11118:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11129:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11129:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11114:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11114:3:5"
|
|
},
|
|
"nativeSrc": "11114:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11114:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "11106:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11106:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "11186:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11186:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "11199:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11199:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11210:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11210:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11195:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11195:3:5"
|
|
},
|
|
"nativeSrc": "11195:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11195:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "11142:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11142:43:5"
|
|
},
|
|
"nativeSrc": "11142:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11142:71:5"
|
|
},
|
|
"nativeSrc": "11142:71:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11142:71:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "11267:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11267:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "11280:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11280:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11291:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11291:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11276:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11276:3:5"
|
|
},
|
|
"nativeSrc": "11276:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11276:18:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
"nativeSrc": "11223:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11223:43:5"
|
|
},
|
|
"nativeSrc": "11223:72:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11223:72:5"
|
|
},
|
|
"nativeSrc": "11223:72:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11223:72:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "11316:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11316:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11327:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11327:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11312:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11312:3:5"
|
|
},
|
|
"nativeSrc": "11312:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11312:18:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "11336:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11336:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "11342:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11342:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "11332:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11332:3:5"
|
|
},
|
|
"nativeSrc": "11332:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11332:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "11305:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11305:6:5"
|
|
},
|
|
"nativeSrc": "11305:48:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11305:48:5"
|
|
},
|
|
"nativeSrc": "11305:48:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11305:48:5"
|
|
},
|
|
{
|
|
"nativeSrc": "11362:86:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11362:86:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "11434:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11434:6:5"
|
|
},
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "11443:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11443:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "11370:63:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11370:63:5"
|
|
},
|
|
"nativeSrc": "11370:78:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11370:78:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "11362:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11362:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_address_t_uint256_t_string_memory_ptr__to_t_address_t_uint256_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "10922:533:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "11052:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11052:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "11064:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11064:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "11072:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11072:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "11080:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11080:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "11091:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11091:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10922:533:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11567:75:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11567:75:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "11589:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11589:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11597:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11597:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11585:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11585:3:5"
|
|
},
|
|
"nativeSrc": "11585:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11585:14:5"
|
|
},
|
|
{
|
|
"hexValue": "4f6e6c792061646d696e2063616e2072656365697665206d65737361676573",
|
|
"kind": "string",
|
|
"nativeSrc": "11601:33:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11601:33:5",
|
|
"type": "",
|
|
"value": "Only admin can receive messages"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "11578:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11578:6:5"
|
|
},
|
|
"nativeSrc": "11578:57:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11578:57:5"
|
|
},
|
|
"nativeSrc": "11578:57:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11578:57:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "store_literal_in_memory_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532",
|
|
"nativeSrc": "11461:181:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "11559:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11559:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "11461:181:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11794:220:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11794:220:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11804:74:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11804:74:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11870:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11870:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11875:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11875:2:5",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "11811:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11811:58:5"
|
|
},
|
|
"nativeSrc": "11811:67:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11811:67:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11804:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11804:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11976:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11976:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "store_literal_in_memory_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532",
|
|
"nativeSrc": "11887:88:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11887:88:5"
|
|
},
|
|
"nativeSrc": "11887:93:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11887:93:5"
|
|
},
|
|
"nativeSrc": "11887:93:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11887:93:5"
|
|
},
|
|
{
|
|
"nativeSrc": "11989:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11989:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12000:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12000:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12005:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12005:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11996:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11996:3:5"
|
|
},
|
|
"nativeSrc": "11996:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11996:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "11989:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11989:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "11648:366:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11782:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11782:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "11790:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11790:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "11648:366:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12191:248:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "12191:248:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "12201:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12201:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "12213:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12213:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12224:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12224:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12209:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12209:3:5"
|
|
},
|
|
"nativeSrc": "12209:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12209:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "12201:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12201:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "12248:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12248:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12259:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12259:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12244:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12244:3:5"
|
|
},
|
|
"nativeSrc": "12244:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12244:17:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "12267:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12267:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "12273:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12273:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "12263:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12263:3:5"
|
|
},
|
|
"nativeSrc": "12263:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12263:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "12237:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12237:6:5"
|
|
},
|
|
"nativeSrc": "12237:47:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12237:47:5"
|
|
},
|
|
"nativeSrc": "12237:47:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12237:47:5"
|
|
},
|
|
{
|
|
"nativeSrc": "12293:139:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12293:139:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "12427:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12427:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12301:124:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12301:124:5"
|
|
},
|
|
"nativeSrc": "12301:131:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12301:131:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "12293:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12293:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532__to_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "12020:419:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "12171:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12171:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "12186:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12186:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12020:419:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12551:69:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "12551:69:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "12573:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12573:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12581:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12581:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12569:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12569:3:5"
|
|
},
|
|
"nativeSrc": "12569:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12569:14:5"
|
|
},
|
|
{
|
|
"hexValue": "4d65737361676520616c72656164792070726f636573736564",
|
|
"kind": "string",
|
|
"nativeSrc": "12585:27:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12585:27:5",
|
|
"type": "",
|
|
"value": "Message already processed"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "12562:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12562:6:5"
|
|
},
|
|
"nativeSrc": "12562:51:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12562:51:5"
|
|
},
|
|
"nativeSrc": "12562:51:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12562:51:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "store_literal_in_memory_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc",
|
|
"nativeSrc": "12445:175:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "12543:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12543:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12445:175:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12772:220:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "12772:220:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "12782:74:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12782:74:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12848:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12848:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12853:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12853:2:5",
|
|
"type": "",
|
|
"value": "25"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12789:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12789:58:5"
|
|
},
|
|
"nativeSrc": "12789:67:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12789:67:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12782:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12782:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12954:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12954:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "store_literal_in_memory_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc",
|
|
"nativeSrc": "12865:88:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12865:88:5"
|
|
},
|
|
"nativeSrc": "12865:93:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12865:93:5"
|
|
},
|
|
"nativeSrc": "12865:93:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12865:93:5"
|
|
},
|
|
{
|
|
"nativeSrc": "12967:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12967:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12978:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12978:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12983:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12983:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12974:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12974:3:5"
|
|
},
|
|
"nativeSrc": "12974:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12974:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "12967:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12967:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12626:366:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12760:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12760:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "12768:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12768:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12626:366:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "13169:248:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "13169:248:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "13179:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13179:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13191:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13191:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13202:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13202:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13187:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13187:3:5"
|
|
},
|
|
"nativeSrc": "13187:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13187:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13179:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13179:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13226:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13226:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13237:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13237:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13222:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13222:3:5"
|
|
},
|
|
"nativeSrc": "13222:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13222:17:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13245:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13245:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13251:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13251:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "13241:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13241:3:5"
|
|
},
|
|
"nativeSrc": "13241:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13241:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "13215:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13215:6:5"
|
|
},
|
|
"nativeSrc": "13215:47:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13215:47:5"
|
|
},
|
|
"nativeSrc": "13215:47:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "13215:47:5"
|
|
},
|
|
{
|
|
"nativeSrc": "13271:139:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13271:139:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13405:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13405:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "13279:124:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13279:124:5"
|
|
},
|
|
"nativeSrc": "13279:131:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13279:131:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13271:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13271:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc__to_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "12998:419:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13149:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13149:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13164:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13164:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12998:419:5"
|
|
}
|
|
]
|
|
},
|
|
"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_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_bytes32(value) {\n if iszero(eq(value, cleanup_t_bytes32(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bytes32(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_bytes32(value)\n }\n\n function abi_decode_tuple_t_bytes32(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_bytes32(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function 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_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_calldata_to_memory_with_cleanup(src, dst, length) {\n calldatacopy(dst, src, length)\n mstore(add(dst, length), 0)\n }\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory_with_cleanup(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function 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 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 abi_decode_tuple_t_string_memory_ptrt_addresst_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n 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 function abi_decode_tuple_t_bytes32t_addresst_addresst_uint256t_string_memory_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4 {\n if slt(sub(dataEnd, headStart), 160) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_bytes32(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_uint256(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 := abi_decode_t_string_memory_ptr(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_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_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76(memPtr) {\n\n mstore(add(memPtr, 0), \"Sent ETH must match the amount\")\n\n }\n\n function abi_encode_t_stringliteral_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 30)\n store_literal_in_memory_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76__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_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function leftAlign_t_uint256(value) -> aligned {\n aligned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack(value, pos) {\n mstore(pos, leftAlign_t_uint256(cleanup_t_uint256(value)))\n }\n\n function shift_left_96(value) -> newValue {\n newValue :=\n\n shl(96, value)\n\n }\n\n function leftAlign_t_uint160(value) -> aligned {\n aligned := shift_left_96(value)\n }\n\n function leftAlign_t_address(value) -> aligned {\n aligned := leftAlign_t_uint160(value)\n }\n\n function abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack(value, pos) {\n mstore(pos, leftAlign_t_address(cleanup_t_address(value)))\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_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 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 function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_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_uint256_t_address_t_address_t_uint256_t_string_memory_ptr__to_t_uint256_t_address_t_address_t_uint256_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value4, value3, value2, value1, value0) -> end {\n\n abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack(value0, pos)\n pos := add(pos, 32)\n\n abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack(value1, pos)\n pos := add(pos, 20)\n\n abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack(value2, pos)\n pos := add(pos, 20)\n\n abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack(value3, pos)\n pos := add(pos, 32)\n\n pos := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value4, pos)\n\n end := pos\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_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_address_t_uint256_t_string_memory_ptr__to_t_address_t_uint256_t_string_memory_ptr__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 mstore(add(headStart, 64), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value2, tail)\n\n }\n\n function store_literal_in_memory_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532(memPtr) {\n\n mstore(add(memPtr, 0), \"Only admin can receive messages\")\n\n }\n\n function abi_encode_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532__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_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc(memPtr) {\n\n mstore(add(memPtr, 0), \"Message already processed\")\n\n }\n\n function abi_encode_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 25)\n store_literal_in_memory_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc__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_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n",
|
|
"id": 5,
|
|
"language": "Yul",
|
|
"name": "#utility.yul"
|
|
}
|
|
],
|
|
"sourceMap": "85:1013:3:-:0;;;160:49;;;;;;;;;;192:10;184:5;;:18;;;;;;;;;;;;;;;;;;85:1013;;;;;;",
|
|
"deployedSourceMap": "85:1013:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;792:126:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131:49;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;219:391:3;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;620:476;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;129:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;792:126:2;860:4;883:17;:28;901:9;883:28;;;;;;;;;;;;;;;;;;;;;876:35;;792:126;;;:::o;131:49::-;;;;;;;;;;;;;;;;;;;;;;:::o;219:391:3:-;364:6;351:9;:19;343:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;415:17;462:15;479:10;491:9;502:6;510:16;445:82;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;435:93;;;;;;415:113;;555:9;543:60;566:10;578:6;586:16;543:60;;;;;;;;:::i;:::-;;;;;;;;333:277;219:391;;;:::o;620:476::-;791:5;;;;;;;;;;;777:19;;:10;:19;;;769:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;851:29;870:9;851:18;:29::i;:::-;850:30;842:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;929:33;952:9;929:22;:33::i;:::-;980:9;972:27;;:35;1000:6;972:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1047:9;1031:58;1058:9;1069:6;1077:11;1031:58;;;;;;;;:::i;:::-;;;;;;;;620:476;;;;;:::o;129:20::-;;;;;;;;;;;;;:::o;674:112:2:-;775:4;744:17;:28;762:9;744:28;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;674:112;:::o;7:75:5:-;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: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:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:90::-;1059:7;1102:5;1095:13;1088:21;1077:32;;1025:90;;;:::o;1121:109::-;1202:21;1217:5;1202:21;:::i;:::-;1197:3;1190:34;1121:109;;:::o;1236:210::-;1323:4;1361:2;1350:9;1346:18;1338:26;;1374:65;1436:1;1425:9;1421:17;1412:6;1374:65;:::i;:::-;1236:210;;;;:::o;1452:117::-;1561:1;1558;1551:12;1575:117;1684:1;1681;1674:12;1698:102;1739:6;1790:2;1786:7;1781:2;1774:5;1770:14;1766:28;1756:38;;1698:102;;;:::o;1806:180::-;1854:77;1851:1;1844:88;1951:4;1948:1;1941:15;1975:4;1972:1;1965:15;1992:281;2075:27;2097:4;2075:27;:::i;:::-;2067:6;2063:40;2205:6;2193:10;2190:22;2169:18;2157:10;2154:34;2151:62;2148:88;;;2216:18;;:::i;:::-;2148:88;2256:10;2252:2;2245:22;2035:238;1992:281;;:::o;2279:129::-;2313:6;2340:20;;:::i;:::-;2330:30;;2369:33;2397:4;2389:6;2369:33;:::i;:::-;2279:129;;;:::o;2414:308::-;2476:4;2566:18;2558:6;2555:30;2552:56;;;2588:18;;:::i;:::-;2552:56;2626:29;2648:6;2626:29;:::i;:::-;2618:37;;2710:4;2704;2700:15;2692:23;;2414:308;;;:::o;2728:146::-;2825:6;2820:3;2815;2802:30;2866:1;2857:6;2852:3;2848:16;2841:27;2728:146;;;:::o;2880:425::-;2958:5;2983:66;2999:49;3041:6;2999:49;:::i;:::-;2983:66;:::i;:::-;2974:75;;3072:6;3065:5;3058:21;3110:4;3103:5;3099:16;3148:3;3139:6;3134:3;3130:16;3127:25;3124:112;;;3155:79;;:::i;:::-;3124:112;3245:54;3292:6;3287:3;3282;3245:54;:::i;:::-;2964:341;2880:425;;;;;:::o;3325:340::-;3381:5;3430:3;3423:4;3415:6;3411:17;3407:27;3397:122;;3438:79;;:::i;:::-;3397:122;3555:6;3542:20;3580:79;3655:3;3647:6;3640:4;3632:6;3628:17;3580:79;:::i;:::-;3571:88;;3387:278;3325:340;;;;:::o;3671:126::-;3708:7;3748:42;3741:5;3737:54;3726:65;;3671:126;;;:::o;3803:96::-;3840:7;3869:24;3887:5;3869:24;:::i;:::-;3858:35;;3803:96;;;:::o;3905:122::-;3978:24;3996:5;3978:24;:::i;:::-;3971:5;3968:35;3958:63;;4017:1;4014;4007:12;3958:63;3905:122;:::o;4033:139::-;4079:5;4117:6;4104:20;4095:29;;4133:33;4160:5;4133:33;:::i;:::-;4033:139;;;;:::o;4178:77::-;4215:7;4244:5;4233:16;;4178:77;;;:::o;4261:122::-;4334:24;4352:5;4334:24;:::i;:::-;4327:5;4324:35;4314:63;;4373:1;4370;4363:12;4314:63;4261:122;:::o;4389:139::-;4435:5;4473:6;4460:20;4451:29;;4489:33;4516:5;4489:33;:::i;:::-;4389:139;;;;:::o;4534:799::-;4621:6;4629;4637;4686:2;4674:9;4665:7;4661:23;4657:32;4654:119;;;4692:79;;:::i;:::-;4654:119;4840:1;4829:9;4825:17;4812:31;4870:18;4862:6;4859:30;4856:117;;;4892:79;;:::i;:::-;4856:117;4997:63;5052:7;5043:6;5032:9;5028:22;4997:63;:::i;:::-;4987:73;;4783:287;5109:2;5135:53;5180:7;5171:6;5160:9;5156:22;5135:53;:::i;:::-;5125:63;;5080:118;5237:2;5263:53;5308:7;5299:6;5288:9;5284:22;5263:53;:::i;:::-;5253:63;;5208:118;4534:799;;;;;:::o;5339:1091::-;5444:6;5452;5460;5468;5476;5525:3;5513:9;5504:7;5500:23;5496:33;5493:120;;;5532:79;;:::i;:::-;5493:120;5652:1;5677:53;5722:7;5713:6;5702:9;5698:22;5677:53;:::i;:::-;5667:63;;5623:117;5779:2;5805:53;5850:7;5841:6;5830:9;5826:22;5805:53;:::i;:::-;5795:63;;5750:118;5907:2;5933:53;5978:7;5969:6;5958:9;5954:22;5933:53;:::i;:::-;5923:63;;5878:118;6035:2;6061:53;6106:7;6097:6;6086:9;6082:22;6061:53;:::i;:::-;6051:63;;6006:118;6191:3;6180:9;6176:19;6163:33;6223:18;6215:6;6212:30;6209:117;;;6245:79;;:::i;:::-;6209:117;6350:63;6405:7;6396:6;6385:9;6381:22;6350:63;:::i;:::-;6340:73;;6134:289;5339:1091;;;;;;;;:::o;6436:118::-;6523:24;6541:5;6523:24;:::i;:::-;6518:3;6511:37;6436:118;;:::o;6560:222::-;6653:4;6691:2;6680:9;6676:18;6668:26;;6704:71;6772:1;6761:9;6757:17;6748:6;6704:71;:::i;:::-;6560:222;;;;:::o;6788:169::-;6872:11;6906:6;6901:3;6894:19;6946:4;6941:3;6937:14;6922:29;;6788:169;;;;:::o;6963:180::-;7103:32;7099:1;7091:6;7087:14;7080:56;6963:180;:::o;7149:366::-;7291:3;7312:67;7376:2;7371:3;7312:67;:::i;:::-;7305:74;;7388:93;7477:3;7388:93;:::i;:::-;7506:2;7501:3;7497:12;7490:19;;7149:366;;;:::o;7521:419::-;7687:4;7725:2;7714:9;7710:18;7702:26;;7774:9;7768:4;7764:20;7760:1;7749:9;7745:17;7738:47;7802:131;7928:4;7802:131;:::i;:::-;7794:139;;7521:419;;;:::o;7946:79::-;7985:7;8014:5;8003:16;;7946:79;;;:::o;8031:157::-;8136:45;8156:24;8174:5;8156:24;:::i;:::-;8136:45;:::i;:::-;8131:3;8124:58;8031:157;;:::o;8194:94::-;8227:8;8275:5;8271:2;8267:14;8246:35;;8194:94;;;:::o;8294:::-;8333:7;8362:20;8376:5;8362:20;:::i;:::-;8351:31;;8294:94;;;:::o;8394:100::-;8433:7;8462:26;8482:5;8462:26;:::i;:::-;8451:37;;8394:100;;;:::o;8500:157::-;8605:45;8625:24;8643:5;8625:24;:::i;:::-;8605:45;:::i;:::-;8600:3;8593:58;8500:157;;:::o;8663:99::-;8715:6;8749:5;8743:12;8733:22;;8663:99;;;:::o;8768:148::-;8870:11;8907:3;8892:18;;8768:148;;;;:::o;8922:246::-;9003:1;9013:113;9027:6;9024:1;9021:13;9013:113;;;9112:1;9107:3;9103:11;9097:18;9093:1;9088:3;9084:11;9077:39;9049:2;9046:1;9042:10;9037:15;;9013:113;;;9160:1;9151:6;9146:3;9142:16;9135:27;8984:184;8922:246;;;:::o;9174:390::-;9280:3;9308:39;9341:5;9308:39;:::i;:::-;9363:89;9445:6;9440:3;9363:89;:::i;:::-;9356:96;;9461:65;9519:6;9514:3;9507:4;9500:5;9496:16;9461:65;:::i;:::-;9551:6;9546:3;9542:16;9535:23;;9284:280;9174:390;;;;:::o;9570:839::-;9814:3;9829:75;9900:3;9891:6;9829:75;:::i;:::-;9929:2;9924:3;9920:12;9913:19;;9942:75;10013:3;10004:6;9942:75;:::i;:::-;10042:2;10037:3;10033:12;10026:19;;10055:75;10126:3;10117:6;10055:75;:::i;:::-;10155:2;10150:3;10146:12;10139:19;;10168:75;10239:3;10230:6;10168:75;:::i;:::-;10268:2;10263:3;10259:12;10252:19;;10288:95;10379:3;10370:6;10288:95;:::i;:::-;10281:102;;10400:3;10393:10;;9570:839;;;;;;;;:::o;10415:118::-;10502:24;10520:5;10502:24;:::i;:::-;10497:3;10490:37;10415:118;;:::o;10539:377::-;10627:3;10655:39;10688:5;10655:39;:::i;:::-;10710:71;10774:6;10769:3;10710:71;:::i;:::-;10703:78;;10790:65;10848:6;10843:3;10836:4;10829:5;10825:16;10790:65;:::i;:::-;10880:29;10902:6;10880:29;:::i;:::-;10875:3;10871:39;10864:46;;10631:285;10539:377;;;;:::o;10922:533::-;11091:4;11129:2;11118:9;11114:18;11106:26;;11142:71;11210:1;11199:9;11195:17;11186:6;11142:71;:::i;:::-;11223:72;11291:2;11280:9;11276:18;11267:6;11223:72;:::i;:::-;11342:9;11336:4;11332:20;11327:2;11316:9;11312:18;11305:48;11370:78;11443:4;11434:6;11370:78;:::i;:::-;11362:86;;10922:533;;;;;;:::o;11461:181::-;11601:33;11597:1;11589:6;11585:14;11578:57;11461:181;:::o;11648:366::-;11790:3;11811:67;11875:2;11870:3;11811:67;:::i;:::-;11804:74;;11887:93;11976:3;11887:93;:::i;:::-;12005:2;12000:3;11996:12;11989:19;;11648:366;;;:::o;12020:419::-;12186:4;12224:2;12213:9;12209:18;12201:26;;12273:9;12267:4;12263:20;12259:1;12248:9;12244:17;12237:47;12301:131;12427:4;12301:131;:::i;:::-;12293:139;;12020:419;;;:::o;12445:175::-;12585:27;12581:1;12573:6;12569:14;12562:51;12445:175;:::o;12626:366::-;12768:3;12789:67;12853:2;12848:3;12789:67;:::i;:::-;12782:74;;12865:93;12954:3;12865:93;:::i;:::-;12983:2;12978:3;12974:12;12967:19;;12626:366;;;:::o;12998:419::-;13164:4;13202:2;13191:9;13187:18;13179:26;;13251:9;13245:4;13241:20;13237:1;13226:9;13222:17;13215:47;13279:131;13405:4;13279:131;:::i;:::-;13271:139;;12998:419;;;:::o",
|
|
"source": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport \"./BridgeBase.sol\";\n\ncontract EthereumBridge is BridgeBase {\n address public admin;\n \n constructor() {\n admin = msg.sender;\n }\n \n function sendMessage(string memory destinationChain, address recipient, uint256 amount) external payable override {\n require(msg.value == amount, \"Sent ETH must match the amount\");\n bytes32 messageId = keccak256(abi.encodePacked(block.timestamp, msg.sender, recipient, amount, destinationChain));\n emit MessageSent(messageId, msg.sender, amount, destinationChain);\n }\n \n function receiveMessage(bytes32 messageId, address sender, address recipient, uint256 amount, string memory sourceChain) external override {\n require(msg.sender == admin, \"Only admin can receive messages\");\n require(!isMessageProcessed(messageId), \"Message already processed\");\n \n _setMessageAsProcessed(messageId);\n payable(recipient).transfer(amount);\n \n emit MessageReceived(messageId, recipient, amount, sourceChain);\n }\n}\n",
|
|
"sourcePath": "/home/arhan/eigenlayer-don-3/eth-contracts/contracts/EthereumBridge.sol",
|
|
"ast": {
|
|
"absolutePath": "project:/contracts/EthereumBridge.sol",
|
|
"exportedSymbols": {
|
|
"BridgeBase": [
|
|
278
|
|
],
|
|
"EthereumBridge": [
|
|
387
|
|
]
|
|
},
|
|
"id": 388,
|
|
"license": "MIT",
|
|
"nodeType": "SourceUnit",
|
|
"nodes": [
|
|
{
|
|
"id": 280,
|
|
"literals": [
|
|
"solidity",
|
|
"^",
|
|
"0.8",
|
|
".0"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "32:23:3"
|
|
},
|
|
{
|
|
"absolutePath": "project:/contracts/BridgeBase.sol",
|
|
"file": "./BridgeBase.sol",
|
|
"id": 281,
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "ImportDirective",
|
|
"scope": 388,
|
|
"sourceUnit": 279,
|
|
"src": "57:26:3",
|
|
"symbolAliases": [],
|
|
"unitAlias": ""
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [
|
|
{
|
|
"baseName": {
|
|
"id": 282,
|
|
"name": "BridgeBase",
|
|
"nameLocations": [
|
|
"112:10:3"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"referencedDeclaration": 278,
|
|
"src": "112:10:3"
|
|
},
|
|
"id": 283,
|
|
"nodeType": "InheritanceSpecifier",
|
|
"src": "112:10:3"
|
|
}
|
|
],
|
|
"canonicalName": "EthereumBridge",
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"fullyImplemented": true,
|
|
"id": 387,
|
|
"linearizedBaseContracts": [
|
|
387,
|
|
278
|
|
],
|
|
"name": "EthereumBridge",
|
|
"nameLocation": "94:14:3",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [
|
|
{
|
|
"constant": false,
|
|
"functionSelector": "f851a440",
|
|
"id": 285,
|
|
"mutability": "mutable",
|
|
"name": "admin",
|
|
"nameLocation": "144:5:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 387,
|
|
"src": "129:20:3",
|
|
"stateVariable": true,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 284,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "129:7:3",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": {
|
|
"id": 293,
|
|
"nodeType": "Block",
|
|
"src": "174:35:3",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"id": 291,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftHandSide": {
|
|
"id": 288,
|
|
"name": "admin",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 285,
|
|
"src": "184:5:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"nodeType": "Assignment",
|
|
"operator": "=",
|
|
"rightHandSide": {
|
|
"expression": {
|
|
"id": 289,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "192:3:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 290,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "196:6:3",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "192:10:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"src": "184:18:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"id": 292,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "184:18:3"
|
|
}
|
|
]
|
|
},
|
|
"id": 294,
|
|
"implemented": true,
|
|
"kind": "constructor",
|
|
"modifiers": [],
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 286,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "171:2:3"
|
|
},
|
|
"returnParameters": {
|
|
"id": 287,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "174:0:3"
|
|
},
|
|
"scope": 387,
|
|
"src": "160:49:3",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"baseFunctions": [
|
|
240
|
|
],
|
|
"body": {
|
|
"id": 335,
|
|
"nodeType": "Block",
|
|
"src": "333:277:3",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"commonType": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"id": 308,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftExpression": {
|
|
"expression": {
|
|
"id": 305,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "351:3:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 306,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "355:5:3",
|
|
"memberName": "value",
|
|
"nodeType": "MemberAccess",
|
|
"src": "351:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"nodeType": "BinaryOperation",
|
|
"operator": "==",
|
|
"rightExpression": {
|
|
"id": 307,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 300,
|
|
"src": "364:6:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"src": "351:19:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
{
|
|
"hexValue": "53656e7420455448206d757374206d617463682074686520616d6f756e74",
|
|
"id": 309,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"kind": "string",
|
|
"lValueRequested": false,
|
|
"nodeType": "Literal",
|
|
"src": "372:32:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_stringliteral_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76",
|
|
"typeString": "literal_string \"Sent ETH must match the amount\""
|
|
},
|
|
"value": "Sent ETH must match the amount"
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_stringliteral_48c32a2eb63a7c19d4bffff4647d073fd4ff8fbd09f2a2da570829cc37900a76",
|
|
"typeString": "literal_string \"Sent ETH must match the amount\""
|
|
}
|
|
],
|
|
"id": 304,
|
|
"name": "require",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [
|
|
4294967278,
|
|
4294967278
|
|
],
|
|
"referencedDeclaration": 4294967278,
|
|
"src": "343:7:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bool,string memory) pure"
|
|
}
|
|
},
|
|
"id": 310,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "343:62:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 311,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "343:62:3"
|
|
},
|
|
{
|
|
"assignments": [
|
|
313
|
|
],
|
|
"declarations": [
|
|
{
|
|
"constant": false,
|
|
"id": 313,
|
|
"mutability": "mutable",
|
|
"name": "messageId",
|
|
"nameLocation": "423:9:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 335,
|
|
"src": "415:17:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
},
|
|
"typeName": {
|
|
"id": 312,
|
|
"name": "bytes32",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "415:7:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"id": 326,
|
|
"initialValue": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"expression": {
|
|
"id": 317,
|
|
"name": "block",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967292,
|
|
"src": "462:5:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_block",
|
|
"typeString": "block"
|
|
}
|
|
},
|
|
"id": 318,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "468:9:3",
|
|
"memberName": "timestamp",
|
|
"nodeType": "MemberAccess",
|
|
"src": "462:15:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"expression": {
|
|
"id": 319,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "479:3:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 320,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "483:6:3",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "479:10:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 321,
|
|
"name": "recipient",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 298,
|
|
"src": "491:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 322,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 300,
|
|
"src": "502:6:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"id": 323,
|
|
"name": "destinationChain",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 296,
|
|
"src": "510:16:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string memory"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string memory"
|
|
}
|
|
],
|
|
"expression": {
|
|
"id": 315,
|
|
"name": "abi",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967295,
|
|
"src": "445:3:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_abi",
|
|
"typeString": "abi"
|
|
}
|
|
},
|
|
"id": 316,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"memberLocation": "449:12:3",
|
|
"memberName": "encodePacked",
|
|
"nodeType": "MemberAccess",
|
|
"src": "445:16:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
|
"typeString": "function () pure returns (bytes memory)"
|
|
}
|
|
},
|
|
"id": 324,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "445:82:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
"typeString": "bytes memory"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
"typeString": "bytes memory"
|
|
}
|
|
],
|
|
"id": 314,
|
|
"name": "keccak256",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967288,
|
|
"src": "435:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
|
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
}
|
|
},
|
|
"id": 325,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "435:93:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
"nodeType": "VariableDeclarationStatement",
|
|
"src": "415:113:3"
|
|
},
|
|
{
|
|
"eventCall": {
|
|
"arguments": [
|
|
{
|
|
"id": 328,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 313,
|
|
"src": "555:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
{
|
|
"expression": {
|
|
"id": 329,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "566:3:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 330,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "570:6:3",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "566:10:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 331,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 300,
|
|
"src": "578:6:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"id": 332,
|
|
"name": "destinationChain",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 296,
|
|
"src": "586:16:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string memory"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string memory"
|
|
}
|
|
],
|
|
"id": 327,
|
|
"name": "MessageSent",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 221,
|
|
"src": "543:11:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_uint256_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bytes32,address,uint256,string memory)"
|
|
}
|
|
},
|
|
"id": 333,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "543:60:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 334,
|
|
"nodeType": "EmitStatement",
|
|
"src": "538:65:3"
|
|
}
|
|
]
|
|
},
|
|
"functionSelector": "affc215f",
|
|
"id": 336,
|
|
"implemented": true,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "sendMessage",
|
|
"nameLocation": "228:11:3",
|
|
"nodeType": "FunctionDefinition",
|
|
"overrides": {
|
|
"id": 302,
|
|
"nodeType": "OverrideSpecifier",
|
|
"overrides": [],
|
|
"src": "324:8:3"
|
|
},
|
|
"parameters": {
|
|
"id": 301,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 296,
|
|
"mutability": "mutable",
|
|
"name": "destinationChain",
|
|
"nameLocation": "254:16:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 336,
|
|
"src": "240:30:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "memory",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string"
|
|
},
|
|
"typeName": {
|
|
"id": 295,
|
|
"name": "string",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "240:6:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_storage_ptr",
|
|
"typeString": "string"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 298,
|
|
"mutability": "mutable",
|
|
"name": "recipient",
|
|
"nameLocation": "280:9:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 336,
|
|
"src": "272:17:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 297,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "272:7:3",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 300,
|
|
"mutability": "mutable",
|
|
"name": "amount",
|
|
"nameLocation": "299:6:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 336,
|
|
"src": "291:14:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 299,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "291:7:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "239:67:3"
|
|
},
|
|
"returnParameters": {
|
|
"id": 303,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "333:0:3"
|
|
},
|
|
"scope": 387,
|
|
"src": "219:391:3",
|
|
"stateMutability": "payable",
|
|
"virtual": false,
|
|
"visibility": "external"
|
|
},
|
|
{
|
|
"baseFunctions": [
|
|
253
|
|
],
|
|
"body": {
|
|
"id": 385,
|
|
"nodeType": "Block",
|
|
"src": "759:337:3",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"commonType": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"id": 354,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftExpression": {
|
|
"expression": {
|
|
"id": 351,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "777:3:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 352,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "781:6:3",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "777:10:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"nodeType": "BinaryOperation",
|
|
"operator": "==",
|
|
"rightExpression": {
|
|
"id": 353,
|
|
"name": "admin",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 285,
|
|
"src": "791:5:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"src": "777:19:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
{
|
|
"hexValue": "4f6e6c792061646d696e2063616e2072656365697665206d65737361676573",
|
|
"id": 355,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"kind": "string",
|
|
"lValueRequested": false,
|
|
"nodeType": "Literal",
|
|
"src": "798:33:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532",
|
|
"typeString": "literal_string \"Only admin can receive messages\""
|
|
},
|
|
"value": "Only admin can receive messages"
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532",
|
|
"typeString": "literal_string \"Only admin can receive messages\""
|
|
}
|
|
],
|
|
"id": 350,
|
|
"name": "require",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [
|
|
4294967278,
|
|
4294967278
|
|
],
|
|
"referencedDeclaration": 4294967278,
|
|
"src": "769:7:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bool,string memory) pure"
|
|
}
|
|
},
|
|
"id": 356,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "769:63:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 357,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "769:63:3"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"id": 362,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"nodeType": "UnaryOperation",
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"src": "850:30:3",
|
|
"subExpression": {
|
|
"arguments": [
|
|
{
|
|
"id": 360,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 338,
|
|
"src": "870:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
],
|
|
"id": 359,
|
|
"name": "isMessageProcessed",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 277,
|
|
"src": "851:18:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$",
|
|
"typeString": "function (bytes32) view returns (bool)"
|
|
}
|
|
},
|
|
"id": 361,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "851:29:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
{
|
|
"hexValue": "4d65737361676520616c72656164792070726f636573736564",
|
|
"id": 363,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"kind": "string",
|
|
"lValueRequested": false,
|
|
"nodeType": "Literal",
|
|
"src": "882:27:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc",
|
|
"typeString": "literal_string \"Message already processed\""
|
|
},
|
|
"value": "Message already processed"
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc",
|
|
"typeString": "literal_string \"Message already processed\""
|
|
}
|
|
],
|
|
"id": 358,
|
|
"name": "require",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [
|
|
4294967278,
|
|
4294967278
|
|
],
|
|
"referencedDeclaration": 4294967278,
|
|
"src": "842:7:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bool,string memory) pure"
|
|
}
|
|
},
|
|
"id": 364,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "842:68:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 365,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "842:68:3"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"id": 367,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 338,
|
|
"src": "952:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
],
|
|
"id": 366,
|
|
"name": "_setMessageAsProcessed",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 265,
|
|
"src": "929:22:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$",
|
|
"typeString": "function (bytes32)"
|
|
}
|
|
},
|
|
"id": 368,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "929:33:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 369,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "929:33:3"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"id": 375,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 344,
|
|
"src": "1000:6:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
],
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"id": 372,
|
|
"name": "recipient",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 342,
|
|
"src": "980:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
],
|
|
"id": 371,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"nodeType": "ElementaryTypeNameExpression",
|
|
"src": "972:8:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_type$_t_address_payable_$",
|
|
"typeString": "type(address payable)"
|
|
},
|
|
"typeName": {
|
|
"id": 370,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "972:8:3",
|
|
"stateMutability": "payable",
|
|
"typeDescriptions": {}
|
|
}
|
|
},
|
|
"id": 373,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "typeConversion",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "972:18:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address_payable",
|
|
"typeString": "address payable"
|
|
}
|
|
},
|
|
"id": 374,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "991:8:3",
|
|
"memberName": "transfer",
|
|
"nodeType": "MemberAccess",
|
|
"src": "972:27:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$",
|
|
"typeString": "function (uint256)"
|
|
}
|
|
},
|
|
"id": 376,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "972:35:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 377,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "972:35:3"
|
|
},
|
|
{
|
|
"eventCall": {
|
|
"arguments": [
|
|
{
|
|
"id": 379,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 338,
|
|
"src": "1047:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
{
|
|
"id": 380,
|
|
"name": "recipient",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 342,
|
|
"src": "1058:9:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 381,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 344,
|
|
"src": "1069:6:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"id": 382,
|
|
"name": "sourceChain",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 346,
|
|
"src": "1077:11:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string memory"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string memory"
|
|
}
|
|
],
|
|
"id": 378,
|
|
"name": "MessageReceived",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 231,
|
|
"src": "1031:15:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_uint256_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bytes32,address,uint256,string memory)"
|
|
}
|
|
},
|
|
"id": 383,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "1031:58:3",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 384,
|
|
"nodeType": "EmitStatement",
|
|
"src": "1026:63:3"
|
|
}
|
|
]
|
|
},
|
|
"functionSelector": "e9e33e8b",
|
|
"id": 386,
|
|
"implemented": true,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "receiveMessage",
|
|
"nameLocation": "629:14:3",
|
|
"nodeType": "FunctionDefinition",
|
|
"overrides": {
|
|
"id": 348,
|
|
"nodeType": "OverrideSpecifier",
|
|
"overrides": [],
|
|
"src": "750:8:3"
|
|
},
|
|
"parameters": {
|
|
"id": 347,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 338,
|
|
"mutability": "mutable",
|
|
"name": "messageId",
|
|
"nameLocation": "652:9:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 386,
|
|
"src": "644:17:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
},
|
|
"typeName": {
|
|
"id": 337,
|
|
"name": "bytes32",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "644:7:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 340,
|
|
"mutability": "mutable",
|
|
"name": "sender",
|
|
"nameLocation": "671:6:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 386,
|
|
"src": "663:14:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 339,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "663:7:3",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 342,
|
|
"mutability": "mutable",
|
|
"name": "recipient",
|
|
"nameLocation": "687:9:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 386,
|
|
"src": "679:17:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 341,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "679:7:3",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 344,
|
|
"mutability": "mutable",
|
|
"name": "amount",
|
|
"nameLocation": "706:6:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 386,
|
|
"src": "698:14:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 343,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "698:7:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 346,
|
|
"mutability": "mutable",
|
|
"name": "sourceChain",
|
|
"nameLocation": "728:11:3",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 386,
|
|
"src": "714:25:3",
|
|
"stateVariable": false,
|
|
"storageLocation": "memory",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string"
|
|
},
|
|
"typeName": {
|
|
"id": 345,
|
|
"name": "string",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "714:6:3",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_storage_ptr",
|
|
"typeString": "string"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "643:97:3"
|
|
},
|
|
"returnParameters": {
|
|
"id": 349,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "759:0:3"
|
|
},
|
|
"scope": 387,
|
|
"src": "620:476:3",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "external"
|
|
}
|
|
],
|
|
"scope": 388,
|
|
"src": "85:1013:3",
|
|
"usedErrors": [],
|
|
"usedEvents": [
|
|
221,
|
|
231
|
|
]
|
|
}
|
|
],
|
|
"src": "32:1067:3"
|
|
},
|
|
"compiler": {
|
|
"name": "solc",
|
|
"version": "0.8.21+commit.d9974bed.Emscripten.clang"
|
|
},
|
|
"networks": {},
|
|
"schemaVersion": "3.4.16",
|
|
"updatedAt": "2024-10-16T19:09:58.156Z",
|
|
"devdoc": {
|
|
"kind": "dev",
|
|
"methods": {},
|
|
"version": 1
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {},
|
|
"version": 1
|
|
}
|
|
} |