ic-market/frontend/abis/MyToken.json
2024-08-01 22:47:17 +03:00

10352 lines
436 KiB
JSON

{
"contractName": "MyToken",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.10+commit.fc410830\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"decreaseAllowance(address,uint256)\":{\"details\":\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"},\"increaseAllowance(address,uint256)\":{\"details\":\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `recipient` cannot be the zero address. - the caller must have a balance of at least `amount`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. Requirements: - `sender` and `recipient` cannot be the zero address. - `sender` must have a balance of at least `amount`. - the caller must have allowance for ``sender``'s tokens of at least `amount`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/PolyToken.sol\":\"PolyToken\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xb03df8481a954604ad0c9125680893b2e3f7ff770fe470e38b89ac61b84e8072\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b34655953d18ba3a45b762fb6bdbb6549af69a27435e10ece178742bf70baf45\",\"dweb:/ipfs/QmcqjUoFLLMyx7dbwSHUnDBH6aphkVHXWQvQRRev5EAWEh\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x027b891937d20ccf213fdb9c31531574256de774bda99d3a70ecef6e1913ed2a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://087318b21c528119f649899f5b5580566dd8d7b0303d4904bd0e8580c3545f14\",\"dweb:/ipfs/Qmbn5Mj7aUn8hJuQ8VrQjjEXRsXyJKykgnjR9p4C3nfLtL\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x83fe24f5c04a56091e50f4a345ff504c8bff658a76d4c43b16878c8f940c53b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d4c3df1a7ca104b633a7d81c6c6f5192367d150cd5a32cba81f7f27012729013\",\"dweb:/ipfs/QmSim72e3ZVsfgZt8UceCvbiSuMRHR6WDsiamqNzZahGSY\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x90565a39ae45c80f0468dc96c7b20d0afc3055f344c8203a0c9258239f350b9f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26e8b38a7ac8e7b4463af00cf7fff1bf48ae9875765bf4f7751e100124d0bc8c\",\"dweb:/ipfs/QmWcsmkVr24xmmjfnBQZoemFniXjj3vwT78Cz6uqZW1Hux\"]},\"project:/contracts/PolyToken.sol\":{\"keccak256\":\"0x1ad4ad5a0125d1a097cc4fd5f0ea3ef49438ba106a7bd965eed930136294a17a\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://96507da1c9b3aa93322ae7c2b1720d0c190156ba861b52345eb8976f9f341c2f\",\"dweb:/ipfs/QmQ9eeVSMwt46BGvejyyof4hoKv4a9N6wjHGGwXgBhJHeD\"]}},\"version\":1}",
"bytecode": "0x60806040523480156200001157600080fd5b506040518060400160405280600a81526020017f506f6c7920546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f504f4c590000000000000000000000000000000000000000000000000000000081525081600390805190602001906200009692919062000298565b508060049080519060200190620000af92919062000298565b50505033600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200010f3369152d02c7e14af68000006200011560201b60201c565b620004f4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000188576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017f90620003a9565b60405180910390fd5b6200019c600083836200028e60201b60201c565b8060026000828254620001b0919062000404565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000207919062000404565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200026e919062000472565b60405180910390a36200028a600083836200029360201b60201c565b5050565b505050565b505050565b828054620002a690620004be565b90600052602060002090601f016020900481019282620002ca576000855562000316565b82601f10620002e557805160ff191683800117855562000316565b8280016001018555821562000316579182015b8281111562000315578251825591602001919060010190620002f8565b5b50905062000325919062000329565b5090565b5b80821115620003445760008160009055506001016200032a565b5090565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000391601f8362000348565b91506200039e8262000359565b602082019050919050565b60006020820190508181036000830152620003c48162000382565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200041182620003cb565b91506200041e83620003cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620004565762000455620003d5565b5b828201905092915050565b6200046c81620003cb565b82525050565b600060208201905062000489600083018462000461565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004d757607f821691505b60208210811415620004ee57620004ed6200048f565b5b50919050565b61173080620005046000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b4114610228578063a457c2d714610246578063a9059cbb14610276578063dd62ed3e146102a6576100cf565b806340c10f19146101be57806370a08231146101da5780638da5cb5b1461020a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd14610140578063313ce56714610170578063395093511461018e575b600080fd5b6100dc6102d6565b6040516100e99190610ec2565b60405180910390f35b61010c60048036038101906101079190610f7d565b610368565b6040516101199190610fd8565b60405180910390f35b61012a610386565b6040516101379190611002565b60405180910390f35b61015a6004803603810190610155919061101d565b610390565b6040516101679190610fd8565b60405180910390f35b610178610488565b604051610185919061108c565b60405180910390f35b6101a860048036038101906101a39190610f7d565b610491565b6040516101b59190610fd8565b60405180910390f35b6101d860048036038101906101d39190610f7d565b61053d565b005b6101f460048036038101906101ef91906110a7565b6105db565b6040516102019190611002565b60405180910390f35b610212610623565b60405161021f91906110e3565b60405180910390f35b610230610649565b60405161023d9190610ec2565b60405180910390f35b610260600480360381019061025b9190610f7d565b6106db565b60405161026d9190610fd8565b60405180910390f35b610290600480360381019061028b9190610f7d565b6107c6565b60405161029d9190610fd8565b60405180910390f35b6102c060048036038101906102bb91906110fe565b6107e4565b6040516102cd9190611002565b60405180910390f35b6060600380546102e59061116d565b80601f01602080910402602001604051908101604052809291908181526020018280546103119061116d565b801561035e5780601f106103335761010080835404028352916020019161035e565b820191906000526020600020905b81548152906001019060200180831161034157829003601f168201915b5050505050905090565b600061037c61037561086b565b8484610873565b6001905092915050565b6000600254905090565b600061039d848484610a3e565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006103e861086b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90611211565b60405180910390fd5b61047c8561047461086b565b858403610873565b60019150509392505050565b60006012905090565b600061053361049e61086b565b8484600160006104ac61086b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461052e9190611260565b610873565b6001905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c490611302565b60405180910390fd5b6105d78282610cbf565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600480546106589061116d565b80601f01602080910402602001604051908101604052809291908181526020018280546106849061116d565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b5050505050905090565b600080600160006106ea61086b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e90611394565b60405180910390fd5b6107bb6107b261086b565b85858403610873565b600191505092915050565b60006107da6107d361086b565b8484610a3e565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108da90611426565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094a906114b8565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610a319190611002565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa59061154a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b15906115dc565b60405180910390fd5b610b29838383610e1f565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba69061166e565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c429190611260565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ca69190611002565b60405180910390a3610cb9848484610e24565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d26906116da565b60405180910390fd5b610d3b60008383610e1f565b8060026000828254610d4d9190611260565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610da29190611260565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e079190611002565b60405180910390a3610e1b60008383610e24565b5050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e63578082015181840152602081019050610e48565b83811115610e72576000848401525b50505050565b6000601f19601f8301169050919050565b6000610e9482610e29565b610e9e8185610e34565b9350610eae818560208601610e45565b610eb781610e78565b840191505092915050565b60006020820190508181036000830152610edc8184610e89565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f1482610ee9565b9050919050565b610f2481610f09565b8114610f2f57600080fd5b50565b600081359050610f4181610f1b565b92915050565b6000819050919050565b610f5a81610f47565b8114610f6557600080fd5b50565b600081359050610f7781610f51565b92915050565b60008060408385031215610f9457610f93610ee4565b5b6000610fa285828601610f32565b9250506020610fb385828601610f68565b9150509250929050565b60008115159050919050565b610fd281610fbd565b82525050565b6000602082019050610fed6000830184610fc9565b92915050565b610ffc81610f47565b82525050565b60006020820190506110176000830184610ff3565b92915050565b60008060006060848603121561103657611035610ee4565b5b600061104486828701610f32565b935050602061105586828701610f32565b925050604061106686828701610f68565b9150509250925092565b600060ff82169050919050565b61108681611070565b82525050565b60006020820190506110a1600083018461107d565b92915050565b6000602082840312156110bd576110bc610ee4565b5b60006110cb84828501610f32565b91505092915050565b6110dd81610f09565b82525050565b60006020820190506110f860008301846110d4565b92915050565b6000806040838503121561111557611114610ee4565b5b600061112385828601610f32565b925050602061113485828601610f32565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061118557607f821691505b602082108114156111995761119861113e565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006111fb602883610e34565b91506112068261119f565b604082019050919050565b6000602082019050818103600083015261122a816111ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061126b82610f47565b915061127683610f47565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112ab576112aa611231565b5b828201905092915050565b7f4f6e6c79206f776e65722063616e206d696e7400000000000000000000000000600082015250565b60006112ec601383610e34565b91506112f7826112b6565b602082019050919050565b6000602082019050818103600083015261131b816112df565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061137e602583610e34565b915061138982611322565b604082019050919050565b600060208201905081810360008301526113ad81611371565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611410602483610e34565b915061141b826113b4565b604082019050919050565b6000602082019050818103600083015261143f81611403565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006114a2602283610e34565b91506114ad82611446565b604082019050919050565b600060208201905081810360008301526114d181611495565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611534602583610e34565b915061153f826114d8565b604082019050919050565b6000602082019050818103600083015261156381611527565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006115c6602383610e34565b91506115d18261156a565b604082019050919050565b600060208201905081810360008301526115f5816115b9565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611658602683610e34565b9150611663826115fc565b604082019050919050565b600060208201905081810360008301526116878161164b565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006116c4601f83610e34565b91506116cf8261168e565b602082019050919050565b600060208201905081810360008301526116f3816116b7565b905091905056fea2646970667358221220b3bab91f16e12eebb58e7543b50f93a1610e82a71edeaddd61802232f487a2fc64736f6c634300080a0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b4114610228578063a457c2d714610246578063a9059cbb14610276578063dd62ed3e146102a6576100cf565b806340c10f19146101be57806370a08231146101da5780638da5cb5b1461020a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd14610140578063313ce56714610170578063395093511461018e575b600080fd5b6100dc6102d6565b6040516100e99190610ec2565b60405180910390f35b61010c60048036038101906101079190610f7d565b610368565b6040516101199190610fd8565b60405180910390f35b61012a610386565b6040516101379190611002565b60405180910390f35b61015a6004803603810190610155919061101d565b610390565b6040516101679190610fd8565b60405180910390f35b610178610488565b604051610185919061108c565b60405180910390f35b6101a860048036038101906101a39190610f7d565b610491565b6040516101b59190610fd8565b60405180910390f35b6101d860048036038101906101d39190610f7d565b61053d565b005b6101f460048036038101906101ef91906110a7565b6105db565b6040516102019190611002565b60405180910390f35b610212610623565b60405161021f91906110e3565b60405180910390f35b610230610649565b60405161023d9190610ec2565b60405180910390f35b610260600480360381019061025b9190610f7d565b6106db565b60405161026d9190610fd8565b60405180910390f35b610290600480360381019061028b9190610f7d565b6107c6565b60405161029d9190610fd8565b60405180910390f35b6102c060048036038101906102bb91906110fe565b6107e4565b6040516102cd9190611002565b60405180910390f35b6060600380546102e59061116d565b80601f01602080910402602001604051908101604052809291908181526020018280546103119061116d565b801561035e5780601f106103335761010080835404028352916020019161035e565b820191906000526020600020905b81548152906001019060200180831161034157829003601f168201915b5050505050905090565b600061037c61037561086b565b8484610873565b6001905092915050565b6000600254905090565b600061039d848484610a3e565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006103e861086b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90611211565b60405180910390fd5b61047c8561047461086b565b858403610873565b60019150509392505050565b60006012905090565b600061053361049e61086b565b8484600160006104ac61086b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461052e9190611260565b610873565b6001905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c490611302565b60405180910390fd5b6105d78282610cbf565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600480546106589061116d565b80601f01602080910402602001604051908101604052809291908181526020018280546106849061116d565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b5050505050905090565b600080600160006106ea61086b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e90611394565b60405180910390fd5b6107bb6107b261086b565b85858403610873565b600191505092915050565b60006107da6107d361086b565b8484610a3e565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108da90611426565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094a906114b8565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610a319190611002565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa59061154a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b15906115dc565b60405180910390fd5b610b29838383610e1f565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba69061166e565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c429190611260565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ca69190611002565b60405180910390a3610cb9848484610e24565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d26906116da565b60405180910390fd5b610d3b60008383610e1f565b8060026000828254610d4d9190611260565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610da29190611260565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e079190611002565b60405180910390a3610e1b60008383610e24565b5050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e63578082015181840152602081019050610e48565b83811115610e72576000848401525b50505050565b6000601f19601f8301169050919050565b6000610e9482610e29565b610e9e8185610e34565b9350610eae818560208601610e45565b610eb781610e78565b840191505092915050565b60006020820190508181036000830152610edc8184610e89565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f1482610ee9565b9050919050565b610f2481610f09565b8114610f2f57600080fd5b50565b600081359050610f4181610f1b565b92915050565b6000819050919050565b610f5a81610f47565b8114610f6557600080fd5b50565b600081359050610f7781610f51565b92915050565b60008060408385031215610f9457610f93610ee4565b5b6000610fa285828601610f32565b9250506020610fb385828601610f68565b9150509250929050565b60008115159050919050565b610fd281610fbd565b82525050565b6000602082019050610fed6000830184610fc9565b92915050565b610ffc81610f47565b82525050565b60006020820190506110176000830184610ff3565b92915050565b60008060006060848603121561103657611035610ee4565b5b600061104486828701610f32565b935050602061105586828701610f32565b925050604061106686828701610f68565b9150509250925092565b600060ff82169050919050565b61108681611070565b82525050565b60006020820190506110a1600083018461107d565b92915050565b6000602082840312156110bd576110bc610ee4565b5b60006110cb84828501610f32565b91505092915050565b6110dd81610f09565b82525050565b60006020820190506110f860008301846110d4565b92915050565b6000806040838503121561111557611114610ee4565b5b600061112385828601610f32565b925050602061113485828601610f32565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061118557607f821691505b602082108114156111995761119861113e565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006111fb602883610e34565b91506112068261119f565b604082019050919050565b6000602082019050818103600083015261122a816111ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061126b82610f47565b915061127683610f47565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112ab576112aa611231565b5b828201905092915050565b7f4f6e6c79206f776e65722063616e206d696e7400000000000000000000000000600082015250565b60006112ec601383610e34565b91506112f7826112b6565b602082019050919050565b6000602082019050818103600083015261131b816112df565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061137e602583610e34565b915061138982611322565b604082019050919050565b600060208201905081810360008301526113ad81611371565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611410602483610e34565b915061141b826113b4565b604082019050919050565b6000602082019050818103600083015261143f81611403565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006114a2602283610e34565b91506114ad82611446565b604082019050919050565b600060208201905081810360008301526114d181611495565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611534602583610e34565b915061153f826114d8565b604082019050919050565b6000602082019050818103600083015261156381611527565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006115c6602383610e34565b91506115d18261156a565b604082019050919050565b600060208201905081810360008301526115f5816115b9565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611658602683610e34565b9150611663826115fc565b604082019050919050565b600060208201905081810360008301526116878161164b565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006116c4601f83610e34565b91506116cf8261168e565b602082019050919050565b600060208201905081810360008301526116f3816116b7565b905091905056fea2646970667358221220b3bab91f16e12eebb58e7543b50f93a1610e82a71edeaddd61802232f487a2fc64736f6c634300080a0033",
"immutableReferences": {},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:2607:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "103:73:7",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "120:3:7"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "125:6:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "113:6:7"
},
"nodeType": "YulFunctionCall",
"src": "113:19:7"
},
"nodeType": "YulExpressionStatement",
"src": "113:19:7"
},
{
"nodeType": "YulAssignment",
"src": "141:29:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "160:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "165:4:7",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "156:3:7"
},
"nodeType": "YulFunctionCall",
"src": "156:14:7"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "141:11:7"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "75:3:7",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "80:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "91:11:7",
"type": ""
}
],
"src": "7:169:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "288:75:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "310:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "318:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "306:3:7"
},
"nodeType": "YulFunctionCall",
"src": "306:14:7"
},
{
"hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "322:33:7",
"type": "",
"value": "ERC20: mint to the zero address"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "299:6:7"
},
"nodeType": "YulFunctionCall",
"src": "299:57:7"
},
"nodeType": "YulExpressionStatement",
"src": "299:57:7"
}
]
},
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "280:6:7",
"type": ""
}
],
"src": "182:181:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "515:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "525:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "591:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "596:2:7",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "532:58:7"
},
"nodeType": "YulFunctionCall",
"src": "532:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "525:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "697:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e",
"nodeType": "YulIdentifier",
"src": "608:88:7"
},
"nodeType": "YulFunctionCall",
"src": "608:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "608:93:7"
},
{
"nodeType": "YulAssignment",
"src": "710:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "721:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "726:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "717:3:7"
},
"nodeType": "YulFunctionCall",
"src": "717:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "710:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "503:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "511:3:7",
"type": ""
}
],
"src": "369:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "912:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "922:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "934:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "945:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "930:3:7"
},
"nodeType": "YulFunctionCall",
"src": "930:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "922:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "969:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "980:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "965:3:7"
},
"nodeType": "YulFunctionCall",
"src": "965:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "988:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "994:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "984:3:7"
},
"nodeType": "YulFunctionCall",
"src": "984:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "958:6:7"
},
"nodeType": "YulFunctionCall",
"src": "958:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "958:47:7"
},
{
"nodeType": "YulAssignment",
"src": "1014:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1148:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1022:124:7"
},
"nodeType": "YulFunctionCall",
"src": "1022:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1014:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "892:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "907:4:7",
"type": ""
}
],
"src": "741:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1211:32:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1221:16:7",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1232:5:7"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1221:7:7"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1193:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1203:7:7",
"type": ""
}
],
"src": "1166:77:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1277:152:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1294:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1297:77:7",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1287:6:7"
},
"nodeType": "YulFunctionCall",
"src": "1287:88:7"
},
"nodeType": "YulExpressionStatement",
"src": "1287:88:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1391:1:7",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1394:4:7",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1384:6:7"
},
"nodeType": "YulFunctionCall",
"src": "1384:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "1384:15:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1415:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1418:4:7",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1408:6:7"
},
"nodeType": "YulFunctionCall",
"src": "1408:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "1408:15:7"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "1249:180:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1479:261:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1489:25:7",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1512:1:7"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1494:17:7"
},
"nodeType": "YulFunctionCall",
"src": "1494:20:7"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1489:1:7"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1523:25:7",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1546:1:7"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1528:17:7"
},
"nodeType": "YulFunctionCall",
"src": "1528:20:7"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1523:1:7"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1686:22:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "1688:16:7"
},
"nodeType": "YulFunctionCall",
"src": "1688:18:7"
},
"nodeType": "YulExpressionStatement",
"src": "1688:18:7"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1607:1:7"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1614:66:7",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1682:1:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1610:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1610:74:7"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1604:2:7"
},
"nodeType": "YulFunctionCall",
"src": "1604:81:7"
},
"nodeType": "YulIf",
"src": "1601:107:7"
},
{
"nodeType": "YulAssignment",
"src": "1718:16:7",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1729:1:7"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1732:1:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1725:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1725:9:7"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "1718:3:7"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "1466:1:7",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "1469:1:7",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "1475:3:7",
"type": ""
}
],
"src": "1435:305:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1811:53:7",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1828:3:7"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1851:5:7"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1833:17:7"
},
"nodeType": "YulFunctionCall",
"src": "1833:24:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1821:6:7"
},
"nodeType": "YulFunctionCall",
"src": "1821:37:7"
},
"nodeType": "YulExpressionStatement",
"src": "1821:37:7"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1799:5:7",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1806:3:7",
"type": ""
}
],
"src": "1746:118:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1968:124:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1978:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1990:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2001:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1986:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1986:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1978:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2058:6:7"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2071:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2082:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2067:3:7"
},
"nodeType": "YulFunctionCall",
"src": "2067:17:7"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "2014:43:7"
},
"nodeType": "YulFunctionCall",
"src": "2014:71:7"
},
"nodeType": "YulExpressionStatement",
"src": "2014:71:7"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1940:9:7",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1952:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1963:4:7",
"type": ""
}
],
"src": "1870:222:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2126:152:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2143:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2146:77:7",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2136:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2136:88:7"
},
"nodeType": "YulExpressionStatement",
"src": "2136:88:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2240:1:7",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2243:4:7",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2233:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2233:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "2233:15:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2264:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2267:4:7",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2257:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2257:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "2257:15:7"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "2098:180:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2335:269:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2345:22:7",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2359:4:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2365:1:7",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2355:3:7"
},
"nodeType": "YulFunctionCall",
"src": "2355:12:7"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2345:6:7"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2376:38:7",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2406:4:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2412:1:7",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2402:3:7"
},
"nodeType": "YulFunctionCall",
"src": "2402:12:7"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2380:18:7",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2453:51:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2467:27:7",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2481:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2489:4:7",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2477:3:7"
},
"nodeType": "YulFunctionCall",
"src": "2477:17:7"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2467:6:7"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2433:18:7"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2426:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2426:26:7"
},
"nodeType": "YulIf",
"src": "2423:81:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2556:42:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "2570:16:7"
},
"nodeType": "YulFunctionCall",
"src": "2570:18:7"
},
"nodeType": "YulExpressionStatement",
"src": "2570:18:7"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2520:18:7"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2543:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2551:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2540:2:7"
},
"nodeType": "YulFunctionCall",
"src": "2540:14:7"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2517:2:7"
},
"nodeType": "YulFunctionCall",
"src": "2517:38:7"
},
"nodeType": "YulIf",
"src": "2514:84:7"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2319:4:7",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2328:6:7",
"type": ""
}
],
"src": "2284:320:7"
}
]
},
"contents": "{\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_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: mint to the zero address\")\n\n }\n\n function abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__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_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n}\n",
"id": 7,
"language": "Yul",
"name": "#utility.yul"
}
],
"deployedGeneratedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:16217:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "66:40:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:22:7",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "93:5:7"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "87:5:7"
},
"nodeType": "YulFunctionCall",
"src": "87:12:7"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "77:6:7"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "49:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "59:6:7",
"type": ""
}
],
"src": "7:99:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "208:73:7",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "225:3:7"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "230:6:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "218:6:7"
},
"nodeType": "YulFunctionCall",
"src": "218:19:7"
},
"nodeType": "YulExpressionStatement",
"src": "218:19:7"
},
{
"nodeType": "YulAssignment",
"src": "246:29:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "265:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "270:4:7",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "261:3:7"
},
"nodeType": "YulFunctionCall",
"src": "261:14:7"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "246:11:7"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "180:3:7",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "185:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "196:11:7",
"type": ""
}
],
"src": "112:169:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "336:258:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "346:10:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "355:1:7",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "350:1:7",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "415:63:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "440:3:7"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "445:1:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "436:3:7"
},
"nodeType": "YulFunctionCall",
"src": "436:11:7"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "459:3:7"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "464:1:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "455:3:7"
},
"nodeType": "YulFunctionCall",
"src": "455:11:7"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "449:5:7"
},
"nodeType": "YulFunctionCall",
"src": "449:18:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "429:6:7"
},
"nodeType": "YulFunctionCall",
"src": "429:39:7"
},
"nodeType": "YulExpressionStatement",
"src": "429:39:7"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "376:1:7"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "379:6:7"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "373:2:7"
},
"nodeType": "YulFunctionCall",
"src": "373:13:7"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "387:19:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "389:15:7",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "398:1:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "401:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "394:3:7"
},
"nodeType": "YulFunctionCall",
"src": "394:10:7"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "389:1:7"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "369:3:7",
"statements": []
},
"src": "365:113:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "512:76:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "562:3:7"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "567:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "558:3:7"
},
"nodeType": "YulFunctionCall",
"src": "558:16:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "576:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "551:6:7"
},
"nodeType": "YulFunctionCall",
"src": "551:27:7"
},
"nodeType": "YulExpressionStatement",
"src": "551:27:7"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "493:1:7"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "496:6:7"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "490:2:7"
},
"nodeType": "YulFunctionCall",
"src": "490:13:7"
},
"nodeType": "YulIf",
"src": "487:101:7"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "318:3:7",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "323:3:7",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "328:6:7",
"type": ""
}
],
"src": "287:307:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "648:54:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "658:38:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "676:5:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "683:2:7",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "672:3:7"
},
"nodeType": "YulFunctionCall",
"src": "672:14:7"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "692:2:7",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "688:3:7"
},
"nodeType": "YulFunctionCall",
"src": "688:7:7"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "668:3:7"
},
"nodeType": "YulFunctionCall",
"src": "668:28:7"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "658:6:7"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "631:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "641:6:7",
"type": ""
}
],
"src": "600:102:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "800:272:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "810:53:7",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "857:5:7"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "824:32:7"
},
"nodeType": "YulFunctionCall",
"src": "824:39:7"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "814:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "872:78:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "938:3:7"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "943:6:7"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "879:58:7"
},
"nodeType": "YulFunctionCall",
"src": "879:71:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "872:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "985:5:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "992:4:7",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "981:3:7"
},
"nodeType": "YulFunctionCall",
"src": "981:16:7"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "999:3:7"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1004:6:7"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "959:21:7"
},
"nodeType": "YulFunctionCall",
"src": "959:52:7"
},
"nodeType": "YulExpressionStatement",
"src": "959:52:7"
},
{
"nodeType": "YulAssignment",
"src": "1020:46:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1031:3:7"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1058:6:7"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "1036:21:7"
},
"nodeType": "YulFunctionCall",
"src": "1036:29:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1027:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1027:39:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1020:3:7"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "781:5:7",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "788:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "796:3:7",
"type": ""
}
],
"src": "708:364:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1196:195:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1206:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1218:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1229:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1214:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1214:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1206:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1253:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1264:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1249:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1249:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1272:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1278:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1268:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1268:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1242:6:7"
},
"nodeType": "YulFunctionCall",
"src": "1242:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "1242:47:7"
},
{
"nodeType": "YulAssignment",
"src": "1298:86:7",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1370:6:7"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1379:4:7"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1306:63:7"
},
"nodeType": "YulFunctionCall",
"src": "1306:78:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1298:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1168:9:7",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1180:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1191:4:7",
"type": ""
}
],
"src": "1078:313:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1437:35:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1447:19:7",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1463:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1457:5:7"
},
"nodeType": "YulFunctionCall",
"src": "1457:9:7"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1447:6:7"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1430:6:7",
"type": ""
}
],
"src": "1397:75:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1567:28:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1584:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1587:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1577:6:7"
},
"nodeType": "YulFunctionCall",
"src": "1577:12:7"
},
"nodeType": "YulExpressionStatement",
"src": "1577:12:7"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "1478:117:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1690:28:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1707:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1710:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1700:6:7"
},
"nodeType": "YulFunctionCall",
"src": "1700:12:7"
},
"nodeType": "YulExpressionStatement",
"src": "1700:12:7"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "1601:117:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1769:81:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1779:65:7",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1794:5:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1801:42:7",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1790:3:7"
},
"nodeType": "YulFunctionCall",
"src": "1790:54:7"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1779:7:7"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1751:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1761:7:7",
"type": ""
}
],
"src": "1724:126:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1901:51:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1911:35:7",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1940:5:7"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "1922:17:7"
},
"nodeType": "YulFunctionCall",
"src": "1922:24:7"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1911:7:7"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1883:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1893:7:7",
"type": ""
}
],
"src": "1856:96:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2001:79:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2058:16:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2067:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2070:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2060:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2060:12:7"
},
"nodeType": "YulExpressionStatement",
"src": "2060:12:7"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2024:5:7"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2049:5:7"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "2031:17:7"
},
"nodeType": "YulFunctionCall",
"src": "2031:24:7"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2021:2:7"
},
"nodeType": "YulFunctionCall",
"src": "2021:35:7"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2014:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2014:43:7"
},
"nodeType": "YulIf",
"src": "2011:63:7"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1994:5:7",
"type": ""
}
],
"src": "1958:122:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2138:87:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2148:29:7",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2170:6:7"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2157:12:7"
},
"nodeType": "YulFunctionCall",
"src": "2157:20:7"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2148:5:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2213:5:7"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "2186:26:7"
},
"nodeType": "YulFunctionCall",
"src": "2186:33:7"
},
"nodeType": "YulExpressionStatement",
"src": "2186:33:7"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2116:6:7",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2124:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2132:5:7",
"type": ""
}
],
"src": "2086:139:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2276:32:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2286:16:7",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2297:5:7"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2286:7:7"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2258:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2268:7:7",
"type": ""
}
],
"src": "2231:77:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2357:79:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2414:16:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2423:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2426:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2416:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2416:12:7"
},
"nodeType": "YulExpressionStatement",
"src": "2416:12:7"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2380:5:7"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2405:5:7"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2387:17:7"
},
"nodeType": "YulFunctionCall",
"src": "2387:24:7"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2377:2:7"
},
"nodeType": "YulFunctionCall",
"src": "2377:35:7"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2370:6:7"
},
"nodeType": "YulFunctionCall",
"src": "2370:43:7"
},
"nodeType": "YulIf",
"src": "2367:63:7"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2350:5:7",
"type": ""
}
],
"src": "2314:122:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2494:87:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2504:29:7",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2526:6:7"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2513:12:7"
},
"nodeType": "YulFunctionCall",
"src": "2513:20:7"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2504:5:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2569:5:7"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "2542:26:7"
},
"nodeType": "YulFunctionCall",
"src": "2542:33:7"
},
"nodeType": "YulExpressionStatement",
"src": "2542:33:7"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2472:6:7",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2480:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2488:5:7",
"type": ""
}
],
"src": "2442:139:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2670:391:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2716:83:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2718:77:7"
},
"nodeType": "YulFunctionCall",
"src": "2718:79:7"
},
"nodeType": "YulExpressionStatement",
"src": "2718:79:7"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2691:7:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2700:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2687:3:7"
},
"nodeType": "YulFunctionCall",
"src": "2687:23:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2712:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2683:3:7"
},
"nodeType": "YulFunctionCall",
"src": "2683:32:7"
},
"nodeType": "YulIf",
"src": "2680:119:7"
},
{
"nodeType": "YulBlock",
"src": "2809:117:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2824:15:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2838:1:7",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2828:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2853:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2888:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2899:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2884:3:7"
},
"nodeType": "YulFunctionCall",
"src": "2884:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2908:7:7"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "2863:20:7"
},
"nodeType": "YulFunctionCall",
"src": "2863:53:7"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2853:6:7"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2936:118:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2951:16:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2965:2:7",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2955:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2981:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3016:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3027:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3012:3:7"
},
"nodeType": "YulFunctionCall",
"src": "3012:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3036:7:7"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2991:20:7"
},
"nodeType": "YulFunctionCall",
"src": "2991:53:7"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2981:6:7"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2632:9:7",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2643:7:7",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2655:6:7",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2663:6:7",
"type": ""
}
],
"src": "2587:474:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3109:48:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3119:32:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3144:5:7"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3137:6:7"
},
"nodeType": "YulFunctionCall",
"src": "3137:13:7"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3130:6:7"
},
"nodeType": "YulFunctionCall",
"src": "3130:21:7"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3119:7:7"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3091:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3101:7:7",
"type": ""
}
],
"src": "3067:90:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3222:50:7",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3239:3:7"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3259:5:7"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "3244:14:7"
},
"nodeType": "YulFunctionCall",
"src": "3244:21:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3232:6:7"
},
"nodeType": "YulFunctionCall",
"src": "3232:34:7"
},
"nodeType": "YulExpressionStatement",
"src": "3232:34:7"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3210:5:7",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3217:3:7",
"type": ""
}
],
"src": "3163:109:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3370:118:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3380:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3392:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3403:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3388:3:7"
},
"nodeType": "YulFunctionCall",
"src": "3388:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3380:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3454:6:7"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3467:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3478:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3463:3:7"
},
"nodeType": "YulFunctionCall",
"src": "3463:17:7"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "3416:37:7"
},
"nodeType": "YulFunctionCall",
"src": "3416:65:7"
},
"nodeType": "YulExpressionStatement",
"src": "3416:65:7"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3342:9:7",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3354:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3365:4:7",
"type": ""
}
],
"src": "3278:210:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3559:53:7",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3576:3:7"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3599:5:7"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3581:17:7"
},
"nodeType": "YulFunctionCall",
"src": "3581:24:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3569:6:7"
},
"nodeType": "YulFunctionCall",
"src": "3569:37:7"
},
"nodeType": "YulExpressionStatement",
"src": "3569:37:7"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3547:5:7",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3554:3:7",
"type": ""
}
],
"src": "3494:118:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3716:124:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3726:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3738:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3749:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3734:3:7"
},
"nodeType": "YulFunctionCall",
"src": "3734:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3726:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3806:6:7"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3819:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3830:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3815:3:7"
},
"nodeType": "YulFunctionCall",
"src": "3815:17:7"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3762:43:7"
},
"nodeType": "YulFunctionCall",
"src": "3762:71:7"
},
"nodeType": "YulExpressionStatement",
"src": "3762:71:7"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3688:9:7",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3700:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3711:4:7",
"type": ""
}
],
"src": "3618:222:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3946:519:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3992:83:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "3994:77:7"
},
"nodeType": "YulFunctionCall",
"src": "3994:79:7"
},
"nodeType": "YulExpressionStatement",
"src": "3994:79:7"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3967:7:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3976:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3963:3:7"
},
"nodeType": "YulFunctionCall",
"src": "3963:23:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3988:2:7",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3959:3:7"
},
"nodeType": "YulFunctionCall",
"src": "3959:32:7"
},
"nodeType": "YulIf",
"src": "3956:119:7"
},
{
"nodeType": "YulBlock",
"src": "4085:117:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4100:15:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4114:1:7",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4104:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4129:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4164:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4175:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4160:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4160:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4184:7:7"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "4139:20:7"
},
"nodeType": "YulFunctionCall",
"src": "4139:53:7"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4129:6:7"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4212:118:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4227:16:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4241:2:7",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4231:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4257:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4292:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4303:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4288:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4288:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4312:7:7"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "4267:20:7"
},
"nodeType": "YulFunctionCall",
"src": "4267:53:7"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4257:6:7"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4340:118:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4355:16:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4369:2:7",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4359:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4385:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4420:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4431:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4416:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4416:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4440:7:7"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "4395:20:7"
},
"nodeType": "YulFunctionCall",
"src": "4395:53:7"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "4385:6:7"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3900:9:7",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3911:7:7",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3923:6:7",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3931:6:7",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "3939:6:7",
"type": ""
}
],
"src": "3846:619:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4514:43:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4524:27:7",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4539:5:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4546:4:7",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4535:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4535:16:7"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4524:7:7"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4496:5:7",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4506:7:7",
"type": ""
}
],
"src": "4471:86:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4624:51:7",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4641:3:7"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4662:5:7"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "4646:15:7"
},
"nodeType": "YulFunctionCall",
"src": "4646:22:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4634:6:7"
},
"nodeType": "YulFunctionCall",
"src": "4634:35:7"
},
"nodeType": "YulExpressionStatement",
"src": "4634:35:7"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4612:5:7",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4619:3:7",
"type": ""
}
],
"src": "4563:112:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4775:120:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4785:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4797:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4808:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4793:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4793:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4785:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4861:6:7"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4874:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4885:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4870:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4870:17:7"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "4821:39:7"
},
"nodeType": "YulFunctionCall",
"src": "4821:67:7"
},
"nodeType": "YulExpressionStatement",
"src": "4821:67:7"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4747:9:7",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4759:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4770:4:7",
"type": ""
}
],
"src": "4681:214:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4967:263:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5013:83:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "5015:77:7"
},
"nodeType": "YulFunctionCall",
"src": "5015:79:7"
},
"nodeType": "YulExpressionStatement",
"src": "5015:79:7"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4988:7:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4997:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4984:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4984:23:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5009:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4980:3:7"
},
"nodeType": "YulFunctionCall",
"src": "4980:32:7"
},
"nodeType": "YulIf",
"src": "4977:119:7"
},
{
"nodeType": "YulBlock",
"src": "5106:117:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5121:15:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5135:1:7",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "5125:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5150:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5185:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5196:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5181:3:7"
},
"nodeType": "YulFunctionCall",
"src": "5181:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5205:7:7"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "5160:20:7"
},
"nodeType": "YulFunctionCall",
"src": "5160:53:7"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5150:6:7"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4937:9:7",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4948:7:7",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4960:6:7",
"type": ""
}
],
"src": "4901:329:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5301:53:7",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5318:3:7"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5341:5:7"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "5323:17:7"
},
"nodeType": "YulFunctionCall",
"src": "5323:24:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5311:6:7"
},
"nodeType": "YulFunctionCall",
"src": "5311:37:7"
},
"nodeType": "YulExpressionStatement",
"src": "5311:37:7"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5289:5:7",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5296:3:7",
"type": ""
}
],
"src": "5236:118:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5458:124:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5468:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5480:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5491:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5476:3:7"
},
"nodeType": "YulFunctionCall",
"src": "5476:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5468:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5548:6:7"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5561:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5572:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5557:3:7"
},
"nodeType": "YulFunctionCall",
"src": "5557:17:7"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "5504:43:7"
},
"nodeType": "YulFunctionCall",
"src": "5504:71:7"
},
"nodeType": "YulExpressionStatement",
"src": "5504:71:7"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5430:9:7",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5442:6:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5453:4:7",
"type": ""
}
],
"src": "5360:222:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5671:391:7",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5717:83:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "5719:77:7"
},
"nodeType": "YulFunctionCall",
"src": "5719:79:7"
},
"nodeType": "YulExpressionStatement",
"src": "5719:79:7"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5692:7:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5701:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5688:3:7"
},
"nodeType": "YulFunctionCall",
"src": "5688:23:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5713:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "5684:3:7"
},
"nodeType": "YulFunctionCall",
"src": "5684:32:7"
},
"nodeType": "YulIf",
"src": "5681:119:7"
},
{
"nodeType": "YulBlock",
"src": "5810:117:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5825:15:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5839:1:7",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "5829:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5854:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5889:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5900:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5885:3:7"
},
"nodeType": "YulFunctionCall",
"src": "5885:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5909:7:7"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "5864:20:7"
},
"nodeType": "YulFunctionCall",
"src": "5864:53:7"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5854:6:7"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "5937:118:7",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5952:16:7",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5966:2:7",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "5956:6:7",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5982:63:7",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6017:9:7"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "6028:6:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6013:3:7"
},
"nodeType": "YulFunctionCall",
"src": "6013:22:7"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "6037:7:7"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "5992:20:7"
},
"nodeType": "YulFunctionCall",
"src": "5992:53:7"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "5982:6:7"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5633:9:7",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "5644:7:7",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5656:6:7",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "5664:6:7",
"type": ""
}
],
"src": "5588:474:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6096:152:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6113:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6116:77:7",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6106:6:7"
},
"nodeType": "YulFunctionCall",
"src": "6106:88:7"
},
"nodeType": "YulExpressionStatement",
"src": "6106:88:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6210:1:7",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6213:4:7",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6203:6:7"
},
"nodeType": "YulFunctionCall",
"src": "6203:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "6203:15:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6234:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6237:4:7",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6227:6:7"
},
"nodeType": "YulFunctionCall",
"src": "6227:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "6227:15:7"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "6068:180:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6305:269:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6315:22:7",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6329:4:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6335:1:7",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "6325:3:7"
},
"nodeType": "YulFunctionCall",
"src": "6325:12:7"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6315:6:7"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "6346:38:7",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6376:4:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6382:1:7",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6372:3:7"
},
"nodeType": "YulFunctionCall",
"src": "6372:12:7"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "6350:18:7",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6423:51:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6437:27:7",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6451:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6459:4:7",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6447:3:7"
},
"nodeType": "YulFunctionCall",
"src": "6447:17:7"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6437:6:7"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6403:18:7"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6396:6:7"
},
"nodeType": "YulFunctionCall",
"src": "6396:26:7"
},
"nodeType": "YulIf",
"src": "6393:81:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6526:42:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "6540:16:7"
},
"nodeType": "YulFunctionCall",
"src": "6540:18:7"
},
"nodeType": "YulExpressionStatement",
"src": "6540:18:7"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6490:18:7"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6513:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6521:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6510:2:7"
},
"nodeType": "YulFunctionCall",
"src": "6510:14:7"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6487:2:7"
},
"nodeType": "YulFunctionCall",
"src": "6487:38:7"
},
"nodeType": "YulIf",
"src": "6484:84:7"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "6289:4:7",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6298:6:7",
"type": ""
}
],
"src": "6254:320:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6686:121:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6708:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6716:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6704:3:7"
},
"nodeType": "YulFunctionCall",
"src": "6704:14:7"
},
{
"hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732061",
"kind": "string",
"nodeType": "YulLiteral",
"src": "6720:34:7",
"type": "",
"value": "ERC20: transfer amount exceeds a"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6697:6:7"
},
"nodeType": "YulFunctionCall",
"src": "6697:58:7"
},
"nodeType": "YulExpressionStatement",
"src": "6697:58:7"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6776:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6784:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6772:3:7"
},
"nodeType": "YulFunctionCall",
"src": "6772:15:7"
},
{
"hexValue": "6c6c6f77616e6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "6789:10:7",
"type": "",
"value": "llowance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6765:6:7"
},
"nodeType": "YulFunctionCall",
"src": "6765:35:7"
},
"nodeType": "YulExpressionStatement",
"src": "6765:35:7"
}
]
},
"name": "store_literal_in_memory_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "6678:6:7",
"type": ""
}
],
"src": "6580:227:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6959:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6969:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7035:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7040:2:7",
"type": "",
"value": "40"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6976:58:7"
},
"nodeType": "YulFunctionCall",
"src": "6976:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6969:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7141:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330",
"nodeType": "YulIdentifier",
"src": "7052:88:7"
},
"nodeType": "YulFunctionCall",
"src": "7052:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "7052:93:7"
},
{
"nodeType": "YulAssignment",
"src": "7154:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7165:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7170:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7161:3:7"
},
"nodeType": "YulFunctionCall",
"src": "7161:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "7154:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "6947:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "6955:3:7",
"type": ""
}
],
"src": "6813:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7356:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7366:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7378:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7389:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7374:3:7"
},
"nodeType": "YulFunctionCall",
"src": "7374:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7366:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7413:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7424:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7409:3:7"
},
"nodeType": "YulFunctionCall",
"src": "7409:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7432:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7438:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7428:3:7"
},
"nodeType": "YulFunctionCall",
"src": "7428:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7402:6:7"
},
"nodeType": "YulFunctionCall",
"src": "7402:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "7402:47:7"
},
{
"nodeType": "YulAssignment",
"src": "7458:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7592:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "7466:124:7"
},
"nodeType": "YulFunctionCall",
"src": "7466:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7458:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7336:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7351:4:7",
"type": ""
}
],
"src": "7185:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7638:152:7",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7655:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7658:77:7",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7648:6:7"
},
"nodeType": "YulFunctionCall",
"src": "7648:88:7"
},
"nodeType": "YulExpressionStatement",
"src": "7648:88:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7752:1:7",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7755:4:7",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7745:6:7"
},
"nodeType": "YulFunctionCall",
"src": "7745:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "7745:15:7"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7776:1:7",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7779:4:7",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7769:6:7"
},
"nodeType": "YulFunctionCall",
"src": "7769:15:7"
},
"nodeType": "YulExpressionStatement",
"src": "7769:15:7"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "7610:180:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7840:261:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7850:25:7",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "7873:1:7"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7855:17:7"
},
"nodeType": "YulFunctionCall",
"src": "7855:20:7"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "7850:1:7"
}
]
},
{
"nodeType": "YulAssignment",
"src": "7884:25:7",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "7907:1:7"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7889:17:7"
},
"nodeType": "YulFunctionCall",
"src": "7889:20:7"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "7884:1:7"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8047:22:7",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "8049:16:7"
},
"nodeType": "YulFunctionCall",
"src": "8049:18:7"
},
"nodeType": "YulExpressionStatement",
"src": "8049:18:7"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "7968:1:7"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7975:66:7",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8043:1:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7971:3:7"
},
"nodeType": "YulFunctionCall",
"src": "7971:74:7"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7965:2:7"
},
"nodeType": "YulFunctionCall",
"src": "7965:81:7"
},
"nodeType": "YulIf",
"src": "7962:107:7"
},
{
"nodeType": "YulAssignment",
"src": "8079:16:7",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8090:1:7"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8093:1:7"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8086:3:7"
},
"nodeType": "YulFunctionCall",
"src": "8086:9:7"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "8079:3:7"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "7827:1:7",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "7830:1:7",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "7836:3:7",
"type": ""
}
],
"src": "7796:305:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8213:63:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "8235:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8243:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8231:3:7"
},
"nodeType": "YulFunctionCall",
"src": "8231:14:7"
},
{
"hexValue": "4f6e6c79206f776e65722063616e206d696e74",
"kind": "string",
"nodeType": "YulLiteral",
"src": "8247:21:7",
"type": "",
"value": "Only owner can mint"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8224:6:7"
},
"nodeType": "YulFunctionCall",
"src": "8224:45:7"
},
"nodeType": "YulExpressionStatement",
"src": "8224:45:7"
}
]
},
"name": "store_literal_in_memory_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "8205:6:7",
"type": ""
}
],
"src": "8107:169:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8428:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8438:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8504:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8509:2:7",
"type": "",
"value": "19"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "8445:58:7"
},
"nodeType": "YulFunctionCall",
"src": "8445:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8438:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8610:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac",
"nodeType": "YulIdentifier",
"src": "8521:88:7"
},
"nodeType": "YulFunctionCall",
"src": "8521:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "8521:93:7"
},
{
"nodeType": "YulAssignment",
"src": "8623:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8634:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8639:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8630:3:7"
},
"nodeType": "YulFunctionCall",
"src": "8630:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "8623:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "8416:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "8424:3:7",
"type": ""
}
],
"src": "8282:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8825:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8835:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8847:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8858:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8843:3:7"
},
"nodeType": "YulFunctionCall",
"src": "8843:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8835:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8882:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8893:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8878:3:7"
},
"nodeType": "YulFunctionCall",
"src": "8878:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8901:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8907:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "8897:3:7"
},
"nodeType": "YulFunctionCall",
"src": "8897:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8871:6:7"
},
"nodeType": "YulFunctionCall",
"src": "8871:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "8871:47:7"
},
{
"nodeType": "YulAssignment",
"src": "8927:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9061:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "8935:124:7"
},
"nodeType": "YulFunctionCall",
"src": "8935:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8927:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8805:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8820:4:7",
"type": ""
}
],
"src": "8654:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9185:118:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9207:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9215:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9203:3:7"
},
"nodeType": "YulFunctionCall",
"src": "9203:14:7"
},
{
"hexValue": "45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9219:34:7",
"type": "",
"value": "ERC20: decreased allowance below"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9196:6:7"
},
"nodeType": "YulFunctionCall",
"src": "9196:58:7"
},
"nodeType": "YulExpressionStatement",
"src": "9196:58:7"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9275:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9283:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9271:3:7"
},
"nodeType": "YulFunctionCall",
"src": "9271:15:7"
},
{
"hexValue": "207a65726f",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9288:7:7",
"type": "",
"value": " zero"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9264:6:7"
},
"nodeType": "YulFunctionCall",
"src": "9264:32:7"
},
"nodeType": "YulExpressionStatement",
"src": "9264:32:7"
}
]
},
"name": "store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "9177:6:7",
"type": ""
}
],
"src": "9079:224:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9455:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9465:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9531:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9536:2:7",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "9472:58:7"
},
"nodeType": "YulFunctionCall",
"src": "9472:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9465:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9637:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8",
"nodeType": "YulIdentifier",
"src": "9548:88:7"
},
"nodeType": "YulFunctionCall",
"src": "9548:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "9548:93:7"
},
{
"nodeType": "YulAssignment",
"src": "9650:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9661:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9666:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9657:3:7"
},
"nodeType": "YulFunctionCall",
"src": "9657:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "9650:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "9443:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "9451:3:7",
"type": ""
}
],
"src": "9309:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9852:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9862:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9874:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9885:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9870:3:7"
},
"nodeType": "YulFunctionCall",
"src": "9870:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9862:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9909:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9920:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9905:3:7"
},
"nodeType": "YulFunctionCall",
"src": "9905:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9928:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9934:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9924:3:7"
},
"nodeType": "YulFunctionCall",
"src": "9924:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9898:6:7"
},
"nodeType": "YulFunctionCall",
"src": "9898:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "9898:47:7"
},
{
"nodeType": "YulAssignment",
"src": "9954:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10088:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "9962:124:7"
},
"nodeType": "YulFunctionCall",
"src": "9962:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9954:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9832:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9847:4:7",
"type": ""
}
],
"src": "9681:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10212:117:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "10234:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10242:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10230:3:7"
},
"nodeType": "YulFunctionCall",
"src": "10230:14:7"
},
{
"hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f20616464",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10246:34:7",
"type": "",
"value": "ERC20: approve from the zero add"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10223:6:7"
},
"nodeType": "YulFunctionCall",
"src": "10223:58:7"
},
"nodeType": "YulExpressionStatement",
"src": "10223:58:7"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "10302:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10310:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10298:3:7"
},
"nodeType": "YulFunctionCall",
"src": "10298:15:7"
},
{
"hexValue": "72657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10315:6:7",
"type": "",
"value": "ress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10291:6:7"
},
"nodeType": "YulFunctionCall",
"src": "10291:31:7"
},
"nodeType": "YulExpressionStatement",
"src": "10291:31:7"
}
]
},
"name": "store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "10204:6:7",
"type": ""
}
],
"src": "10106:223:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10481:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10491:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10557:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10562:2:7",
"type": "",
"value": "36"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "10498:58:7"
},
"nodeType": "YulFunctionCall",
"src": "10498:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10491:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10663:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208",
"nodeType": "YulIdentifier",
"src": "10574:88:7"
},
"nodeType": "YulFunctionCall",
"src": "10574:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "10574:93:7"
},
{
"nodeType": "YulAssignment",
"src": "10676:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10687:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10692:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10683:3:7"
},
"nodeType": "YulFunctionCall",
"src": "10683:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "10676:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "10469:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "10477:3:7",
"type": ""
}
],
"src": "10335:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10878:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10888:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10900:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10911:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10896:3:7"
},
"nodeType": "YulFunctionCall",
"src": "10896:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10888:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10935:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10946:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10931:3:7"
},
"nodeType": "YulFunctionCall",
"src": "10931:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10954:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10960:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "10950:3:7"
},
"nodeType": "YulFunctionCall",
"src": "10950:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10924:6:7"
},
"nodeType": "YulFunctionCall",
"src": "10924:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "10924:47:7"
},
{
"nodeType": "YulAssignment",
"src": "10980:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11114:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "10988:124:7"
},
"nodeType": "YulFunctionCall",
"src": "10988:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10980:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "10858:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "10873:4:7",
"type": ""
}
],
"src": "10707:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11238:115:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "11260:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11268:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11256:3:7"
},
"nodeType": "YulFunctionCall",
"src": "11256:14:7"
},
{
"hexValue": "45524332303a20617070726f766520746f20746865207a65726f206164647265",
"kind": "string",
"nodeType": "YulLiteral",
"src": "11272:34:7",
"type": "",
"value": "ERC20: approve to the zero addre"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11249:6:7"
},
"nodeType": "YulFunctionCall",
"src": "11249:58:7"
},
"nodeType": "YulExpressionStatement",
"src": "11249:58:7"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "11328:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11336:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11324:3:7"
},
"nodeType": "YulFunctionCall",
"src": "11324:15:7"
},
{
"hexValue": "7373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "11341:4:7",
"type": "",
"value": "ss"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11317:6:7"
},
"nodeType": "YulFunctionCall",
"src": "11317:29:7"
},
"nodeType": "YulExpressionStatement",
"src": "11317:29:7"
}
]
},
"name": "store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "11230:6:7",
"type": ""
}
],
"src": "11132:221:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11505:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11515:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11581:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11586:2:7",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "11522:58:7"
},
"nodeType": "YulFunctionCall",
"src": "11522:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11515:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11687:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029",
"nodeType": "YulIdentifier",
"src": "11598:88:7"
},
"nodeType": "YulFunctionCall",
"src": "11598:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "11598:93:7"
},
{
"nodeType": "YulAssignment",
"src": "11700:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11711:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11716:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11707:3:7"
},
"nodeType": "YulFunctionCall",
"src": "11707:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "11700:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "11493:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "11501:3:7",
"type": ""
}
],
"src": "11359:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11902:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11912:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11924:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11935:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11920:3:7"
},
"nodeType": "YulFunctionCall",
"src": "11920:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11912:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11959:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11970:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11955:3:7"
},
"nodeType": "YulFunctionCall",
"src": "11955:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11978:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11984:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "11974:3:7"
},
"nodeType": "YulFunctionCall",
"src": "11974:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11948:6:7"
},
"nodeType": "YulFunctionCall",
"src": "11948:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "11948:47:7"
},
{
"nodeType": "YulAssignment",
"src": "12004:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12138:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "12012:124:7"
},
"nodeType": "YulFunctionCall",
"src": "12012:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12004:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "11882:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "11897:4:7",
"type": ""
}
],
"src": "11731:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12262:118:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "12284:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12292:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12280:3:7"
},
"nodeType": "YulFunctionCall",
"src": "12280:14:7"
},
{
"hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f206164",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12296:34:7",
"type": "",
"value": "ERC20: transfer from the zero ad"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12273:6:7"
},
"nodeType": "YulFunctionCall",
"src": "12273:58:7"
},
"nodeType": "YulExpressionStatement",
"src": "12273:58:7"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "12352:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12360:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12348:3:7"
},
"nodeType": "YulFunctionCall",
"src": "12348:15:7"
},
{
"hexValue": "6472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12365:7:7",
"type": "",
"value": "dress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12341:6:7"
},
"nodeType": "YulFunctionCall",
"src": "12341:32:7"
},
"nodeType": "YulExpressionStatement",
"src": "12341:32:7"
}
]
},
"name": "store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "12254:6:7",
"type": ""
}
],
"src": "12156:224:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12532:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "12542:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12608:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12613:2:7",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "12549:58:7"
},
"nodeType": "YulFunctionCall",
"src": "12549:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12542:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12714:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea",
"nodeType": "YulIdentifier",
"src": "12625:88:7"
},
"nodeType": "YulFunctionCall",
"src": "12625:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "12625:93:7"
},
{
"nodeType": "YulAssignment",
"src": "12727:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12738:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12743:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12734:3:7"
},
"nodeType": "YulFunctionCall",
"src": "12734:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "12727:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "12520:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "12528:3:7",
"type": ""
}
],
"src": "12386:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12929:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "12939:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12951:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12962:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12947:3:7"
},
"nodeType": "YulFunctionCall",
"src": "12947:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12939:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12986:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12997:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12982:3:7"
},
"nodeType": "YulFunctionCall",
"src": "12982:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13005:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13011:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "13001:3:7"
},
"nodeType": "YulFunctionCall",
"src": "13001:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12975:6:7"
},
"nodeType": "YulFunctionCall",
"src": "12975:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "12975:47:7"
},
{
"nodeType": "YulAssignment",
"src": "13031:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13165:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "13039:124:7"
},
"nodeType": "YulFunctionCall",
"src": "13039:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13031:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "12909:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "12924:4:7",
"type": ""
}
],
"src": "12758:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13289:116:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "13311:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13319:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13307:3:7"
},
"nodeType": "YulFunctionCall",
"src": "13307:14:7"
},
{
"hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472",
"kind": "string",
"nodeType": "YulLiteral",
"src": "13323:34:7",
"type": "",
"value": "ERC20: transfer to the zero addr"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13300:6:7"
},
"nodeType": "YulFunctionCall",
"src": "13300:58:7"
},
"nodeType": "YulExpressionStatement",
"src": "13300:58:7"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "13379:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13387:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13375:3:7"
},
"nodeType": "YulFunctionCall",
"src": "13375:15:7"
},
{
"hexValue": "657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "13392:5:7",
"type": "",
"value": "ess"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13368:6:7"
},
"nodeType": "YulFunctionCall",
"src": "13368:30:7"
},
"nodeType": "YulExpressionStatement",
"src": "13368:30:7"
}
]
},
"name": "store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "13281:6:7",
"type": ""
}
],
"src": "13183:222:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13557:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13567:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13633:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13638:2:7",
"type": "",
"value": "35"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "13574:58:7"
},
"nodeType": "YulFunctionCall",
"src": "13574:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13567:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13739:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f",
"nodeType": "YulIdentifier",
"src": "13650:88:7"
},
"nodeType": "YulFunctionCall",
"src": "13650:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "13650:93:7"
},
{
"nodeType": "YulAssignment",
"src": "13752:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13763:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13768:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13759:3:7"
},
"nodeType": "YulFunctionCall",
"src": "13759:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "13752:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "13545:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "13553:3:7",
"type": ""
}
],
"src": "13411:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13954:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13964:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13976:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13987:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13972:3:7"
},
"nodeType": "YulFunctionCall",
"src": "13972:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13964:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14011:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14022:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14007:3:7"
},
"nodeType": "YulFunctionCall",
"src": "14007:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14030:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14036:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "14026:3:7"
},
"nodeType": "YulFunctionCall",
"src": "14026:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14000:6:7"
},
"nodeType": "YulFunctionCall",
"src": "14000:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "14000:47:7"
},
{
"nodeType": "YulAssignment",
"src": "14056:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14190:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "14064:124:7"
},
"nodeType": "YulFunctionCall",
"src": "14064:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14056:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "13934:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "13949:4:7",
"type": ""
}
],
"src": "13783:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14314:119:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "14336:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14344:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14332:3:7"
},
"nodeType": "YulFunctionCall",
"src": "14332:14:7"
},
{
"hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732062",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14348:34:7",
"type": "",
"value": "ERC20: transfer amount exceeds b"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14325:6:7"
},
"nodeType": "YulFunctionCall",
"src": "14325:58:7"
},
"nodeType": "YulExpressionStatement",
"src": "14325:58:7"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "14404:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14412:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14400:3:7"
},
"nodeType": "YulFunctionCall",
"src": "14400:15:7"
},
{
"hexValue": "616c616e6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14417:8:7",
"type": "",
"value": "alance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14393:6:7"
},
"nodeType": "YulFunctionCall",
"src": "14393:33:7"
},
"nodeType": "YulExpressionStatement",
"src": "14393:33:7"
}
]
},
"name": "store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "14306:6:7",
"type": ""
}
],
"src": "14208:225:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14585:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14595:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14661:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14666:2:7",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "14602:58:7"
},
"nodeType": "YulFunctionCall",
"src": "14602:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14595:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14767:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6",
"nodeType": "YulIdentifier",
"src": "14678:88:7"
},
"nodeType": "YulFunctionCall",
"src": "14678:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "14678:93:7"
},
{
"nodeType": "YulAssignment",
"src": "14780:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14791:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14796:2:7",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14787:3:7"
},
"nodeType": "YulFunctionCall",
"src": "14787:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "14780:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "14573:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "14581:3:7",
"type": ""
}
],
"src": "14439:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14982:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14992:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15004:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15015:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15000:3:7"
},
"nodeType": "YulFunctionCall",
"src": "15000:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14992:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15039:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15050:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15035:3:7"
},
"nodeType": "YulFunctionCall",
"src": "15035:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "15058:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15064:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "15054:3:7"
},
"nodeType": "YulFunctionCall",
"src": "15054:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15028:6:7"
},
"nodeType": "YulFunctionCall",
"src": "15028:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "15028:47:7"
},
{
"nodeType": "YulAssignment",
"src": "15084:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "15218:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "15092:124:7"
},
"nodeType": "YulFunctionCall",
"src": "15092:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "15084:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "14962:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "14977:4:7",
"type": ""
}
],
"src": "14811:419:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15342:75:7",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "15364:6:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15372:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15360:3:7"
},
"nodeType": "YulFunctionCall",
"src": "15360:14:7"
},
{
"hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "15376:33:7",
"type": "",
"value": "ERC20: mint to the zero address"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15353:6:7"
},
"nodeType": "YulFunctionCall",
"src": "15353:57:7"
},
"nodeType": "YulExpressionStatement",
"src": "15353:57:7"
}
]
},
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "15334:6:7",
"type": ""
}
],
"src": "15236:181:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15569:220:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15579:74:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "15645:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15650:2:7",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "15586:58:7"
},
"nodeType": "YulFunctionCall",
"src": "15586:67:7"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "15579:3:7"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "15751:3:7"
}
],
"functionName": {
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e",
"nodeType": "YulIdentifier",
"src": "15662:88:7"
},
"nodeType": "YulFunctionCall",
"src": "15662:93:7"
},
"nodeType": "YulExpressionStatement",
"src": "15662:93:7"
},
{
"nodeType": "YulAssignment",
"src": "15764:19:7",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "15775:3:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15780:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15771:3:7"
},
"nodeType": "YulFunctionCall",
"src": "15771:12:7"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "15764:3:7"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "15557:3:7",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "15565:3:7",
"type": ""
}
],
"src": "15423:366:7"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15966:248:7",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15976:26:7",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15988:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15999:2:7",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15984:3:7"
},
"nodeType": "YulFunctionCall",
"src": "15984:18:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "15976:4:7"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16023:9:7"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16034:1:7",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16019:3:7"
},
"nodeType": "YulFunctionCall",
"src": "16019:17:7"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "16042:4:7"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16048:9:7"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "16038:3:7"
},
"nodeType": "YulFunctionCall",
"src": "16038:20:7"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16012:6:7"
},
"nodeType": "YulFunctionCall",
"src": "16012:47:7"
},
"nodeType": "YulExpressionStatement",
"src": "16012:47:7"
},
{
"nodeType": "YulAssignment",
"src": "16068:139:7",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "16202:4:7"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "16076:124:7"
},
"nodeType": "YulFunctionCall",
"src": "16076:131:7"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "16068:4:7"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "15946:9:7",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "15961:4:7",
"type": ""
}
],
"src": "15795:419:7"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function 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(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_addresst_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function 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 abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function abi_encode_t_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint8_to_t_uint8_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function store_literal_in_memory_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer amount exceeds a\")\n\n mstore(add(memPtr, 32), \"llowance\")\n\n }\n\n function abi_encode_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 40)\n store_literal_in_memory_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330__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_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function store_literal_in_memory_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac(memPtr) {\n\n mstore(add(memPtr, 0), \"Only owner can mint\")\n\n }\n\n function abi_encode_t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac__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_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: decreased allowance below\")\n\n mstore(add(memPtr, 32), \" zero\")\n\n }\n\n function abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__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_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: approve from the zero add\")\n\n mstore(add(memPtr, 32), \"ress\")\n\n }\n\n function abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 36)\n store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__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_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: approve to the zero addre\")\n\n mstore(add(memPtr, 32), \"ss\")\n\n }\n\n function abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__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_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer from the zero ad\")\n\n mstore(add(memPtr, 32), \"dress\")\n\n }\n\n function abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__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_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer to the zero addr\")\n\n mstore(add(memPtr, 32), \"ess\")\n\n }\n\n function abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__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_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer amount exceeds b\")\n\n mstore(add(memPtr, 32), \"alance\")\n\n }\n\n function abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 38)\n store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__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_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: mint to the zero address\")\n\n }\n\n function abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__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_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n",
"id": 7,
"language": "Yul",
"name": "#utility.yul"
}
],
"sourceMap": "117:336:5:-:0;;;178:121;;;;;;;;;;1906:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1980:5;1972;:13;;;;;;;;;;;;:::i;:::-;;2005:7;1995;:17;;;;;;;;;;;;:::i;:::-;;1906:113;;238:10:5::1;230:5;;:18;;;;;;;;;;;;;;;;;;258:34;264:10;276:15;258:5;;;:34;;:::i;:::-;117:336:::0;;8254:389:0;8356:1;8337:21;;:7;:21;;;;8329:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;8405:49;8434:1;8438:7;8447:6;8405:20;;;:49;;:::i;:::-;8481:6;8465:12;;:22;;;;;;;:::i;:::-;;;;;;;;8519:6;8497:9;:18;8507:7;8497:18;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;8561:7;8540:37;;8557:1;8540:37;;;8570:6;8540:37;;;;;;:::i;:::-;;;;;;;;8588:48;8616:1;8620:7;8629:6;8588:19;;;:48;;:::i;:::-;8254:389;;:::o;10916:121::-;;;;:::o;11625:120::-;;;;:::o;117:336:5:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:169:7:-;91:11;125:6;120:3;113:19;165:4;160:3;156:14;141:29;;7:169;;;;:::o;182:181::-;322:33;318:1;310:6;306:14;299:57;182:181;:::o;369:366::-;511:3;532:67;596:2;591:3;532:67;:::i;:::-;525:74;;608:93;697:3;608:93;:::i;:::-;726:2;721:3;717:12;710:19;;369:366;;;:::o;741:419::-;907:4;945:2;934:9;930:18;922:26;;994:9;988:4;984:20;980:1;969:9;965:17;958:47;1022:131;1148:4;1022:131;:::i;:::-;1014:139;;741:419;;;:::o;1166:77::-;1203:7;1232:5;1221:16;;1166:77;;;:::o;1249:180::-;1297:77;1294:1;1287:88;1394:4;1391:1;1384:15;1418:4;1415:1;1408:15;1435:305;1475:3;1494:20;1512:1;1494:20;:::i;:::-;1489:25;;1528:20;1546:1;1528:20;:::i;:::-;1523:25;;1682:1;1614:66;1610:74;1607:1;1604:81;1601:107;;;1688:18;;:::i;:::-;1601:107;1732:1;1729;1725:9;1718:16;;1435:305;;;;:::o;1746:118::-;1833:24;1851:5;1833:24;:::i;:::-;1828:3;1821:37;1746:118;;:::o;1870:222::-;1963:4;2001:2;1990:9;1986:18;1978:26;;2014:71;2082:1;2071:9;2067:17;2058:6;2014:71;:::i;:::-;1870:222;;;;:::o;2098:180::-;2146:77;2143:1;2136:88;2243:4;2240:1;2233:15;2267:4;2264:1;2257:15;2284:320;2328:6;2365:1;2359:4;2355:12;2345:22;;2412:1;2406:4;2402:12;2433:18;2423:81;;2489:4;2481:6;2477:17;2467:27;;2423:81;2551:2;2543:6;2540:14;2520:18;2517:38;2514:84;;;2570:18;;:::i;:::-;2514:84;2335:269;2284:320;;;:::o;117:336:5:-;;;;;;;",
"deployedSourceMap": "117:336:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2084:98:0;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4181:166;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3172:106;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4814:478;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3021:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5687:212;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;305:146:5;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3336:125:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;151:20:5;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2295:102:0;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6386:405;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3664:172;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3894:149;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2084:98;2138:13;2170:5;2163:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2084:98;:::o;4181:166::-;4264:4;4280:39;4289:12;:10;:12::i;:::-;4303:7;4312:6;4280:8;:39::i;:::-;4336:4;4329:11;;4181:166;;;;:::o;3172:106::-;3233:7;3259:12;;3252:19;;3172:106;:::o;4814:478::-;4950:4;4966:36;4976:6;4984:9;4995:6;4966:9;:36::i;:::-;5013:24;5040:11;:19;5052:6;5040:19;;;;;;;;;;;;;;;:33;5060:12;:10;:12::i;:::-;5040:33;;;;;;;;;;;;;;;;5013:60;;5111:6;5091:16;:26;;5083:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;5196:57;5205:6;5213:12;:10;:12::i;:::-;5246:6;5227:16;:25;5196:8;:57::i;:::-;5281:4;5274:11;;;4814:478;;;;;:::o;3021:91::-;3079:5;3103:2;3096:9;;3021:91;:::o;5687:212::-;5775:4;5791:80;5800:12;:10;:12::i;:::-;5814:7;5860:10;5823:11;:25;5835:12;:10;:12::i;:::-;5823:25;;;;;;;;;;;;;;;:34;5849:7;5823:34;;;;;;;;;;;;;;;;:47;;;;:::i;:::-;5791:8;:80::i;:::-;5888:4;5881:11;;5687:212;;;;:::o;305:146:5:-;388:5;;;;;;;;;;;374:19;;:10;:19;;;366:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;427:17;433:2;437:6;427:5;:17::i;:::-;305:146;;:::o;3336:125:0:-;3410:7;3436:9;:18;3446:7;3436:18;;;;;;;;;;;;;;;;3429:25;;3336:125;;;:::o;151:20:5:-;;;;;;;;;;;;;:::o;2295:102:0:-;2351:13;2383:7;2376:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2295:102;:::o;6386:405::-;6479:4;6495:24;6522:11;:25;6534:12;:10;:12::i;:::-;6522:25;;;;;;;;;;;;;;;:34;6548:7;6522:34;;;;;;;;;;;;;;;;6495:61;;6594:15;6574:16;:35;;6566:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;6685:67;6694:12;:10;:12::i;:::-;6708:7;6736:15;6717:16;:34;6685:8;:67::i;:::-;6780:4;6773:11;;;6386:405;;;;:::o;3664:172::-;3750:4;3766:42;3776:12;:10;:12::i;:::-;3790:9;3801:6;3766:9;:42::i;:::-;3825:4;3818:11;;3664:172;;;;:::o;3894:149::-;3983:7;4009:11;:18;4021:5;4009:18;;;;;;;;;;;;;;;:27;4028:7;4009:27;;;;;;;;;;;;;;;;4002:34;;3894:149;;;;:::o;587:96:3:-;640:7;666:10;659:17;;587:96;:::o;9962:370:0:-;10110:1;10093:19;;:5;:19;;;;10085:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;10190:1;10171:21;;:7;:21;;;;10163:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;10272:6;10242:11;:18;10254:5;10242:18;;;;;;;;;;;;;;;:27;10261:7;10242:27;;;;;;;;;;;;;;;:36;;;;10309:7;10293:32;;10302:5;10293:32;;;10318:6;10293:32;;;;;;:::i;:::-;;;;;;;;9962:370;;;:::o;7265:713::-;7418:1;7400:20;;:6;:20;;;;7392:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;7501:1;7480:23;;:9;:23;;;;7472:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;7554:47;7575:6;7583:9;7594:6;7554:20;:47::i;:::-;7612:21;7636:9;:17;7646:6;7636:17;;;;;;;;;;;;;;;;7612:41;;7688:6;7671:13;:23;;7663:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;7807:6;7791:13;:22;7771:9;:17;7781:6;7771:17;;;;;;;;;;;;;;;:42;;;;7857:6;7833:9;:20;7843:9;7833:20;;;;;;;;;;;;;;;;:30;;;;;;;:::i;:::-;;;;;;;;7896:9;7879:35;;7888:6;7879:35;;;7907:6;7879:35;;;;;;:::i;:::-;;;;;;;;7925:46;7945:6;7953:9;7964:6;7925:19;:46::i;:::-;7382:596;7265:713;;;:::o;8254:389::-;8356:1;8337:21;;:7;:21;;;;8329:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;8405:49;8434:1;8438:7;8447:6;8405:20;:49::i;:::-;8481:6;8465:12;;:22;;;;;;;:::i;:::-;;;;;;;;8519:6;8497:9;:18;8507:7;8497:18;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;8561:7;8540:37;;8557:1;8540:37;;;8570:6;8540:37;;;;;;:::i;:::-;;;;;;;;8588:48;8616:1;8620:7;8629:6;8588:19;:48::i;:::-;8254:389;;:::o;10916:121::-;;;;:::o;11625:120::-;;;;:::o;7:99:7:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:307::-;355:1;365:113;379:6;376:1;373:13;365:113;;;464:1;459:3;455:11;449:18;445:1;440:3;436:11;429:39;401:2;398:1;394:10;389:15;;365:113;;;496:6;493:1;490:13;487:101;;;576:1;567:6;562:3;558:16;551:27;487:101;336:258;287:307;;;:::o;600:102::-;641:6;692:2;688:7;683:2;676:5;672:14;668:28;658:38;;600:102;;;:::o;708:364::-;796:3;824:39;857:5;824:39;:::i;:::-;879:71;943:6;938:3;879:71;:::i;:::-;872:78;;959:52;1004:6;999:3;992:4;985:5;981:16;959:52;:::i;:::-;1036:29;1058:6;1036:29;:::i;:::-;1031:3;1027:39;1020:46;;800:272;708:364;;;;:::o;1078:313::-;1191:4;1229:2;1218:9;1214:18;1206:26;;1278:9;1272:4;1268:20;1264:1;1253:9;1249:17;1242:47;1306:78;1379:4;1370:6;1306:78;:::i;:::-;1298:86;;1078:313;;;;:::o;1478:117::-;1587:1;1584;1577:12;1724:126;1761:7;1801:42;1794:5;1790:54;1779:65;;1724:126;;;:::o;1856:96::-;1893:7;1922:24;1940:5;1922:24;:::i;:::-;1911:35;;1856:96;;;:::o;1958:122::-;2031:24;2049:5;2031:24;:::i;:::-;2024:5;2021:35;2011:63;;2070:1;2067;2060:12;2011:63;1958:122;:::o;2086:139::-;2132:5;2170:6;2157:20;2148:29;;2186:33;2213:5;2186:33;:::i;:::-;2086:139;;;;:::o;2231:77::-;2268:7;2297:5;2286:16;;2231:77;;;:::o;2314:122::-;2387:24;2405:5;2387:24;:::i;:::-;2380:5;2377:35;2367:63;;2426:1;2423;2416:12;2367:63;2314:122;:::o;2442:139::-;2488:5;2526:6;2513:20;2504:29;;2542:33;2569:5;2542:33;:::i;:::-;2442:139;;;;:::o;2587:474::-;2655:6;2663;2712:2;2700:9;2691:7;2687:23;2683:32;2680:119;;;2718:79;;:::i;:::-;2680:119;2838:1;2863:53;2908:7;2899:6;2888:9;2884:22;2863:53;:::i;:::-;2853:63;;2809:117;2965:2;2991:53;3036:7;3027:6;3016:9;3012:22;2991:53;:::i;:::-;2981:63;;2936:118;2587:474;;;;;:::o;3067:90::-;3101:7;3144:5;3137:13;3130:21;3119:32;;3067:90;;;:::o;3163:109::-;3244:21;3259:5;3244:21;:::i;:::-;3239:3;3232:34;3163:109;;:::o;3278:210::-;3365:4;3403:2;3392:9;3388:18;3380:26;;3416:65;3478:1;3467:9;3463:17;3454:6;3416:65;:::i;:::-;3278:210;;;;:::o;3494:118::-;3581:24;3599:5;3581:24;:::i;:::-;3576:3;3569:37;3494:118;;:::o;3618:222::-;3711:4;3749:2;3738:9;3734:18;3726:26;;3762:71;3830:1;3819:9;3815:17;3806:6;3762:71;:::i;:::-;3618:222;;;;:::o;3846:619::-;3923:6;3931;3939;3988:2;3976:9;3967:7;3963:23;3959:32;3956:119;;;3994:79;;:::i;:::-;3956:119;4114:1;4139:53;4184:7;4175:6;4164:9;4160:22;4139:53;:::i;:::-;4129:63;;4085:117;4241:2;4267:53;4312:7;4303:6;4292:9;4288:22;4267:53;:::i;:::-;4257:63;;4212:118;4369:2;4395:53;4440:7;4431:6;4420:9;4416:22;4395:53;:::i;:::-;4385:63;;4340:118;3846:619;;;;;:::o;4471:86::-;4506:7;4546:4;4539:5;4535:16;4524:27;;4471:86;;;:::o;4563:112::-;4646:22;4662:5;4646:22;:::i;:::-;4641:3;4634:35;4563:112;;:::o;4681:214::-;4770:4;4808:2;4797:9;4793:18;4785:26;;4821:67;4885:1;4874:9;4870:17;4861:6;4821:67;:::i;:::-;4681:214;;;;:::o;4901:329::-;4960:6;5009:2;4997:9;4988:7;4984:23;4980:32;4977:119;;;5015:79;;:::i;:::-;4977:119;5135:1;5160:53;5205:7;5196:6;5185:9;5181:22;5160:53;:::i;:::-;5150:63;;5106:117;4901:329;;;;:::o;5236:118::-;5323:24;5341:5;5323:24;:::i;:::-;5318:3;5311:37;5236:118;;:::o;5360:222::-;5453:4;5491:2;5480:9;5476:18;5468:26;;5504:71;5572:1;5561:9;5557:17;5548:6;5504:71;:::i;:::-;5360:222;;;;:::o;5588:474::-;5656:6;5664;5713:2;5701:9;5692:7;5688:23;5684:32;5681:119;;;5719:79;;:::i;:::-;5681:119;5839:1;5864:53;5909:7;5900:6;5889:9;5885:22;5864:53;:::i;:::-;5854:63;;5810:117;5966:2;5992:53;6037:7;6028:6;6017:9;6013:22;5992:53;:::i;:::-;5982:63;;5937:118;5588:474;;;;;:::o;6068:180::-;6116:77;6113:1;6106:88;6213:4;6210:1;6203:15;6237:4;6234:1;6227:15;6254:320;6298:6;6335:1;6329:4;6325:12;6315:22;;6382:1;6376:4;6372:12;6403:18;6393:81;;6459:4;6451:6;6447:17;6437:27;;6393:81;6521:2;6513:6;6510:14;6490:18;6487:38;6484:84;;;6540:18;;:::i;:::-;6484:84;6305:269;6254:320;;;:::o;6580:227::-;6720:34;6716:1;6708:6;6704:14;6697:58;6789:10;6784:2;6776:6;6772:15;6765:35;6580:227;:::o;6813:366::-;6955:3;6976:67;7040:2;7035:3;6976:67;:::i;:::-;6969:74;;7052:93;7141:3;7052:93;:::i;:::-;7170:2;7165:3;7161:12;7154:19;;6813:366;;;:::o;7185:419::-;7351:4;7389:2;7378:9;7374:18;7366:26;;7438:9;7432:4;7428:20;7424:1;7413:9;7409:17;7402:47;7466:131;7592:4;7466:131;:::i;:::-;7458:139;;7185:419;;;:::o;7610:180::-;7658:77;7655:1;7648:88;7755:4;7752:1;7745:15;7779:4;7776:1;7769:15;7796:305;7836:3;7855:20;7873:1;7855:20;:::i;:::-;7850:25;;7889:20;7907:1;7889:20;:::i;:::-;7884:25;;8043:1;7975:66;7971:74;7968:1;7965:81;7962:107;;;8049:18;;:::i;:::-;7962:107;8093:1;8090;8086:9;8079:16;;7796:305;;;;:::o;8107:169::-;8247:21;8243:1;8235:6;8231:14;8224:45;8107:169;:::o;8282:366::-;8424:3;8445:67;8509:2;8504:3;8445:67;:::i;:::-;8438:74;;8521:93;8610:3;8521:93;:::i;:::-;8639:2;8634:3;8630:12;8623:19;;8282:366;;;:::o;8654:419::-;8820:4;8858:2;8847:9;8843:18;8835:26;;8907:9;8901:4;8897:20;8893:1;8882:9;8878:17;8871:47;8935:131;9061:4;8935:131;:::i;:::-;8927:139;;8654:419;;;:::o;9079:224::-;9219:34;9215:1;9207:6;9203:14;9196:58;9288:7;9283:2;9275:6;9271:15;9264:32;9079:224;:::o;9309:366::-;9451:3;9472:67;9536:2;9531:3;9472:67;:::i;:::-;9465:74;;9548:93;9637:3;9548:93;:::i;:::-;9666:2;9661:3;9657:12;9650:19;;9309:366;;;:::o;9681:419::-;9847:4;9885:2;9874:9;9870:18;9862:26;;9934:9;9928:4;9924:20;9920:1;9909:9;9905:17;9898:47;9962:131;10088:4;9962:131;:::i;:::-;9954:139;;9681:419;;;:::o;10106:223::-;10246:34;10242:1;10234:6;10230:14;10223:58;10315:6;10310:2;10302:6;10298:15;10291:31;10106:223;:::o;10335:366::-;10477:3;10498:67;10562:2;10557:3;10498:67;:::i;:::-;10491:74;;10574:93;10663:3;10574:93;:::i;:::-;10692:2;10687:3;10683:12;10676:19;;10335:366;;;:::o;10707:419::-;10873:4;10911:2;10900:9;10896:18;10888:26;;10960:9;10954:4;10950:20;10946:1;10935:9;10931:17;10924:47;10988:131;11114:4;10988:131;:::i;:::-;10980:139;;10707:419;;;:::o;11132:221::-;11272:34;11268:1;11260:6;11256:14;11249:58;11341:4;11336:2;11328:6;11324:15;11317:29;11132:221;:::o;11359:366::-;11501:3;11522:67;11586:2;11581:3;11522:67;:::i;:::-;11515:74;;11598:93;11687:3;11598:93;:::i;:::-;11716:2;11711:3;11707:12;11700:19;;11359:366;;;:::o;11731:419::-;11897:4;11935:2;11924:9;11920:18;11912:26;;11984:9;11978:4;11974:20;11970:1;11959:9;11955:17;11948:47;12012:131;12138:4;12012:131;:::i;:::-;12004:139;;11731:419;;;:::o;12156:224::-;12296:34;12292:1;12284:6;12280:14;12273:58;12365:7;12360:2;12352:6;12348:15;12341:32;12156:224;:::o;12386:366::-;12528:3;12549:67;12613:2;12608:3;12549:67;:::i;:::-;12542:74;;12625:93;12714:3;12625:93;:::i;:::-;12743:2;12738:3;12734:12;12727:19;;12386:366;;;:::o;12758:419::-;12924:4;12962:2;12951:9;12947:18;12939:26;;13011:9;13005:4;13001:20;12997:1;12986:9;12982:17;12975:47;13039:131;13165:4;13039:131;:::i;:::-;13031:139;;12758:419;;;:::o;13183:222::-;13323:34;13319:1;13311:6;13307:14;13300:58;13392:5;13387:2;13379:6;13375:15;13368:30;13183:222;:::o;13411:366::-;13553:3;13574:67;13638:2;13633:3;13574:67;:::i;:::-;13567:74;;13650:93;13739:3;13650:93;:::i;:::-;13768:2;13763:3;13759:12;13752:19;;13411:366;;;:::o;13783:419::-;13949:4;13987:2;13976:9;13972:18;13964:26;;14036:9;14030:4;14026:20;14022:1;14011:9;14007:17;14000:47;14064:131;14190:4;14064:131;:::i;:::-;14056:139;;13783:419;;;:::o;14208:225::-;14348:34;14344:1;14336:6;14332:14;14325:58;14417:8;14412:2;14404:6;14400:15;14393:33;14208:225;:::o;14439:366::-;14581:3;14602:67;14666:2;14661:3;14602:67;:::i;:::-;14595:74;;14678:93;14767:3;14678:93;:::i;:::-;14796:2;14791:3;14787:12;14780:19;;14439:366;;;:::o;14811:419::-;14977:4;15015:2;15004:9;15000:18;14992:26;;15064:9;15058:4;15054:20;15050:1;15039:9;15035:17;15028:47;15092:131;15218:4;15092:131;:::i;:::-;15084:139;;14811:419;;;:::o;15236:181::-;15376:33;15372:1;15364:6;15360:14;15353:57;15236:181;:::o;15423:366::-;15565:3;15586:67;15650:2;15645:3;15586:67;:::i;:::-;15579:74;;15662:93;15751:3;15662:93;:::i;:::-;15780:2;15775:3;15771:12;15764:19;;15423:366;;;:::o;15795:419::-;15961:4;15999:2;15988:9;15984:18;15976:26;;16048:9;16042:4;16038:20;16034:1;16023:9;16019:17;16012:47;16076:131;16202:4;16076:131;:::i;:::-;16068:139;;15795:419;;;:::o",
"source": "// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.6;\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\ncontract PolyToken is ERC20 {\n address public owner;\n\n constructor() ERC20(\"Poly Token\", \"POLY\") {\n owner = msg.sender;\n _mint(msg.sender, 100000 * 10**18);\n }\n\n function mint(address to, uint256 amount) external {\n require(msg.sender == owner, \"Only owner can mint\");\n _mint(to, amount);\n }\n}\n",
"sourcePath": "/Users/viralsangani/Desktop/Projects/Personal/Polymarket-clone/contracts/PolyToken.sol",
"ast": {
"absolutePath": "project:/contracts/PolyToken.sol",
"exportedSymbols": {
"Context": [
670
],
"ERC20": [
545
],
"IERC20": [
623
],
"IERC20Metadata": [
648
],
"PolyToken": [
755
]
},
"id": 756,
"license": "GPL-3.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 705,
"literals": [
"solidity",
"^",
"0.8",
".6"
],
"nodeType": "PragmaDirective",
"src": "36:23:5"
},
{
"absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
"id": 706,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 756,
"sourceUnit": 546,
"src": "60:55:5",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"baseName": {
"id": 707,
"name": "ERC20",
"nodeType": "IdentifierPath",
"referencedDeclaration": 545,
"src": "139:5:5"
},
"id": 708,
"nodeType": "InheritanceSpecifier",
"src": "139:5:5"
}
],
"canonicalName": "PolyToken",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 755,
"linearizedBaseContracts": [
755,
545,
648,
623,
670
],
"name": "PolyToken",
"nameLocation": "126:9:5",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"functionSelector": "8da5cb5b",
"id": 710,
"mutability": "mutable",
"name": "owner",
"nameLocation": "166:5:5",
"nodeType": "VariableDeclaration",
"scope": 755,
"src": "151:20:5",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 709,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "151:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "public"
},
{
"body": {
"id": 732,
"nodeType": "Block",
"src": "220:79:5",
"statements": [
{
"expression": {
"id": 720,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 717,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 710,
"src": "230:5:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"expression": {
"id": 718,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "238:3:5",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 719,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "238:10:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "230:18:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 721,
"nodeType": "ExpressionStatement",
"src": "230:18:5"
},
{
"expression": {
"arguments": [
{
"expression": {
"id": 723,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "264:3:5",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 724,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "264:10:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"commonType": {
"typeIdentifier": "t_rational_100000000000000000000000_by_1",
"typeString": "int_const 100000000000000000000000"
},
"id": 729,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"leftExpression": {
"hexValue": "313030303030",
"id": 725,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "276:6:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_100000_by_1",
"typeString": "int_const 100000"
},
"value": "100000"
},
"nodeType": "BinaryOperation",
"operator": "*",
"rightExpression": {
"commonType": {
"typeIdentifier": "t_rational_1000000000000000000_by_1",
"typeString": "int_const 1000000000000000000"
},
"id": 728,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"leftExpression": {
"hexValue": "3130",
"id": 726,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "285:2:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_10_by_1",
"typeString": "int_const 10"
},
"value": "10"
},
"nodeType": "BinaryOperation",
"operator": "**",
"rightExpression": {
"hexValue": "3138",
"id": 727,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "289:2:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_18_by_1",
"typeString": "int_const 18"
},
"value": "18"
},
"src": "285:6:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_1000000000000000000_by_1",
"typeString": "int_const 1000000000000000000"
}
},
"src": "276:15:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_100000000000000000000000_by_1",
"typeString": "int_const 100000000000000000000000"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_rational_100000000000000000000000_by_1",
"typeString": "int_const 100000000000000000000000"
}
],
"id": 722,
"name": "_mint",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 405,
"src": "258:5:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
"typeString": "function (address,uint256)"
}
},
"id": 730,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "258:34:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 731,
"nodeType": "ExpressionStatement",
"src": "258:34:5"
}
]
},
"id": 733,
"implemented": true,
"kind": "constructor",
"modifiers": [
{
"arguments": [
{
"hexValue": "506f6c7920546f6b656e",
"id": 713,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "198:12:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_75d03d4abbe1a23cd6279186bb6d54d901313f3681cea2617ef57468a1199925",
"typeString": "literal_string \"Poly Token\""
},
"value": "Poly Token"
},
{
"hexValue": "504f4c59",
"id": 714,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "212:6:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_42e9b9ff2964f66d264e07a2cd4c5234a8c8c5adbfc54101bd50b0744fcd261f",
"typeString": "literal_string \"POLY\""
},
"value": "POLY"
}
],
"id": 715,
"kind": "baseConstructorSpecifier",
"modifierName": {
"id": 712,
"name": "ERC20",
"nodeType": "IdentifierPath",
"referencedDeclaration": 545,
"src": "192:5:5"
},
"nodeType": "ModifierInvocation",
"src": "192:27:5"
}
],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 711,
"nodeType": "ParameterList",
"parameters": [],
"src": "189:2:5"
},
"returnParameters": {
"id": 716,
"nodeType": "ParameterList",
"parameters": [],
"src": "220:0:5"
},
"scope": 755,
"src": "178:121:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 753,
"nodeType": "Block",
"src": "356:95:5",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 744,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"id": 741,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "374:3:5",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 742,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "374:10:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"id": 743,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 710,
"src": "388:5:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "374:19:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "4f6e6c79206f776e65722063616e206d696e74",
"id": 745,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "395:21:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac",
"typeString": "literal_string \"Only owner can mint\""
},
"value": "Only owner can mint"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac",
"typeString": "literal_string \"Only owner can mint\""
}
],
"id": 740,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "366:7:5",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 746,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "366:51:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 747,
"nodeType": "ExpressionStatement",
"src": "366:51:5"
},
{
"expression": {
"arguments": [
{
"id": 749,
"name": "to",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 735,
"src": "433:2:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 750,
"name": "amount",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 737,
"src": "437:6:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 748,
"name": "_mint",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 405,
"src": "427:5:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
"typeString": "function (address,uint256)"
}
},
"id": 751,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "427:17:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 752,
"nodeType": "ExpressionStatement",
"src": "427:17:5"
}
]
},
"functionSelector": "40c10f19",
"id": 754,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "mint",
"nameLocation": "314:4:5",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 738,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 735,
"mutability": "mutable",
"name": "to",
"nameLocation": "327:2:5",
"nodeType": "VariableDeclaration",
"scope": 754,
"src": "319:10:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 734,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "319:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 737,
"mutability": "mutable",
"name": "amount",
"nameLocation": "339:6:5",
"nodeType": "VariableDeclaration",
"scope": 754,
"src": "331:14:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 736,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "331:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "318:28:5"
},
"returnParameters": {
"id": 739,
"nodeType": "ParameterList",
"parameters": [],
"src": "356:0:5"
},
"scope": 755,
"src": "305:146:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 756,
"src": "117:336:5",
"usedErrors": []
}
],
"src": "36:418:5"
},
"legacyAST": {
"absolutePath": "project:/contracts/PolyToken.sol",
"exportedSymbols": {
"Context": [
670
],
"ERC20": [
545
],
"IERC20": [
623
],
"IERC20Metadata": [
648
],
"PolyToken": [
755
]
},
"id": 756,
"license": "GPL-3.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 705,
"literals": [
"solidity",
"^",
"0.8",
".6"
],
"nodeType": "PragmaDirective",
"src": "36:23:5"
},
{
"absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
"id": 706,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 756,
"sourceUnit": 546,
"src": "60:55:5",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"baseName": {
"id": 707,
"name": "ERC20",
"nodeType": "IdentifierPath",
"referencedDeclaration": 545,
"src": "139:5:5"
},
"id": 708,
"nodeType": "InheritanceSpecifier",
"src": "139:5:5"
}
],
"canonicalName": "PolyToken",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 755,
"linearizedBaseContracts": [
755,
545,
648,
623,
670
],
"name": "PolyToken",
"nameLocation": "126:9:5",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"functionSelector": "8da5cb5b",
"id": 710,
"mutability": "mutable",
"name": "owner",
"nameLocation": "166:5:5",
"nodeType": "VariableDeclaration",
"scope": 755,
"src": "151:20:5",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 709,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "151:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "public"
},
{
"body": {
"id": 732,
"nodeType": "Block",
"src": "220:79:5",
"statements": [
{
"expression": {
"id": 720,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 717,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 710,
"src": "230:5:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"expression": {
"id": 718,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "238:3:5",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 719,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "238:10:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "230:18:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 721,
"nodeType": "ExpressionStatement",
"src": "230:18:5"
},
{
"expression": {
"arguments": [
{
"expression": {
"id": 723,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "264:3:5",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 724,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "264:10:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"commonType": {
"typeIdentifier": "t_rational_100000000000000000000000_by_1",
"typeString": "int_const 100000000000000000000000"
},
"id": 729,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"leftExpression": {
"hexValue": "313030303030",
"id": 725,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "276:6:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_100000_by_1",
"typeString": "int_const 100000"
},
"value": "100000"
},
"nodeType": "BinaryOperation",
"operator": "*",
"rightExpression": {
"commonType": {
"typeIdentifier": "t_rational_1000000000000000000_by_1",
"typeString": "int_const 1000000000000000000"
},
"id": 728,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"leftExpression": {
"hexValue": "3130",
"id": 726,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "285:2:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_10_by_1",
"typeString": "int_const 10"
},
"value": "10"
},
"nodeType": "BinaryOperation",
"operator": "**",
"rightExpression": {
"hexValue": "3138",
"id": 727,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "289:2:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_18_by_1",
"typeString": "int_const 18"
},
"value": "18"
},
"src": "285:6:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_1000000000000000000_by_1",
"typeString": "int_const 1000000000000000000"
}
},
"src": "276:15:5",
"typeDescriptions": {
"typeIdentifier": "t_rational_100000000000000000000000_by_1",
"typeString": "int_const 100000000000000000000000"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_rational_100000000000000000000000_by_1",
"typeString": "int_const 100000000000000000000000"
}
],
"id": 722,
"name": "_mint",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 405,
"src": "258:5:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
"typeString": "function (address,uint256)"
}
},
"id": 730,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "258:34:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 731,
"nodeType": "ExpressionStatement",
"src": "258:34:5"
}
]
},
"id": 733,
"implemented": true,
"kind": "constructor",
"modifiers": [
{
"arguments": [
{
"hexValue": "506f6c7920546f6b656e",
"id": 713,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "198:12:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_75d03d4abbe1a23cd6279186bb6d54d901313f3681cea2617ef57468a1199925",
"typeString": "literal_string \"Poly Token\""
},
"value": "Poly Token"
},
{
"hexValue": "504f4c59",
"id": 714,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "212:6:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_42e9b9ff2964f66d264e07a2cd4c5234a8c8c5adbfc54101bd50b0744fcd261f",
"typeString": "literal_string \"POLY\""
},
"value": "POLY"
}
],
"id": 715,
"kind": "baseConstructorSpecifier",
"modifierName": {
"id": 712,
"name": "ERC20",
"nodeType": "IdentifierPath",
"referencedDeclaration": 545,
"src": "192:5:5"
},
"nodeType": "ModifierInvocation",
"src": "192:27:5"
}
],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 711,
"nodeType": "ParameterList",
"parameters": [],
"src": "189:2:5"
},
"returnParameters": {
"id": 716,
"nodeType": "ParameterList",
"parameters": [],
"src": "220:0:5"
},
"scope": 755,
"src": "178:121:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 753,
"nodeType": "Block",
"src": "356:95:5",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 744,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"expression": {
"id": 741,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "374:3:5",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 742,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "374:10:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"id": 743,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 710,
"src": "388:5:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "374:19:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "4f6e6c79206f776e65722063616e206d696e74",
"id": 745,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "395:21:5",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac",
"typeString": "literal_string \"Only owner can mint\""
},
"value": "Only owner can mint"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_793ac6e41458d545a7714760682dd797072b4fe898c48602bd8c2b836d34baac",
"typeString": "literal_string \"Only owner can mint\""
}
],
"id": 740,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "366:7:5",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 746,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "366:51:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 747,
"nodeType": "ExpressionStatement",
"src": "366:51:5"
},
{
"expression": {
"arguments": [
{
"id": 749,
"name": "to",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 735,
"src": "433:2:5",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 750,
"name": "amount",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 737,
"src": "437:6:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 748,
"name": "_mint",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 405,
"src": "427:5:5",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",
"typeString": "function (address,uint256)"
}
},
"id": 751,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "427:17:5",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 752,
"nodeType": "ExpressionStatement",
"src": "427:17:5"
}
]
},
"functionSelector": "40c10f19",
"id": 754,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "mint",
"nameLocation": "314:4:5",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 738,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 735,
"mutability": "mutable",
"name": "to",
"nameLocation": "327:2:5",
"nodeType": "VariableDeclaration",
"scope": 754,
"src": "319:10:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 734,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "319:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 737,
"mutability": "mutable",
"name": "amount",
"nameLocation": "339:6:5",
"nodeType": "VariableDeclaration",
"scope": 754,
"src": "331:14:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 736,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "331:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "318:28:5"
},
"returnParameters": {
"id": 739,
"nodeType": "ParameterList",
"parameters": [],
"src": "356:0:5"
},
"scope": 755,
"src": "305:146:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 756,
"src": "117:336:5",
"usedErrors": []
}
],
"src": "36:418:5"
},
"compiler": {
"name": "solc",
"version": "0.8.10+commit.fc410830.Emscripten.clang"
},
"networks": {
"5777": {
"events": {
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
}
},
"links": {},
"address": "0xD6c7c17b95442FAa7916F796C140592438b89796",
"transactionHash": "0x8a61f88d63bbe6c98f90977ebbec934222d9fafd01d205cede180731490b9074"
},
"80001": {
"events": {
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
}
},
"links": {},
"address": "0xe450830A28e479F8bd6f8C1706B1CAB160Cb313F",
"transactionHash": "0x96f6caf9c5dbb49aeec720f9fea09175389bab255b31d6829005a29b951d2c05"
},
"1636245820993": {
"events": {},
"links": {},
"address": "0x656CB9D11A5841CdfD50e986503F21705d707482",
"transactionHash": "0x5655f5bdeafbc2568b91fff6a3251137ede3984bd50959d4d0ce8d40ef21bb94"
},
"1636265105330": {
"events": {},
"links": {},
"address": "0xE819ec500E0AFf4e432ae34BE3A9fB22cB5B4a63",
"transactionHash": "0xed1bcfe44d7461844e25e8625a36c006040ad6abe08450d4c7c528a46048ae2c"
},
"1636431174100": {
"events": {
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
}
},
"links": {},
"address": "0xCcA92C512639Ae0f9ea95402C38A8a00D4608bed",
"transactionHash": "0x54515b208181216ffecbd34da1e2db0ed9373f12524fa06a1a0161ebabdb6a7d"
}
},
"schemaVersion": "3.4.3",
"updatedAt": "2021-11-17T16:47:15.070Z",
"networkType": "ethereum",
"devdoc": {
"kind": "dev",
"methods": {
"allowance(address,address)": {
"details": "See {IERC20-allowance}."
},
"approve(address,uint256)": {
"details": "See {IERC20-approve}. Requirements: - `spender` cannot be the zero address."
},
"balanceOf(address)": {
"details": "See {IERC20-balanceOf}."
},
"decimals()": {
"details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."
},
"decreaseAllowance(address,uint256)": {
"details": "Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."
},
"increaseAllowance(address,uint256)": {
"details": "Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."
},
"name()": {
"details": "Returns the name of the token."
},
"symbol()": {
"details": "Returns the symbol of the token, usually a shorter version of the name."
},
"totalSupply()": {
"details": "See {IERC20-totalSupply}."
},
"transfer(address,uint256)": {
"details": "See {IERC20-transfer}. Requirements: - `recipient` cannot be the zero address. - the caller must have a balance of at least `amount`."
},
"transferFrom(address,address,uint256)": {
"details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. Requirements: - `sender` and `recipient` cannot be the zero address. - `sender` must have a balance of at least `amount`. - the caller must have allowance for ``sender``'s tokens of at least `amount`."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}