aibc
Version:
AIBC contract to mint NFTs
1,321 lines (1,320 loc) • 84.2 kB
JSON
{
"contractName": "Migrations",
"abi": [
{
"inputs": [],
"name": "last_completed_migration",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true
},
{
"inputs": [
{
"internalType": "uint256",
"name": "completed",
"type": "uint256"
}
],
"name": "setCompleted",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/F/Assignment/aibcccc/AIBC/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/F/Assignment/aibcccc/AIBC/contracts/Migrations.sol\":{\"keccak256\":\"0x7eaedbb1a3e4e0f585d9063393872f88ded247ca3c3c3c8492ea18e7629a6411\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4a3eb571cee910095df65a06a1c1d3f89187c72a3c184ef87a7538d9aa39ad07\",\"dweb:/ipfs/QmdqR3vrSSGR49qFGZr49Mb39z7dgD6tSzEDoaqtM31o61\"]}},\"version\":1}",
"bytecode": "0x6080604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561005057600080fd5b50610312806100606000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063445df0ac146100465780638da5cb5b14610064578063fdacd57614610082575b600080fd5b61004e61009e565b60405161005b919061025d565b60405180910390f35b61006c6100a4565b6040516100799190610222565b60405180910390f35b61009c60048036038101906100979190610175565b6100c8565b005b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d9061023d565b60405180910390fd5b8060018190555050565b60008135905061016f816102c5565b92915050565b60006020828403121561018757600080fd5b600061019584828501610160565b91505092915050565b6101a781610289565b82525050565b60006101ba603383610278565b91507f546869732066756e6374696f6e206973207265737472696374656420746f207460008301527f686520636f6e74726163742773206f776e6572000000000000000000000000006020830152604082019050919050565b61021c816102bb565b82525050565b6000602082019050610237600083018461019e565b92915050565b60006020820190508181036000830152610256816101ad565b9050919050565b60006020820190506102726000830184610213565b92915050565b600082825260208201905092915050565b60006102948261029b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6102ce816102bb565b81146102d957600080fd5b5056fea26469706673582212205da914d92e49d3b036303a3472d1a1c6f97631feb4ed84436883a682be0c9cd064736f6c63430008000033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063445df0ac146100465780638da5cb5b14610064578063fdacd57614610082575b600080fd5b61004e61009e565b60405161005b919061025d565b60405180910390f35b61006c6100a4565b6040516100799190610222565b60405180910390f35b61009c60048036038101906100979190610175565b6100c8565b005b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d9061023d565b60405180910390fd5b8060018190555050565b60008135905061016f816102c5565b92915050565b60006020828403121561018757600080fd5b600061019584828501610160565b91505092915050565b6101a781610289565b82525050565b60006101ba603383610278565b91507f546869732066756e6374696f6e206973207265737472696374656420746f207460008301527f686520636f6e74726163742773206f776e6572000000000000000000000000006020830152604082019050919050565b61021c816102bb565b82525050565b6000602082019050610237600083018461019e565b92915050565b60006020820190508181036000830152610256816101ad565b9050919050565b60006020820190506102726000830184610213565b92915050565b600082825260208201905092915050565b60006102948261029b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6102ce816102bb565b81146102d957600080fd5b5056fea26469706673582212205da914d92e49d3b036303a3472d1a1c6f97631feb4ed84436883a682be0c9cd064736f6c63430008000033",
"immutableReferences": {},
"generatedSources": [],
"deployedGeneratedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:2555:17",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "59:87:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "69:29:17",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "91:6:17"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "78:12:17"
},
"nodeType": "YulFunctionCall",
"src": "78:20:17"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "69:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "134:5:17"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "107:26:17"
},
"nodeType": "YulFunctionCall",
"src": "107:33:17"
},
"nodeType": "YulExpressionStatement",
"src": "107:33:17"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "37:6:17",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "45:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:17",
"type": ""
}
],
"src": "7:139:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "218:196:17",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "264:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "273:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "276:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "266:6:17"
},
"nodeType": "YulFunctionCall",
"src": "266:12:17"
},
"nodeType": "YulExpressionStatement",
"src": "266:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "239:7:17"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "248:9:17"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "235:3:17"
},
"nodeType": "YulFunctionCall",
"src": "235:23:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "260:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "231:3:17"
},
"nodeType": "YulFunctionCall",
"src": "231:32:17"
},
"nodeType": "YulIf",
"src": "228:2:17"
},
{
"nodeType": "YulBlock",
"src": "290:117:17",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "305:15:17",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "319:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "309:6:17",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "334:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "369:9:17"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "380:6:17"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "365:3:17"
},
"nodeType": "YulFunctionCall",
"src": "365:22:17"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "389:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "344:20:17"
},
"nodeType": "YulFunctionCall",
"src": "344:53:17"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "334:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "188:9:17",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "199:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "211:6:17",
"type": ""
}
],
"src": "152:262:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "485:53:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "502:3:17"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "525:5:17"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "507:17:17"
},
"nodeType": "YulFunctionCall",
"src": "507:24:17"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "495:6:17"
},
"nodeType": "YulFunctionCall",
"src": "495:37:17"
},
"nodeType": "YulExpressionStatement",
"src": "495:37:17"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "473:5:17",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "480:3:17",
"type": ""
}
],
"src": "420:118:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "690:237:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "700:74:17",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "766:3:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "771:2:17",
"type": "",
"value": "51"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "707:58:17"
},
"nodeType": "YulFunctionCall",
"src": "707:67:17"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "700:3:17"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "795:3:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "800:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "791:3:17"
},
"nodeType": "YulFunctionCall",
"src": "791:11:17"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "804:34:17",
"type": "",
"value": "This function is restricted to t"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "784:6:17"
},
"nodeType": "YulFunctionCall",
"src": "784:55:17"
},
"nodeType": "YulExpressionStatement",
"src": "784:55:17"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "860:3:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "865:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "856:3:17"
},
"nodeType": "YulFunctionCall",
"src": "856:12:17"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "870:21:17",
"type": "",
"value": "he contract's owner"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "849:6:17"
},
"nodeType": "YulFunctionCall",
"src": "849:43:17"
},
"nodeType": "YulExpressionStatement",
"src": "849:43:17"
},
{
"nodeType": "YulAssignment",
"src": "902:19:17",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "913:3:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "918:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "909:3:17"
},
"nodeType": "YulFunctionCall",
"src": "909:12:17"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "902:3:17"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "678:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "686:3:17",
"type": ""
}
],
"src": "544:383:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "998:53:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1015:3:17"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1038:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1020:17:17"
},
"nodeType": "YulFunctionCall",
"src": "1020:24:17"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1008:6:17"
},
"nodeType": "YulFunctionCall",
"src": "1008:37:17"
},
"nodeType": "YulExpressionStatement",
"src": "1008:37:17"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "986:5:17",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "993:3:17",
"type": ""
}
],
"src": "933:118:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1155:124:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1165:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1177:9:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1188:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1173:3:17"
},
"nodeType": "YulFunctionCall",
"src": "1173:18:17"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1165:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1245:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1258:9:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1269:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1254:3:17"
},
"nodeType": "YulFunctionCall",
"src": "1254:17:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "1201:43:17"
},
"nodeType": "YulFunctionCall",
"src": "1201:71:17"
},
"nodeType": "YulExpressionStatement",
"src": "1201:71:17"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1127:9:17",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1139:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1150:4:17",
"type": ""
}
],
"src": "1057:222:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1456:248:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1466:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1478:9:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1489:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1474:3:17"
},
"nodeType": "YulFunctionCall",
"src": "1474:18:17"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1466:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1513:9:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1524:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1509:3:17"
},
"nodeType": "YulFunctionCall",
"src": "1509:17:17"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1532:4:17"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1538:9:17"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1528:3:17"
},
"nodeType": "YulFunctionCall",
"src": "1528:20:17"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1502:6:17"
},
"nodeType": "YulFunctionCall",
"src": "1502:47:17"
},
"nodeType": "YulExpressionStatement",
"src": "1502:47:17"
},
{
"nodeType": "YulAssignment",
"src": "1558:139:17",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1692:4:17"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1566:124:17"
},
"nodeType": "YulFunctionCall",
"src": "1566:131:17"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1558:4:17"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1436:9:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1451:4:17",
"type": ""
}
],
"src": "1285:419:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1808:124:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1818:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1830:9:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1841:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1826:3:17"
},
"nodeType": "YulFunctionCall",
"src": "1826:18:17"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1818:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1898:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1911:9:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1922:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1907:3:17"
},
"nodeType": "YulFunctionCall",
"src": "1907:17:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1854:43:17"
},
"nodeType": "YulFunctionCall",
"src": "1854:71:17"
},
"nodeType": "YulExpressionStatement",
"src": "1854:71:17"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1780:9:17",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1792:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1803:4:17",
"type": ""
}
],
"src": "1710:222:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2034:73:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2051:3:17"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2056:6:17"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2044:6:17"
},
"nodeType": "YulFunctionCall",
"src": "2044:19:17"
},
"nodeType": "YulExpressionStatement",
"src": "2044:19:17"
},
{
"nodeType": "YulAssignment",
"src": "2072:29:17",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2091:3:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2096:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2087:3:17"
},
"nodeType": "YulFunctionCall",
"src": "2087:14:17"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2072:11:17"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2006:3:17",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2011:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2022:11:17",
"type": ""
}
],
"src": "1938:169:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2158:51:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2168:35:17",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2197:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2179:17:17"
},
"nodeType": "YulFunctionCall",
"src": "2179:24:17"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2168:7:17"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2140:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2150:7:17",
"type": ""
}
],
"src": "2113:96:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2260:81:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2270:65:17",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2285:5:17"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2292:42:17",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2281:3:17"
},
"nodeType": "YulFunctionCall",
"src": "2281:54:17"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2270:7:17"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2242:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2252:7:17",
"type": ""
}
],
"src": "2215:126:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2392:32:17",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2402:16:17",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2413:5:17"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2402:7:17"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2374:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2384:7:17",
"type": ""
}
],
"src": "2347:77:17"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2473:79:17",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2530:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2539:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2542:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2532:6:17"
},
"nodeType": "YulFunctionCall",
"src": "2532:12:17"
},
"nodeType": "YulExpressionStatement",
"src": "2532:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2496:5:17"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2521:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2503:17:17"
},
"nodeType": "YulFunctionCall",
"src": "2503:24:17"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2493:2:17"
},
"nodeType": "YulFunctionCall",
"src": "2493:35:17"
}
],