marketplace/contracts/artifacts/RoyaltyManager.json
2024-09-30 23:37:19 +03:00

2537 lines
89 KiB
JSON

{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "6080604052348015600e575f80fd5b506104308061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061003f575f3560e01c80631af9cf49146100435780637db3c828146100735780637f77f5741461008f575b5f80fd5b61005d6004803603810190610058919061027c565b6100c0565b60405161006a9190610322565b60405180910390f35b61008d60048036038101906100889190610365565b610148565b005b6100a960048036038101906100a4919061027c565b6101d9565b6040516100b79291906103d3565b60405180910390f35b6100c8610217565b5f808381526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050919050565b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001828152505f808581526020019081526020015f205f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050505050565b5f602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b60405180604001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81525090565b5f80fd5b5f819050919050565b61025b81610249565b8114610265575f80fd5b50565b5f8135905061027681610252565b92915050565b5f6020828403121561029157610290610245565b5b5f61029e84828501610268565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6102d0826102a7565b9050919050565b6102e0816102c6565b82525050565b6102ef81610249565b82525050565b604082015f8201516103095f8501826102d7565b50602082015161031c60208501826102e6565b50505050565b5f6040820190506103355f8301846102f5565b92915050565b610344816102c6565b811461034e575f80fd5b50565b5f8135905061035f8161033b565b92915050565b5f805f6060848603121561037c5761037b610245565b5b5f61038986828701610268565b935050602061039a86828701610351565b92505060406103ab86828701610268565b9150509250925092565b6103be816102c6565b82525050565b6103cd81610249565b82525050565b5f6040820190506103e65f8301856103b5565b6103f360208301846103c4565b939250505056fea2646970667358221220cf3fc39f15e69983cb1a24d576f73418455943e327fb716e4b6ac6143203a45d64736f6c634300081a0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xE JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH2 0x430 DUP1 PUSH2 0x1C PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x3F JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1AF9CF49 EQ PUSH2 0x43 JUMPI DUP1 PUSH4 0x7DB3C828 EQ PUSH2 0x73 JUMPI DUP1 PUSH4 0x7F77F574 EQ PUSH2 0x8F JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x5D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x58 SWAP2 SWAP1 PUSH2 0x27C JUMP JUMPDEST PUSH2 0xC0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x322 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x88 SWAP2 SWAP1 PUSH2 0x365 JUMP JUMPDEST PUSH2 0x148 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xA9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA4 SWAP2 SWAP1 PUSH2 0x27C JUMP JUMPDEST PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB7 SWAP3 SWAP2 SWAP1 PUSH2 0x3D3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC8 PUSH2 0x217 JUMP JUMPDEST PUSH0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE SWAP1 DUP2 PUSH0 DUP3 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x1 DUP3 ADD SLOAD DUP2 MSTORE POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH0 DUP1 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 DUP3 ADD MLOAD DUP2 PUSH0 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE SWAP1 POP POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 MSTORE DUP1 PUSH0 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH0 SWAP2 POP SWAP1 POP DUP1 PUSH0 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x25B DUP2 PUSH2 0x249 JUMP JUMPDEST DUP2 EQ PUSH2 0x265 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x276 DUP2 PUSH2 0x252 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x291 JUMPI PUSH2 0x290 PUSH2 0x245 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x29E DUP5 DUP3 DUP6 ADD PUSH2 0x268 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x2D0 DUP3 PUSH2 0x2A7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2E0 DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x2EF DUP2 PUSH2 0x249 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x40 DUP3 ADD PUSH0 DUP3 ADD MLOAD PUSH2 0x309 PUSH0 DUP6 ADD DUP3 PUSH2 0x2D7 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD PUSH2 0x31C PUSH1 0x20 DUP6 ADD DUP3 PUSH2 0x2E6 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x335 PUSH0 DUP4 ADD DUP5 PUSH2 0x2F5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x344 DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP2 EQ PUSH2 0x34E JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x35F DUP2 PUSH2 0x33B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x37C JUMPI PUSH2 0x37B PUSH2 0x245 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x389 DUP7 DUP3 DUP8 ADD PUSH2 0x268 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x39A DUP7 DUP3 DUP8 ADD PUSH2 0x351 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x3AB DUP7 DUP3 DUP8 ADD PUSH2 0x268 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH2 0x3BE DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x3CD DUP2 PUSH2 0x249 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3E6 PUSH0 DUP4 ADD DUP6 PUSH2 0x3B5 JUMP JUMPDEST PUSH2 0x3F3 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x3C4 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF EXTCODEHASH 0xC3 SWAP16 ISZERO 0xE6 SWAP10 DUP4 0xCB BYTE 0x24 0xD5 PUSH23 0xF73418455943E327FB716E4B6AC6143203A45D64736F6C PUSH4 0x4300081A STOP CALLER ",
"sourceMap": "60:549:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@getRoyalty_43": {
"entryPoint": 192,
"id": 43,
"parameterSlots": 1,
"returnSlots": 1
},
"@royalties_11": {
"entryPoint": 473,
"id": 11,
"parameterSlots": 0,
"returnSlots": 0
},
"@setRoyalty_30": {
"entryPoint": 328,
"id": 30,
"parameterSlots": 3,
"returnSlots": 0
},
"abi_decode_t_address": {
"entryPoint": 849,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 616,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 636,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256t_addresst_uint256": {
"entryPoint": 869,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"abi_encode_t_address_to_t_address": {
"entryPoint": 727,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 949,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_struct$_Royalty_$6_memory_ptr_to_t_struct$_Royalty_$6_memory_ptr_fromStack": {
"entryPoint": 757,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256": {
"entryPoint": 742,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 964,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed": {
"entryPoint": 979,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_struct$_Royalty_$6_memory_ptr__to_t_struct$_Royalty_$6_memory_ptr__fromStack_reversed": {
"entryPoint": 802,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 710,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 679,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 585,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 581,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 827,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 594,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:3868:1",
"nodeType": "YulBlock",
"src": "0:3868:1",
"statements": [
{
"body": {
"nativeSrc": "47:35:1",
"nodeType": "YulBlock",
"src": "47:35:1",
"statements": [
{
"nativeSrc": "57:19:1",
"nodeType": "YulAssignment",
"src": "57:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "73:2:1",
"nodeType": "YulLiteral",
"src": "73:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "67:5:1",
"nodeType": "YulIdentifier",
"src": "67:5:1"
},
"nativeSrc": "67:9:1",
"nodeType": "YulFunctionCall",
"src": "67:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "57:6:1",
"nodeType": "YulIdentifier",
"src": "57:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nativeSrc": "7:75:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "40:6:1",
"nodeType": "YulTypedName",
"src": "40:6:1",
"type": ""
}
],
"src": "7:75:1"
},
{
"body": {
"nativeSrc": "177:28:1",
"nodeType": "YulBlock",
"src": "177:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "194:1:1",
"nodeType": "YulLiteral",
"src": "194:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "197:1:1",
"nodeType": "YulLiteral",
"src": "197:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "187:6:1",
"nodeType": "YulIdentifier",
"src": "187:6:1"
},
"nativeSrc": "187:12:1",
"nodeType": "YulFunctionCall",
"src": "187:12:1"
},
"nativeSrc": "187:12:1",
"nodeType": "YulExpressionStatement",
"src": "187:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "88:117:1",
"nodeType": "YulFunctionDefinition",
"src": "88:117:1"
},
{
"body": {
"nativeSrc": "300:28:1",
"nodeType": "YulBlock",
"src": "300:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "317:1:1",
"nodeType": "YulLiteral",
"src": "317:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "320:1:1",
"nodeType": "YulLiteral",
"src": "320:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "310:6:1",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nativeSrc": "310:12:1",
"nodeType": "YulFunctionCall",
"src": "310:12:1"
},
"nativeSrc": "310:12:1",
"nodeType": "YulExpressionStatement",
"src": "310:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "211:117:1",
"nodeType": "YulFunctionDefinition",
"src": "211:117:1"
},
{
"body": {
"nativeSrc": "379:32:1",
"nodeType": "YulBlock",
"src": "379:32:1",
"statements": [
{
"nativeSrc": "389:16:1",
"nodeType": "YulAssignment",
"src": "389:16:1",
"value": {
"name": "value",
"nativeSrc": "400:5:1",
"nodeType": "YulIdentifier",
"src": "400:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "389:7:1",
"nodeType": "YulIdentifier",
"src": "389:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "334:77:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "361:5:1",
"nodeType": "YulTypedName",
"src": "361:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "371:7:1",
"nodeType": "YulTypedName",
"src": "371:7:1",
"type": ""
}
],
"src": "334:77:1"
},
{
"body": {
"nativeSrc": "460:79:1",
"nodeType": "YulBlock",
"src": "460:79:1",
"statements": [
{
"body": {
"nativeSrc": "517:16:1",
"nodeType": "YulBlock",
"src": "517:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "526:1:1",
"nodeType": "YulLiteral",
"src": "526:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "529:1:1",
"nodeType": "YulLiteral",
"src": "529:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "519:6:1",
"nodeType": "YulIdentifier",
"src": "519:6:1"
},
"nativeSrc": "519:12:1",
"nodeType": "YulFunctionCall",
"src": "519:12:1"
},
"nativeSrc": "519:12:1",
"nodeType": "YulExpressionStatement",
"src": "519:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "483:5:1",
"nodeType": "YulIdentifier",
"src": "483:5:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "508:5:1",
"nodeType": "YulIdentifier",
"src": "508:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "490:17:1",
"nodeType": "YulIdentifier",
"src": "490:17:1"
},
"nativeSrc": "490:24:1",
"nodeType": "YulFunctionCall",
"src": "490:24:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "480:2:1",
"nodeType": "YulIdentifier",
"src": "480:2:1"
},
"nativeSrc": "480:35:1",
"nodeType": "YulFunctionCall",
"src": "480:35:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "473:6:1",
"nodeType": "YulIdentifier",
"src": "473:6:1"
},
"nativeSrc": "473:43:1",
"nodeType": "YulFunctionCall",
"src": "473:43:1"
},
"nativeSrc": "470:63:1",
"nodeType": "YulIf",
"src": "470:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nativeSrc": "417:122:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "453:5:1",
"nodeType": "YulTypedName",
"src": "453:5:1",
"type": ""
}
],
"src": "417:122:1"
},
{
"body": {
"nativeSrc": "597:87:1",
"nodeType": "YulBlock",
"src": "597:87:1",
"statements": [
{
"nativeSrc": "607:29:1",
"nodeType": "YulAssignment",
"src": "607:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "629:6:1",
"nodeType": "YulIdentifier",
"src": "629:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "616:12:1",
"nodeType": "YulIdentifier",
"src": "616:12:1"
},
"nativeSrc": "616:20:1",
"nodeType": "YulFunctionCall",
"src": "616:20:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "607:5:1",
"nodeType": "YulIdentifier",
"src": "607:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "672:5:1",
"nodeType": "YulIdentifier",
"src": "672:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nativeSrc": "645:26:1",
"nodeType": "YulIdentifier",
"src": "645:26:1"
},
"nativeSrc": "645:33:1",
"nodeType": "YulFunctionCall",
"src": "645:33:1"
},
"nativeSrc": "645:33:1",
"nodeType": "YulExpressionStatement",
"src": "645:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nativeSrc": "545:139:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "575:6:1",
"nodeType": "YulTypedName",
"src": "575:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "583:3:1",
"nodeType": "YulTypedName",
"src": "583:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "591:5:1",
"nodeType": "YulTypedName",
"src": "591:5:1",
"type": ""
}
],
"src": "545:139:1"
},
{
"body": {
"nativeSrc": "756:263:1",
"nodeType": "YulBlock",
"src": "756:263:1",
"statements": [
{
"body": {
"nativeSrc": "802:83:1",
"nodeType": "YulBlock",
"src": "802:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "804:77:1",
"nodeType": "YulIdentifier",
"src": "804:77:1"
},
"nativeSrc": "804:79:1",
"nodeType": "YulFunctionCall",
"src": "804:79:1"
},
"nativeSrc": "804:79:1",
"nodeType": "YulExpressionStatement",
"src": "804:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "777:7:1",
"nodeType": "YulIdentifier",
"src": "777:7:1"
},
{
"name": "headStart",
"nativeSrc": "786:9:1",
"nodeType": "YulIdentifier",
"src": "786:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "773:3:1",
"nodeType": "YulIdentifier",
"src": "773:3:1"
},
"nativeSrc": "773:23:1",
"nodeType": "YulFunctionCall",
"src": "773:23:1"
},
{
"kind": "number",
"nativeSrc": "798:2:1",
"nodeType": "YulLiteral",
"src": "798:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "769:3:1",
"nodeType": "YulIdentifier",
"src": "769:3:1"
},
"nativeSrc": "769:32:1",
"nodeType": "YulFunctionCall",
"src": "769:32:1"
},
"nativeSrc": "766:119:1",
"nodeType": "YulIf",
"src": "766:119:1"
},
{
"nativeSrc": "895:117:1",
"nodeType": "YulBlock",
"src": "895:117:1",
"statements": [
{
"nativeSrc": "910:15:1",
"nodeType": "YulVariableDeclaration",
"src": "910:15:1",
"value": {
"kind": "number",
"nativeSrc": "924:1:1",
"nodeType": "YulLiteral",
"src": "924:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "914:6:1",
"nodeType": "YulTypedName",
"src": "914:6:1",
"type": ""
}
]
},
{
"nativeSrc": "939:63:1",
"nodeType": "YulAssignment",
"src": "939:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "974:9:1",
"nodeType": "YulIdentifier",
"src": "974:9:1"
},
{
"name": "offset",
"nativeSrc": "985:6:1",
"nodeType": "YulIdentifier",
"src": "985:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "970:3:1",
"nodeType": "YulIdentifier",
"src": "970:3:1"
},
"nativeSrc": "970:22:1",
"nodeType": "YulFunctionCall",
"src": "970:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "994:7:1",
"nodeType": "YulIdentifier",
"src": "994:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "949:20:1",
"nodeType": "YulIdentifier",
"src": "949:20:1"
},
"nativeSrc": "949:53:1",
"nodeType": "YulFunctionCall",
"src": "949:53:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "939:6:1",
"nodeType": "YulIdentifier",
"src": "939:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nativeSrc": "690:329:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "726:9:1",
"nodeType": "YulTypedName",
"src": "726:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "737:7:1",
"nodeType": "YulTypedName",
"src": "737:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "749:6:1",
"nodeType": "YulTypedName",
"src": "749:6:1",
"type": ""
}
],
"src": "690:329:1"
},
{
"body": {
"nativeSrc": "1070:81:1",
"nodeType": "YulBlock",
"src": "1070:81:1",
"statements": [
{
"nativeSrc": "1080:65:1",
"nodeType": "YulAssignment",
"src": "1080:65:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1095:5:1",
"nodeType": "YulIdentifier",
"src": "1095:5:1"
},
{
"kind": "number",
"nativeSrc": "1102:42:1",
"nodeType": "YulLiteral",
"src": "1102:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nativeSrc": "1091:3:1",
"nodeType": "YulIdentifier",
"src": "1091:3:1"
},
"nativeSrc": "1091:54:1",
"nodeType": "YulFunctionCall",
"src": "1091:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1080:7:1",
"nodeType": "YulIdentifier",
"src": "1080:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nativeSrc": "1025:126:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1052:5:1",
"nodeType": "YulTypedName",
"src": "1052:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1062:7:1",
"nodeType": "YulTypedName",
"src": "1062:7:1",
"type": ""
}
],
"src": "1025:126:1"
},
{
"body": {
"nativeSrc": "1202:51:1",
"nodeType": "YulBlock",
"src": "1202:51:1",
"statements": [
{
"nativeSrc": "1212:35:1",
"nodeType": "YulAssignment",
"src": "1212:35:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1241:5:1",
"nodeType": "YulIdentifier",
"src": "1241:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nativeSrc": "1223:17:1",
"nodeType": "YulIdentifier",
"src": "1223:17:1"
},
"nativeSrc": "1223:24:1",
"nodeType": "YulFunctionCall",
"src": "1223:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1212:7:1",
"nodeType": "YulIdentifier",
"src": "1212:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nativeSrc": "1157:96:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1184:5:1",
"nodeType": "YulTypedName",
"src": "1184:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1194:7:1",
"nodeType": "YulTypedName",
"src": "1194:7:1",
"type": ""
}
],
"src": "1157:96:1"
},
{
"body": {
"nativeSrc": "1314:53:1",
"nodeType": "YulBlock",
"src": "1314:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "1331:3:1",
"nodeType": "YulIdentifier",
"src": "1331:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "1354:5:1",
"nodeType": "YulIdentifier",
"src": "1354:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "1336:17:1",
"nodeType": "YulIdentifier",
"src": "1336:17:1"
},
"nativeSrc": "1336:24:1",
"nodeType": "YulFunctionCall",
"src": "1336:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1324:6:1",
"nodeType": "YulIdentifier",
"src": "1324:6:1"
},
"nativeSrc": "1324:37:1",
"nodeType": "YulFunctionCall",
"src": "1324:37:1"
},
"nativeSrc": "1324:37:1",
"nodeType": "YulExpressionStatement",
"src": "1324:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address",
"nativeSrc": "1259:108:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1302:5:1",
"nodeType": "YulTypedName",
"src": "1302:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "1309:3:1",
"nodeType": "YulTypedName",
"src": "1309:3:1",
"type": ""
}
],
"src": "1259:108:1"
},
{
"body": {
"nativeSrc": "1428:53:1",
"nodeType": "YulBlock",
"src": "1428:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "1445:3:1",
"nodeType": "YulIdentifier",
"src": "1445:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "1468:5:1",
"nodeType": "YulIdentifier",
"src": "1468:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "1450:17:1",
"nodeType": "YulIdentifier",
"src": "1450:17:1"
},
"nativeSrc": "1450:24:1",
"nodeType": "YulFunctionCall",
"src": "1450:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1438:6:1",
"nodeType": "YulIdentifier",
"src": "1438:6:1"
},
"nativeSrc": "1438:37:1",
"nodeType": "YulFunctionCall",
"src": "1438:37:1"
},
"nativeSrc": "1438:37:1",
"nodeType": "YulExpressionStatement",
"src": "1438:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256",
"nativeSrc": "1373:108:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1416:5:1",
"nodeType": "YulTypedName",
"src": "1416:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "1423:3:1",
"nodeType": "YulTypedName",
"src": "1423:3:1",
"type": ""
}
],
"src": "1373:108:1"
},
{
"body": {
"nativeSrc": "1667:398:1",
"nodeType": "YulBlock",
"src": "1667:398:1",
"statements": [
{
"nativeSrc": "1677:26:1",
"nodeType": "YulVariableDeclaration",
"src": "1677:26:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "1693:3:1",
"nodeType": "YulIdentifier",
"src": "1693:3:1"
},
{
"kind": "number",
"nativeSrc": "1698:4:1",
"nodeType": "YulLiteral",
"src": "1698:4:1",
"type": "",
"value": "0x40"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1689:3:1",
"nodeType": "YulIdentifier",
"src": "1689:3:1"
},
"nativeSrc": "1689:14:1",
"nodeType": "YulFunctionCall",
"src": "1689:14:1"
},
"variables": [
{
"name": "tail",
"nativeSrc": "1681:4:1",
"nodeType": "YulTypedName",
"src": "1681:4:1",
"type": ""
}
]
},
{
"nativeSrc": "1713:169:1",
"nodeType": "YulBlock",
"src": "1713:169:1",
"statements": [
{
"nativeSrc": "1753:43:1",
"nodeType": "YulVariableDeclaration",
"src": "1753:43:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1783:5:1",
"nodeType": "YulIdentifier",
"src": "1783:5:1"
},
{
"kind": "number",
"nativeSrc": "1790:4:1",
"nodeType": "YulLiteral",
"src": "1790:4:1",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1779:3:1",
"nodeType": "YulIdentifier",
"src": "1779:3:1"
},
"nativeSrc": "1779:16:1",
"nodeType": "YulFunctionCall",
"src": "1779:16:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "1773:5:1",
"nodeType": "YulIdentifier",
"src": "1773:5:1"
},
"nativeSrc": "1773:23:1",
"nodeType": "YulFunctionCall",
"src": "1773:23:1"
},
"variables": [
{
"name": "memberValue0",
"nativeSrc": "1757:12:1",
"nodeType": "YulTypedName",
"src": "1757:12:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "memberValue0",
"nativeSrc": "1843:12:1",
"nodeType": "YulIdentifier",
"src": "1843:12:1"
},
{
"arguments": [
{
"name": "pos",
"nativeSrc": "1861:3:1",
"nodeType": "YulIdentifier",
"src": "1861:3:1"
},
{
"kind": "number",
"nativeSrc": "1866:4:1",
"nodeType": "YulLiteral",
"src": "1866:4:1",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1857:3:1",
"nodeType": "YulIdentifier",
"src": "1857:3:1"
},
"nativeSrc": "1857:14:1",
"nodeType": "YulFunctionCall",
"src": "1857:14:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address",
"nativeSrc": "1809:33:1",
"nodeType": "YulIdentifier",
"src": "1809:33:1"
},
"nativeSrc": "1809:63:1",
"nodeType": "YulFunctionCall",
"src": "1809:63:1"
},
"nativeSrc": "1809:63:1",
"nodeType": "YulExpressionStatement",
"src": "1809:63:1"
}
]
},
{
"nativeSrc": "1892:166:1",
"nodeType": "YulBlock",
"src": "1892:166:1",
"statements": [
{
"nativeSrc": "1929:43:1",
"nodeType": "YulVariableDeclaration",
"src": "1929:43:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1959:5:1",
"nodeType": "YulIdentifier",
"src": "1959:5:1"
},
{
"kind": "number",
"nativeSrc": "1966:4:1",
"nodeType": "YulLiteral",
"src": "1966:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1955:3:1",
"nodeType": "YulIdentifier",
"src": "1955:3:1"
},
"nativeSrc": "1955:16:1",
"nodeType": "YulFunctionCall",
"src": "1955:16:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "1949:5:1",
"nodeType": "YulIdentifier",
"src": "1949:5:1"
},
"nativeSrc": "1949:23:1",
"nodeType": "YulFunctionCall",
"src": "1949:23:1"
},
"variables": [
{
"name": "memberValue0",
"nativeSrc": "1933:12:1",
"nodeType": "YulTypedName",
"src": "1933:12:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "memberValue0",
"nativeSrc": "2019:12:1",
"nodeType": "YulIdentifier",
"src": "2019:12:1"
},
{
"arguments": [
{
"name": "pos",
"nativeSrc": "2037:3:1",
"nodeType": "YulIdentifier",
"src": "2037:3:1"
},
{
"kind": "number",
"nativeSrc": "2042:4:1",
"nodeType": "YulLiteral",
"src": "2042:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2033:3:1",
"nodeType": "YulIdentifier",
"src": "2033:3:1"
},
"nativeSrc": "2033:14:1",
"nodeType": "YulFunctionCall",
"src": "2033:14:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256",
"nativeSrc": "1985:33:1",
"nodeType": "YulIdentifier",
"src": "1985:33:1"
},
"nativeSrc": "1985:63:1",
"nodeType": "YulFunctionCall",
"src": "1985:63:1"
},
"nativeSrc": "1985:63:1",
"nodeType": "YulExpressionStatement",
"src": "1985:63:1"
}
]
}
]
},
"name": "abi_encode_t_struct$_Royalty_$6_memory_ptr_to_t_struct$_Royalty_$6_memory_ptr_fromStack",
"nativeSrc": "1557:508:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1654:5:1",
"nodeType": "YulTypedName",
"src": "1654:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "1661:3:1",
"nodeType": "YulTypedName",
"src": "1661:3:1",
"type": ""
}
],
"src": "1557:508:1"
},
{
"body": {
"nativeSrc": "2213:168:1",
"nodeType": "YulBlock",
"src": "2213:168:1",
"statements": [
{
"nativeSrc": "2223:26:1",
"nodeType": "YulAssignment",
"src": "2223:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "2235:9:1",
"nodeType": "YulIdentifier",
"src": "2235:9:1"
},
{
"kind": "number",
"nativeSrc": "2246:2:1",
"nodeType": "YulLiteral",
"src": "2246:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2231:3:1",
"nodeType": "YulIdentifier",
"src": "2231:3:1"
},
"nativeSrc": "2231:18:1",
"nodeType": "YulFunctionCall",
"src": "2231:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "2223:4:1",
"nodeType": "YulIdentifier",
"src": "2223:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "2347:6:1",
"nodeType": "YulIdentifier",
"src": "2347:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2360:9:1",
"nodeType": "YulIdentifier",
"src": "2360:9:1"
},
{
"kind": "number",
"nativeSrc": "2371:1:1",
"nodeType": "YulLiteral",
"src": "2371:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2356:3:1",
"nodeType": "YulIdentifier",
"src": "2356:3:1"
},
"nativeSrc": "2356:17:1",
"nodeType": "YulFunctionCall",
"src": "2356:17:1"
}
],
"functionName": {
"name": "abi_encode_t_struct$_Royalty_$6_memory_ptr_to_t_struct$_Royalty_$6_memory_ptr_fromStack",
"nativeSrc": "2259:87:1",
"nodeType": "YulIdentifier",
"src": "2259:87:1"
},
"nativeSrc": "2259:115:1",
"nodeType": "YulFunctionCall",
"src": "2259:115:1"
},
"nativeSrc": "2259:115:1",
"nodeType": "YulExpressionStatement",
"src": "2259:115:1"
}
]
},
"name": "abi_encode_tuple_t_struct$_Royalty_$6_memory_ptr__to_t_struct$_Royalty_$6_memory_ptr__fromStack_reversed",
"nativeSrc": "2071:310:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2185:9:1",
"nodeType": "YulTypedName",
"src": "2185:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "2197:6:1",
"nodeType": "YulTypedName",
"src": "2197:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "2208:4:1",
"nodeType": "YulTypedName",
"src": "2208:4:1",
"type": ""
}
],
"src": "2071:310:1"
},
{
"body": {
"nativeSrc": "2430:79:1",
"nodeType": "YulBlock",
"src": "2430:79:1",
"statements": [
{
"body": {
"nativeSrc": "2487:16:1",
"nodeType": "YulBlock",
"src": "2487:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2496:1:1",
"nodeType": "YulLiteral",
"src": "2496:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2499:1:1",
"nodeType": "YulLiteral",
"src": "2499:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2489:6:1",
"nodeType": "YulIdentifier",
"src": "2489:6:1"
},
"nativeSrc": "2489:12:1",
"nodeType": "YulFunctionCall",
"src": "2489:12:1"
},
"nativeSrc": "2489:12:1",
"nodeType": "YulExpressionStatement",
"src": "2489:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "2453:5:1",
"nodeType": "YulIdentifier",
"src": "2453:5:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "2478:5:1",
"nodeType": "YulIdentifier",
"src": "2478:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "2460:17:1",
"nodeType": "YulIdentifier",
"src": "2460:17:1"
},
"nativeSrc": "2460:24:1",
"nodeType": "YulFunctionCall",
"src": "2460:24:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "2450:2:1",
"nodeType": "YulIdentifier",
"src": "2450:2:1"
},
"nativeSrc": "2450:35:1",
"nodeType": "YulFunctionCall",
"src": "2450:35:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "2443:6:1",
"nodeType": "YulIdentifier",
"src": "2443:6:1"
},
"nativeSrc": "2443:43:1",
"nodeType": "YulFunctionCall",
"src": "2443:43:1"
},
"nativeSrc": "2440:63:1",
"nodeType": "YulIf",
"src": "2440:63:1"
}
]
},
"name": "validator_revert_t_address",
"nativeSrc": "2387:122:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "2423:5:1",
"nodeType": "YulTypedName",
"src": "2423:5:1",
"type": ""
}
],
"src": "2387:122:1"
},
{
"body": {
"nativeSrc": "2567:87:1",
"nodeType": "YulBlock",
"src": "2567:87:1",
"statements": [
{
"nativeSrc": "2577:29:1",
"nodeType": "YulAssignment",
"src": "2577:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "2599:6:1",
"nodeType": "YulIdentifier",
"src": "2599:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "2586:12:1",
"nodeType": "YulIdentifier",
"src": "2586:12:1"
},
"nativeSrc": "2586:20:1",
"nodeType": "YulFunctionCall",
"src": "2586:20:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "2577:5:1",
"nodeType": "YulIdentifier",
"src": "2577:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "2642:5:1",
"nodeType": "YulIdentifier",
"src": "2642:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nativeSrc": "2615:26:1",
"nodeType": "YulIdentifier",
"src": "2615:26:1"
},
"nativeSrc": "2615:33:1",
"nodeType": "YulFunctionCall",
"src": "2615:33:1"
},
"nativeSrc": "2615:33:1",
"nodeType": "YulExpressionStatement",
"src": "2615:33:1"
}
]
},
"name": "abi_decode_t_address",
"nativeSrc": "2515:139:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "2545:6:1",
"nodeType": "YulTypedName",
"src": "2545:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "2553:3:1",
"nodeType": "YulTypedName",
"src": "2553:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "2561:5:1",
"nodeType": "YulTypedName",
"src": "2561:5:1",
"type": ""
}
],
"src": "2515:139:1"
},
{
"body": {
"nativeSrc": "2760:519:1",
"nodeType": "YulBlock",
"src": "2760:519:1",
"statements": [
{
"body": {
"nativeSrc": "2806:83:1",
"nodeType": "YulBlock",
"src": "2806:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "2808:77:1",
"nodeType": "YulIdentifier",
"src": "2808:77:1"
},
"nativeSrc": "2808:79:1",
"nodeType": "YulFunctionCall",
"src": "2808:79:1"
},
"nativeSrc": "2808:79:1",
"nodeType": "YulExpressionStatement",
"src": "2808:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "2781:7:1",
"nodeType": "YulIdentifier",
"src": "2781:7:1"
},
{
"name": "headStart",
"nativeSrc": "2790:9:1",
"nodeType": "YulIdentifier",
"src": "2790:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "2777:3:1",
"nodeType": "YulIdentifier",
"src": "2777:3:1"
},
"nativeSrc": "2777:23:1",
"nodeType": "YulFunctionCall",
"src": "2777:23:1"
},
{
"kind": "number",
"nativeSrc": "2802:2:1",
"nodeType": "YulLiteral",
"src": "2802:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "2773:3:1",
"nodeType": "YulIdentifier",
"src": "2773:3:1"
},
"nativeSrc": "2773:32:1",
"nodeType": "YulFunctionCall",
"src": "2773:32:1"
},
"nativeSrc": "2770:119:1",
"nodeType": "YulIf",
"src": "2770:119:1"
},
{
"nativeSrc": "2899:117:1",
"nodeType": "YulBlock",
"src": "2899:117:1",
"statements": [
{
"nativeSrc": "2914:15:1",
"nodeType": "YulVariableDeclaration",
"src": "2914:15:1",
"value": {
"kind": "number",
"nativeSrc": "2928:1:1",
"nodeType": "YulLiteral",
"src": "2928:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "2918:6:1",
"nodeType": "YulTypedName",
"src": "2918:6:1",
"type": ""
}
]
},
{
"nativeSrc": "2943:63:1",
"nodeType": "YulAssignment",
"src": "2943:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2978:9:1",
"nodeType": "YulIdentifier",
"src": "2978:9:1"
},
{
"name": "offset",
"nativeSrc": "2989:6:1",
"nodeType": "YulIdentifier",
"src": "2989:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2974:3:1",
"nodeType": "YulIdentifier",
"src": "2974:3:1"
},
"nativeSrc": "2974:22:1",
"nodeType": "YulFunctionCall",
"src": "2974:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "2998:7:1",
"nodeType": "YulIdentifier",
"src": "2998:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "2953:20:1",
"nodeType": "YulIdentifier",
"src": "2953:20:1"
},
"nativeSrc": "2953:53:1",
"nodeType": "YulFunctionCall",
"src": "2953:53:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "2943:6:1",
"nodeType": "YulIdentifier",
"src": "2943:6:1"
}
]
}
]
},
{
"nativeSrc": "3026:118:1",
"nodeType": "YulBlock",
"src": "3026:118:1",
"statements": [
{
"nativeSrc": "3041:16:1",
"nodeType": "YulVariableDeclaration",
"src": "3041:16:1",
"value": {
"kind": "number",
"nativeSrc": "3055:2:1",
"nodeType": "YulLiteral",
"src": "3055:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nativeSrc": "3045:6:1",
"nodeType": "YulTypedName",
"src": "3045:6:1",
"type": ""
}
]
},
{
"nativeSrc": "3071:63:1",
"nodeType": "YulAssignment",
"src": "3071:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "3106:9:1",
"nodeType": "YulIdentifier",
"src": "3106:9:1"
},
{
"name": "offset",
"nativeSrc": "3117:6:1",
"nodeType": "YulIdentifier",
"src": "3117:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3102:3:1",
"nodeType": "YulIdentifier",
"src": "3102:3:1"
},
"nativeSrc": "3102:22:1",
"nodeType": "YulFunctionCall",
"src": "3102:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "3126:7:1",
"nodeType": "YulIdentifier",
"src": "3126:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "3081:20:1",
"nodeType": "YulIdentifier",
"src": "3081:20:1"
},
"nativeSrc": "3081:53:1",
"nodeType": "YulFunctionCall",
"src": "3081:53:1"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "3071:6:1",
"nodeType": "YulIdentifier",
"src": "3071:6:1"
}
]
}
]
},
{
"nativeSrc": "3154:118:1",
"nodeType": "YulBlock",
"src": "3154:118:1",
"statements": [
{
"nativeSrc": "3169:16:1",
"nodeType": "YulVariableDeclaration",
"src": "3169:16:1",
"value": {
"kind": "number",
"nativeSrc": "3183:2:1",
"nodeType": "YulLiteral",
"src": "3183:2:1",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nativeSrc": "3173:6:1",
"nodeType": "YulTypedName",
"src": "3173:6:1",
"type": ""
}
]
},
{
"nativeSrc": "3199:63:1",
"nodeType": "YulAssignment",
"src": "3199:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "3234:9:1",
"nodeType": "YulIdentifier",
"src": "3234:9:1"
},
{
"name": "offset",
"nativeSrc": "3245:6:1",
"nodeType": "YulIdentifier",
"src": "3245:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3230:3:1",
"nodeType": "YulIdentifier",
"src": "3230:3:1"
},
"nativeSrc": "3230:22:1",
"nodeType": "YulFunctionCall",
"src": "3230:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "3254:7:1",
"nodeType": "YulIdentifier",
"src": "3254:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "3209:20:1",
"nodeType": "YulIdentifier",
"src": "3209:20:1"
},
"nativeSrc": "3209:53:1",
"nodeType": "YulFunctionCall",
"src": "3209:53:1"
},
"variableNames": [
{
"name": "value2",
"nativeSrc": "3199:6:1",
"nodeType": "YulIdentifier",
"src": "3199:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_addresst_uint256",
"nativeSrc": "2660:619:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2714:9:1",
"nodeType": "YulTypedName",
"src": "2714:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "2725:7:1",
"nodeType": "YulTypedName",
"src": "2725:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "2737:6:1",
"nodeType": "YulTypedName",
"src": "2737:6:1",
"type": ""
},
{
"name": "value1",
"nativeSrc": "2745:6:1",
"nodeType": "YulTypedName",
"src": "2745:6:1",
"type": ""
},
{
"name": "value2",
"nativeSrc": "2753:6:1",
"nodeType": "YulTypedName",
"src": "2753:6:1",
"type": ""
}
],
"src": "2660:619:1"
},
{
"body": {
"nativeSrc": "3350:53:1",
"nodeType": "YulBlock",
"src": "3350:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "3367:3:1",
"nodeType": "YulIdentifier",
"src": "3367:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "3390:5:1",
"nodeType": "YulIdentifier",
"src": "3390:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "3372:17:1",
"nodeType": "YulIdentifier",
"src": "3372:17:1"
},
"nativeSrc": "3372:24:1",
"nodeType": "YulFunctionCall",
"src": "3372:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "3360:6:1",
"nodeType": "YulIdentifier",
"src": "3360:6:1"
},
"nativeSrc": "3360:37:1",
"nodeType": "YulFunctionCall",
"src": "3360:37:1"
},
"nativeSrc": "3360:37:1",
"nodeType": "YulExpressionStatement",
"src": "3360:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "3285:118:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "3338:5:1",
"nodeType": "YulTypedName",
"src": "3338:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "3345:3:1",
"nodeType": "YulTypedName",
"src": "3345:3:1",
"type": ""
}
],
"src": "3285:118:1"
},
{
"body": {
"nativeSrc": "3474:53:1",
"nodeType": "YulBlock",
"src": "3474:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "3491:3:1",
"nodeType": "YulIdentifier",
"src": "3491:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "3514:5:1",
"nodeType": "YulIdentifier",
"src": "3514:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "3496:17:1",
"nodeType": "YulIdentifier",
"src": "3496:17:1"
},
"nativeSrc": "3496:24:1",
"nodeType": "YulFunctionCall",
"src": "3496:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "3484:6:1",
"nodeType": "YulIdentifier",
"src": "3484:6:1"
},
"nativeSrc": "3484:37:1",
"nodeType": "YulFunctionCall",
"src": "3484:37:1"
},
"nativeSrc": "3484:37:1",
"nodeType": "YulExpressionStatement",
"src": "3484:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "3409:118:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "3462:5:1",
"nodeType": "YulTypedName",
"src": "3462:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "3469:3:1",
"nodeType": "YulTypedName",
"src": "3469:3:1",
"type": ""
}
],
"src": "3409:118:1"
},
{
"body": {
"nativeSrc": "3659:206:1",
"nodeType": "YulBlock",
"src": "3659:206:1",
"statements": [
{
"nativeSrc": "3669:26:1",
"nodeType": "YulAssignment",
"src": "3669:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "3681:9:1",
"nodeType": "YulIdentifier",
"src": "3681:9:1"
},
{
"kind": "number",
"nativeSrc": "3692:2:1",
"nodeType": "YulLiteral",
"src": "3692:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3677:3:1",
"nodeType": "YulIdentifier",
"src": "3677:3:1"
},
"nativeSrc": "3677:18:1",
"nodeType": "YulFunctionCall",
"src": "3677:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "3669:4:1",
"nodeType": "YulIdentifier",
"src": "3669:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "3749:6:1",
"nodeType": "YulIdentifier",
"src": "3749:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "3762:9:1",
"nodeType": "YulIdentifier",
"src": "3762:9:1"
},
{
"kind": "number",
"nativeSrc": "3773:1:1",
"nodeType": "YulLiteral",
"src": "3773:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3758:3:1",
"nodeType": "YulIdentifier",
"src": "3758:3:1"
},
"nativeSrc": "3758:17:1",
"nodeType": "YulFunctionCall",
"src": "3758:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "3705:43:1",
"nodeType": "YulIdentifier",
"src": "3705:43:1"
},
"nativeSrc": "3705:71:1",
"nodeType": "YulFunctionCall",
"src": "3705:71:1"
},
"nativeSrc": "3705:71:1",
"nodeType": "YulExpressionStatement",
"src": "3705:71:1"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nativeSrc": "3830:6:1",
"nodeType": "YulIdentifier",
"src": "3830:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "3843:9:1",
"nodeType": "YulIdentifier",
"src": "3843:9:1"
},
{
"kind": "number",
"nativeSrc": "3854:2:1",
"nodeType": "YulLiteral",
"src": "3854:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3839:3:1",
"nodeType": "YulIdentifier",
"src": "3839:3:1"
},
"nativeSrc": "3839:18:1",
"nodeType": "YulFunctionCall",
"src": "3839:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "3786:43:1",
"nodeType": "YulIdentifier",
"src": "3786:43:1"
},
"nativeSrc": "3786:72:1",
"nodeType": "YulFunctionCall",
"src": "3786:72:1"
},
"nativeSrc": "3786:72:1",
"nodeType": "YulExpressionStatement",
"src": "3786:72:1"
}
]
},
"name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed",
"nativeSrc": "3533:332:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "3623:9:1",
"nodeType": "YulTypedName",
"src": "3623:9:1",
"type": ""
},
{
"name": "value1",
"nativeSrc": "3635:6:1",
"nodeType": "YulTypedName",
"src": "3635:6:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "3643:6:1",
"nodeType": "YulTypedName",
"src": "3643:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "3654:4:1",
"nodeType": "YulTypedName",
"src": "3654:4:1",
"type": ""
}
],
"src": "3533:332:1"
}
]
},
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\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 abi_encode_t_address_to_t_address(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_uint256_to_t_uint256(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n // struct RoyaltyManager.Royalty -> struct RoyaltyManager.Royalty\n function abi_encode_t_struct$_Royalty_$6_memory_ptr_to_t_struct$_Royalty_$6_memory_ptr_fromStack(value, pos) {\n let tail := add(pos, 0x40)\n\n {\n // recipient\n\n let memberValue0 := mload(add(value, 0x00))\n abi_encode_t_address_to_t_address(memberValue0, add(pos, 0x00))\n }\n\n {\n // amount\n\n let memberValue0 := mload(add(value, 0x20))\n abi_encode_t_uint256_to_t_uint256(memberValue0, add(pos, 0x20))\n }\n\n }\n\n function abi_encode_tuple_t_struct$_Royalty_$6_memory_ptr__to_t_struct$_Royalty_$6_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_struct$_Royalty_$6_memory_ptr_to_t_struct$_Royalty_$6_memory_ptr_fromStack(value0, add(headStart, 0))\n\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_uint256t_addresst_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_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561000f575f80fd5b506004361061003f575f3560e01c80631af9cf49146100435780637db3c828146100735780637f77f5741461008f575b5f80fd5b61005d6004803603810190610058919061027c565b6100c0565b60405161006a9190610322565b60405180910390f35b61008d60048036038101906100889190610365565b610148565b005b6100a960048036038101906100a4919061027c565b6101d9565b6040516100b79291906103d3565b60405180910390f35b6100c8610217565b5f808381526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050919050565b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001828152505f808581526020019081526020015f205f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050505050565b5f602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b60405180604001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81525090565b5f80fd5b5f819050919050565b61025b81610249565b8114610265575f80fd5b50565b5f8135905061027681610252565b92915050565b5f6020828403121561029157610290610245565b5b5f61029e84828501610268565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6102d0826102a7565b9050919050565b6102e0816102c6565b82525050565b6102ef81610249565b82525050565b604082015f8201516103095f8501826102d7565b50602082015161031c60208501826102e6565b50505050565b5f6040820190506103355f8301846102f5565b92915050565b610344816102c6565b811461034e575f80fd5b50565b5f8135905061035f8161033b565b92915050565b5f805f6060848603121561037c5761037b610245565b5b5f61038986828701610268565b935050602061039a86828701610351565b92505060406103ab86828701610268565b9150509250925092565b6103be816102c6565b82525050565b6103cd81610249565b82525050565b5f6040820190506103e65f8301856103b5565b6103f360208301846103c4565b939250505056fea2646970667358221220cf3fc39f15e69983cb1a24d576f73418455943e327fb716e4b6ac6143203a45d64736f6c634300081a0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x3F JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1AF9CF49 EQ PUSH2 0x43 JUMPI DUP1 PUSH4 0x7DB3C828 EQ PUSH2 0x73 JUMPI DUP1 PUSH4 0x7F77F574 EQ PUSH2 0x8F JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x5D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x58 SWAP2 SWAP1 PUSH2 0x27C JUMP JUMPDEST PUSH2 0xC0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x322 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x88 SWAP2 SWAP1 PUSH2 0x365 JUMP JUMPDEST PUSH2 0x148 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xA9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA4 SWAP2 SWAP1 PUSH2 0x27C JUMP JUMPDEST PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB7 SWAP3 SWAP2 SWAP1 PUSH2 0x3D3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC8 PUSH2 0x217 JUMP JUMPDEST PUSH0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE SWAP1 DUP2 PUSH0 DUP3 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x1 DUP3 ADD SLOAD DUP2 MSTORE POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH0 DUP1 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 DUP3 ADD MLOAD DUP2 PUSH0 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE SWAP1 POP POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 MSTORE DUP1 PUSH0 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH0 SWAP2 POP SWAP1 POP DUP1 PUSH0 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x25B DUP2 PUSH2 0x249 JUMP JUMPDEST DUP2 EQ PUSH2 0x265 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x276 DUP2 PUSH2 0x252 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x291 JUMPI PUSH2 0x290 PUSH2 0x245 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x29E DUP5 DUP3 DUP6 ADD PUSH2 0x268 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x2D0 DUP3 PUSH2 0x2A7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2E0 DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x2EF DUP2 PUSH2 0x249 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x40 DUP3 ADD PUSH0 DUP3 ADD MLOAD PUSH2 0x309 PUSH0 DUP6 ADD DUP3 PUSH2 0x2D7 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD PUSH2 0x31C PUSH1 0x20 DUP6 ADD DUP3 PUSH2 0x2E6 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x335 PUSH0 DUP4 ADD DUP5 PUSH2 0x2F5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x344 DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP2 EQ PUSH2 0x34E JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x35F DUP2 PUSH2 0x33B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x37C JUMPI PUSH2 0x37B PUSH2 0x245 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x389 DUP7 DUP3 DUP8 ADD PUSH2 0x268 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x39A DUP7 DUP3 DUP8 ADD PUSH2 0x351 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x3AB DUP7 DUP3 DUP8 ADD PUSH2 0x268 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH2 0x3BE DUP2 PUSH2 0x2C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x3CD DUP2 PUSH2 0x249 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3E6 PUSH0 DUP4 ADD DUP6 PUSH2 0x3B5 JUMP JUMPDEST PUSH2 0x3F3 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x3C4 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF EXTCODEHASH 0xC3 SWAP16 ISZERO 0xE6 SWAP10 DUP4 0xCB BYTE 0x24 0xD5 PUSH23 0xF73418455943E327FB716E4B6AC6143203A45D64736F6C PUSH4 0x4300081A STOP CALLER ",
"sourceMap": "60:549:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;486:120;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;266:212;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;213:44;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;486:120;546:14;;:::i;:::-;580:9;:18;590:7;580:18;;;;;;;;;;;573:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;486:120;;;:::o;266:212::-;444:26;;;;;;;;452:9;444:26;;;;;;463:6;444:26;;;423:9;:18;433:7;423:18;;;;;;;;;;;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;266:212;;;:::o;213:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::o;88:117:1:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:126::-;1062:7;1102:42;1095:5;1091:54;1080:65;;1025:126;;;:::o;1157:96::-;1194:7;1223:24;1241:5;1223:24;:::i;:::-;1212:35;;1157:96;;;:::o;1259:108::-;1336:24;1354:5;1336:24;:::i;:::-;1331:3;1324:37;1259:108;;:::o;1373:::-;1450:24;1468:5;1450:24;:::i;:::-;1445:3;1438:37;1373:108;;:::o;1557:508::-;1698:4;1693:3;1689:14;1790:4;1783:5;1779:16;1773:23;1809:63;1866:4;1861:3;1857:14;1843:12;1809:63;:::i;:::-;1713:169;1966:4;1959:5;1955:16;1949:23;1985:63;2042:4;2037:3;2033:14;2019:12;1985:63;:::i;:::-;1892:166;1667:398;1557:508;;:::o;2071:310::-;2208:4;2246:2;2235:9;2231:18;2223:26;;2259:115;2371:1;2360:9;2356:17;2347:6;2259:115;:::i;:::-;2071:310;;;;:::o;2387:122::-;2460:24;2478:5;2460:24;:::i;:::-;2453:5;2450:35;2440:63;;2499:1;2496;2489:12;2440:63;2387:122;:::o;2515:139::-;2561:5;2599:6;2586:20;2577:29;;2615:33;2642:5;2615:33;:::i;:::-;2515:139;;;;:::o;2660:619::-;2737:6;2745;2753;2802:2;2790:9;2781:7;2777:23;2773:32;2770:119;;;2808:79;;:::i;:::-;2770:119;2928:1;2953:53;2998:7;2989:6;2978:9;2974:22;2953:53;:::i;:::-;2943:63;;2899:117;3055:2;3081:53;3126:7;3117:6;3106:9;3102:22;3081:53;:::i;:::-;3071:63;;3026:118;3183:2;3209:53;3254:7;3245:6;3234:9;3230:22;3209:53;:::i;:::-;3199:63;;3154:118;2660:619;;;;;:::o;3285:118::-;3372:24;3390:5;3372:24;:::i;:::-;3367:3;3360:37;3285:118;;:::o;3409:::-;3496:24;3514:5;3496:24;:::i;:::-;3491:3;3484:37;3409:118;;:::o;3533:332::-;3654:4;3692:2;3681:9;3677:18;3669:26;;3705:71;3773:1;3762:9;3758:17;3749:6;3705:71;:::i;:::-;3786:72;3854:2;3843:9;3839:18;3830:6;3786:72;:::i;:::-;3533:332;;;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "214400",
"executionCost": "255",
"totalCost": "214655"
},
"external": {
"getRoyalty(uint256)": "infinite",
"royalties(uint256)": "infinite",
"setRoyalty(uint256,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"getRoyalty(uint256)": "1af9cf49",
"royalties(uint256)": "7f77f574",
"setRoyalty(uint256,address,uint256)": "7db3c828"
}
},
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "getRoyalty",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"internalType": "struct RoyaltyManager.Royalty",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "royalties",
"outputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "setRoyalty",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}