11543 lines
468 KiB
JSON
11543 lines
468 KiB
JSON
{
|
|
"contractName": "BinanceSmartChainBridge",
|
|
"abi": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "_bnbToken",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"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": [],
|
|
"name": "bnbToken",
|
|
"outputs": [
|
|
{
|
|
"internalType": "contract IERC20",
|
|
"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\":[{\"internalType\":\"address\",\"name\":\"_bnbToken\",\"type\":\"address\"}],\"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\":[],\"name\":\"bnbToken\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"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/BinanceSmartChainBridge.sol\":\"BinanceSmartChainBridge\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"project:/contracts/BinanceSmartChainBridge.sol\":{\"keccak256\":\"0x595aba7b24fe74402b466ff5d90bc751e9b0a451468dcab172e39f4e69ad0a7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294475073bea993fdf68fe2dd1e8d362fc98b18b1b02d48c1714941b4a88cec4\",\"dweb:/ipfs/QmYFSAT48ZRiz8vWUwzysR8dRPFXHnrjvD8T7AHXKQZScS\"]},\"project:/contracts/BridgeBase.sol\":{\"keccak256\":\"0xec854c325a96abfdfcf1282c2a8a54b80ee83c118bbe4a8b45254ec31e3e6f20\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://03db0ea752ff200f79292c2922fcb58600e9af6bcebbb8db71d1390d601d46c0\",\"dweb:/ipfs/QmQnQeDVijjnxb3oa1VizL6wvguWXbp5n6JVc7jeGASX1Y\"]}},\"version\":1}",
|
|
"bytecode": "0x608060405234801561000f575f80fd5b50604051610e9e380380610e9e83398181016040528101906100319190610115565b3360015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610140565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100e4826100bb565b9050919050565b6100f4816100da565b81146100fe575f80fd5b50565b5f8151905061010f816100eb565b92915050565b5f6020828403121561012a576101296100b7565b5b5f61013784828501610101565b91505092915050565b610d518061014d5f395ff3fe608060405260043610610054575f3560e01c80631bd31ef6146100585780632b17b6a91461009457806388ba16ab146100be578063affc215f146100fa578063e9e33e8b14610116578063f851a4401461013e575b5f80fd5b348015610063575f80fd5b5061007e600480360381019061007991906105b2565b610168565b60405161008b91906105f7565b60405180910390f35b34801561009f575f80fd5b506100a861018d565b6040516100b5919061068a565b60405180910390f35b3480156100c9575f80fd5b506100e460048036038101906100df91906105b2565b6101b2565b6040516100f191906105f7565b60405180910390f35b610114600480360381019061010f919061084d565b6101ce565b005b348015610121575f80fd5b5061013c600480360381019061013791906108b9565b61031f565b005b348015610149575f80fd5b5061015261051e565b60405161015f919061095b565b60405180910390f35b5f805f8381526020019081526020015f205f9054906101000a900460ff169050919050565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f602052805f5260405f205f915054906101000a900460ff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161022c93929190610983565b6020604051808303815f875af1158015610248573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026c91906109e2565b6102ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a290610a67565b60405180910390fd5b5f42338484876040516020016102c5959493929190610b56565b604051602081830303815290604052805190602001209050807f1e2fd99e146720cc637dc68804d00fec4c8e871519c4f06f7355687d531fed4233848760405161031193929190610be8565b60405180910390a250505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a590610c6e565b60405180910390fd5b6103b785610168565b156103f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ee90610cd6565b60405180910390fd5b61040085610543565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b815260040161045c929190610cf4565b6020604051808303815f875af1158015610478573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049c91906109e2565b6104db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d290610a67565b60405180910390fd5b847f8645342bb16bf17dde1d74c272a01fc207ecbed8572fc58ee8e49574fd82911984848460405161050f93929190610be8565b60405180910390a25050505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f808381526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6105918161057f565b811461059b575f80fd5b50565b5f813590506105ac81610588565b92915050565b5f602082840312156105c7576105c6610577565b5b5f6105d48482850161059e565b91505092915050565b5f8115159050919050565b6105f1816105dd565b82525050565b5f60208201905061060a5f8301846105e8565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f61065261064d61064884610610565b61062f565b610610565b9050919050565b5f61066382610638565b9050919050565b5f61067482610659565b9050919050565b6106848161066a565b82525050565b5f60208201905061069d5f83018461067b565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6106f1826106ab565b810181811067ffffffffffffffff821117156107105761070f6106bb565b5b80604052505050565b5f61072261056e565b905061072e82826106e8565b919050565b5f67ffffffffffffffff82111561074d5761074c6106bb565b5b610756826106ab565b9050602081019050919050565b828183375f83830152505050565b5f61078361077e84610733565b610719565b90508281526020810184848401111561079f5761079e6106a7565b5b6107aa848285610763565b509392505050565b5f82601f8301126107c6576107c56106a3565b5b81356107d6848260208601610771565b91505092915050565b5f6107e982610610565b9050919050565b6107f9816107df565b8114610803575f80fd5b50565b5f81359050610814816107f0565b92915050565b5f819050919050565b61082c8161081a565b8114610836575f80fd5b50565b5f8135905061084781610823565b92915050565b5f805f6060848603121561086457610863610577565b5b5f84013567ffffffffffffffff8111156108815761088061057b565b5b61088d868287016107b2565b935050602061089e86828701610806565b92505060406108af86828701610839565b9150509250925092565b5f805f805f60a086880312156108d2576108d1610577565b5b5f6108df8882890161059e565b95505060206108f088828901610806565b945050604061090188828901610806565b935050606061091288828901610839565b925050608086013567ffffffffffffffff8111156109335761093261057b565b5b61093f888289016107b2565b9150509295509295909350565b610955816107df565b82525050565b5f60208201905061096e5f83018461094c565b92915050565b61097d8161081a565b82525050565b5f6060820190506109965f83018661094c565b6109a3602083018561094c565b6109b06040830184610974565b949350505050565b6109c1816105dd565b81146109cb575f80fd5b50565b5f815190506109dc816109b8565b92915050565b5f602082840312156109f7576109f6610577565b5b5f610a04848285016109ce565b91505092915050565b5f82825260208201905092915050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f610a51600f83610a0d565b9150610a5c82610a1d565b602082019050919050565b5f6020820190508181035f830152610a7e81610a45565b9050919050565b5f819050919050565b610a9f610a9a8261081a565b610a85565b82525050565b5f8160601b9050919050565b5f610abb82610aa5565b9050919050565b5f610acc82610ab1565b9050919050565b610ae4610adf826107df565b610ac2565b82525050565b5f81519050919050565b5f81905092915050565b5f5b83811015610b1b578082015181840152602081019050610b00565b5f8484015250505050565b5f610b3082610aea565b610b3a8185610af4565b9350610b4a818560208601610afe565b80840191505092915050565b5f610b618288610a8e565b602082019150610b718287610ad3565b601482019150610b818286610ad3565b601482019150610b918285610a8e565b602082019150610ba18284610b26565b91508190509695505050505050565b5f610bba82610aea565b610bc48185610a0d565b9350610bd4818560208601610afe565b610bdd816106ab565b840191505092915050565b5f606082019050610bfb5f83018661094c565b610c086020830185610974565b8181036040830152610c1a8184610bb0565b9050949350505050565b7f4f6e6c792061646d696e2063616e2072656365697665206d65737361676573005f82015250565b5f610c58601f83610a0d565b9150610c6382610c24565b602082019050919050565b5f6020820190508181035f830152610c8581610c4c565b9050919050565b7f4d65737361676520616c72656164792070726f636573736564000000000000005f82015250565b5f610cc0601983610a0d565b9150610ccb82610c8c565b602082019050919050565b5f6020820190508181035f830152610ced81610cb4565b9050919050565b5f604082019050610d075f83018561094c565b610d146020830184610974565b939250505056fea264697066735822122072ded6f1b11554de3d1d1e323aa9a313e0429cbc33c27df91c7e500b84f5c84464736f6c63430008150033",
|
|
"deployedBytecode": "0x608060405260043610610054575f3560e01c80631bd31ef6146100585780632b17b6a91461009457806388ba16ab146100be578063affc215f146100fa578063e9e33e8b14610116578063f851a4401461013e575b5f80fd5b348015610063575f80fd5b5061007e600480360381019061007991906105b2565b610168565b60405161008b91906105f7565b60405180910390f35b34801561009f575f80fd5b506100a861018d565b6040516100b5919061068a565b60405180910390f35b3480156100c9575f80fd5b506100e460048036038101906100df91906105b2565b6101b2565b6040516100f191906105f7565b60405180910390f35b610114600480360381019061010f919061084d565b6101ce565b005b348015610121575f80fd5b5061013c600480360381019061013791906108b9565b61031f565b005b348015610149575f80fd5b5061015261051e565b60405161015f919061095b565b60405180910390f35b5f805f8381526020019081526020015f205f9054906101000a900460ff169050919050565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f602052805f5260405f205f915054906101000a900460ff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161022c93929190610983565b6020604051808303815f875af1158015610248573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026c91906109e2565b6102ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a290610a67565b60405180910390fd5b5f42338484876040516020016102c5959493929190610b56565b604051602081830303815290604052805190602001209050807f1e2fd99e146720cc637dc68804d00fec4c8e871519c4f06f7355687d531fed4233848760405161031193929190610be8565b60405180910390a250505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a590610c6e565b60405180910390fd5b6103b785610168565b156103f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ee90610cd6565b60405180910390fd5b61040085610543565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b815260040161045c929190610cf4565b6020604051808303815f875af1158015610478573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049c91906109e2565b6104db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d290610a67565b60405180910390fd5b847f8645342bb16bf17dde1d74c272a01fc207ecbed8572fc58ee8e49574fd82911984848460405161050f93929190610be8565b60405180910390a25050505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015f808381526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6105918161057f565b811461059b575f80fd5b50565b5f813590506105ac81610588565b92915050565b5f602082840312156105c7576105c6610577565b5b5f6105d48482850161059e565b91505092915050565b5f8115159050919050565b6105f1816105dd565b82525050565b5f60208201905061060a5f8301846105e8565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f61065261064d61064884610610565b61062f565b610610565b9050919050565b5f61066382610638565b9050919050565b5f61067482610659565b9050919050565b6106848161066a565b82525050565b5f60208201905061069d5f83018461067b565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6106f1826106ab565b810181811067ffffffffffffffff821117156107105761070f6106bb565b5b80604052505050565b5f61072261056e565b905061072e82826106e8565b919050565b5f67ffffffffffffffff82111561074d5761074c6106bb565b5b610756826106ab565b9050602081019050919050565b828183375f83830152505050565b5f61078361077e84610733565b610719565b90508281526020810184848401111561079f5761079e6106a7565b5b6107aa848285610763565b509392505050565b5f82601f8301126107c6576107c56106a3565b5b81356107d6848260208601610771565b91505092915050565b5f6107e982610610565b9050919050565b6107f9816107df565b8114610803575f80fd5b50565b5f81359050610814816107f0565b92915050565b5f819050919050565b61082c8161081a565b8114610836575f80fd5b50565b5f8135905061084781610823565b92915050565b5f805f6060848603121561086457610863610577565b5b5f84013567ffffffffffffffff8111156108815761088061057b565b5b61088d868287016107b2565b935050602061089e86828701610806565b92505060406108af86828701610839565b9150509250925092565b5f805f805f60a086880312156108d2576108d1610577565b5b5f6108df8882890161059e565b95505060206108f088828901610806565b945050604061090188828901610806565b935050606061091288828901610839565b925050608086013567ffffffffffffffff8111156109335761093261057b565b5b61093f888289016107b2565b9150509295509295909350565b610955816107df565b82525050565b5f60208201905061096e5f83018461094c565b92915050565b61097d8161081a565b82525050565b5f6060820190506109965f83018661094c565b6109a3602083018561094c565b6109b06040830184610974565b949350505050565b6109c1816105dd565b81146109cb575f80fd5b50565b5f815190506109dc816109b8565b92915050565b5f602082840312156109f7576109f6610577565b5b5f610a04848285016109ce565b91505092915050565b5f82825260208201905092915050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f610a51600f83610a0d565b9150610a5c82610a1d565b602082019050919050565b5f6020820190508181035f830152610a7e81610a45565b9050919050565b5f819050919050565b610a9f610a9a8261081a565b610a85565b82525050565b5f8160601b9050919050565b5f610abb82610aa5565b9050919050565b5f610acc82610ab1565b9050919050565b610ae4610adf826107df565b610ac2565b82525050565b5f81519050919050565b5f81905092915050565b5f5b83811015610b1b578082015181840152602081019050610b00565b5f8484015250505050565b5f610b3082610aea565b610b3a8185610af4565b9350610b4a818560208601610afe565b80840191505092915050565b5f610b618288610a8e565b602082019150610b718287610ad3565b601482019150610b818286610ad3565b601482019150610b918285610a8e565b602082019150610ba18284610b26565b91508190509695505050505050565b5f610bba82610aea565b610bc48185610a0d565b9350610bd4818560208601610afe565b610bdd816106ab565b840191505092915050565b5f606082019050610bfb5f83018661094c565b610c086020830185610974565b8181036040830152610c1a8184610bb0565b9050949350505050565b7f4f6e6c792061646d696e2063616e2072656365697665206d65737361676573005f82015250565b5f610c58601f83610a0d565b9150610c6382610c24565b602082019050919050565b5f6020820190508181035f830152610c8581610c4c565b9050919050565b7f4d65737361676520616c72656164792070726f636573736564000000000000005f82015250565b5f610cc0601983610a0d565b9150610ccb82610c8c565b602082019050919050565b5f6020820190508181035f830152610ced81610cb4565b9050919050565b5f604082019050610d075f83018561094c565b610d146020830184610974565b939250505056fea264697066735822122072ded6f1b11554de3d1d1e323aa9a313e0429cbc33c27df91c7e500b84f5c84464736f6c63430008150033",
|
|
"immutableReferences": {},
|
|
"generatedSources": [
|
|
{
|
|
"ast": {
|
|
"nativeSrc": "0:1199:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "0:1199: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:81:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "379:81:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "389:65:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "389:65:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "404:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "404:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "411:42:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "411:42:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "400:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "400:3:5"
|
|
},
|
|
"nativeSrc": "400:54:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "400:54:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "389:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "389:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "334:126: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:126:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "511:51:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "511:51:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "521:35:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "521:35:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "550:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "550:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "532:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "532:17:5"
|
|
},
|
|
"nativeSrc": "532:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "532:24:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "521:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "521:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "466:96:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "493:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "493:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "503:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "503:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "466:96:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "611:79:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "611:79:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "668:16:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "668:16:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "677:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "677:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "680:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "680:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "670:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "670:6:5"
|
|
},
|
|
"nativeSrc": "670:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "670:12:5"
|
|
},
|
|
"nativeSrc": "670:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "670:12:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "634:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "634:5:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "659:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "659:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "641:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "641:17:5"
|
|
},
|
|
"nativeSrc": "641:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "641:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "631:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "631:2:5"
|
|
},
|
|
"nativeSrc": "631:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "631:35:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "624:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "624:6:5"
|
|
},
|
|
"nativeSrc": "624:43:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "624:43:5"
|
|
},
|
|
"nativeSrc": "621:63:5",
|
|
"nodeType": "YulIf",
|
|
"src": "621:63:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "validator_revert_t_address",
|
|
"nativeSrc": "568:122:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "604:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "604:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "568:122:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "759:80:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "759:80:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "769:22:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "769:22:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "784:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "784:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "778:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "778:5:5"
|
|
},
|
|
"nativeSrc": "778:13:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "778:13:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "769:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "769:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "827:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "827:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "validator_revert_t_address",
|
|
"nativeSrc": "800:26:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "800:26:5"
|
|
},
|
|
"nativeSrc": "800:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "800:33:5"
|
|
},
|
|
"nativeSrc": "800:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "800:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_address_fromMemory",
|
|
"nativeSrc": "696:143:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "737:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "737:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "745:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "745:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "753:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "753:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "696:143:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "922:274:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "922:274:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "968:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "968:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "970:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "970:77:5"
|
|
},
|
|
"nativeSrc": "970:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "970:79:5"
|
|
},
|
|
"nativeSrc": "970:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "970:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "943:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "943:7:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "952:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "952:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "939:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "939:3:5"
|
|
},
|
|
"nativeSrc": "939:23:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "939:23:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "964:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "964:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "935:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "935:3:5"
|
|
},
|
|
"nativeSrc": "935:32:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "935:32:5"
|
|
},
|
|
"nativeSrc": "932:119:5",
|
|
"nodeType": "YulIf",
|
|
"src": "932:119:5"
|
|
},
|
|
{
|
|
"nativeSrc": "1061:128:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1061:128:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1076:15:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "1076:15:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "1090:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1090:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "1080:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1080:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "1105:74:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1105:74:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "1151:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1151:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "1162:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1162:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1147:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1147:3:5"
|
|
},
|
|
"nativeSrc": "1147:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1147:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "1171:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1171:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_address_fromMemory",
|
|
"nativeSrc": "1115:31:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1115:31:5"
|
|
},
|
|
"nativeSrc": "1115:64:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1115:64:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "1105:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1105:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_address_fromMemory",
|
|
"nativeSrc": "845:351:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "892:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "892:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "903:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "903:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "915:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "915:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "845:351: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_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n}\n",
|
|
"id": 5,
|
|
"language": "Yul",
|
|
"name": "#utility.yul"
|
|
}
|
|
],
|
|
"deployedGeneratedSources": [
|
|
{
|
|
"ast": {
|
|
"nativeSrc": "0:15715:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "0:15715: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": "1497:81:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1497:81:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1507:65:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1507:65:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1522:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1522:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1529:42:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1529:42:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffffffffffffffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "1518:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1518:3:5"
|
|
},
|
|
"nativeSrc": "1518:54:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1518:54:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "1507:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1507:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "1452:126:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1479:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1479:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "1489:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1489:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1452:126:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1616:28:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1616:28:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1626:12:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1626:12:5",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "1633:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1633:5:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "1626:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1626:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "identity",
|
|
"nativeSrc": "1584:60:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1602:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1602:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "1612:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1612:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1584:60:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1710:82:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1710:82:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1720:66:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1720:66:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1778:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1778:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "1760:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1760:17:5"
|
|
},
|
|
"nativeSrc": "1760:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1760:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "identity",
|
|
"nativeSrc": "1751:8:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1751:8:5"
|
|
},
|
|
"nativeSrc": "1751:34:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1751:34:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "1733:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1733:17:5"
|
|
},
|
|
"nativeSrc": "1733:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1733:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "1720:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1720:9:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "convert_t_uint160_to_t_uint160",
|
|
"nativeSrc": "1650:142:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1690:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1690:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "1700:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1700:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1650:142:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1858:66:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "1858:66:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1868:50:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1868:50:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1912:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1912:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "convert_t_uint160_to_t_uint160",
|
|
"nativeSrc": "1881:30:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1881:30:5"
|
|
},
|
|
"nativeSrc": "1881:37:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1881:37:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "1868:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1868:9:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "convert_t_uint160_to_t_address",
|
|
"nativeSrc": "1798:126:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1838:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1838:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "1848:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1848:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1798:126:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2003:66:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2003:66:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2013:50:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2013:50:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "2057:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2057:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "convert_t_uint160_to_t_address",
|
|
"nativeSrc": "2026:30:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2026:30:5"
|
|
},
|
|
"nativeSrc": "2026:37:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2026:37:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "2013:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2013:9:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "convert_t_contract$_IERC20_$77_to_t_address",
|
|
"nativeSrc": "1930:139:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1983:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1983:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "1993:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1993:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1930:139:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2153:79:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2153:79:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2170:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2170:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "2219:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2219:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "convert_t_contract$_IERC20_$77_to_t_address",
|
|
"nativeSrc": "2175:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2175:43:5"
|
|
},
|
|
"nativeSrc": "2175:50:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2175:50:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "2163:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2163:6:5"
|
|
},
|
|
"nativeSrc": "2163:63:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2163:63:5"
|
|
},
|
|
"nativeSrc": "2163:63:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2163:63:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_contract$_IERC20_$77_to_t_address_fromStack",
|
|
"nativeSrc": "2075:157:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "2141:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2141:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2148:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2148:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2075:157:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2349:137:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2349:137:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2359:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2359:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "2371:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2371:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2382:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2382:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2367:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2367:3:5"
|
|
},
|
|
"nativeSrc": "2367:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2367:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "2359:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2359:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "2452:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2452:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "2465:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2465:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2476:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2476:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2461:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2461:3:5"
|
|
},
|
|
"nativeSrc": "2461:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2461:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_contract$_IERC20_$77_to_t_address_fromStack",
|
|
"nativeSrc": "2395:56:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2395:56:5"
|
|
},
|
|
"nativeSrc": "2395:84:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2395:84:5"
|
|
},
|
|
"nativeSrc": "2395:84:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2395:84:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_contract$_IERC20_$77__to_t_address__fromStack_reversed",
|
|
"nativeSrc": "2238:248:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "2321:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2321:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "2333:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2333:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "2344:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2344:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2238:248:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2581:28:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2581:28:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2598:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2598:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2601:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2601:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "2591:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2591:6:5"
|
|
},
|
|
"nativeSrc": "2591:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2591:12:5"
|
|
},
|
|
"nativeSrc": "2591:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2591:12:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
"nativeSrc": "2492:117:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "2492:117:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2704:28:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2704:28:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2721:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2721:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2724:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2724:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "2714:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2714:6:5"
|
|
},
|
|
"nativeSrc": "2714:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2714:12:5"
|
|
},
|
|
"nativeSrc": "2714:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2714:12:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
|
|
"nativeSrc": "2615:117:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "2615:117:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2786:54:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2786:54:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2796:38:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2796:38:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "2814:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2814:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2821:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2821:2:5",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2810:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2810:3:5"
|
|
},
|
|
"nativeSrc": "2810:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2810:14:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2830:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2830:2:5",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "not",
|
|
"nativeSrc": "2826:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2826:3:5"
|
|
},
|
|
"nativeSrc": "2826:7:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2826:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "2806:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2806:3:5"
|
|
},
|
|
"nativeSrc": "2806:28:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2806:28:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "2796:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2796:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "2738:102:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "2769:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2769:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "2779:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2779:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2738:102:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2874:152:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "2874:152:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2891:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2891:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2894:77:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2894:77:5",
|
|
"type": "",
|
|
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "2884:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2884:6:5"
|
|
},
|
|
"nativeSrc": "2884:88:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2884:88:5"
|
|
},
|
|
"nativeSrc": "2884:88:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2884:88:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2988:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2988:1:5",
|
|
"type": "",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2991:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2991:4:5",
|
|
"type": "",
|
|
"value": "0x41"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "2981:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2981:6:5"
|
|
},
|
|
"nativeSrc": "2981:15:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2981:15:5"
|
|
},
|
|
"nativeSrc": "2981:15:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2981:15:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3012:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3012:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3015:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3015:4:5",
|
|
"type": "",
|
|
"value": "0x24"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "3005:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3005:6:5"
|
|
},
|
|
"nativeSrc": "3005:15:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3005:15:5"
|
|
},
|
|
"nativeSrc": "3005:15:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3005:15:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "2846:180:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "2846:180:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3075:238:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3075:238:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "3085:58:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3085:58:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "3107:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3107:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3137:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3137:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "3115:21:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3115:21:5"
|
|
},
|
|
"nativeSrc": "3115:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3115:27:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3103:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3103:3:5"
|
|
},
|
|
"nativeSrc": "3103:40:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3103:40:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "3089:10:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3089:10:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3254:22:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3254:22:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "3256:16:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3256:16:5"
|
|
},
|
|
"nativeSrc": "3256:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3256:18:5"
|
|
},
|
|
"nativeSrc": "3256:18:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3256:18:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "3197:10:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3197:10:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3209:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3209:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "3194:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3194:2:5"
|
|
},
|
|
"nativeSrc": "3194:34:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3194:34:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "3233:10:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3233:10:5"
|
|
},
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "3245:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3245:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "3230:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3230:2:5"
|
|
},
|
|
"nativeSrc": "3230:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3230:22:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "or",
|
|
"nativeSrc": "3191:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3191:2:5"
|
|
},
|
|
"nativeSrc": "3191:62:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3191:62:5"
|
|
},
|
|
"nativeSrc": "3188:88:5",
|
|
"nodeType": "YulIf",
|
|
"src": "3188:88:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3292:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3292:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
},
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "3296:10:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3296:10:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "3285:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3285:6:5"
|
|
},
|
|
"nativeSrc": "3285:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3285:22:5"
|
|
},
|
|
"nativeSrc": "3285:22:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3285:22:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "finalize_allocation",
|
|
"nativeSrc": "3032:281:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "3061:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3061:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3069:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3069:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3032:281:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3360:88:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3360:88:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "3370:30:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3370:30:5",
|
|
"value": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "allocate_unbounded",
|
|
"nativeSrc": "3380:18:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3380:18:5"
|
|
},
|
|
"nativeSrc": "3380:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3380:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "3370:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3370:6:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "3429:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3429:6:5"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3437:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3437:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "finalize_allocation",
|
|
"nativeSrc": "3409:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3409:19:5"
|
|
},
|
|
"nativeSrc": "3409:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3409:33:5"
|
|
},
|
|
"nativeSrc": "3409:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3409:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "allocate_memory",
|
|
"nativeSrc": "3319:129:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3344:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3344:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "3353:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3353:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3319:129:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3521:241:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3521:241:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3626:22:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3626:22:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "3628:16:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3628:16:5"
|
|
},
|
|
"nativeSrc": "3628:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3628:18:5"
|
|
},
|
|
"nativeSrc": "3628:18:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3628:18:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3598:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3598:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3606:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3606:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "3595:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3595:2:5"
|
|
},
|
|
"nativeSrc": "3595:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3595:30:5"
|
|
},
|
|
"nativeSrc": "3592:56:5",
|
|
"nodeType": "YulIf",
|
|
"src": "3592:56:5"
|
|
},
|
|
{
|
|
"nativeSrc": "3658:37:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3658:37:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3688:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3688:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "3666:21:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3666:21:5"
|
|
},
|
|
"nativeSrc": "3666:29:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3666:29:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3658:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3658:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3732:23:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3732:23:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3744:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3744:4:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3750:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3750:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3740:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3740:3:5"
|
|
},
|
|
"nativeSrc": "3740:15:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3740:15:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3732:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3732:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_allocation_size_t_string_memory_ptr",
|
|
"nativeSrc": "3454:308:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3505:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3505:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "3516:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3516:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3454:308:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3832:82:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "3832:82:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "3855:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3855:3:5"
|
|
},
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "3860:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3860:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3865:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3865:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldatacopy",
|
|
"nativeSrc": "3842:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3842:12:5"
|
|
},
|
|
"nativeSrc": "3842:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3842:30:5"
|
|
},
|
|
"nativeSrc": "3842:30:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3842:30:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "3892:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3892:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3897:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3897:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3888:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3888:3:5"
|
|
},
|
|
"nativeSrc": "3888:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3888:16:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3906:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3906:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "3881:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3881:6:5"
|
|
},
|
|
"nativeSrc": "3881:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3881:27:5"
|
|
},
|
|
"nativeSrc": "3881:27:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3881:27:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "copy_calldata_to_memory_with_cleanup",
|
|
"nativeSrc": "3768:146:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "3814:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3814:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "3819:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3819:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3824:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3824:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3768:146:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4004:341:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4004:341:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4014:75:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4014:75:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "4081:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4081:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_allocation_size_t_string_memory_ptr",
|
|
"nativeSrc": "4039:41:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4039:41:5"
|
|
},
|
|
"nativeSrc": "4039:49:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4039:49:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "allocate_memory",
|
|
"nativeSrc": "4023:15:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4023:15:5"
|
|
},
|
|
"nativeSrc": "4023:66:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4023:66:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "4014:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4014:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "4105:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4105:5:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "4112:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4112:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "4098:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4098:6:5"
|
|
},
|
|
"nativeSrc": "4098:21:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4098:21:5"
|
|
},
|
|
"nativeSrc": "4098:21:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4098:21:5"
|
|
},
|
|
{
|
|
"nativeSrc": "4128:27:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "4128:27:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "4143:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4143:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4150:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4150:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "4139:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4139:3:5"
|
|
},
|
|
"nativeSrc": "4139:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4139:16:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "4132:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4132:3:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4193:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4193:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
|
|
"nativeSrc": "4195:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4195:77:5"
|
|
},
|
|
"nativeSrc": "4195:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4195:79:5"
|
|
},
|
|
"nativeSrc": "4195:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4195:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "4174:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4174:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "4179:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4179:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "4170:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4170:3:5"
|
|
},
|
|
"nativeSrc": "4170:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4170:16:5"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "4188:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4188:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "4167:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4167:2:5"
|
|
},
|
|
"nativeSrc": "4167:25:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4167:25:5"
|
|
},
|
|
"nativeSrc": "4164:112:5",
|
|
"nodeType": "YulIf",
|
|
"src": "4164:112:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "4322:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4322:3:5"
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "4327:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4327:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "4332:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4332:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_calldata_to_memory_with_cleanup",
|
|
"nativeSrc": "4285:36:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4285:36:5"
|
|
},
|
|
"nativeSrc": "4285:54:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4285:54:5"
|
|
},
|
|
"nativeSrc": "4285:54:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4285:54:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_available_length_t_string_memory_ptr",
|
|
"nativeSrc": "3920:425:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "3977:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3977:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3982:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3982:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "3990:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3990:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "3998:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3998:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3920:425:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4427:278:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4427:278:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4476:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4476:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
"nativeSrc": "4478:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4478:77:5"
|
|
},
|
|
"nativeSrc": "4478:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4478:79:5"
|
|
},
|
|
"nativeSrc": "4478:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4478:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4455:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4455:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4463:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4463:4:5",
|
|
"type": "",
|
|
"value": "0x1f"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "4451:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4451:3:5"
|
|
},
|
|
"nativeSrc": "4451:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4451:17:5"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "4470:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4470:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "4447:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4447:3:5"
|
|
},
|
|
"nativeSrc": "4447:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4447:27:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "4440:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4440:6:5"
|
|
},
|
|
"nativeSrc": "4440:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4440:35:5"
|
|
},
|
|
"nativeSrc": "4437:122:5",
|
|
"nodeType": "YulIf",
|
|
"src": "4437:122:5"
|
|
},
|
|
{
|
|
"nativeSrc": "4568:34:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "4568:34:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4595:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4595:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "4582:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4582:12:5"
|
|
},
|
|
"nativeSrc": "4582:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4582:20:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "4572:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4572:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "4611:88:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4611:88:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4672:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4672:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4680:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4680:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "4668:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4668:3:5"
|
|
},
|
|
"nativeSrc": "4668:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4668:17:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "4687:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4687:6:5"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "4695:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4695:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_available_length_t_string_memory_ptr",
|
|
"nativeSrc": "4620:47:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4620:47:5"
|
|
},
|
|
"nativeSrc": "4620:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4620:79:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "4611:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4611:5:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "4365:340:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4405:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4405:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "4413:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4413:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "4421:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4421:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4365:340:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4756:51:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4756:51:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4766:35:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4766:35:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4795:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4795:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint160",
|
|
"nativeSrc": "4777:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4777:17:5"
|
|
},
|
|
"nativeSrc": "4777:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4777:24:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "4766:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4766:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "4711:96:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4738:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4738:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "4748:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4748:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4711:96:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4856:79:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4856:79:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4913:16:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4913:16:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4922:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4922:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4925:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4925:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "4915:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4915:6:5"
|
|
},
|
|
"nativeSrc": "4915:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4915:12:5"
|
|
},
|
|
"nativeSrc": "4915:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4915:12:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4879:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4879:5:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4904:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4904:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "4886:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4886:17:5"
|
|
},
|
|
"nativeSrc": "4886:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4886:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "4876:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4876:2:5"
|
|
},
|
|
"nativeSrc": "4876:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4876:35:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "4869:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4869:6:5"
|
|
},
|
|
"nativeSrc": "4869:43:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4869:43:5"
|
|
},
|
|
"nativeSrc": "4866:63:5",
|
|
"nodeType": "YulIf",
|
|
"src": "4866:63:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "validator_revert_t_address",
|
|
"nativeSrc": "4813:122:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4849:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4849:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4813:122:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4993:87:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "4993:87:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5003:29:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5003:29:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5025:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5025:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "5012:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5012:12:5"
|
|
},
|
|
"nativeSrc": "5012:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5012:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5003:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5003:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5068:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5068:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "validator_revert_t_address",
|
|
"nativeSrc": "5041:26:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5041:26:5"
|
|
},
|
|
"nativeSrc": "5041:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5041:33:5"
|
|
},
|
|
"nativeSrc": "5041:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5041:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "4941:139:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "4971:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4971:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "4979:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4979:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "4987:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4987:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4941:139:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5131:32:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5131:32:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5141:16:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5141:16:5",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "5152:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5152:5:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "5141:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5141:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "5086:77:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5113:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5113:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "5123:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5123:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5086:77:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5212:79:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5212:79:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5269:16:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5269:16:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5278:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5278:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5281:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5281:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "5271:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5271:6:5"
|
|
},
|
|
"nativeSrc": "5271:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5271:12:5"
|
|
},
|
|
"nativeSrc": "5271:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5271:12:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5235:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5235:5:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5260:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5260:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "5242:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5242:17:5"
|
|
},
|
|
"nativeSrc": "5242:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5242:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "5232:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5232:2:5"
|
|
},
|
|
"nativeSrc": "5232:35:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5232:35:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "5225:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5225:6:5"
|
|
},
|
|
"nativeSrc": "5225:43:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5225:43:5"
|
|
},
|
|
"nativeSrc": "5222:63:5",
|
|
"nodeType": "YulIf",
|
|
"src": "5222:63:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "validator_revert_t_uint256",
|
|
"nativeSrc": "5169:122:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5205:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5205:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5169:122:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5349:87:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5349:87:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5359:29:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5359:29:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5381:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5381:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "5368:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5368:12:5"
|
|
},
|
|
"nativeSrc": "5368:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5368:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5359:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5359:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5424:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5424:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "validator_revert_t_uint256",
|
|
"nativeSrc": "5397:26:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5397:26:5"
|
|
},
|
|
"nativeSrc": "5397:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5397:33:5"
|
|
},
|
|
"nativeSrc": "5397:33:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5397:33:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_uint256",
|
|
"nativeSrc": "5297:139:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5327:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5327:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "5335:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5335:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "5343:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5343:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5297:139:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5552:689:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5552:689:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5598:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5598:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "5600:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5600:77:5"
|
|
},
|
|
"nativeSrc": "5600:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5600:79:5"
|
|
},
|
|
"nativeSrc": "5600:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5600:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5573:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5573:7:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5582:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5582:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "5569:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5569:3:5"
|
|
},
|
|
"nativeSrc": "5569:23:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5569:23:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5594:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5594:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "5565:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5565:3:5"
|
|
},
|
|
"nativeSrc": "5565:32:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5565:32:5"
|
|
},
|
|
"nativeSrc": "5562:119:5",
|
|
"nodeType": "YulIf",
|
|
"src": "5562:119:5"
|
|
},
|
|
{
|
|
"nativeSrc": "5691:287:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5691:287:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5706:45:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "5706:45:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5737:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5737:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5748:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5748:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5733:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5733:3:5"
|
|
},
|
|
"nativeSrc": "5733:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5733:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "5720:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5720:12:5"
|
|
},
|
|
"nativeSrc": "5720:31:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5720:31:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5710:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5710:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5798:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5798:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
"nativeSrc": "5800:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5800:77:5"
|
|
},
|
|
"nativeSrc": "5800:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5800:79:5"
|
|
},
|
|
"nativeSrc": "5800:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5800:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5770:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5770:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5778:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5778:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "5767:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5767:2:5"
|
|
},
|
|
"nativeSrc": "5767:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5767:30:5"
|
|
},
|
|
"nativeSrc": "5764:117:5",
|
|
"nodeType": "YulIf",
|
|
"src": "5764:117:5"
|
|
},
|
|
{
|
|
"nativeSrc": "5895:73:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5895:73:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5940:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5940:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "5951:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5951:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5936:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5936:3:5"
|
|
},
|
|
"nativeSrc": "5936:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5936:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5960:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5960:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "5905:30:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5905:30:5"
|
|
},
|
|
"nativeSrc": "5905:63:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5905:63:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "5895:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5895:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5988:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "5988:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6003:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6003:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "6017:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6017:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6007:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6007:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6033:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6033:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6068:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6068:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6079:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6079:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6064:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6064:3:5"
|
|
},
|
|
"nativeSrc": "6064:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6064:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6088:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6088:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "6043:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6043:20:5"
|
|
},
|
|
"nativeSrc": "6043:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6043:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "6033:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6033:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6116:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6116:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6131:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6131:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "6145:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6145:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6135:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6135:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6161:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6161:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6196:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6196:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6207:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6207:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6192:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6192:3:5"
|
|
},
|
|
"nativeSrc": "6192:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6192:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6216:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6216:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_uint256",
|
|
"nativeSrc": "6171:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6171:20:5"
|
|
},
|
|
"nativeSrc": "6171:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6171:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "6161:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6161:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_string_memory_ptrt_addresst_uint256",
|
|
"nativeSrc": "5442:799:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "5506:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5506:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "5517:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5517:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "5529:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5529:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "5537:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5537:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "5545:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5545:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5442:799:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6391:947:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6391:947:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6438:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6438:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "6440:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6440:77:5"
|
|
},
|
|
"nativeSrc": "6440:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6440:79:5"
|
|
},
|
|
"nativeSrc": "6440:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6440:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6412:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6412:7:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6421:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6421:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "6408:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6408:3:5"
|
|
},
|
|
"nativeSrc": "6408:23:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6408:23:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6433:3:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6433:3:5",
|
|
"type": "",
|
|
"value": "160"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "6404:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6404:3:5"
|
|
},
|
|
"nativeSrc": "6404:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6404:33:5"
|
|
},
|
|
"nativeSrc": "6401:120:5",
|
|
"nodeType": "YulIf",
|
|
"src": "6401:120:5"
|
|
},
|
|
{
|
|
"nativeSrc": "6531:117:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6531:117:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6546:15:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6546:15:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "6560:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6560:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6550:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6550:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6575:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6575:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6610:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6610:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6621:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6621:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6606:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6606:3:5"
|
|
},
|
|
"nativeSrc": "6606:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6606:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6630:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6630:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_bytes32",
|
|
"nativeSrc": "6585:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6585:20:5"
|
|
},
|
|
"nativeSrc": "6585:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6585:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "6575:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6575:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6658:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6658:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6673:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6673:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "6687:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6687:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6677:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6677:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6703:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6703:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6738:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6738:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6749:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6749:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6734:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6734:3:5"
|
|
},
|
|
"nativeSrc": "6734:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6734:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6758:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6758:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "6713:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6713:20:5"
|
|
},
|
|
"nativeSrc": "6713:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6713:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "6703:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6703:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6786:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6786:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6801:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6801:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "6815:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6815:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6805:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6805:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6831:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6831:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6866:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6866:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6877:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6877:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6862:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6862:3:5"
|
|
},
|
|
"nativeSrc": "6862:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6862:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6886:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6886:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_address",
|
|
"nativeSrc": "6841:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6841:20:5"
|
|
},
|
|
"nativeSrc": "6841:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6841:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "6831:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6831:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6914:118:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "6914:118:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6929:16:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6929:16:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "6943:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6943:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6933:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6933:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6959:63:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6959:63:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6994:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6994:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "7005:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7005:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6990:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6990:3:5"
|
|
},
|
|
"nativeSrc": "6990:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6990:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "7014:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7014:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_uint256",
|
|
"nativeSrc": "6969:20:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6969:20:5"
|
|
},
|
|
"nativeSrc": "6969:53:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6969:53:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "6959:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6959:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "7042:289:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7042:289:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7057:47:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "7057:47:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7088:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7088:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7099:3:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7099:3:5",
|
|
"type": "",
|
|
"value": "128"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7084:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7084:3:5"
|
|
},
|
|
"nativeSrc": "7084:19:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7084:19:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "7071:12:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7071:12:5"
|
|
},
|
|
"nativeSrc": "7071:33:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7071:33:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "7061:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7061:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7151:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7151:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
"nativeSrc": "7153:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7153:77:5"
|
|
},
|
|
"nativeSrc": "7153:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7153:79:5"
|
|
},
|
|
"nativeSrc": "7153:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7153:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "7123:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7123:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7131:18:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7131:18:5",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "7120:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7120:2:5"
|
|
},
|
|
"nativeSrc": "7120:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7120:30:5"
|
|
},
|
|
"nativeSrc": "7117:117:5",
|
|
"nodeType": "YulIf",
|
|
"src": "7117:117:5"
|
|
},
|
|
{
|
|
"nativeSrc": "7248:73:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7248:73:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7293:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7293:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "7304:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7304:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7289:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7289:3:5"
|
|
},
|
|
"nativeSrc": "7289:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7289:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "7313:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7313:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "7258:30:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7258:30:5"
|
|
},
|
|
"nativeSrc": "7258:63:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7258:63:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "7248:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7248:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_bytes32t_addresst_addresst_uint256t_string_memory_ptr",
|
|
"nativeSrc": "6247:1091:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6329:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6329:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6340:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6340:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "6352:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6352:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "6360:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6360:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "6368:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6368:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "6376:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6376:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "6384:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6384:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "6247:1091:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7409:53:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7409:53:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7426:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7426:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "7449:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7449:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "7431:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7431:17:5"
|
|
},
|
|
"nativeSrc": "7431:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7431:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7419:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7419:6:5"
|
|
},
|
|
"nativeSrc": "7419:37:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7419:37:5"
|
|
},
|
|
"nativeSrc": "7419:37:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7419:37:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "7344:118:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "7397:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7397:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7404:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7404:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7344:118:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7566:124:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7566:124:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7576:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7576:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7588:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7588:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7599:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7599:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7584:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7584:3:5"
|
|
},
|
|
"nativeSrc": "7584:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7584:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7576:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7576:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "7656:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7656:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7669:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7669:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7680:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7680:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7665:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7665:3:5"
|
|
},
|
|
"nativeSrc": "7665:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7665:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "7612:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7612:43:5"
|
|
},
|
|
"nativeSrc": "7612:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7612:71:5"
|
|
},
|
|
"nativeSrc": "7612:71:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7612:71:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
|
|
"nativeSrc": "7468:222:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7538:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7538:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "7550:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7550:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7561:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7561:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7468:222:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7761:53:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7761:53:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7778:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7778:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "7801:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7801:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "7783:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7783:17:5"
|
|
},
|
|
"nativeSrc": "7783:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7783:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7771:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7771:6:5"
|
|
},
|
|
"nativeSrc": "7771:37:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7771:37:5"
|
|
},
|
|
"nativeSrc": "7771:37:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7771:37:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
"nativeSrc": "7696:118:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "7749:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7749:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "7756:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7756:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7696:118:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7974:288:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "7974:288:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7984:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7984:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7996:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7996:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8007:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8007:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7992:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7992:3:5"
|
|
},
|
|
"nativeSrc": "7992:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7992:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7984:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7984:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "8064:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8064:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "8077:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8077:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8088:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8088:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "8073:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8073:3:5"
|
|
},
|
|
"nativeSrc": "8073:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8073:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "8020:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8020:43:5"
|
|
},
|
|
"nativeSrc": "8020:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8020:71:5"
|
|
},
|
|
"nativeSrc": "8020:71:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8020:71:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "8145:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8145:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "8158:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8158:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8169:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8169:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "8154:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8154:3:5"
|
|
},
|
|
"nativeSrc": "8154:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8154:18:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "8101:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8101:43:5"
|
|
},
|
|
"nativeSrc": "8101:72:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8101:72:5"
|
|
},
|
|
"nativeSrc": "8101:72:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8101:72:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "8227:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8227:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "8240:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8240:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8251:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8251:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "8236:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8236:3:5"
|
|
},
|
|
"nativeSrc": "8236:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8236:18:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
"nativeSrc": "8183:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8183:43:5"
|
|
},
|
|
"nativeSrc": "8183:72:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8183:72:5"
|
|
},
|
|
"nativeSrc": "8183:72:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8183:72:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed",
|
|
"nativeSrc": "7820:442:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7930:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7930:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "7942:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7942:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "7950:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7950:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "7958:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7958:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "7969:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7969:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7820:442:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8308:76:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8308:76:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8362:16:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8362:16:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8371:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8371:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8374:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8374:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "8364:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8364:6:5"
|
|
},
|
|
"nativeSrc": "8364:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8364:12:5"
|
|
},
|
|
"nativeSrc": "8364:12:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8364:12:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8331:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8331:5:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8353:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8353:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_bool",
|
|
"nativeSrc": "8338:14:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8338:14:5"
|
|
},
|
|
"nativeSrc": "8338:21:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8338:21:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "8328:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8328:2:5"
|
|
},
|
|
"nativeSrc": "8328:32:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8328:32:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "8321:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8321:6:5"
|
|
},
|
|
"nativeSrc": "8321:40:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8321:40:5"
|
|
},
|
|
"nativeSrc": "8318:60:5",
|
|
"nodeType": "YulIf",
|
|
"src": "8318:60:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "validator_revert_t_bool",
|
|
"nativeSrc": "8268:116:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8301:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8301:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8268:116:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8450:77:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8450:77:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8460:22:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8460:22:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "8475:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8475:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "8469:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8469:5:5"
|
|
},
|
|
"nativeSrc": "8469:13:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8469:13:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8460:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8460:5:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8515:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8515:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "validator_revert_t_bool",
|
|
"nativeSrc": "8491:23:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8491:23:5"
|
|
},
|
|
"nativeSrc": "8491:30:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8491:30:5"
|
|
},
|
|
"nativeSrc": "8491:30:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8491:30:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_bool_fromMemory",
|
|
"nativeSrc": "8390:137:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "8428:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8428:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "8436:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8436:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8444:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8444:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8390:137:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8607:271:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8607:271:5",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8653:83:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8653:83:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "8655:77:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8655:77:5"
|
|
},
|
|
"nativeSrc": "8655:79:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8655:79:5"
|
|
},
|
|
"nativeSrc": "8655:79:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8655:79:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "8628:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8628:7:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "8637:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8637:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "8624:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8624:3:5"
|
|
},
|
|
"nativeSrc": "8624:23:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8624:23:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8649:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8649:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "8620:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8620:3:5"
|
|
},
|
|
"nativeSrc": "8620:32:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8620:32:5"
|
|
},
|
|
"nativeSrc": "8617:119:5",
|
|
"nodeType": "YulIf",
|
|
"src": "8617:119:5"
|
|
},
|
|
{
|
|
"nativeSrc": "8746:125:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8746:125:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8761:15:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "8761:15:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "8775:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8775:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "8765:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8765:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "8790:71:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8790:71:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "8833:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8833:9:5"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "8844:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8844:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "8829:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8829:3:5"
|
|
},
|
|
"nativeSrc": "8829:22:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8829:22:5"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "8853:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8853:7:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_bool_fromMemory",
|
|
"nativeSrc": "8800:28:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8800:28:5"
|
|
},
|
|
"nativeSrc": "8800:61:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8800:61:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "8790:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8790:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_bool_fromMemory",
|
|
"nativeSrc": "8533:345:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "8577:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8577:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "8588:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8588:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "8600:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8600:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8533:345:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8980:73:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "8980:73:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "8997:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8997:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "9002:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9002:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "8990:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8990:6:5"
|
|
},
|
|
"nativeSrc": "8990:19:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8990:19:5"
|
|
},
|
|
"nativeSrc": "8990:19:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8990:19:5"
|
|
},
|
|
{
|
|
"nativeSrc": "9018:29:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9018:29:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9037:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9037:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9042:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9042:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9033:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9033:3:5"
|
|
},
|
|
"nativeSrc": "9033:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9033:14:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "9018:11:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9018:11:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "8884:169:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "8952:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8952:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "8957:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8957:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "8968:11:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8968:11:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8884:169:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9165:59:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9165:59:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "9187:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9187:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9195:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9195:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9183:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9183:3:5"
|
|
},
|
|
"nativeSrc": "9183:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9183:14:5"
|
|
},
|
|
{
|
|
"hexValue": "5472616e73666572206661696c6564",
|
|
"kind": "string",
|
|
"nativeSrc": "9199:17:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9199:17:5",
|
|
"type": "",
|
|
"value": "Transfer failed"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "9176:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9176:6:5"
|
|
},
|
|
"nativeSrc": "9176:41:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9176:41:5"
|
|
},
|
|
"nativeSrc": "9176:41:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9176:41:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "store_literal_in_memory_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51",
|
|
"nativeSrc": "9059:165:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "9157:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9157:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9059:165:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9376:220:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9376:220:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9386:74:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9386:74:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9452:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9452:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9457:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9457:2:5",
|
|
"type": "",
|
|
"value": "15"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "9393:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9393:58:5"
|
|
},
|
|
"nativeSrc": "9393:67:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9393:67:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9386:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9386:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9558:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9558:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "store_literal_in_memory_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51",
|
|
"nativeSrc": "9469:88:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9469:88:5"
|
|
},
|
|
"nativeSrc": "9469:93:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9469:93:5"
|
|
},
|
|
"nativeSrc": "9469:93:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9469:93:5"
|
|
},
|
|
{
|
|
"nativeSrc": "9571:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9571:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9582:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9582:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9587:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9587:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9578:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9578:3:5"
|
|
},
|
|
"nativeSrc": "9578:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9578:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "9571:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9571:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "9230:366:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "9364:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9364:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "9372:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9372:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9230:366:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9773:248:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "9773:248:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9783:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9783:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "9795:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9795:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9806:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9806:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9791:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9791:3:5"
|
|
},
|
|
"nativeSrc": "9791:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9791:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "9783:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9783:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "9830:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9830:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9841:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9841:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9826:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9826:3:5"
|
|
},
|
|
"nativeSrc": "9826:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9826:17:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "9849:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9849:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "9855:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9855:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "9845:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9845:3:5"
|
|
},
|
|
"nativeSrc": "9845:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9845:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "9819:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9819:6:5"
|
|
},
|
|
"nativeSrc": "9819:47:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9819:47:5"
|
|
},
|
|
"nativeSrc": "9819:47:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9819:47:5"
|
|
},
|
|
{
|
|
"nativeSrc": "9875:139:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9875:139:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "10009:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10009:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "9883:124:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9883:124:5"
|
|
},
|
|
"nativeSrc": "9883:131:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9883:131:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "9875:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9875:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51__to_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "9602:419:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "9753:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9753:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "9768:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9768:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9602:419:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10074:32:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10074:32:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10084:16:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10084:16:5",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "10095:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10095:5:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "10084:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10084:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "leftAlign_t_uint256",
|
|
"nativeSrc": "10027:79:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10056:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10056:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "10066:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10066:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10027:79:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10195:74:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10195:74:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10212:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10212:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10255:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10255:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "10237:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10237:17:5"
|
|
},
|
|
"nativeSrc": "10237:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10237:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "leftAlign_t_uint256",
|
|
"nativeSrc": "10217:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10217:19:5"
|
|
},
|
|
"nativeSrc": "10217:45:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10217:45:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "10205:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10205:6:5"
|
|
},
|
|
"nativeSrc": "10205:58:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10205:58:5"
|
|
},
|
|
"nativeSrc": "10205:58:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "10205:58:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "10112:157:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10183:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10183:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10190:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10190:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10112:157:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10317:52:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10317:52:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10327:35:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10327:35:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10352:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10352:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10356:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10356:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shl",
|
|
"nativeSrc": "10348:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10348:3:5"
|
|
},
|
|
"nativeSrc": "10348:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10348:14:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "10327:8:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10327:8:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "shift_left_96",
|
|
"nativeSrc": "10275:94:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10298:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10298:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "10308:8:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10308:8:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10275:94:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10422:47:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10422:47:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10432:31:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10432:31:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10457:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10457:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shift_left_96",
|
|
"nativeSrc": "10443:13:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10443:13:5"
|
|
},
|
|
"nativeSrc": "10443:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10443:20:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "10432:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10432:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "leftAlign_t_uint160",
|
|
"nativeSrc": "10375:94:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10404:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10404:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "10414:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10414:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10375:94:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10522:53:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10522:53:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10532:37:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10532:37:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10563:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10563:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "leftAlign_t_uint160",
|
|
"nativeSrc": "10543:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10543:19:5"
|
|
},
|
|
"nativeSrc": "10543:26:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10543:26:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "10532:7:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10532:7:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "leftAlign_t_address",
|
|
"nativeSrc": "10475:100:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10504:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10504:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "aligned",
|
|
"nativeSrc": "10514:7:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10514:7:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10475:100:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10664:74:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10664:74:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10681:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10681:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10724:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10724:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_address",
|
|
"nativeSrc": "10706:17:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10706:17:5"
|
|
},
|
|
"nativeSrc": "10706:24:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10706:24:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "leftAlign_t_address",
|
|
"nativeSrc": "10686:19:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10686:19:5"
|
|
},
|
|
"nativeSrc": "10686:45:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10686:45:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "10674:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10674:6:5"
|
|
},
|
|
"nativeSrc": "10674:58:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10674:58:5"
|
|
},
|
|
"nativeSrc": "10674:58:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "10674:58:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "10581:157:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10652:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10652:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10659:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10659:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10581:157:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10803:40:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10803:40:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10814:22:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10814:22:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10830:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10830:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "10824:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10824:5:5"
|
|
},
|
|
"nativeSrc": "10824:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10824:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "10814:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10814:6:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "10744:99:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10786:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10786:5:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "10796:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10796:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10744:99:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10963:34:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "10963:34:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10973:18:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10973:18:5",
|
|
"value": {
|
|
"name": "pos",
|
|
"nativeSrc": "10988:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10988:3:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "10973:11:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10973:11:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "10849:148:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "10935:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10935:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "10940:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10940:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "10951:11:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10951:11:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10849:148:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11065:184:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11065:184:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11075:10:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11075:10:5",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "11084:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11084:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11079:1:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11079:1:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11144:63:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11144:63:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "11169:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11169:3:5"
|
|
},
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11174:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11174:1:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11165:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11165:3:5"
|
|
},
|
|
"nativeSrc": "11165:11:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11165:11:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "11188:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11188:3:5"
|
|
},
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11193:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11193:1:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11184:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11184:3:5"
|
|
},
|
|
"nativeSrc": "11184:11:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11184:11:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "11178:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11178:5:5"
|
|
},
|
|
"nativeSrc": "11178:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11178:18:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "11158:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11158:6:5"
|
|
},
|
|
"nativeSrc": "11158:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11158:39:5"
|
|
},
|
|
"nativeSrc": "11158:39:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11158:39:5"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11105:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11105:1:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "11108:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11108:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "11102:2:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11102:2:5"
|
|
},
|
|
"nativeSrc": "11102:13:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11102:13:5"
|
|
},
|
|
"nativeSrc": "11094:113:5",
|
|
"nodeType": "YulForLoop",
|
|
"post": {
|
|
"nativeSrc": "11116:19:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11116:19:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11118:15:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11118:15:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11127:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11127:1:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11130:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11130:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11123:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11123:3:5"
|
|
},
|
|
"nativeSrc": "11123:10:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11123:10:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11118:1:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11118:1:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"pre": {
|
|
"nativeSrc": "11098:3:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11098:3:5",
|
|
"statements": []
|
|
},
|
|
"src": "11094:113:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "11227:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11227:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "11232:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11232:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11223:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11223:3:5"
|
|
},
|
|
"nativeSrc": "11223:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11223:16:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11241:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11241:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "11216:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11216:6:5"
|
|
},
|
|
"nativeSrc": "11216:27:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11216:27:5"
|
|
},
|
|
"nativeSrc": "11216:27:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11216:27:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "11003:246:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "11047:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11047:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "11052:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11052:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "11057:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11057:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "11003:246:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11365:280:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11365:280:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11375:53:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11375:53:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "11422:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11422:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "11389:32:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11389:32:5"
|
|
},
|
|
"nativeSrc": "11389:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11389:39:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "11379:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11379:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "11437:96:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11437:96:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11521:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11521:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "11526:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11526:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "11444:76:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11444:76:5"
|
|
},
|
|
"nativeSrc": "11444:89:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11444:89:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11437:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11437:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "11581:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11581:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11588:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11588:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11577:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11577:3:5"
|
|
},
|
|
"nativeSrc": "11577:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11577:16:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11595:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11595:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "11600:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11600:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "11542:34:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11542:34:5"
|
|
},
|
|
"nativeSrc": "11542:65:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11542:65:5"
|
|
},
|
|
"nativeSrc": "11542:65:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11542:65:5"
|
|
},
|
|
{
|
|
"nativeSrc": "11616:23:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11616:23:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11627:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11627:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "11632:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11632:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11623:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11623:3:5"
|
|
},
|
|
"nativeSrc": "11623:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11623:16:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "11616:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11616:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "11255:390:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "11346:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11346:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11353:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11353:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "11361:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11361:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "11255:390:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11899:591:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "11899:591:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "11972:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11972:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11981:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11981:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "11910:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11910:61:5"
|
|
},
|
|
"nativeSrc": "11910:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11910:75:5"
|
|
},
|
|
"nativeSrc": "11910:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11910:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "11994:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11994:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12005:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12005:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12010:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12010:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12001:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12001:3:5"
|
|
},
|
|
"nativeSrc": "12001:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12001:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11994:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11994:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "12085:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12085:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12094:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12094:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "12023:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12023:61:5"
|
|
},
|
|
"nativeSrc": "12023:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12023:75:5"
|
|
},
|
|
"nativeSrc": "12023:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12023:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "12107:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12107:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12118:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12118:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12123:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12123:2:5",
|
|
"type": "",
|
|
"value": "20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12114:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12114:3:5"
|
|
},
|
|
"nativeSrc": "12114:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12114:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12107:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12107:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "12198:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12198:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12207:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12207:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "12136:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12136:61:5"
|
|
},
|
|
"nativeSrc": "12136:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12136:75:5"
|
|
},
|
|
"nativeSrc": "12136:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12136:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "12220:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12220:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12231:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12231:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12236:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12236:2:5",
|
|
"type": "",
|
|
"value": "20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12227:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12227:3:5"
|
|
},
|
|
"nativeSrc": "12227:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12227:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12220:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12220:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "12311:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12311:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12320:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12320:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "12249:61:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12249:61:5"
|
|
},
|
|
"nativeSrc": "12249:75:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12249:75:5"
|
|
},
|
|
"nativeSrc": "12249:75:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12249:75:5"
|
|
},
|
|
{
|
|
"nativeSrc": "12333:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12333:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12344:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12344:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12349:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12349:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12340:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12340:3:5"
|
|
},
|
|
"nativeSrc": "12340:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12340:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12333:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12333:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "12362:102:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12362:102:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "12451:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12451:6:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12460:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12460:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
|
|
"nativeSrc": "12369:81:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12369:81:5"
|
|
},
|
|
"nativeSrc": "12369:95:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12369:95:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12362:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12362:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "12474:10:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12474:10:5",
|
|
"value": {
|
|
"name": "pos",
|
|
"nativeSrc": "12481:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12481:3:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "12474:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12474: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": "11651:839:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "11846:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11846:3:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value4",
|
|
"nativeSrc": "11852:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11852:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value3",
|
|
"nativeSrc": "11860:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11860:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "11868:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11868:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "11876:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11876:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "11884:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11884:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "11895:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11895:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "11651:839:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12588:285:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "12588:285:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "12598:53:5",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "12598:53:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12645:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12645:5:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "12612:32:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12612:32:5"
|
|
},
|
|
"nativeSrc": "12612:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12612:39:5"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12602:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12602:6:5",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "12660:78:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12660:78:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12726:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12726:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12731:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12731:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12667:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12667:58:5"
|
|
},
|
|
"nativeSrc": "12667:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12667:71:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12660:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12660:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12786:5:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12786:5:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12793:4:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12793:4:5",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12782:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12782:3:5"
|
|
},
|
|
"nativeSrc": "12782:16:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12782:16:5"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12800:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12800:3:5"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12805:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12805:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "12747:34:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12747:34:5"
|
|
},
|
|
"nativeSrc": "12747:65:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12747:65:5"
|
|
},
|
|
"nativeSrc": "12747:65:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12747:65:5"
|
|
},
|
|
{
|
|
"nativeSrc": "12821:46:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12821:46:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12832:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12832:3:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12859:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12859:6:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "12837:21:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12837:21:5"
|
|
},
|
|
"nativeSrc": "12837:29:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12837:29:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12828:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12828:3:5"
|
|
},
|
|
"nativeSrc": "12828:39:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12828:39:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "12821:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12821:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12496:377:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12569:5:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12569:5:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12576:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12576:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "12584:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12584:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12496:377:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "13053:359:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "13053:359:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "13063:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13063:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13075:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13075:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13086:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13086:2:5",
|
|
"type": "",
|
|
"value": "96"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13071:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13071:3:5"
|
|
},
|
|
"nativeSrc": "13071:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13071:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13063:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13063:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "13143:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13143:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13156:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13156:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13167:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13167:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13152:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13152:3:5"
|
|
},
|
|
"nativeSrc": "13152:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13152:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "13099:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13099:43:5"
|
|
},
|
|
"nativeSrc": "13099:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13099:71:5"
|
|
},
|
|
"nativeSrc": "13099:71:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "13099:71:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "13224:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13224:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13237:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13237:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13248:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13248:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13233:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13233:3:5"
|
|
},
|
|
"nativeSrc": "13233:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13233:18:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
"nativeSrc": "13180:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13180:43:5"
|
|
},
|
|
"nativeSrc": "13180:72:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13180:72:5"
|
|
},
|
|
"nativeSrc": "13180:72:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "13180:72:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13273:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13273:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13284:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13284:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13269:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13269:3:5"
|
|
},
|
|
"nativeSrc": "13269:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13269:18:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13293:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13293:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13299:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13299:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "13289:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13289:3:5"
|
|
},
|
|
"nativeSrc": "13289:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13289:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "13262:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13262:6:5"
|
|
},
|
|
"nativeSrc": "13262:48:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13262:48:5"
|
|
},
|
|
"nativeSrc": "13262:48:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "13262:48:5"
|
|
},
|
|
{
|
|
"nativeSrc": "13319:86:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13319:86:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "13391:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13391:6:5"
|
|
},
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13400:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13400:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "13327:63:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13327:63:5"
|
|
},
|
|
"nativeSrc": "13327:78:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13327:78:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13319:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13319: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": "12879:533:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13009:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13009:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value2",
|
|
"nativeSrc": "13021:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13021:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "13029:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13029:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "13037:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13037:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13048:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13048:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12879:533:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "13524:75:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "13524:75:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "13546:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13546:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13554:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13554:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13542:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13542:3:5"
|
|
},
|
|
"nativeSrc": "13542:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13542:14:5"
|
|
},
|
|
{
|
|
"hexValue": "4f6e6c792061646d696e2063616e2072656365697665206d65737361676573",
|
|
"kind": "string",
|
|
"nativeSrc": "13558:33:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13558:33:5",
|
|
"type": "",
|
|
"value": "Only admin can receive messages"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "13535:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13535:6:5"
|
|
},
|
|
"nativeSrc": "13535:57:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13535:57:5"
|
|
},
|
|
"nativeSrc": "13535:57:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "13535:57:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "store_literal_in_memory_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532",
|
|
"nativeSrc": "13418:181:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "13516:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13516:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "13418:181:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "13751:220:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "13751:220:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "13761:74:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13761:74:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "13827:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13827:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13832:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13832:2:5",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "13768:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13768:58:5"
|
|
},
|
|
"nativeSrc": "13768:67:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13768:67:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "13761:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13761:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "13933:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13933:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "store_literal_in_memory_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532",
|
|
"nativeSrc": "13844:88:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13844:88:5"
|
|
},
|
|
"nativeSrc": "13844:93:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13844:93:5"
|
|
},
|
|
"nativeSrc": "13844:93:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "13844:93:5"
|
|
},
|
|
{
|
|
"nativeSrc": "13946:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13946:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "13957:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13957:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13962:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13962:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13953:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13953:3:5"
|
|
},
|
|
"nativeSrc": "13953:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13953:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "13946:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13946:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "13605:366:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "13739:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13739:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "13747:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13747:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "13605:366:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "14148:248:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "14148:248:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "14158:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "14158:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "14170:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14170:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "14181:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "14181:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "14166:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14166:3:5"
|
|
},
|
|
"nativeSrc": "14166:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14166:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "14158:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14158:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "14205:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14205:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "14216:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "14216:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "14201:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14201:3:5"
|
|
},
|
|
"nativeSrc": "14201:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14201:17:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "14224:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14224:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "14230:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14230:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "14220:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14220:3:5"
|
|
},
|
|
"nativeSrc": "14220:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14220:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "14194:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14194:6:5"
|
|
},
|
|
"nativeSrc": "14194:47:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14194:47:5"
|
|
},
|
|
"nativeSrc": "14194:47:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "14194:47:5"
|
|
},
|
|
{
|
|
"nativeSrc": "14250:139:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "14250:139:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "14384:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14384:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "14258:124:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14258:124:5"
|
|
},
|
|
"nativeSrc": "14258:131:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14258:131:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "14250:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14250:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_stringliteral_ac3dbff0d863df284ae4052ae9a3804d40992dc2e95b62ce8ffe92c0fdc88532__to_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "13977:419:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "14128:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "14128:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "14143:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "14143:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "13977:419:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "14508:69:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "14508:69:5",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "14530:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14530:6:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "14538:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "14538:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "14526:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14526:3:5"
|
|
},
|
|
"nativeSrc": "14526:14:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14526:14:5"
|
|
},
|
|
{
|
|
"hexValue": "4d65737361676520616c72656164792070726f636573736564",
|
|
"kind": "string",
|
|
"nativeSrc": "14542:27:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "14542:27:5",
|
|
"type": "",
|
|
"value": "Message already processed"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "14519:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14519:6:5"
|
|
},
|
|
"nativeSrc": "14519:51:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14519:51:5"
|
|
},
|
|
"nativeSrc": "14519:51:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "14519:51:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "store_literal_in_memory_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc",
|
|
"nativeSrc": "14402:175:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "14500:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "14500:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "14402:175:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "14729:220:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "14729:220:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "14739:74:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "14739:74:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "14805:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14805:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "14810:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "14810:2:5",
|
|
"type": "",
|
|
"value": "25"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "14746:58:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14746:58:5"
|
|
},
|
|
"nativeSrc": "14746:67:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14746:67:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "14739:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14739:3:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "14911:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14911:3:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "store_literal_in_memory_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc",
|
|
"nativeSrc": "14822:88:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14822:88:5"
|
|
},
|
|
"nativeSrc": "14822:93:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14822:93:5"
|
|
},
|
|
"nativeSrc": "14822:93:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "14822:93:5"
|
|
},
|
|
{
|
|
"nativeSrc": "14924:19:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "14924:19:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "14935:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14935:3:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "14940:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "14940:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "14931:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14931:3:5"
|
|
},
|
|
"nativeSrc": "14931:12:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "14931:12:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "14924:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "14924:3:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "14583:366:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "14717:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "14717:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "14725:3:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "14725:3:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "14583:366:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "15126:248:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "15126:248:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "15136:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "15136:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15148:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15148:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "15159:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "15159:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "15144:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15144:3:5"
|
|
},
|
|
"nativeSrc": "15144:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15144:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "15136:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15136:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15183:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15183:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "15194:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "15194:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "15179:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15179:3:5"
|
|
},
|
|
"nativeSrc": "15179:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15179:17:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "15202:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15202:4:5"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15208:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15208:9:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "15198:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15198:3:5"
|
|
},
|
|
"nativeSrc": "15198:20:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15198:20:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "15172:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15172:6:5"
|
|
},
|
|
"nativeSrc": "15172:47:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15172:47:5"
|
|
},
|
|
"nativeSrc": "15172:47:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "15172:47:5"
|
|
},
|
|
{
|
|
"nativeSrc": "15228:139:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "15228:139:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "15362:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15362:4:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "15236:124:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15236:124:5"
|
|
},
|
|
"nativeSrc": "15236:131:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15236:131:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "15228:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15228:4:5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_stringliteral_ce52e83d839057c6eded6c3ade48bb15cfa535fddf47c137ba979ab4aea203cc__to_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "14955:419:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15106:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "15106:9:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "15121:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "15121:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "14955:419:5"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "15506:206:5",
|
|
"nodeType": "YulBlock",
|
|
"src": "15506:206:5",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "15516:26:5",
|
|
"nodeType": "YulAssignment",
|
|
"src": "15516:26:5",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15528:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15528:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "15539:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "15539:2:5",
|
|
"type": "",
|
|
"value": "64"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "15524:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15524:3:5"
|
|
},
|
|
"nativeSrc": "15524:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15524:18:5"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "15516:4:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15516:4:5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "15596:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15596:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15609:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15609:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "15620:1:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "15620:1:5",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "15605:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15605:3:5"
|
|
},
|
|
"nativeSrc": "15605:17:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15605:17:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_address_to_t_address_fromStack",
|
|
"nativeSrc": "15552:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15552:43:5"
|
|
},
|
|
"nativeSrc": "15552:71:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15552:71:5"
|
|
},
|
|
"nativeSrc": "15552:71:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "15552:71:5"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "15677:6:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15677:6:5"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15690:9:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15690:9:5"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "15701:2:5",
|
|
"nodeType": "YulLiteral",
|
|
"src": "15701:2:5",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "15686:3:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15686:3:5"
|
|
},
|
|
"nativeSrc": "15686:18:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15686:18:5"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
|
|
"nativeSrc": "15633:43:5",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "15633:43:5"
|
|
},
|
|
"nativeSrc": "15633:72:5",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "15633:72:5"
|
|
},
|
|
"nativeSrc": "15633:72:5",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "15633:72:5"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed",
|
|
"nativeSrc": "15380:332:5",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "15470:9:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "15470:9:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value1",
|
|
"nativeSrc": "15482:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "15482:6:5",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "15490:6:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "15490:6:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "15501:4:5",
|
|
"nodeType": "YulTypedName",
|
|
"src": "15501:4:5",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "15380:332: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 cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint160_to_t_uint160(value) -> converted {\n converted := cleanup_t_uint160(identity(cleanup_t_uint160(value)))\n }\n\n function convert_t_uint160_to_t_address(value) -> converted {\n converted := convert_t_uint160_to_t_uint160(value)\n }\n\n function convert_t_contract$_IERC20_$77_to_t_address(value) -> converted {\n converted := convert_t_uint160_to_t_address(value)\n }\n\n function abi_encode_t_contract$_IERC20_$77_to_t_address_fromStack(value, pos) {\n mstore(pos, convert_t_contract$_IERC20_$77_to_t_address(value))\n }\n\n function abi_encode_tuple_t_contract$_IERC20_$77__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_contract$_IERC20_$77_to_t_address_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_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 abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_address_to_t_address_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value2, add(headStart, 64))\n\n }\n\n function validator_revert_t_bool(value) {\n if iszero(eq(value, cleanup_t_bool(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bool_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_bool(value)\n }\n\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_bool_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51(memPtr) {\n\n mstore(add(memPtr, 0), \"Transfer failed\")\n\n }\n\n function abi_encode_t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 15)\n store_literal_in_memory_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51__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_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51_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_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 function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n}\n",
|
|
"id": 5,
|
|
"language": "Yul",
|
|
"name": "#utility.yul"
|
|
}
|
|
],
|
|
"sourceMap": "142:1156:1:-:0;;;254:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;303:10;295:5;;:18;;;;;;;;;;;;;;;;;;341:9;323:8;;:28;;;;;;;;;;;;;;;;;;254:104;142:1156;;88:117:5;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:351::-;915:6;964:2;952:9;943:7;939:23;935:32;932:119;;;970:79;;:::i;:::-;932:119;1090:1;1115:64;1171:7;1162:6;1151:9;1147:22;1115:64;:::i;:::-;1105:74;;1061:128;845:351;;;;:::o;142:1156:1:-;;;;;;;",
|
|
"deployedSourceMap": "142:1156:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;792:126:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;221:22:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131:49:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;368:413:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;791:505;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;195:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;792:126:2;860:4;883:17;:28;901:9;883:28;;;;;;;;;;;;;;;;;;;;;876:35;;792:126;;;:::o;221:22:1:-;;;;;;;;;;;;;:::o;131:49:2:-;;;;;;;;;;;;;;;;;;;;;;:::o;368:413:1:-;500:8;;;;;;;;;;;:21;;;522:10;542:4;549:6;500:56;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;492:84;;;;;;;;;;;;:::i;:::-;;;;;;;;;586:17;633:15;650:10;662:9;673:6;681:16;616:82;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;606:93;;;;;;586:113;;726:9;714:60;737:10;749:6;757:16;714:60;;;;;;;;:::i;:::-;;;;;;;;482:299;368:413;;;:::o;791:505::-;962:5;;;;;;;;;;;948:19;;:10;:19;;;940:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1022:29;1041:9;1022:18;:29::i;:::-;1021:30;1013:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1100:33;1123:9;1100:22;:33::i;:::-;1151:8;;;;;;;;;;;:17;;;1169:9;1180:6;1151:36;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1143:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;1247:9;1231:58;1258:9;1269:6;1277:11;1231:58;;;;;;;;:::i;:::-;;;;;;;;791:505;;;;;:::o;195: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:126::-;1489:7;1529:42;1522:5;1518:54;1507:65;;1452:126;;;:::o;1584:60::-;1612:3;1633:5;1626:12;;1584:60;;;:::o;1650:142::-;1700:9;1733:53;1751:34;1760:24;1778:5;1760:24;:::i;:::-;1751:34;:::i;:::-;1733:53;:::i;:::-;1720:66;;1650:142;;;:::o;1798:126::-;1848:9;1881:37;1912:5;1881:37;:::i;:::-;1868:50;;1798:126;;;:::o;1930:139::-;1993:9;2026:37;2057:5;2026:37;:::i;:::-;2013:50;;1930:139;;;:::o;2075:157::-;2175:50;2219:5;2175:50;:::i;:::-;2170:3;2163:63;2075:157;;:::o;2238:248::-;2344:4;2382:2;2371:9;2367:18;2359:26;;2395:84;2476:1;2465:9;2461:17;2452:6;2395:84;:::i;:::-;2238:248;;;;:::o;2492:117::-;2601:1;2598;2591:12;2615:117;2724:1;2721;2714:12;2738:102;2779:6;2830:2;2826:7;2821:2;2814:5;2810:14;2806:28;2796:38;;2738:102;;;:::o;2846:180::-;2894:77;2891:1;2884:88;2991:4;2988:1;2981:15;3015:4;3012:1;3005:15;3032:281;3115:27;3137:4;3115:27;:::i;:::-;3107:6;3103:40;3245:6;3233:10;3230:22;3209:18;3197:10;3194:34;3191:62;3188:88;;;3256:18;;:::i;:::-;3188:88;3296:10;3292:2;3285:22;3075:238;3032:281;;:::o;3319:129::-;3353:6;3380:20;;:::i;:::-;3370:30;;3409:33;3437:4;3429:6;3409:33;:::i;:::-;3319:129;;;:::o;3454:308::-;3516:4;3606:18;3598:6;3595:30;3592:56;;;3628:18;;:::i;:::-;3592:56;3666:29;3688:6;3666:29;:::i;:::-;3658:37;;3750:4;3744;3740:15;3732:23;;3454:308;;;:::o;3768:146::-;3865:6;3860:3;3855;3842:30;3906:1;3897:6;3892:3;3888:16;3881:27;3768:146;;;:::o;3920:425::-;3998:5;4023:66;4039:49;4081:6;4039:49;:::i;:::-;4023:66;:::i;:::-;4014:75;;4112:6;4105:5;4098:21;4150:4;4143:5;4139:16;4188:3;4179:6;4174:3;4170:16;4167:25;4164:112;;;4195:79;;:::i;:::-;4164:112;4285:54;4332:6;4327:3;4322;4285:54;:::i;:::-;4004:341;3920:425;;;;;:::o;4365:340::-;4421:5;4470:3;4463:4;4455:6;4451:17;4447:27;4437:122;;4478:79;;:::i;:::-;4437:122;4595:6;4582:20;4620:79;4695:3;4687:6;4680:4;4672:6;4668:17;4620:79;:::i;:::-;4611:88;;4427:278;4365:340;;;;:::o;4711:96::-;4748:7;4777:24;4795:5;4777:24;:::i;:::-;4766:35;;4711:96;;;:::o;4813:122::-;4886:24;4904:5;4886:24;:::i;:::-;4879:5;4876:35;4866:63;;4925:1;4922;4915:12;4866:63;4813:122;:::o;4941:139::-;4987:5;5025:6;5012:20;5003:29;;5041:33;5068:5;5041:33;:::i;:::-;4941:139;;;;:::o;5086:77::-;5123:7;5152:5;5141:16;;5086:77;;;:::o;5169:122::-;5242:24;5260:5;5242:24;:::i;:::-;5235:5;5232:35;5222:63;;5281:1;5278;5271:12;5222:63;5169:122;:::o;5297:139::-;5343:5;5381:6;5368:20;5359:29;;5397:33;5424:5;5397:33;:::i;:::-;5297:139;;;;:::o;5442:799::-;5529:6;5537;5545;5594:2;5582:9;5573:7;5569:23;5565:32;5562:119;;;5600:79;;:::i;:::-;5562:119;5748:1;5737:9;5733:17;5720:31;5778:18;5770:6;5767:30;5764:117;;;5800:79;;:::i;:::-;5764:117;5905:63;5960:7;5951:6;5940:9;5936:22;5905:63;:::i;:::-;5895:73;;5691:287;6017:2;6043:53;6088:7;6079:6;6068:9;6064:22;6043:53;:::i;:::-;6033:63;;5988:118;6145:2;6171:53;6216:7;6207:6;6196:9;6192:22;6171:53;:::i;:::-;6161:63;;6116:118;5442:799;;;;;:::o;6247:1091::-;6352:6;6360;6368;6376;6384;6433:3;6421:9;6412:7;6408:23;6404:33;6401:120;;;6440:79;;:::i;:::-;6401:120;6560:1;6585:53;6630:7;6621:6;6610:9;6606:22;6585:53;:::i;:::-;6575:63;;6531:117;6687:2;6713:53;6758:7;6749:6;6738:9;6734:22;6713:53;:::i;:::-;6703:63;;6658:118;6815:2;6841:53;6886:7;6877:6;6866:9;6862:22;6841:53;:::i;:::-;6831:63;;6786:118;6943:2;6969:53;7014:7;7005:6;6994:9;6990:22;6969:53;:::i;:::-;6959:63;;6914:118;7099:3;7088:9;7084:19;7071:33;7131:18;7123:6;7120:30;7117:117;;;7153:79;;:::i;:::-;7117:117;7258:63;7313:7;7304:6;7293:9;7289:22;7258:63;:::i;:::-;7248:73;;7042:289;6247:1091;;;;;;;;:::o;7344:118::-;7431:24;7449:5;7431:24;:::i;:::-;7426:3;7419:37;7344:118;;:::o;7468:222::-;7561:4;7599:2;7588:9;7584:18;7576:26;;7612:71;7680:1;7669:9;7665:17;7656:6;7612:71;:::i;:::-;7468:222;;;;:::o;7696:118::-;7783:24;7801:5;7783:24;:::i;:::-;7778:3;7771:37;7696:118;;:::o;7820:442::-;7969:4;8007:2;7996:9;7992:18;7984:26;;8020:71;8088:1;8077:9;8073:17;8064:6;8020:71;:::i;:::-;8101:72;8169:2;8158:9;8154:18;8145:6;8101:72;:::i;:::-;8183;8251:2;8240:9;8236:18;8227:6;8183:72;:::i;:::-;7820:442;;;;;;:::o;8268:116::-;8338:21;8353:5;8338:21;:::i;:::-;8331:5;8328:32;8318:60;;8374:1;8371;8364:12;8318:60;8268:116;:::o;8390:137::-;8444:5;8475:6;8469:13;8460:22;;8491:30;8515:5;8491:30;:::i;:::-;8390:137;;;;:::o;8533:345::-;8600:6;8649:2;8637:9;8628:7;8624:23;8620:32;8617:119;;;8655:79;;:::i;:::-;8617:119;8775:1;8800:61;8853:7;8844:6;8833:9;8829:22;8800:61;:::i;:::-;8790:71;;8746:125;8533:345;;;;:::o;8884:169::-;8968:11;9002:6;8997:3;8990:19;9042:4;9037:3;9033:14;9018:29;;8884:169;;;;:::o;9059:165::-;9199:17;9195:1;9187:6;9183:14;9176:41;9059:165;:::o;9230:366::-;9372:3;9393:67;9457:2;9452:3;9393:67;:::i;:::-;9386:74;;9469:93;9558:3;9469:93;:::i;:::-;9587:2;9582:3;9578:12;9571:19;;9230:366;;;:::o;9602:419::-;9768:4;9806:2;9795:9;9791:18;9783:26;;9855:9;9849:4;9845:20;9841:1;9830:9;9826:17;9819:47;9883:131;10009:4;9883:131;:::i;:::-;9875:139;;9602:419;;;:::o;10027:79::-;10066:7;10095:5;10084:16;;10027:79;;;:::o;10112:157::-;10217:45;10237:24;10255:5;10237:24;:::i;:::-;10217:45;:::i;:::-;10212:3;10205:58;10112:157;;:::o;10275:94::-;10308:8;10356:5;10352:2;10348:14;10327:35;;10275:94;;;:::o;10375:::-;10414:7;10443:20;10457:5;10443:20;:::i;:::-;10432:31;;10375:94;;;:::o;10475:100::-;10514:7;10543:26;10563:5;10543:26;:::i;:::-;10532:37;;10475:100;;;:::o;10581:157::-;10686:45;10706:24;10724:5;10706:24;:::i;:::-;10686:45;:::i;:::-;10681:3;10674:58;10581:157;;:::o;10744:99::-;10796:6;10830:5;10824:12;10814:22;;10744:99;;;:::o;10849:148::-;10951:11;10988:3;10973:18;;10849:148;;;;:::o;11003:246::-;11084:1;11094:113;11108:6;11105:1;11102:13;11094:113;;;11193:1;11188:3;11184:11;11178:18;11174:1;11169:3;11165:11;11158:39;11130:2;11127:1;11123:10;11118:15;;11094:113;;;11241:1;11232:6;11227:3;11223:16;11216:27;11065:184;11003:246;;;:::o;11255:390::-;11361:3;11389:39;11422:5;11389:39;:::i;:::-;11444:89;11526:6;11521:3;11444:89;:::i;:::-;11437:96;;11542:65;11600:6;11595:3;11588:4;11581:5;11577:16;11542:65;:::i;:::-;11632:6;11627:3;11623:16;11616:23;;11365:280;11255:390;;;;:::o;11651:839::-;11895:3;11910:75;11981:3;11972:6;11910:75;:::i;:::-;12010:2;12005:3;12001:12;11994:19;;12023:75;12094:3;12085:6;12023:75;:::i;:::-;12123:2;12118:3;12114:12;12107:19;;12136:75;12207:3;12198:6;12136:75;:::i;:::-;12236:2;12231:3;12227:12;12220:19;;12249:75;12320:3;12311:6;12249:75;:::i;:::-;12349:2;12344:3;12340:12;12333:19;;12369:95;12460:3;12451:6;12369:95;:::i;:::-;12362:102;;12481:3;12474:10;;11651:839;;;;;;;;:::o;12496:377::-;12584:3;12612:39;12645:5;12612:39;:::i;:::-;12667:71;12731:6;12726:3;12667:71;:::i;:::-;12660:78;;12747:65;12805:6;12800:3;12793:4;12786:5;12782:16;12747:65;:::i;:::-;12837:29;12859:6;12837:29;:::i;:::-;12832:3;12828:39;12821:46;;12588:285;12496:377;;;;:::o;12879:533::-;13048:4;13086:2;13075:9;13071:18;13063:26;;13099:71;13167:1;13156:9;13152:17;13143:6;13099:71;:::i;:::-;13180:72;13248:2;13237:9;13233:18;13224:6;13180:72;:::i;:::-;13299:9;13293:4;13289:20;13284:2;13273:9;13269:18;13262:48;13327:78;13400:4;13391:6;13327:78;:::i;:::-;13319:86;;12879:533;;;;;;:::o;13418:181::-;13558:33;13554:1;13546:6;13542:14;13535:57;13418:181;:::o;13605:366::-;13747:3;13768:67;13832:2;13827:3;13768:67;:::i;:::-;13761:74;;13844:93;13933:3;13844:93;:::i;:::-;13962:2;13957:3;13953:12;13946:19;;13605:366;;;:::o;13977:419::-;14143:4;14181:2;14170:9;14166:18;14158:26;;14230:9;14224:4;14220:20;14216:1;14205:9;14201:17;14194:47;14258:131;14384:4;14258:131;:::i;:::-;14250:139;;13977:419;;;:::o;14402:175::-;14542:27;14538:1;14530:6;14526:14;14519:51;14402:175;:::o;14583:366::-;14725:3;14746:67;14810:2;14805:3;14746:67;:::i;:::-;14739:74;;14822:93;14911:3;14822:93;:::i;:::-;14940:2;14935:3;14931:12;14924:19;;14583:366;;;:::o;14955:419::-;15121:4;15159:2;15148:9;15144:18;15136:26;;15208:9;15202:4;15198:20;15194:1;15183:9;15179:17;15172:47;15236:131;15362:4;15236:131;:::i;:::-;15228:139;;14955:419;;;:::o;15380:332::-;15501:4;15539:2;15528:9;15524:18;15516:26;;15552:71;15620:1;15609:9;15605:17;15596:6;15552:71;:::i;:::-;15633:72;15701:2;15690:9;15686:18;15677:6;15633:72;:::i;:::-;15380:332;;;;;:::o",
|
|
"source": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport \"./BridgeBase.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\ncontract BinanceSmartChainBridge is BridgeBase {\n address public admin;\n IERC20 public bnbToken;\n \n constructor(address _bnbToken) {\n admin = msg.sender;\n bnbToken = IERC20(_bnbToken);\n }\n \n function sendMessage(string memory destinationChain, address recipient, uint256 amount) external payable override {\n require(bnbToken.transferFrom(msg.sender, address(this), amount), \"Transfer failed\");\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 require(bnbToken.transfer(recipient, amount), \"Transfer failed\");\n \n emit MessageReceived(messageId, recipient, amount, sourceChain);\n }\n}\n",
|
|
"sourcePath": "/home/arhan/eigenlayer-don-3/eth-contracts/contracts/BinanceSmartChainBridge.sol",
|
|
"ast": {
|
|
"absolutePath": "project:/contracts/BinanceSmartChainBridge.sol",
|
|
"exportedSymbols": {
|
|
"BinanceSmartChainBridge": [
|
|
205
|
|
],
|
|
"BridgeBase": [
|
|
278
|
|
],
|
|
"IERC20": [
|
|
77
|
|
]
|
|
},
|
|
"id": 206,
|
|
"license": "MIT",
|
|
"nodeType": "SourceUnit",
|
|
"nodes": [
|
|
{
|
|
"id": 79,
|
|
"literals": [
|
|
"solidity",
|
|
"^",
|
|
"0.8",
|
|
".0"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "32:23:1"
|
|
},
|
|
{
|
|
"absolutePath": "project:/contracts/BridgeBase.sol",
|
|
"file": "./BridgeBase.sol",
|
|
"id": 80,
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "ImportDirective",
|
|
"scope": 206,
|
|
"sourceUnit": 279,
|
|
"src": "57:26:1",
|
|
"symbolAliases": [],
|
|
"unitAlias": ""
|
|
},
|
|
{
|
|
"absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
|
|
"file": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
|
|
"id": 81,
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "ImportDirective",
|
|
"scope": 206,
|
|
"sourceUnit": 78,
|
|
"src": "84:56:1",
|
|
"symbolAliases": [],
|
|
"unitAlias": ""
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [
|
|
{
|
|
"baseName": {
|
|
"id": 82,
|
|
"name": "BridgeBase",
|
|
"nameLocations": [
|
|
"178:10:1"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"referencedDeclaration": 278,
|
|
"src": "178:10:1"
|
|
},
|
|
"id": 83,
|
|
"nodeType": "InheritanceSpecifier",
|
|
"src": "178:10:1"
|
|
}
|
|
],
|
|
"canonicalName": "BinanceSmartChainBridge",
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"fullyImplemented": true,
|
|
"id": 205,
|
|
"linearizedBaseContracts": [
|
|
205,
|
|
278
|
|
],
|
|
"name": "BinanceSmartChainBridge",
|
|
"nameLocation": "151:23:1",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [
|
|
{
|
|
"constant": false,
|
|
"functionSelector": "f851a440",
|
|
"id": 85,
|
|
"mutability": "mutable",
|
|
"name": "admin",
|
|
"nameLocation": "210:5:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 205,
|
|
"src": "195:20:1",
|
|
"stateVariable": true,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 84,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "195:7:1",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"functionSelector": "2b17b6a9",
|
|
"id": 88,
|
|
"mutability": "mutable",
|
|
"name": "bnbToken",
|
|
"nameLocation": "235:8:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 205,
|
|
"src": "221:22:1",
|
|
"stateVariable": true,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_IERC20_$77",
|
|
"typeString": "contract IERC20"
|
|
},
|
|
"typeName": {
|
|
"id": 87,
|
|
"nodeType": "UserDefinedTypeName",
|
|
"pathNode": {
|
|
"id": 86,
|
|
"name": "IERC20",
|
|
"nameLocations": [
|
|
"221:6:1"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"referencedDeclaration": 77,
|
|
"src": "221:6:1"
|
|
},
|
|
"referencedDeclaration": 77,
|
|
"src": "221:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_IERC20_$77",
|
|
"typeString": "contract IERC20"
|
|
}
|
|
},
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": {
|
|
"id": 104,
|
|
"nodeType": "Block",
|
|
"src": "285:73:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"id": 96,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftHandSide": {
|
|
"id": 93,
|
|
"name": "admin",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 85,
|
|
"src": "295:5:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"nodeType": "Assignment",
|
|
"operator": "=",
|
|
"rightHandSide": {
|
|
"expression": {
|
|
"id": 94,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "303:3:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 95,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "307:6:1",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "303:10:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"src": "295:18:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"id": 97,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "295:18:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"id": 102,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftHandSide": {
|
|
"id": 98,
|
|
"name": "bnbToken",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 88,
|
|
"src": "323:8:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_IERC20_$77",
|
|
"typeString": "contract IERC20"
|
|
}
|
|
},
|
|
"nodeType": "Assignment",
|
|
"operator": "=",
|
|
"rightHandSide": {
|
|
"arguments": [
|
|
{
|
|
"id": 100,
|
|
"name": "_bnbToken",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 90,
|
|
"src": "341:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
],
|
|
"id": 99,
|
|
"name": "IERC20",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 77,
|
|
"src": "334:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_type$_t_contract$_IERC20_$77_$",
|
|
"typeString": "type(contract IERC20)"
|
|
}
|
|
},
|
|
"id": 101,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "typeConversion",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "334:17:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_IERC20_$77",
|
|
"typeString": "contract IERC20"
|
|
}
|
|
},
|
|
"src": "323:28:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_IERC20_$77",
|
|
"typeString": "contract IERC20"
|
|
}
|
|
},
|
|
"id": 103,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "323:28:1"
|
|
}
|
|
]
|
|
},
|
|
"id": 105,
|
|
"implemented": true,
|
|
"kind": "constructor",
|
|
"modifiers": [],
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 91,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 90,
|
|
"mutability": "mutable",
|
|
"name": "_bnbToken",
|
|
"nameLocation": "274:9:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 105,
|
|
"src": "266:17:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 89,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "266:7:1",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "265:19:1"
|
|
},
|
|
"returnParameters": {
|
|
"id": 92,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "285:0:1"
|
|
},
|
|
"scope": 205,
|
|
"src": "254:104:1",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"baseFunctions": [
|
|
240
|
|
],
|
|
"body": {
|
|
"id": 152,
|
|
"nodeType": "Block",
|
|
"src": "482:299:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"expression": {
|
|
"id": 118,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "522:3:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 119,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "526:6:1",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "522:10:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"id": 122,
|
|
"name": "this",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967268,
|
|
"src": "542:4:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_BinanceSmartChainBridge_$205",
|
|
"typeString": "contract BinanceSmartChainBridge"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_contract$_BinanceSmartChainBridge_$205",
|
|
"typeString": "contract BinanceSmartChainBridge"
|
|
}
|
|
],
|
|
"id": 121,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"nodeType": "ElementaryTypeNameExpression",
|
|
"src": "534:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_type$_t_address_$",
|
|
"typeString": "type(address)"
|
|
},
|
|
"typeName": {
|
|
"id": 120,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "534:7:1",
|
|
"typeDescriptions": {}
|
|
}
|
|
},
|
|
"id": 123,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "typeConversion",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "534:13:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 124,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 111,
|
|
"src": "549:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
],
|
|
"expression": {
|
|
"id": 116,
|
|
"name": "bnbToken",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 88,
|
|
"src": "500:8:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_IERC20_$77",
|
|
"typeString": "contract IERC20"
|
|
}
|
|
},
|
|
"id": 117,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "509:12:1",
|
|
"memberName": "transferFrom",
|
|
"nodeType": "MemberAccess",
|
|
"referencedDeclaration": 76,
|
|
"src": "500:21:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$",
|
|
"typeString": "function (address,address,uint256) external returns (bool)"
|
|
}
|
|
},
|
|
"id": 125,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "500:56:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
{
|
|
"hexValue": "5472616e73666572206661696c6564",
|
|
"id": 126,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"kind": "string",
|
|
"lValueRequested": false,
|
|
"nodeType": "Literal",
|
|
"src": "558:17:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51",
|
|
"typeString": "literal_string \"Transfer failed\""
|
|
},
|
|
"value": "Transfer failed"
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51",
|
|
"typeString": "literal_string \"Transfer failed\""
|
|
}
|
|
],
|
|
"id": 115,
|
|
"name": "require",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [
|
|
4294967278,
|
|
4294967278
|
|
],
|
|
"referencedDeclaration": 4294967278,
|
|
"src": "492:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bool,string memory) pure"
|
|
}
|
|
},
|
|
"id": 127,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "492:84:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 128,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "492:84:1"
|
|
},
|
|
{
|
|
"assignments": [
|
|
130
|
|
],
|
|
"declarations": [
|
|
{
|
|
"constant": false,
|
|
"id": 130,
|
|
"mutability": "mutable",
|
|
"name": "messageId",
|
|
"nameLocation": "594:9:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 152,
|
|
"src": "586:17:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
},
|
|
"typeName": {
|
|
"id": 129,
|
|
"name": "bytes32",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "586:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"id": 143,
|
|
"initialValue": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"expression": {
|
|
"id": 134,
|
|
"name": "block",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967292,
|
|
"src": "633:5:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_block",
|
|
"typeString": "block"
|
|
}
|
|
},
|
|
"id": 135,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "639:9:1",
|
|
"memberName": "timestamp",
|
|
"nodeType": "MemberAccess",
|
|
"src": "633:15:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"expression": {
|
|
"id": 136,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "650:3:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 137,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "654:6:1",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "650:10:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 138,
|
|
"name": "recipient",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 109,
|
|
"src": "662:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 139,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 111,
|
|
"src": "673:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"id": 140,
|
|
"name": "destinationChain",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 107,
|
|
"src": "681:16:1",
|
|
"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": 132,
|
|
"name": "abi",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967295,
|
|
"src": "616:3:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_abi",
|
|
"typeString": "abi"
|
|
}
|
|
},
|
|
"id": 133,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"memberLocation": "620:12:1",
|
|
"memberName": "encodePacked",
|
|
"nodeType": "MemberAccess",
|
|
"src": "616:16:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
|
"typeString": "function () pure returns (bytes memory)"
|
|
}
|
|
},
|
|
"id": 141,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "616:82:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
"typeString": "bytes memory"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
"typeString": "bytes memory"
|
|
}
|
|
],
|
|
"id": 131,
|
|
"name": "keccak256",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967288,
|
|
"src": "606:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
|
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
}
|
|
},
|
|
"id": 142,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "606:93:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
"nodeType": "VariableDeclarationStatement",
|
|
"src": "586:113:1"
|
|
},
|
|
{
|
|
"eventCall": {
|
|
"arguments": [
|
|
{
|
|
"id": 145,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 130,
|
|
"src": "726:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
{
|
|
"expression": {
|
|
"id": 146,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "737:3:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 147,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "741:6:1",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "737:10:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 148,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 111,
|
|
"src": "749:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"id": 149,
|
|
"name": "destinationChain",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 107,
|
|
"src": "757:16:1",
|
|
"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": 144,
|
|
"name": "MessageSent",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 221,
|
|
"src": "714:11:1",
|
|
"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": 150,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "714:60:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 151,
|
|
"nodeType": "EmitStatement",
|
|
"src": "709:65:1"
|
|
}
|
|
]
|
|
},
|
|
"functionSelector": "affc215f",
|
|
"id": 153,
|
|
"implemented": true,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "sendMessage",
|
|
"nameLocation": "377:11:1",
|
|
"nodeType": "FunctionDefinition",
|
|
"overrides": {
|
|
"id": 113,
|
|
"nodeType": "OverrideSpecifier",
|
|
"overrides": [],
|
|
"src": "473:8:1"
|
|
},
|
|
"parameters": {
|
|
"id": 112,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 107,
|
|
"mutability": "mutable",
|
|
"name": "destinationChain",
|
|
"nameLocation": "403:16:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 153,
|
|
"src": "389:30:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "memory",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string"
|
|
},
|
|
"typeName": {
|
|
"id": 106,
|
|
"name": "string",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "389:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_storage_ptr",
|
|
"typeString": "string"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 109,
|
|
"mutability": "mutable",
|
|
"name": "recipient",
|
|
"nameLocation": "429:9:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 153,
|
|
"src": "421:17:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 108,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "421:7:1",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 111,
|
|
"mutability": "mutable",
|
|
"name": "amount",
|
|
"nameLocation": "448:6:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 153,
|
|
"src": "440:14:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 110,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "440:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "388:67:1"
|
|
},
|
|
"returnParameters": {
|
|
"id": 114,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "482:0:1"
|
|
},
|
|
"scope": 205,
|
|
"src": "368:413:1",
|
|
"stateMutability": "payable",
|
|
"virtual": false,
|
|
"visibility": "external"
|
|
},
|
|
{
|
|
"baseFunctions": [
|
|
253
|
|
],
|
|
"body": {
|
|
"id": 203,
|
|
"nodeType": "Block",
|
|
"src": "930:366:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"commonType": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"id": 171,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftExpression": {
|
|
"expression": {
|
|
"id": 168,
|
|
"name": "msg",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 4294967281,
|
|
"src": "948:3:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_magic_message",
|
|
"typeString": "msg"
|
|
}
|
|
},
|
|
"id": 169,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "952:6:1",
|
|
"memberName": "sender",
|
|
"nodeType": "MemberAccess",
|
|
"src": "948:10:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"nodeType": "BinaryOperation",
|
|
"operator": "==",
|
|
"rightExpression": {
|
|
"id": 170,
|
|
"name": "admin",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 85,
|
|
"src": "962:5:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"src": "948:19:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
{
|
|
"hexValue": "4f6e6c792061646d696e2063616e2072656365697665206d65737361676573",
|
|
"id": 172,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"kind": "string",
|
|
"lValueRequested": false,
|
|
"nodeType": "Literal",
|
|
"src": "969:33:1",
|
|
"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": 167,
|
|
"name": "require",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [
|
|
4294967278,
|
|
4294967278
|
|
],
|
|
"referencedDeclaration": 4294967278,
|
|
"src": "940:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bool,string memory) pure"
|
|
}
|
|
},
|
|
"id": 173,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "940:63:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 174,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "940:63:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"id": 179,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"nodeType": "UnaryOperation",
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"src": "1021:30:1",
|
|
"subExpression": {
|
|
"arguments": [
|
|
{
|
|
"id": 177,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 155,
|
|
"src": "1041:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
],
|
|
"id": 176,
|
|
"name": "isMessageProcessed",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 277,
|
|
"src": "1022:18:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$",
|
|
"typeString": "function (bytes32) view returns (bool)"
|
|
}
|
|
},
|
|
"id": 178,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "1022:29:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
{
|
|
"hexValue": "4d65737361676520616c72656164792070726f636573736564",
|
|
"id": 180,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"kind": "string",
|
|
"lValueRequested": false,
|
|
"nodeType": "Literal",
|
|
"src": "1053:27:1",
|
|
"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": 175,
|
|
"name": "require",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [
|
|
4294967278,
|
|
4294967278
|
|
],
|
|
"referencedDeclaration": 4294967278,
|
|
"src": "1013:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bool,string memory) pure"
|
|
}
|
|
},
|
|
"id": 181,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "1013:68:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 182,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "1013:68:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"id": 184,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 155,
|
|
"src": "1123:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
],
|
|
"id": 183,
|
|
"name": "_setMessageAsProcessed",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 265,
|
|
"src": "1100:22:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$",
|
|
"typeString": "function (bytes32)"
|
|
}
|
|
},
|
|
"id": 185,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "1100:33:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 186,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "1100:33:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"id": 190,
|
|
"name": "recipient",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 159,
|
|
"src": "1169:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 191,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 161,
|
|
"src": "1180:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
],
|
|
"expression": {
|
|
"id": 188,
|
|
"name": "bnbToken",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 88,
|
|
"src": "1151:8:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_contract$_IERC20_$77",
|
|
"typeString": "contract IERC20"
|
|
}
|
|
},
|
|
"id": 189,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"memberLocation": "1160:8:1",
|
|
"memberName": "transfer",
|
|
"nodeType": "MemberAccess",
|
|
"referencedDeclaration": 44,
|
|
"src": "1151:17:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$",
|
|
"typeString": "function (address,uint256) external returns (bool)"
|
|
}
|
|
},
|
|
"id": 192,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "1151:36:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
{
|
|
"hexValue": "5472616e73666572206661696c6564",
|
|
"id": 193,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"kind": "string",
|
|
"lValueRequested": false,
|
|
"nodeType": "Literal",
|
|
"src": "1189:17:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51",
|
|
"typeString": "literal_string \"Transfer failed\""
|
|
},
|
|
"value": "Transfer failed"
|
|
}
|
|
],
|
|
"expression": {
|
|
"argumentTypes": [
|
|
{
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
{
|
|
"typeIdentifier": "t_stringliteral_25adaa6d082ce15f901e0d8a3d393e7462ef9edf2e6bc8321fa14d1615b6fc51",
|
|
"typeString": "literal_string \"Transfer failed\""
|
|
}
|
|
],
|
|
"id": 187,
|
|
"name": "require",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [
|
|
4294967278,
|
|
4294967278
|
|
],
|
|
"referencedDeclaration": 4294967278,
|
|
"src": "1143:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
"typeString": "function (bool,string memory) pure"
|
|
}
|
|
},
|
|
"id": 194,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "1143:64:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 195,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "1143:64:1"
|
|
},
|
|
{
|
|
"eventCall": {
|
|
"arguments": [
|
|
{
|
|
"id": 197,
|
|
"name": "messageId",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 155,
|
|
"src": "1247:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
{
|
|
"id": 198,
|
|
"name": "recipient",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 159,
|
|
"src": "1258:9:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
{
|
|
"id": 199,
|
|
"name": "amount",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 161,
|
|
"src": "1269:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
{
|
|
"id": 200,
|
|
"name": "sourceChain",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 163,
|
|
"src": "1277:11:1",
|
|
"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": 196,
|
|
"name": "MessageReceived",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 231,
|
|
"src": "1231:15:1",
|
|
"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": 201,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"kind": "functionCall",
|
|
"lValueRequested": false,
|
|
"nameLocations": [],
|
|
"names": [],
|
|
"nodeType": "FunctionCall",
|
|
"src": "1231:58:1",
|
|
"tryCall": false,
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_tuple$__$",
|
|
"typeString": "tuple()"
|
|
}
|
|
},
|
|
"id": 202,
|
|
"nodeType": "EmitStatement",
|
|
"src": "1226:63:1"
|
|
}
|
|
]
|
|
},
|
|
"functionSelector": "e9e33e8b",
|
|
"id": 204,
|
|
"implemented": true,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "receiveMessage",
|
|
"nameLocation": "800:14:1",
|
|
"nodeType": "FunctionDefinition",
|
|
"overrides": {
|
|
"id": 165,
|
|
"nodeType": "OverrideSpecifier",
|
|
"overrides": [],
|
|
"src": "921:8:1"
|
|
},
|
|
"parameters": {
|
|
"id": 164,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 155,
|
|
"mutability": "mutable",
|
|
"name": "messageId",
|
|
"nameLocation": "823:9:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 204,
|
|
"src": "815:17:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
},
|
|
"typeName": {
|
|
"id": 154,
|
|
"name": "bytes32",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "815:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes32",
|
|
"typeString": "bytes32"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 157,
|
|
"mutability": "mutable",
|
|
"name": "sender",
|
|
"nameLocation": "842:6:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 204,
|
|
"src": "834:14:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 156,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "834:7:1",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 159,
|
|
"mutability": "mutable",
|
|
"name": "recipient",
|
|
"nameLocation": "858:9:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 204,
|
|
"src": "850:17:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 158,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "850:7:1",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 161,
|
|
"mutability": "mutable",
|
|
"name": "amount",
|
|
"nameLocation": "877:6:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 204,
|
|
"src": "869:14:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 160,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "869:7:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 163,
|
|
"mutability": "mutable",
|
|
"name": "sourceChain",
|
|
"nameLocation": "899:11:1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 204,
|
|
"src": "885:25:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "memory",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_memory_ptr",
|
|
"typeString": "string"
|
|
},
|
|
"typeName": {
|
|
"id": 162,
|
|
"name": "string",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "885:6:1",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_string_storage_ptr",
|
|
"typeString": "string"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "814:97:1"
|
|
},
|
|
"returnParameters": {
|
|
"id": 166,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "930:0:1"
|
|
},
|
|
"scope": 205,
|
|
"src": "791:505:1",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "external"
|
|
}
|
|
],
|
|
"scope": 206,
|
|
"src": "142:1156:1",
|
|
"usedErrors": [],
|
|
"usedEvents": [
|
|
221,
|
|
231
|
|
]
|
|
}
|
|
],
|
|
"src": "32:1267:1"
|
|
},
|
|
"compiler": {
|
|
"name": "solc",
|
|
"version": "0.8.21+commit.d9974bed.Emscripten.clang"
|
|
},
|
|
"networks": {},
|
|
"schemaVersion": "3.4.16",
|
|
"updatedAt": "2024-10-16T19:09:58.154Z",
|
|
"devdoc": {
|
|
"kind": "dev",
|
|
"methods": {},
|
|
"version": 1
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {},
|
|
"version": 1
|
|
}
|
|
} |