8691 lines
302 KiB
JSON
8691 lines
302 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": "608060405234801561000f575f80fd5b506109e18061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80631b26708c14610038578063a7c6b52e14610056575b5f80fd5b610040610072565b60405161004d9190610476565b60405180910390f35b610070600480360381019061006b91906105d3565b6101a1565b005b60605f803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805480602002602001604051908101604052809291908181526020015f905b82821015610198578382905f5260205f2090600202016040518060400160405290815f820154815260200160018201805461010990610647565b80601f016020809104026020016040519081016040528092919081815260200182805461013590610647565b80156101805780601f1061015757610100808354040283529160200191610180565b820191905f5260205f20905b81548152906001019060200180831161016357829003601f168201915b505050505081525050815260200190600101906100cf565b50505050905090565b5f60015f803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490506101ee91906106a4565b90505f60405180604001604052808381526020018481525090505f803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f2090600202015f909190919091505f820151815f015560208201518160010190816102889190610874565b505050813373ffffffffffffffffffffffffffffffffffffffff167fd9943d316e03c76a0277683e5fa4ed2b175e6568c8d3a22d9f0b32092e584a28856040516102d2919061098b565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f819050919050565b61031a81610308565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561035757808201518184015260208101905061033c565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61037c82610320565b610386818561032a565b935061039681856020860161033a565b61039f81610362565b840191505092915050565b5f604083015f8301516103bf5f860182610311565b50602083015184820360208601526103d78282610372565b9150508091505092915050565b5f6103ef83836103aa565b905092915050565b5f602082019050919050565b5f61040d826102df565b61041781856102e9565b935083602082028501610429856102f9565b805f5b85811015610464578484038952815161044585826103e4565b9450610450836103f7565b925060208a0199505060018101905061042c565b50829750879550505050505092915050565b5f6020820190508181035f83015261048e8184610403565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6104e582610362565b810181811067ffffffffffffffff82111715610504576105036104af565b5b80604052505050565b5f610516610496565b905061052282826104dc565b919050565b5f67ffffffffffffffff821115610541576105406104af565b5b61054a82610362565b9050602081019050919050565b828183375f83830152505050565b5f61057761057284610527565b61050d565b905082815260208101848484011115610593576105926104ab565b5b61059e848285610557565b509392505050565b5f82601f8301126105ba576105b96104a7565b5b81356105ca848260208601610565565b91505092915050565b5f602082840312156105e8576105e761049f565b5b5f82013567ffffffffffffffff811115610605576106046104a3565b5b610611848285016105a6565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061065e57607f821691505b6020821081036106715761067061061a565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6106ae82610308565b91506106b983610308565b92508282019050808211156106d1576106d0610677565b5b92915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026107337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826106f8565b61073d86836106f8565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61077861077361076e84610308565b610755565b610308565b9050919050565b5f819050919050565b6107918361075e565b6107a561079d8261077f565b848454610704565b825550505050565b5f90565b6107b96107ad565b6107c4818484610788565b505050565b5b818110156107e7576107dc5f826107b1565b6001810190506107ca565b5050565b601f82111561082c576107fd816106d7565b610806846106e9565b81016020851015610815578190505b610829610821856106e9565b8301826107c9565b50505b505050565b5f82821c905092915050565b5f61084c5f1984600802610831565b1980831691505092915050565b5f610864838361083d565b9150826002028217905092915050565b61087d82610320565b67ffffffffffffffff811115610896576108956104af565b5b6108a08254610647565b6108ab8282856107eb565b5f60209050601f8311600181146108dc575f84156108ca578287015190505b6108d48582610859565b86555061093b565b601f1984166108ea866106d7565b5f5b82811015610911578489015182556001820191506020850194506020810190506108ec565b8683101561092e578489015161092a601f89168261083d565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b5f61095d82610320565b6109678185610943565b935061097781856020860161033a565b61098081610362565b840191505092915050565b5f6020820190508181035f8301526109a38184610953565b90509291505056fea2646970667358221220c23bd487099481d39be0fd9264dfc1fa43eca89599ef775b0c5a52306497f1ad64736f6c63430008160033",
|
|
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH2 0x9E1 DUP1 PUSH2 0x1D 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 0x34 JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1B26708C EQ PUSH2 0x38 JUMPI DUP1 PUSH4 0xA7C6B52E EQ PUSH2 0x56 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x40 PUSH2 0x72 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x4D SWAP2 SWAP1 PUSH2 0x476 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x70 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6B SWAP2 SWAP1 PUSH2 0x5D3 JUMP JUMPDEST PUSH2 0x1A1 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x60 PUSH0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 DUP1 SLOAD DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 SWAP1 JUMPDEST DUP3 DUP3 LT ISZERO PUSH2 0x198 JUMPI DUP4 DUP3 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE SWAP1 DUP2 PUSH0 DUP3 ADD SLOAD DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x1 DUP3 ADD DUP1 SLOAD PUSH2 0x109 SWAP1 PUSH2 0x647 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x135 SWAP1 PUSH2 0x647 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x180 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x157 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x180 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x163 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 MSTORE POP POP DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xCF JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 PUSH1 0x1 PUSH0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 DUP1 SLOAD SWAP1 POP PUSH2 0x1EE SWAP2 SWAP1 PUSH2 0x6A4 JUMP JUMPDEST SWAP1 POP PUSH0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 POP PUSH0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH0 DUP3 ADD MLOAD DUP2 PUSH0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP2 PUSH2 0x288 SWAP2 SWAP1 PUSH2 0x874 JUMP JUMPDEST POP POP POP DUP2 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xD9943D316E03C76A0277683E5FA4ED2B175E6568C8D3A22D9F0B32092E584A28 DUP6 PUSH1 0x40 MLOAD PUSH2 0x2D2 SWAP2 SWAP1 PUSH2 0x98B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x31A DUP2 PUSH2 0x308 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x357 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x33C JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x37C DUP3 PUSH2 0x320 JUMP JUMPDEST PUSH2 0x386 DUP2 DUP6 PUSH2 0x32A JUMP JUMPDEST SWAP4 POP PUSH2 0x396 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x33A JUMP JUMPDEST PUSH2 0x39F DUP2 PUSH2 0x362 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 DUP4 ADD PUSH0 DUP4 ADD MLOAD PUSH2 0x3BF PUSH0 DUP7 ADD DUP3 PUSH2 0x311 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x20 DUP7 ADD MSTORE PUSH2 0x3D7 DUP3 DUP3 PUSH2 0x372 JUMP JUMPDEST SWAP2 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x3EF DUP4 DUP4 PUSH2 0x3AA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x40D DUP3 PUSH2 0x2DF JUMP JUMPDEST PUSH2 0x417 DUP2 DUP6 PUSH2 0x2E9 JUMP JUMPDEST SWAP4 POP DUP4 PUSH1 0x20 DUP3 MUL DUP6 ADD PUSH2 0x429 DUP6 PUSH2 0x2F9 JUMP JUMPDEST DUP1 PUSH0 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0x464 JUMPI DUP5 DUP5 SUB DUP10 MSTORE DUP2 MLOAD PUSH2 0x445 DUP6 DUP3 PUSH2 0x3E4 JUMP JUMPDEST SWAP5 POP PUSH2 0x450 DUP4 PUSH2 0x3F7 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP11 ADD SWAP10 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x42C JUMP JUMPDEST POP DUP3 SWAP8 POP DUP8 SWAP6 POP POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x48E DUP2 DUP5 PUSH2 0x403 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x4E5 DUP3 PUSH2 0x362 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x504 JUMPI PUSH2 0x503 PUSH2 0x4AF JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x516 PUSH2 0x496 JUMP JUMPDEST SWAP1 POP PUSH2 0x522 DUP3 DUP3 PUSH2 0x4DC JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x541 JUMPI PUSH2 0x540 PUSH2 0x4AF JUMP JUMPDEST JUMPDEST PUSH2 0x54A DUP3 PUSH2 0x362 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x577 PUSH2 0x572 DUP5 PUSH2 0x527 JUMP JUMPDEST PUSH2 0x50D JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x593 JUMPI PUSH2 0x592 PUSH2 0x4AB JUMP JUMPDEST JUMPDEST PUSH2 0x59E DUP5 DUP3 DUP6 PUSH2 0x557 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5BA JUMPI PUSH2 0x5B9 PUSH2 0x4A7 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x5CA DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x565 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5E8 JUMPI PUSH2 0x5E7 PUSH2 0x49F JUMP JUMPDEST JUMPDEST PUSH0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x605 JUMPI PUSH2 0x604 PUSH2 0x4A3 JUMP JUMPDEST JUMPDEST PUSH2 0x611 DUP5 DUP3 DUP6 ADD PUSH2 0x5A6 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x65E JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x671 JUMPI PUSH2 0x670 PUSH2 0x61A JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH2 0x6AE DUP3 PUSH2 0x308 JUMP JUMPDEST SWAP2 POP PUSH2 0x6B9 DUP4 PUSH2 0x308 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x6D1 JUMPI PUSH2 0x6D0 PUSH2 0x677 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP DUP2 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x8 DUP4 MUL PUSH2 0x733 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x6F8 JUMP JUMPDEST PUSH2 0x73D DUP7 DUP4 PUSH2 0x6F8 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x778 PUSH2 0x773 PUSH2 0x76E DUP5 PUSH2 0x308 JUMP JUMPDEST PUSH2 0x755 JUMP JUMPDEST PUSH2 0x308 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x791 DUP4 PUSH2 0x75E JUMP JUMPDEST PUSH2 0x7A5 PUSH2 0x79D DUP3 PUSH2 0x77F JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x704 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH0 SWAP1 JUMP JUMPDEST PUSH2 0x7B9 PUSH2 0x7AD JUMP JUMPDEST PUSH2 0x7C4 DUP2 DUP5 DUP5 PUSH2 0x788 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x7E7 JUMPI PUSH2 0x7DC PUSH0 DUP3 PUSH2 0x7B1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x7CA JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x82C JUMPI PUSH2 0x7FD DUP2 PUSH2 0x6D7 JUMP JUMPDEST PUSH2 0x806 DUP5 PUSH2 0x6E9 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x815 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x829 PUSH2 0x821 DUP6 PUSH2 0x6E9 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x7C9 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x84C PUSH0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x831 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x864 DUP4 DUP4 PUSH2 0x83D JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x87D DUP3 PUSH2 0x320 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x896 JUMPI PUSH2 0x895 PUSH2 0x4AF JUMP JUMPDEST JUMPDEST PUSH2 0x8A0 DUP3 SLOAD PUSH2 0x647 JUMP JUMPDEST PUSH2 0x8AB DUP3 DUP3 DUP6 PUSH2 0x7EB JUMP JUMPDEST PUSH0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x8DC JUMPI PUSH0 DUP5 ISZERO PUSH2 0x8CA JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x8D4 DUP6 DUP3 PUSH2 0x859 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x93B JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x8EA DUP7 PUSH2 0x6D7 JUMP JUMPDEST PUSH0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x911 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x8EC JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x92E JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x92A PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x83D JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x95D DUP3 PUSH2 0x320 JUMP JUMPDEST PUSH2 0x967 DUP2 DUP6 PUSH2 0x943 JUMP JUMPDEST SWAP4 POP PUSH2 0x977 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x33A JUMP JUMPDEST PUSH2 0x980 DUP2 PUSH2 0x362 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x9A3 DUP2 DUP5 PUSH2 0x953 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC2 EXTCODESIZE 0xD4 DUP8 MULMOD SWAP5 DUP2 0xD3 SWAP12 0xE0 REVERT SWAP3 PUSH5 0xDFC1FA43EC 0xA8 SWAP6 SWAP10 0xEF PUSH24 0x5B0C5A52306497F1AD64736F6C6343000816003300000000 ",
|
|
"sourceMap": "60:915:0:-:0;;;;;;;;;;;;;;;;;;;"
|
|
},
|
|
"deployedBytecode": {
|
|
"functionDebugData": {
|
|
"@addAsset_59": {
|
|
"entryPoint": 417,
|
|
"id": 59,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 0
|
|
},
|
|
"@getUserAssets_72": {
|
|
"entryPoint": 114,
|
|
"id": 72,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_decode_available_length_t_string_memory_ptr": {
|
|
"entryPoint": 1381,
|
|
"id": null,
|
|
"parameterSlots": 3,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_decode_t_string_memory_ptr": {
|
|
"entryPoint": 1446,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_decode_tuple_t_string_memory_ptr": {
|
|
"entryPoint": 1491,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_encodeUpdatedPos_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr": {
|
|
"entryPoint": 996,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_encode_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack": {
|
|
"entryPoint": 1027,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr": {
|
|
"entryPoint": 882,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
|
|
"entryPoint": 2387,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_encode_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr": {
|
|
"entryPoint": 938,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_encode_t_uint256_to_t_uint256": {
|
|
"entryPoint": 785,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 0
|
|
},
|
|
"abi_encode_tuple_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr__fromStack_reversed": {
|
|
"entryPoint": 1142,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
|
|
"entryPoint": 2443,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"allocate_memory": {
|
|
"entryPoint": 1293,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"allocate_unbounded": {
|
|
"entryPoint": 1174,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 1
|
|
},
|
|
"array_allocation_size_t_string_memory_ptr": {
|
|
"entryPoint": 1319,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"array_dataslot_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr": {
|
|
"entryPoint": 761,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"array_dataslot_t_string_storage": {
|
|
"entryPoint": 1751,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"array_length_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr": {
|
|
"entryPoint": 735,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"array_length_t_string_memory_ptr": {
|
|
"entryPoint": 800,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"array_nextElement_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr": {
|
|
"entryPoint": 1015,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"array_storeLengthForEncoding_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack": {
|
|
"entryPoint": 745,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"array_storeLengthForEncoding_t_string_memory_ptr": {
|
|
"entryPoint": 810,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
|
|
"entryPoint": 2371,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"checked_add_t_uint256": {
|
|
"entryPoint": 1700,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"clean_up_bytearray_end_slots_t_string_storage": {
|
|
"entryPoint": 2027,
|
|
"id": null,
|
|
"parameterSlots": 3,
|
|
"returnSlots": 0
|
|
},
|
|
"cleanup_t_uint256": {
|
|
"entryPoint": 776,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"clear_storage_range_t_bytes1": {
|
|
"entryPoint": 1993,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 0
|
|
},
|
|
"convert_t_uint256_to_t_uint256": {
|
|
"entryPoint": 1886,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
|
|
"entryPoint": 2164,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 0
|
|
},
|
|
"copy_calldata_to_memory_with_cleanup": {
|
|
"entryPoint": 1367,
|
|
"id": null,
|
|
"parameterSlots": 3,
|
|
"returnSlots": 0
|
|
},
|
|
"copy_memory_to_memory_with_cleanup": {
|
|
"entryPoint": 826,
|
|
"id": null,
|
|
"parameterSlots": 3,
|
|
"returnSlots": 0
|
|
},
|
|
"divide_by_32_ceil": {
|
|
"entryPoint": 1769,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"extract_byte_array_length": {
|
|
"entryPoint": 1607,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"extract_used_part_and_set_length_of_short_byte_array": {
|
|
"entryPoint": 2137,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"finalize_allocation": {
|
|
"entryPoint": 1244,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 0
|
|
},
|
|
"identity": {
|
|
"entryPoint": 1877,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"mask_bytes_dynamic": {
|
|
"entryPoint": 2109,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"panic_error_0x11": {
|
|
"entryPoint": 1655,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 0
|
|
},
|
|
"panic_error_0x22": {
|
|
"entryPoint": 1562,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 0
|
|
},
|
|
"panic_error_0x41": {
|
|
"entryPoint": 1199,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 0
|
|
},
|
|
"prepare_store_t_uint256": {
|
|
"entryPoint": 1919,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
|
|
"entryPoint": 1191,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 0
|
|
},
|
|
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
|
|
"entryPoint": 1195,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 0
|
|
},
|
|
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
|
|
"entryPoint": 1187,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 0
|
|
},
|
|
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
|
|
"entryPoint": 1183,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 0
|
|
},
|
|
"round_up_to_mul_of_32": {
|
|
"entryPoint": 866,
|
|
"id": null,
|
|
"parameterSlots": 1,
|
|
"returnSlots": 1
|
|
},
|
|
"shift_left_dynamic": {
|
|
"entryPoint": 1784,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"shift_right_unsigned_dynamic": {
|
|
"entryPoint": 2097,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 1
|
|
},
|
|
"storage_set_to_zero_t_uint256": {
|
|
"entryPoint": 1969,
|
|
"id": null,
|
|
"parameterSlots": 2,
|
|
"returnSlots": 0
|
|
},
|
|
"update_byte_slice_dynamic32": {
|
|
"entryPoint": 1796,
|
|
"id": null,
|
|
"parameterSlots": 3,
|
|
"returnSlots": 1
|
|
},
|
|
"update_storage_value_t_uint256_to_t_uint256": {
|
|
"entryPoint": 1928,
|
|
"id": null,
|
|
"parameterSlots": 3,
|
|
"returnSlots": 0
|
|
},
|
|
"zero_value_for_split_t_uint256": {
|
|
"entryPoint": 1965,
|
|
"id": null,
|
|
"parameterSlots": 0,
|
|
"returnSlots": 1
|
|
}
|
|
},
|
|
"generatedSources": [
|
|
{
|
|
"ast": {
|
|
"nativeSrc": "0:13415:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "0:13415:1",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "101:40:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "101:40:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "112:22:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "112:22:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "128:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "128:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "122:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "122:5:1"
|
|
},
|
|
"nativeSrc": "122:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "122:12:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "112:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "112:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_length_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr",
|
|
"nativeSrc": "7:134:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "84:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "84:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "94:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "94:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7:134:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "278:73:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "278:73:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "295:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "295:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "300:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "300:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "288:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "288:6:1"
|
|
},
|
|
"nativeSrc": "288:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "288:19:1"
|
|
},
|
|
"nativeSrc": "288:19:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "288:19:1"
|
|
},
|
|
{
|
|
"nativeSrc": "316:29:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "316:29:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "335:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "335:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "340:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "340:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "331:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "331:3:1"
|
|
},
|
|
"nativeSrc": "331:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "331:14:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "316:11:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "316:11:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_storeLengthForEncoding_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack",
|
|
"nativeSrc": "147:204:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "250:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "250:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "255:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "255:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "266:11:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "266:11:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "147:204:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "449:60:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "449:60:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "459:11:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "459:11:1",
|
|
"value": {
|
|
"name": "ptr",
|
|
"nativeSrc": "467:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "467:3:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "459:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "459:4:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "480:22:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "480:22:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "ptr",
|
|
"nativeSrc": "492:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "492:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "497:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "497:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "488:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "488:3:1"
|
|
},
|
|
"nativeSrc": "488:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "488:14:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "480:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "480:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_dataslot_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr",
|
|
"nativeSrc": "357:152:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "ptr",
|
|
"nativeSrc": "436:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "436:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "444:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "444:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "357:152:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "560:32:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "560:32:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "570:16:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "570:16:1",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "581:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "581:5:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "570:7:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "570:7:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "515:77:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "542:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "542:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "cleaned",
|
|
"nativeSrc": "552:7:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "552:7:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "515:77:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "653:53:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "653:53:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "670:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "670:3:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "693:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "693:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "675:17:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "675:17:1"
|
|
},
|
|
"nativeSrc": "675:24:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "675:24:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "663:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "663:6:1"
|
|
},
|
|
"nativeSrc": "663:37:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "663:37:1"
|
|
},
|
|
"nativeSrc": "663:37:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "663:37:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_uint256_to_t_uint256",
|
|
"nativeSrc": "598:108:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "641:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "641:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "648:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "648:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "598:108:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "771:40:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "771:40:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "782:22:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "782:22:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "798:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "798:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "792:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "792:5:1"
|
|
},
|
|
"nativeSrc": "792:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "792:12:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "782:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "782:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "712:99:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "754:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "754:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "764:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "764:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "712:99:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "903:73:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "903:73:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "920:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "920:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "925:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "925:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "913:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "913:6:1"
|
|
},
|
|
"nativeSrc": "913:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "913:19:1"
|
|
},
|
|
"nativeSrc": "913:19:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "913:19:1"
|
|
},
|
|
{
|
|
"nativeSrc": "941:29:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "941:29:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "960:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "960:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "965:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "965:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "956:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "956:3:1"
|
|
},
|
|
"nativeSrc": "956:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "956:14:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "941:11:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "941:11:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr",
|
|
"nativeSrc": "817:159:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "875:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "875:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "880:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "880:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "891:11:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "891:11:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "817:159:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1044:184:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1044:184:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1054:10:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "1054:10:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "1063:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1063:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "1058:1:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1058:1:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1123:63:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1123:63:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "1148:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1148:3:1"
|
|
},
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "1153:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1153:1:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1144:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1144:3:1"
|
|
},
|
|
"nativeSrc": "1144:11:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1144:11:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "1167:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1167:3:1"
|
|
},
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "1172:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1172:1:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1163:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1163:3:1"
|
|
},
|
|
"nativeSrc": "1163:11:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1163:11:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "1157:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1157:5:1"
|
|
},
|
|
"nativeSrc": "1157:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1157:18:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "1137:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1137:6:1"
|
|
},
|
|
"nativeSrc": "1137:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1137:39:1"
|
|
},
|
|
"nativeSrc": "1137:39:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1137:39:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "1084:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1084:1:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "1087:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1087:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "1081:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1081:2:1"
|
|
},
|
|
"nativeSrc": "1081:13:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1081:13:1"
|
|
},
|
|
"nativeSrc": "1073:113:1",
|
|
"nodeType": "YulForLoop",
|
|
"post": {
|
|
"nativeSrc": "1095:19:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1095:19:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1097:15:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1097:15:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "1106:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1106:1:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1109:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1109:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1102:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1102:3:1"
|
|
},
|
|
"nativeSrc": "1102:10:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1102:10:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "1097:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1097:1:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"pre": {
|
|
"nativeSrc": "1077:3:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1077:3:1",
|
|
"statements": []
|
|
},
|
|
"src": "1073:113:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "1206:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1206:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "1211:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1211:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1202:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1202:3:1"
|
|
},
|
|
"nativeSrc": "1202:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1202:16:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1220:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1220:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "1195:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1195:6:1"
|
|
},
|
|
"nativeSrc": "1195:27:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1195:27:1"
|
|
},
|
|
"nativeSrc": "1195:27:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1195:27:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "982:246:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "1026:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1026:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "1031:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1031:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "1036:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1036:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "982:246:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1282:54:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1282:54:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1292:38:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1292:38:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1310:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1310:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1317:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1317:2:1",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1306:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1306:3:1"
|
|
},
|
|
"nativeSrc": "1306:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1306:14:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1326:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1326:2:1",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "not",
|
|
"nativeSrc": "1322:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1322:3:1"
|
|
},
|
|
"nativeSrc": "1322:7:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1322:7:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "1302:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1302:3:1"
|
|
},
|
|
"nativeSrc": "1302:28:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1302:28:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "1292:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1292:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "1234:102:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1265:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1265:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "1275:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1275:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1234:102:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1424:275:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1424:275:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1434:53:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "1434:53:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1481:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1481:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "1448:32:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1448:32:1"
|
|
},
|
|
"nativeSrc": "1448:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1448:39:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "1438:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1438:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "1496:68:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1496:68:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1552:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1552:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "1557:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1557:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr",
|
|
"nativeSrc": "1503:48:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1503:48:1"
|
|
},
|
|
"nativeSrc": "1503:61:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1503:61:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1496:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1496:3:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1612:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1612:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1619:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1619:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1608:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1608:3:1"
|
|
},
|
|
"nativeSrc": "1608:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1608:16:1"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1626:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1626:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "1631:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1631:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "1573:34:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1573:34:1"
|
|
},
|
|
"nativeSrc": "1573:65:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1573:65:1"
|
|
},
|
|
"nativeSrc": "1573:65:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "1573:65:1"
|
|
},
|
|
{
|
|
"nativeSrc": "1647:46:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "1647:46:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1658:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1658:3:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "1685:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1685:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "1663:21:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1663:21:1"
|
|
},
|
|
"nativeSrc": "1663:29:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1663:29:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1654:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1654:3:1"
|
|
},
|
|
"nativeSrc": "1654:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1654:39:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "1647:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1647:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr",
|
|
"nativeSrc": "1342:357:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1405:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1405:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1412:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1412:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "1420:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1420:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1342:357:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "1877:480:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1877:480:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1887:26:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "1887:26:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1903:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1903:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1908:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1908:4:1",
|
|
"type": "",
|
|
"value": "0x40"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1899:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1899:3:1"
|
|
},
|
|
"nativeSrc": "1899:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1899:14:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "1891:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1891:4:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "1923:162:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "1923:162:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "1956:43:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "1956:43:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1986:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1986:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "1993:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "1993:4:1",
|
|
"type": "",
|
|
"value": "0x00"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "1982:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1982:3:1"
|
|
},
|
|
"nativeSrc": "1982:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1982:16:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "1976:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "1976:5:1"
|
|
},
|
|
"nativeSrc": "1976:23:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "1976:23:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "memberValue0",
|
|
"nativeSrc": "1960:12:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1960:12:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "memberValue0",
|
|
"nativeSrc": "2046:12:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2046:12:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2064:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2064:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2069:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2069:4:1",
|
|
"type": "",
|
|
"value": "0x00"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2060:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2060:3:1"
|
|
},
|
|
"nativeSrc": "2060:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2060:14:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_uint256_to_t_uint256",
|
|
"nativeSrc": "2012:33:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2012:33:1"
|
|
},
|
|
"nativeSrc": "2012:63:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2012:63:1"
|
|
},
|
|
"nativeSrc": "2012:63:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2012:63:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "2095:235:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "2095:235:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2130:43:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "2130:43:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "2160:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2160:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2167:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2167:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2156:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2156:3:1"
|
|
},
|
|
"nativeSrc": "2156:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2156:16:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "2150:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2150:5:1"
|
|
},
|
|
"nativeSrc": "2150:23:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2150:23:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "memberValue0",
|
|
"nativeSrc": "2134:12:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2134:12:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2198:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2198:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2203:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2203:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2194:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2194:3:1"
|
|
},
|
|
"nativeSrc": "2194:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2194:14:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "2214:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2214:4:1"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2220:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2220:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "2210:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2210:3:1"
|
|
},
|
|
"nativeSrc": "2210:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2210:14:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "2187:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2187:6:1"
|
|
},
|
|
"nativeSrc": "2187:38:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2187:38:1"
|
|
},
|
|
"nativeSrc": "2187:38:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "2187:38:1"
|
|
},
|
|
{
|
|
"nativeSrc": "2238:81:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2238:81:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "memberValue0",
|
|
"nativeSrc": "2300:12:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2300:12:1"
|
|
},
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "2314:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2314:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr",
|
|
"nativeSrc": "2246:53:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2246:53:1"
|
|
},
|
|
"nativeSrc": "2246:73:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2246:73:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "2238:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2238:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "2340:11:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2340:11:1",
|
|
"value": {
|
|
"name": "tail",
|
|
"nativeSrc": "2347:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2347:4:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "2340:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2340:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr",
|
|
"nativeSrc": "1773:584:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "1856:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1856:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "1863:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1863:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "1872:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "1872:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "1773:584:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2483:116:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "2483:116:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2493:100:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2493:100:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "2581:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2581:6:1"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2589:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2589:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr",
|
|
"nativeSrc": "2507:73:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2507:73:1"
|
|
},
|
|
"nativeSrc": "2507:86:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2507:86:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updatedPos",
|
|
"nativeSrc": "2493:10:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2493:10:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encodeUpdatedPos_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr",
|
|
"nativeSrc": "2363:236:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "2456:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2456:6:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2464:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2464:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updatedPos",
|
|
"nativeSrc": "2472:10:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2472:10:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2363:236:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2700:38:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "2700:38:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2710:22:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "2710:22:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "ptr",
|
|
"nativeSrc": "2722:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2722:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "2727:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "2727:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "2718:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2718:3:1"
|
|
},
|
|
"nativeSrc": "2718:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "2718:14:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "next",
|
|
"nativeSrc": "2710:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "2710:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_nextElement_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr",
|
|
"nativeSrc": "2605:133:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "ptr",
|
|
"nativeSrc": "2687:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2687:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "next",
|
|
"nativeSrc": "2695:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2695:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2605:133:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "2980:907:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "2980:907:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "2990:88:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "2990:88:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3072:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3072:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr",
|
|
"nativeSrc": "3004:67:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3004:67:1"
|
|
},
|
|
"nativeSrc": "3004:74:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3004:74:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "2994:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2994:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3087:113:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3087:113:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "3188:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3188:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3193:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3193:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack",
|
|
"nativeSrc": "3094:93:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3094:93:1"
|
|
},
|
|
"nativeSrc": "3094:106:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3094:106:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "3087:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3087:3:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3209:20:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3209:20:1",
|
|
"value": {
|
|
"name": "pos",
|
|
"nativeSrc": "3226:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3226:3:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "3213:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3213:9:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3238:39:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3238:39:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "3254:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3254:3:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3263:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3263:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3271:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3271:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mul",
|
|
"nativeSrc": "3259:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3259:3:1"
|
|
},
|
|
"nativeSrc": "3259:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3259:17:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3250:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3250:3:1"
|
|
},
|
|
"nativeSrc": "3250:27:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3250:27:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "3242:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3242:4:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3286:91:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3286:91:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "3371:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3371:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_dataslot_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr",
|
|
"nativeSrc": "3301:69:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3301:69:1"
|
|
},
|
|
"nativeSrc": "3301:76:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3301:76:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "baseRef",
|
|
"nativeSrc": "3290:7:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3290:7:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3386:21:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3386:21:1",
|
|
"value": {
|
|
"name": "baseRef",
|
|
"nativeSrc": "3400:7:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3400:7:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "srcPtr",
|
|
"nativeSrc": "3390:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3390:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "3476:366:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "3476:366:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "3497:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3497:3:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "3506:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3506:4:1"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "3512:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3512:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "3502:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3502:3:1"
|
|
},
|
|
"nativeSrc": "3502:20:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3502:20:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "3490:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3490:6:1"
|
|
},
|
|
"nativeSrc": "3490:33:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3490:33:1"
|
|
},
|
|
"nativeSrc": "3490:33:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "3490:33:1"
|
|
},
|
|
{
|
|
"nativeSrc": "3536:34:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3536:34:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "srcPtr",
|
|
"nativeSrc": "3563:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3563:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "3557:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3557:5:1"
|
|
},
|
|
"nativeSrc": "3557:13:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3557:13:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "elementValue0",
|
|
"nativeSrc": "3540:13:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3540:13:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3583:112:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3583:112:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "elementValue0",
|
|
"nativeSrc": "3675:13:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3675:13:1"
|
|
},
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "3690:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3690:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encodeUpdatedPos_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr",
|
|
"nativeSrc": "3591:83:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3591:83:1"
|
|
},
|
|
"nativeSrc": "3591:104:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3591:104:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "3583:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3583:4:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3708:90:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3708:90:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "srcPtr",
|
|
"nativeSrc": "3791:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3791:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_nextElement_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr",
|
|
"nativeSrc": "3718:72:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3718:72:1"
|
|
},
|
|
"nativeSrc": "3718:80:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3718:80:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "srcPtr",
|
|
"nativeSrc": "3708:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3708:6:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3811:21:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3811:21:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "3822:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3822:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3827:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3827:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3818:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3818:3:1"
|
|
},
|
|
"nativeSrc": "3818:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3818:14:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "3811:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3811:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "3438:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3438:1:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "3441:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3441:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "3435:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3435:2:1"
|
|
},
|
|
"nativeSrc": "3435:13:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3435:13:1"
|
|
},
|
|
"nativeSrc": "3416:426:1",
|
|
"nodeType": "YulForLoop",
|
|
"post": {
|
|
"nativeSrc": "3449:18:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "3449:18:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "3451:14:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3451:14:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "3460:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3460:1:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "3463:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3463:1:1",
|
|
"type": "",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "3456:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3456:3:1"
|
|
},
|
|
"nativeSrc": "3456:9:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "3456:9:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "3451:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3451:1:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"pre": {
|
|
"nativeSrc": "3420:14:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "3420:14:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "3422:10:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "3422:10:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "3431:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "3431:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "3426:1:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "3426:1:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"src": "3416:426:1"
|
|
},
|
|
{
|
|
"nativeSrc": "3851:11:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3851:11:1",
|
|
"value": {
|
|
"name": "tail",
|
|
"nativeSrc": "3858:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3858:4:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "3851:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3851:3:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "3871:10:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "3871:10:1",
|
|
"value": {
|
|
"name": "pos",
|
|
"nativeSrc": "3878:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3878:3:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "3871:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "3871:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack",
|
|
"nativeSrc": "2816:1071:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "2959:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2959:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "2966:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2966:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "2975:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "2975:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "2816:1071:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4081:265:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "4081:265:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4091:26:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4091:26:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "4103:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4103:9:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4114:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4114:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "4099:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4099:3:1"
|
|
},
|
|
"nativeSrc": "4099:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4099:18:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "4091:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4091:4:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "4138:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4138:9:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4149:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4149:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "4134:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4134:3:1"
|
|
},
|
|
"nativeSrc": "4134:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4134:17:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "4157:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4157:4:1"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "4163:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4163:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "4153:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4153:3:1"
|
|
},
|
|
"nativeSrc": "4153:20:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4153:20:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "4127:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4127:6:1"
|
|
},
|
|
"nativeSrc": "4127:47:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4127:47:1"
|
|
},
|
|
"nativeSrc": "4127:47:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4127:47:1"
|
|
},
|
|
{
|
|
"nativeSrc": "4183:156:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4183:156:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "4325:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4325:6:1"
|
|
},
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "4334:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4334:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack",
|
|
"nativeSrc": "4191:133:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4191:133:1"
|
|
},
|
|
"nativeSrc": "4191:148:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4191:148:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "4183:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4183:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "3893:453:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "4053:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4053:9:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "4065:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4065:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "4076:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4076:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "3893:453:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4392:35:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "4392:35:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "4402:19:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "4402:19:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4418:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4418:2:1",
|
|
"type": "",
|
|
"value": "64"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "4412:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4412:5:1"
|
|
},
|
|
"nativeSrc": "4412:9:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4412:9:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "4402:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4402:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "allocate_unbounded",
|
|
"nativeSrc": "4352:75:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"returnVariables": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "4385:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "4385:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "4352:75:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4522:28:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "4522:28:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4539:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4539:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4542:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4542:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "4532:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4532:6:1"
|
|
},
|
|
"nativeSrc": "4532:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4532:12:1"
|
|
},
|
|
"nativeSrc": "4532:12:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4532:12:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "4433:117:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "4433:117:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4645:28:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "4645:28:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4662:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4662:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4665:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4665:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "4655:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4655:6:1"
|
|
},
|
|
"nativeSrc": "4655:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4655:12:1"
|
|
},
|
|
"nativeSrc": "4655:12:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4655:12:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
"nativeSrc": "4556:117:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "4556:117:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4768:28:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "4768:28:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4785:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4785:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4788:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4788:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "4778:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4778:6:1"
|
|
},
|
|
"nativeSrc": "4778:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4778:12:1"
|
|
},
|
|
"nativeSrc": "4778:12:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4778:12:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
"nativeSrc": "4679:117:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "4679:117:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4891:28:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "4891:28:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4908:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4908:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4911:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4911:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "4901:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4901:6:1"
|
|
},
|
|
"nativeSrc": "4901:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4901:12:1"
|
|
},
|
|
"nativeSrc": "4901:12:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4901:12:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
|
|
"nativeSrc": "4802:117:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "4802:117:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "4953:152:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "4953:152:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4970:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4970:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "4973:77:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "4973:77:1",
|
|
"type": "",
|
|
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "4963:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "4963:6:1"
|
|
},
|
|
"nativeSrc": "4963:88:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "4963:88:1"
|
|
},
|
|
"nativeSrc": "4963:88:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "4963:88:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5067:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5067:1:1",
|
|
"type": "",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5070:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5070:4:1",
|
|
"type": "",
|
|
"value": "0x41"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "5060:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5060:6:1"
|
|
},
|
|
"nativeSrc": "5060:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5060:15:1"
|
|
},
|
|
"nativeSrc": "5060:15:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5060:15:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5091:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5091:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5094:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5094:4:1",
|
|
"type": "",
|
|
"value": "0x24"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "5084:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5084:6:1"
|
|
},
|
|
"nativeSrc": "5084:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5084:15:1"
|
|
},
|
|
"nativeSrc": "5084:15:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5084:15:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "4925:180:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "4925:180:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5154:238:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "5154:238:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5164:58:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "5164:58:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "5186:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5186:6:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5216:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5216:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "5194:21:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5194:21:1"
|
|
},
|
|
"nativeSrc": "5194:27:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5194:27:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5182:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5182:3:1"
|
|
},
|
|
"nativeSrc": "5182:40:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5182:40:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "5168:10:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5168:10:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5333:22:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "5333:22:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "5335:16:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5335:16:1"
|
|
},
|
|
"nativeSrc": "5335:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5335:18:1"
|
|
},
|
|
"nativeSrc": "5335:18:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5335:18:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "5276:10:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5276:10:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5288:18:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5288:18:1",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "5273:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5273:2:1"
|
|
},
|
|
"nativeSrc": "5273:34:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5273:34:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "5312:10:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5312:10:1"
|
|
},
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "5324:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5324:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "5309:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5309:2:1"
|
|
},
|
|
"nativeSrc": "5309:22:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5309:22:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "or",
|
|
"nativeSrc": "5270:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5270:2:1"
|
|
},
|
|
"nativeSrc": "5270:62:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5270:62:1"
|
|
},
|
|
"nativeSrc": "5267:88:1",
|
|
"nodeType": "YulIf",
|
|
"src": "5267:88:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5371:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5371:2:1",
|
|
"type": "",
|
|
"value": "64"
|
|
},
|
|
{
|
|
"name": "newFreePtr",
|
|
"nativeSrc": "5375:10:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5375:10:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "5364:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5364:6:1"
|
|
},
|
|
"nativeSrc": "5364:22:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5364:22:1"
|
|
},
|
|
"nativeSrc": "5364:22:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5364:22:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "finalize_allocation",
|
|
"nativeSrc": "5111:281:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "5140:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5140:6:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5148:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5148:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5111:281:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5439:88:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "5439:88:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "5449:30:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5449:30:1",
|
|
"value": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "allocate_unbounded",
|
|
"nativeSrc": "5459:18:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5459:18:1"
|
|
},
|
|
"nativeSrc": "5459:20:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5459:20:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "5449:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5449:6:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "5508:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5508:6:1"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5516:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5516:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "finalize_allocation",
|
|
"nativeSrc": "5488:19:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5488:19:1"
|
|
},
|
|
"nativeSrc": "5488:33:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5488:33:1"
|
|
},
|
|
"nativeSrc": "5488:33:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5488:33:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "allocate_memory",
|
|
"nativeSrc": "5398:129:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5423:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5423:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "memPtr",
|
|
"nativeSrc": "5432:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5432:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5398:129:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5600:241:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "5600:241:1",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5705:22:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "5705:22:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "5707:16:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5707:16:1"
|
|
},
|
|
"nativeSrc": "5707:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5707:18:1"
|
|
},
|
|
"nativeSrc": "5707:18:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5707:18:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "5677:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5677:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5685:18:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5685:18:1",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "5674:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5674:2:1"
|
|
},
|
|
"nativeSrc": "5674:30:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5674:30:1"
|
|
},
|
|
"nativeSrc": "5671:56:1",
|
|
"nodeType": "YulIf",
|
|
"src": "5671:56:1"
|
|
},
|
|
{
|
|
"nativeSrc": "5737:37:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5737:37:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "5767:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5767:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "5745:21:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5745:21:1"
|
|
},
|
|
"nativeSrc": "5745:29:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5745:29:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5737:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5737:4:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "5811:23:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "5811:23:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5823:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5823:4:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5829:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5829:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5819:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5819:3:1"
|
|
},
|
|
"nativeSrc": "5819:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5819:15:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5811:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5811:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_allocation_size_t_string_memory_ptr",
|
|
"nativeSrc": "5533:308:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "5584:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5584:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "size",
|
|
"nativeSrc": "5595:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5595:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5533:308:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "5911:82:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "5911:82:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "5934:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5934:3:1"
|
|
},
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "5939:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5939:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "5944:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5944:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldatacopy",
|
|
"nativeSrc": "5921:12:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5921:12:1"
|
|
},
|
|
"nativeSrc": "5921:30:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5921:30:1"
|
|
},
|
|
"nativeSrc": "5921:30:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5921:30:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "5971:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5971:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "5976:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5976:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "5967:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5967:3:1"
|
|
},
|
|
"nativeSrc": "5967:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5967:16:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "5985:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "5985:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "5960:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "5960:6:1"
|
|
},
|
|
"nativeSrc": "5960:27:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "5960:27:1"
|
|
},
|
|
"nativeSrc": "5960:27:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "5960:27:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "copy_calldata_to_memory_with_cleanup",
|
|
"nativeSrc": "5847:146:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "5893:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5893:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "5898:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5898:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "5903:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "5903:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5847:146:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6083:341:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "6083:341:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "6093:75:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6093:75:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6160:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6160:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_allocation_size_t_string_memory_ptr",
|
|
"nativeSrc": "6118:41:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6118:41:1"
|
|
},
|
|
"nativeSrc": "6118:49:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6118:49:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "allocate_memory",
|
|
"nativeSrc": "6102:15:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6102:15:1"
|
|
},
|
|
"nativeSrc": "6102:66:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6102:66:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "6093:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6093:5:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "6184:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6184:5:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6191:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6191:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "6177:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6177:6:1"
|
|
},
|
|
"nativeSrc": "6177:21:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6177:21:1"
|
|
},
|
|
"nativeSrc": "6177:21:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6177:21:1"
|
|
},
|
|
{
|
|
"nativeSrc": "6207:27:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6207:27:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "6222:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6222:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6229:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6229:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6218:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6218:3:1"
|
|
},
|
|
"nativeSrc": "6218:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6218:16:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "6211:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6211:3:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6272:83:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "6272:83:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
|
|
"nativeSrc": "6274:77:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6274:77:1"
|
|
},
|
|
"nativeSrc": "6274:79:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6274:79:1"
|
|
},
|
|
"nativeSrc": "6274:79:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6274:79:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "6253:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6253:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6258:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6258:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6249:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6249:3:1"
|
|
},
|
|
"nativeSrc": "6249:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6249:16:1"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "6267:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6267:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "6246:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6246:2:1"
|
|
},
|
|
"nativeSrc": "6246:25:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6246:25:1"
|
|
},
|
|
"nativeSrc": "6243:112:1",
|
|
"nodeType": "YulIf",
|
|
"src": "6243:112:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "6401:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6401:3:1"
|
|
},
|
|
{
|
|
"name": "dst",
|
|
"nativeSrc": "6406:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6406:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6411:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6411:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_calldata_to_memory_with_cleanup",
|
|
"nativeSrc": "6364:36:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6364:36:1"
|
|
},
|
|
"nativeSrc": "6364:54:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6364:54:1"
|
|
},
|
|
"nativeSrc": "6364:54:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6364:54:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_available_length_t_string_memory_ptr",
|
|
"nativeSrc": "5999:425:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "6056:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6056:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6061:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6061:6:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "6069:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6069:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "6077:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6077:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "5999:425:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6506:278:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "6506:278:1",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6555:83:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "6555:83:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
|
|
"nativeSrc": "6557:77:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6557:77:1"
|
|
},
|
|
"nativeSrc": "6557:79:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6557:79:1"
|
|
},
|
|
"nativeSrc": "6557:79:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6557:79:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6534:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6534:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6542:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6542:4:1",
|
|
"type": "",
|
|
"value": "0x1f"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6530:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6530:3:1"
|
|
},
|
|
"nativeSrc": "6530:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6530:17:1"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "6549:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6549:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "6526:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6526:3:1"
|
|
},
|
|
"nativeSrc": "6526:27:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6526:27:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "6519:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6519:6:1"
|
|
},
|
|
"nativeSrc": "6519:35:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6519:35:1"
|
|
},
|
|
"nativeSrc": "6516:122:1",
|
|
"nodeType": "YulIf",
|
|
"src": "6516:122:1"
|
|
},
|
|
{
|
|
"nativeSrc": "6647:34:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "6647:34:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6674:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6674:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "6661:12:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6661:12:1"
|
|
},
|
|
"nativeSrc": "6661:20:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6661:20:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6651:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6651:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "6690:88:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "6690:88:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6751:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6751:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6759:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6759:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "6747:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6747:3:1"
|
|
},
|
|
"nativeSrc": "6747:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6747:17:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "6766:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6766:6:1"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "6774:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6774:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_available_length_t_string_memory_ptr",
|
|
"nativeSrc": "6699:47:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6699:47:1"
|
|
},
|
|
"nativeSrc": "6699:79:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6699:79:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "6690:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6690:5:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "6444:340:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "6484:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6484:6:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "6492:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6492:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "6500:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6500:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "6444:340:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6866:433:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "6866:433:1",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "6912:83:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "6912:83:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
|
|
"nativeSrc": "6914:77:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6914:77:1"
|
|
},
|
|
"nativeSrc": "6914:79:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6914:79:1"
|
|
},
|
|
"nativeSrc": "6914:79:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "6914:79:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6887:7:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6887:7:1"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6896:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6896:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "6883:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6883:3:1"
|
|
},
|
|
"nativeSrc": "6883:23:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6883:23:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "6908:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "6908:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "slt",
|
|
"nativeSrc": "6879:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "6879:3:1"
|
|
},
|
|
"nativeSrc": "6879:32:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "6879:32:1"
|
|
},
|
|
"nativeSrc": "6876:119:1",
|
|
"nodeType": "YulIf",
|
|
"src": "6876:119:1"
|
|
},
|
|
{
|
|
"nativeSrc": "7005:287:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "7005:287:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7020:45:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "7020:45:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7051:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7051:9:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7062:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7062:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7047:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7047:3:1"
|
|
},
|
|
"nativeSrc": "7047:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7047:17:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "calldataload",
|
|
"nativeSrc": "7034:12:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7034:12:1"
|
|
},
|
|
"nativeSrc": "7034:31:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7034:31:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "7024:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7024:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7112:83:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "7112:83:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
|
|
"nativeSrc": "7114:77:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7114:77:1"
|
|
},
|
|
"nativeSrc": "7114:79:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7114:79:1"
|
|
},
|
|
"nativeSrc": "7114:79:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7114:79:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "7084:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7084:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7092:18:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7092:18:1",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "7081:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7081:2:1"
|
|
},
|
|
"nativeSrc": "7081:30:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7081:30:1"
|
|
},
|
|
"nativeSrc": "7078:117:1",
|
|
"nodeType": "YulIf",
|
|
"src": "7078:117:1"
|
|
},
|
|
{
|
|
"nativeSrc": "7209:73:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7209:73:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "7254:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7254:9:1"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "7265:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7265:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "7250:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7250:3:1"
|
|
},
|
|
"nativeSrc": "7250:22:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7250:22:1"
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "7274:7:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7274:7:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_decode_t_string_memory_ptr",
|
|
"nativeSrc": "7219:30:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7219:30:1"
|
|
},
|
|
"nativeSrc": "7219:63:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7219:63:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "7209:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7209:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_decode_tuple_t_string_memory_ptr",
|
|
"nativeSrc": "6790:509:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "6836:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6836:9:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "dataEnd",
|
|
"nativeSrc": "6847:7:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6847:7:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "6859:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "6859:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "6790:509:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7333:152:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "7333:152:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7350:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7350:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7353:77:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7353:77:1",
|
|
"type": "",
|
|
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7343:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7343:6:1"
|
|
},
|
|
"nativeSrc": "7343:88:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7343:88:1"
|
|
},
|
|
"nativeSrc": "7343:88:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7343:88:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7447:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7447:1:1",
|
|
"type": "",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7450:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7450:4:1",
|
|
"type": "",
|
|
"value": "0x22"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7440:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7440:6:1"
|
|
},
|
|
"nativeSrc": "7440:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7440:15:1"
|
|
},
|
|
"nativeSrc": "7440:15:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7440:15:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7471:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7471:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7474:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7474:4:1",
|
|
"type": "",
|
|
"value": "0x24"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "7464:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7464:6:1"
|
|
},
|
|
"nativeSrc": "7464:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7464:15:1"
|
|
},
|
|
"nativeSrc": "7464:15:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7464:15:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "panic_error_0x22",
|
|
"nativeSrc": "7305:180:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "7305:180:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7542:269:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "7542:269:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7552:22:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7552:22:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "7566:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7566:4:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7572:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7572:1:1",
|
|
"type": "",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "div",
|
|
"nativeSrc": "7562:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7562:3:1"
|
|
},
|
|
"nativeSrc": "7562:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7562:12:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "7552:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7552:6:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "7583:38:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "7583:38:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "7613:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7613:4:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7619:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7619:1:1",
|
|
"type": "",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "7609:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7609:3:1"
|
|
},
|
|
"nativeSrc": "7609:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7609:12:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "outOfPlaceEncoding",
|
|
"nativeSrc": "7587:18:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7587:18:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7660:51:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "7660:51:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "7674:27:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "7674:27:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "7688:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7688:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7696:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7696:4:1",
|
|
"type": "",
|
|
"value": "0x7f"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "7684:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7684:3:1"
|
|
},
|
|
"nativeSrc": "7684:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7684:17:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "7674:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7674:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "outOfPlaceEncoding",
|
|
"nativeSrc": "7640:18:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7640:18:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "iszero",
|
|
"nativeSrc": "7633:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7633:6:1"
|
|
},
|
|
"nativeSrc": "7633:26:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7633:26:1"
|
|
},
|
|
"nativeSrc": "7630:81:1",
|
|
"nodeType": "YulIf",
|
|
"src": "7630:81:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7763:42:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "7763:42:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x22",
|
|
"nativeSrc": "7777:16:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7777:16:1"
|
|
},
|
|
"nativeSrc": "7777:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7777:18:1"
|
|
},
|
|
"nativeSrc": "7777:18:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7777:18:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "outOfPlaceEncoding",
|
|
"nativeSrc": "7727:18:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7727:18:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "7750:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7750:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7758:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7758:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "7747:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7747:2:1"
|
|
},
|
|
"nativeSrc": "7747:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7747:14:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "eq",
|
|
"nativeSrc": "7724:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7724:2:1"
|
|
},
|
|
"nativeSrc": "7724:38:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7724:38:1"
|
|
},
|
|
"nativeSrc": "7721:84:1",
|
|
"nodeType": "YulIf",
|
|
"src": "7721:84:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "extract_byte_array_length",
|
|
"nativeSrc": "7491:320:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "7526:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7526:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "7535:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "7535:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "7491:320:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "7845:152:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "7845:152:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7862:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7862:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7865:77:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7865:77:1",
|
|
"type": "",
|
|
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7855:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7855:6:1"
|
|
},
|
|
"nativeSrc": "7855:88:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7855:88:1"
|
|
},
|
|
"nativeSrc": "7855:88:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7855:88:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7959:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7959:1:1",
|
|
"type": "",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7962:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7962:4:1",
|
|
"type": "",
|
|
"value": "0x11"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "7952:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7952:6:1"
|
|
},
|
|
"nativeSrc": "7952:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7952:15:1"
|
|
},
|
|
"nativeSrc": "7952:15:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7952:15:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7983:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7983:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "7986:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "7986:4:1",
|
|
"type": "",
|
|
"value": "0x24"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "revert",
|
|
"nativeSrc": "7976:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "7976:6:1"
|
|
},
|
|
"nativeSrc": "7976:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "7976:15:1"
|
|
},
|
|
"nativeSrc": "7976:15:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "7976:15:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "panic_error_0x11",
|
|
"nativeSrc": "7817:180:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"src": "7817:180:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8047:147:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "8047:147:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8057:25:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8057:25:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "x",
|
|
"nativeSrc": "8080:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8080:1:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "8062:17:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8062:17:1"
|
|
},
|
|
"nativeSrc": "8062:20:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8062:20:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "x",
|
|
"nativeSrc": "8057:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8057:1:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "8091:25:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8091:25:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "y",
|
|
"nativeSrc": "8114:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8114:1:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "8096:17:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8096:17:1"
|
|
},
|
|
"nativeSrc": "8096:20:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8096:20:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "y",
|
|
"nativeSrc": "8091:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8091:1:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "8125:16:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8125:16:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "x",
|
|
"nativeSrc": "8136:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8136:1:1"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"nativeSrc": "8139:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8139:1:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "8132:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8132:3:1"
|
|
},
|
|
"nativeSrc": "8132:9:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8132:9:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "sum",
|
|
"nativeSrc": "8125:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8125:3:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8165:22:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "8165:22:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x11",
|
|
"nativeSrc": "8167:16:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8167:16:1"
|
|
},
|
|
"nativeSrc": "8167:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8167:18:1"
|
|
},
|
|
"nativeSrc": "8167:18:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8167:18:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "x",
|
|
"nativeSrc": "8157:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8157:1:1"
|
|
},
|
|
{
|
|
"name": "sum",
|
|
"nativeSrc": "8160:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8160:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "8154:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8154:2:1"
|
|
},
|
|
"nativeSrc": "8154:10:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8154:10:1"
|
|
},
|
|
"nativeSrc": "8151:36:1",
|
|
"nodeType": "YulIf",
|
|
"src": "8151:36:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "checked_add_t_uint256",
|
|
"nativeSrc": "8003:191:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "x",
|
|
"nativeSrc": "8034:1:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8034:1:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "y",
|
|
"nativeSrc": "8037:1:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8037:1:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "sum",
|
|
"nativeSrc": "8043:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8043:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8003:191:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8254:87:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "8254:87:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8264:11:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8264:11:1",
|
|
"value": {
|
|
"name": "ptr",
|
|
"nativeSrc": "8272:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8272:3:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "8264:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8264:4:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8292:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8292:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "ptr",
|
|
"nativeSrc": "8295:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8295:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "8285:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8285:6:1"
|
|
},
|
|
"nativeSrc": "8285:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8285:14:1"
|
|
},
|
|
"nativeSrc": "8285:14:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "8285:14:1"
|
|
},
|
|
{
|
|
"nativeSrc": "8308:26:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8308:26:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8326:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8326:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8329:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8329:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "keccak256",
|
|
"nativeSrc": "8316:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8316:9:1"
|
|
},
|
|
"nativeSrc": "8316:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8316:18:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "8308:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8308:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_dataslot_t_string_storage",
|
|
"nativeSrc": "8200:141:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "ptr",
|
|
"nativeSrc": "8241:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8241:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "8249:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8249:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8200:141:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8391:49:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "8391:49:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8401:33:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8401:33:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8419:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8419:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8426:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8426:2:1",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "8415:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8415:3:1"
|
|
},
|
|
"nativeSrc": "8415:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8415:14:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8431:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8431:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "div",
|
|
"nativeSrc": "8411:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8411:3:1"
|
|
},
|
|
"nativeSrc": "8411:23:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8411:23:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "8401:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8401:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "divide_by_32_ceil",
|
|
"nativeSrc": "8347:93:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8374:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8374:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "8384:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8384:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8347:93:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8499:54:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "8499:54:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8509:37:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8509:37:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "bits",
|
|
"nativeSrc": "8534:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8534:4:1"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8540:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8540:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shl",
|
|
"nativeSrc": "8530:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8530:3:1"
|
|
},
|
|
"nativeSrc": "8530:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8530:16:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "8509:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8509:8:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "shift_left_dynamic",
|
|
"nativeSrc": "8446:107:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "bits",
|
|
"nativeSrc": "8474:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8474:4:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8480:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8480:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "8490:8:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8490:8:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8446:107:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8635:317:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "8635:317:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "8645:35:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "8645:35:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "shiftBytes",
|
|
"nativeSrc": "8666:10:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8666:10:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8678:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8678:1:1",
|
|
"type": "",
|
|
"value": "8"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mul",
|
|
"nativeSrc": "8662:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8662:3:1"
|
|
},
|
|
"nativeSrc": "8662:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8662:18:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "shiftBits",
|
|
"nativeSrc": "8649:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8649:9:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "8689:109:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "8689:109:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "shiftBits",
|
|
"nativeSrc": "8720:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8720:9:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "8731:66:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "8731:66:1",
|
|
"type": "",
|
|
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shift_left_dynamic",
|
|
"nativeSrc": "8701:18:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8701:18:1"
|
|
},
|
|
"nativeSrc": "8701:97:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8701:97:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "mask",
|
|
"nativeSrc": "8693:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8693:4:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "8807:51:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8807:51:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "shiftBits",
|
|
"nativeSrc": "8838:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8838:9:1"
|
|
},
|
|
{
|
|
"name": "toInsert",
|
|
"nativeSrc": "8849:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8849:8:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shift_left_dynamic",
|
|
"nativeSrc": "8819:18:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8819:18:1"
|
|
},
|
|
"nativeSrc": "8819:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8819:39:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "toInsert",
|
|
"nativeSrc": "8807:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8807:8:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "8867:30:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8867:30:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8880:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8880:5:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "mask",
|
|
"nativeSrc": "8891:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8891:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "not",
|
|
"nativeSrc": "8887:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8887:3:1"
|
|
},
|
|
"nativeSrc": "8887:9:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8887:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "8876:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8876:3:1"
|
|
},
|
|
"nativeSrc": "8876:21:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8876:21:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8867:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8867:5:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "8906:40:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "8906:40:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8919:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8919:5:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "toInsert",
|
|
"nativeSrc": "8930:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8930:8:1"
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"nativeSrc": "8940:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8940:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "8926:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8926:3:1"
|
|
},
|
|
"nativeSrc": "8926:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8926:19:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "or",
|
|
"nativeSrc": "8916:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8916:2:1"
|
|
},
|
|
"nativeSrc": "8916:30:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "8916:30:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "8906:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "8906:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "update_byte_slice_dynamic32",
|
|
"nativeSrc": "8559:393:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8596:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8596:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "shiftBytes",
|
|
"nativeSrc": "8603:10:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8603:10:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "toInsert",
|
|
"nativeSrc": "8615:8:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8615:8:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "8628:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8628:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8559:393:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "8990:28:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "8990:28:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9000:12:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9000:12:1",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "9007:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9007:5:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "9000:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9000:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "identity",
|
|
"nativeSrc": "8958:60:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "8976:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8976:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "8986:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "8986:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "8958:60:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9084:82:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9084:82:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9094:66:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9094:66:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "9152:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9152:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "9134:17:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9134:17:1"
|
|
},
|
|
"nativeSrc": "9134:24:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9134:24:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "identity",
|
|
"nativeSrc": "9125:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9125:8:1"
|
|
},
|
|
"nativeSrc": "9125:34:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9125:34:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "cleanup_t_uint256",
|
|
"nativeSrc": "9107:17:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9107:17:1"
|
|
},
|
|
"nativeSrc": "9107:53:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9107:53:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "9094:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9094:9:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "convert_t_uint256_to_t_uint256",
|
|
"nativeSrc": "9024:142:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "9064:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9064:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "converted",
|
|
"nativeSrc": "9074:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9074:9:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9024:142:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9219:28:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9219:28:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9229:12:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9229:12:1",
|
|
"value": {
|
|
"name": "value",
|
|
"nativeSrc": "9236:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9236:5:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "9229:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9229:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "prepare_store_t_uint256",
|
|
"nativeSrc": "9172:75:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "9205:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9205:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "9215:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9215:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9172:75:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9329:193:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9329:193:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9339:63:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "9339:63:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value_0",
|
|
"nativeSrc": "9394:7:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9394:7:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "convert_t_uint256_to_t_uint256",
|
|
"nativeSrc": "9363:30:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9363:30:1"
|
|
},
|
|
"nativeSrc": "9363:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9363:39:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "convertedValue_0",
|
|
"nativeSrc": "9343:16:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9343:16:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "9418:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9418:4:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "9458:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9458:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sload",
|
|
"nativeSrc": "9452:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9452:5:1"
|
|
},
|
|
"nativeSrc": "9452:11:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9452:11:1"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "9465:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9465:6:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "convertedValue_0",
|
|
"nativeSrc": "9497:16:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9497:16:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "prepare_store_t_uint256",
|
|
"nativeSrc": "9473:23:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9473:23:1"
|
|
},
|
|
"nativeSrc": "9473:41:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9473:41:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "update_byte_slice_dynamic32",
|
|
"nativeSrc": "9424:27:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9424:27:1"
|
|
},
|
|
"nativeSrc": "9424:91:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9424:91:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sstore",
|
|
"nativeSrc": "9411:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9411:6:1"
|
|
},
|
|
"nativeSrc": "9411:105:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9411:105:1"
|
|
},
|
|
"nativeSrc": "9411:105:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9411:105:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "update_storage_value_t_uint256_to_t_uint256",
|
|
"nativeSrc": "9253:269:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "9306:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9306:4:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "9312:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9312:6:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value_0",
|
|
"nativeSrc": "9320:7:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9320:7:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9253:269:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9577:24:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9577:24:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9587:8:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9587:8:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "9594:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9594:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "9587:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9587:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "zero_value_for_split_t_uint256",
|
|
"nativeSrc": "9528:73:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"returnVariables": [
|
|
{
|
|
"name": "ret",
|
|
"nativeSrc": "9573:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9573:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9528:73:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9660:136:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9660:136:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9670:46:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "9670:46:1",
|
|
"value": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "zero_value_for_split_t_uint256",
|
|
"nativeSrc": "9684:30:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9684:30:1"
|
|
},
|
|
"nativeSrc": "9684:32:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9684:32:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "zero_0",
|
|
"nativeSrc": "9674:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9674:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "9769:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9769:4:1"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "9775:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9775:6:1"
|
|
},
|
|
{
|
|
"name": "zero_0",
|
|
"nativeSrc": "9783:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9783:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "update_storage_value_t_uint256_to_t_uint256",
|
|
"nativeSrc": "9725:43:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9725:43:1"
|
|
},
|
|
"nativeSrc": "9725:65:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9725:65:1"
|
|
},
|
|
"nativeSrc": "9725:65:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9725:65:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "storage_set_to_zero_t_uint256",
|
|
"nativeSrc": "9607:189:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "9646:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9646:4:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"nativeSrc": "9652:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9652:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9607:189:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9852:136:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9852:136:1",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "9919:63:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9919:63:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "start",
|
|
"nativeSrc": "9963:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9963:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9970:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9970:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "storage_set_to_zero_t_uint256",
|
|
"nativeSrc": "9933:29:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9933:29:1"
|
|
},
|
|
"nativeSrc": "9933:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9933:39:1"
|
|
},
|
|
"nativeSrc": "9933:39:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "9933:39:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "start",
|
|
"nativeSrc": "9872:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9872:5:1"
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "9879:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9879:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "9869:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9869:2:1"
|
|
},
|
|
"nativeSrc": "9869:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9869:14:1"
|
|
},
|
|
"nativeSrc": "9862:120:1",
|
|
"nodeType": "YulForLoop",
|
|
"post": {
|
|
"nativeSrc": "9884:26:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9884:26:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "9886:22:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "9886:22:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "start",
|
|
"nativeSrc": "9899:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9899:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "9906:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "9906:1:1",
|
|
"type": "",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "9895:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9895:3:1"
|
|
},
|
|
"nativeSrc": "9895:13:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "9895:13:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "start",
|
|
"nativeSrc": "9886:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "9886:5:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"pre": {
|
|
"nativeSrc": "9866:2:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "9866:2:1",
|
|
"statements": []
|
|
},
|
|
"src": "9862:120:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "clear_storage_range_t_bytes1",
|
|
"nativeSrc": "9802:186:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "start",
|
|
"nativeSrc": "9840:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9840:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "9847:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "9847:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9802:186:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10073:464:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "10073:464:1",
|
|
"statements": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10099:431:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "10099:431:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10113:54:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "10113:54:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "10161:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10161:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_dataslot_t_string_storage",
|
|
"nativeSrc": "10129:31:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10129:31:1"
|
|
},
|
|
"nativeSrc": "10129:38:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10129:38:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "dataArea",
|
|
"nativeSrc": "10117:8:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10117:8:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "10180:63:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "10180:63:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "dataArea",
|
|
"nativeSrc": "10203:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10203:8:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "startIndex",
|
|
"nativeSrc": "10231:10:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10231:10:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "divide_by_32_ceil",
|
|
"nativeSrc": "10213:17:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10213:17:1"
|
|
},
|
|
"nativeSrc": "10213:29:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10213:29:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "10199:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10199:3:1"
|
|
},
|
|
"nativeSrc": "10199:44:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10199:44:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "deleteStart",
|
|
"nativeSrc": "10184:11:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10184:11:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10400:27:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "10400:27:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10402:23:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10402:23:1",
|
|
"value": {
|
|
"name": "dataArea",
|
|
"nativeSrc": "10417:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10417:8:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "deleteStart",
|
|
"nativeSrc": "10402:11:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10402:11:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "startIndex",
|
|
"nativeSrc": "10384:10:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10384:10:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10396:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10396:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "10381:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10381:2:1"
|
|
},
|
|
"nativeSrc": "10381:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10381:18:1"
|
|
},
|
|
"nativeSrc": "10378:49:1",
|
|
"nodeType": "YulIf",
|
|
"src": "10378:49:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "deleteStart",
|
|
"nativeSrc": "10469:11:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10469:11:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "dataArea",
|
|
"nativeSrc": "10486:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10486:8:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "len",
|
|
"nativeSrc": "10514:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10514:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "divide_by_32_ceil",
|
|
"nativeSrc": "10496:17:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10496:17:1"
|
|
},
|
|
"nativeSrc": "10496:22:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10496:22:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "10482:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10482:3:1"
|
|
},
|
|
"nativeSrc": "10482:37:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10482:37:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "clear_storage_range_t_bytes1",
|
|
"nativeSrc": "10440:28:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10440:28:1"
|
|
},
|
|
"nativeSrc": "10440:80:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10440:80:1"
|
|
},
|
|
"nativeSrc": "10440:80:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "10440:80:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "len",
|
|
"nativeSrc": "10090:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10090:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10095:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10095:2:1",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "10087:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10087:2:1"
|
|
},
|
|
"nativeSrc": "10087:11:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10087:11:1"
|
|
},
|
|
"nativeSrc": "10084:446:1",
|
|
"nodeType": "YulIf",
|
|
"src": "10084:446:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "clean_up_bytearray_end_slots_t_string_storage",
|
|
"nativeSrc": "9994:543:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "array",
|
|
"nativeSrc": "10049:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10049:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "len",
|
|
"nativeSrc": "10056:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10056:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "startIndex",
|
|
"nativeSrc": "10061:10:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10061:10:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "9994:543:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10606:54:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "10606:54:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10616:37:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10616:37:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "bits",
|
|
"nativeSrc": "10641:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10641:4:1"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10647:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10647:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shr",
|
|
"nativeSrc": "10637:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10637:3:1"
|
|
},
|
|
"nativeSrc": "10637:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10637:16:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "10616:8:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10616:8:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "shift_right_unsigned_dynamic",
|
|
"nativeSrc": "10543:117:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "bits",
|
|
"nativeSrc": "10581:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10581:4:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "10587:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10587:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "newValue",
|
|
"nativeSrc": "10597:8:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10597:8:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10543:117:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10717:118:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "10717:118:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "10727:68:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "10727:68:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10776:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10776:1:1",
|
|
"type": "",
|
|
"value": "8"
|
|
},
|
|
{
|
|
"name": "bytes",
|
|
"nativeSrc": "10779:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10779:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mul",
|
|
"nativeSrc": "10772:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10772:3:1"
|
|
},
|
|
"nativeSrc": "10772:13:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10772:13:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "10791:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "10791:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "not",
|
|
"nativeSrc": "10787:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10787:3:1"
|
|
},
|
|
"nativeSrc": "10787:6:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10787:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "shift_right_unsigned_dynamic",
|
|
"nativeSrc": "10743:28:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10743:28:1"
|
|
},
|
|
"nativeSrc": "10743:51:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10743:51:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "not",
|
|
"nativeSrc": "10739:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10739:3:1"
|
|
},
|
|
"nativeSrc": "10739:56:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10739:56:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "mask",
|
|
"nativeSrc": "10731:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10731:4:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "10804:25:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "10804:25:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "10818:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10818:4:1"
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"nativeSrc": "10824:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10824:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "10814:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10814:3:1"
|
|
},
|
|
"nativeSrc": "10814:15:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "10814:15:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "10804:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "10804:6:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "mask_bytes_dynamic",
|
|
"nativeSrc": "10666:169:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "10694:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10694:4:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "bytes",
|
|
"nativeSrc": "10700:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10700:5:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "result",
|
|
"nativeSrc": "10710:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10710:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10666:169:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "10921:214:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "10921:214:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11054:37:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11054:37:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "11081:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11081:4:1"
|
|
},
|
|
{
|
|
"name": "len",
|
|
"nativeSrc": "11087:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11087:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mask_bytes_dynamic",
|
|
"nativeSrc": "11062:18:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11062:18:1"
|
|
},
|
|
"nativeSrc": "11062:29:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11062:29:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "11054:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11054:4:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "11100:29:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11100:29:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "11111:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11111:4:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11121:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11121:1:1",
|
|
"type": "",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"name": "len",
|
|
"nativeSrc": "11124:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11124:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mul",
|
|
"nativeSrc": "11117:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11117:3:1"
|
|
},
|
|
"nativeSrc": "11117:11:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11117:11:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "or",
|
|
"nativeSrc": "11108:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11108:2:1"
|
|
},
|
|
"nativeSrc": "11108:21:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11108:21:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "used",
|
|
"nativeSrc": "11100:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11100:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "extract_used_part_and_set_length_of_short_byte_array",
|
|
"nativeSrc": "10840:295:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "data",
|
|
"nativeSrc": "10902:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10902:4:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "len",
|
|
"nativeSrc": "10908:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10908:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "used",
|
|
"nativeSrc": "10916:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "10916:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "10840:295:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11232:1303:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "11232:1303:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11243:51:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11243:51:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "11290:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11290:3:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "11257:32:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11257:32:1"
|
|
},
|
|
"nativeSrc": "11257:37:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11257:37:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "11247:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11247:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11379:22:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "11379:22:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [],
|
|
"functionName": {
|
|
"name": "panic_error_0x41",
|
|
"nativeSrc": "11381:16:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11381:16:1"
|
|
},
|
|
"nativeSrc": "11381:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11381:18:1"
|
|
},
|
|
"nativeSrc": "11381:18:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11381:18:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "11351:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11351:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11359:18:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11359:18:1",
|
|
"type": "",
|
|
"value": "0xffffffffffffffff"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "11348:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11348:2:1"
|
|
},
|
|
"nativeSrc": "11348:30:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11348:30:1"
|
|
},
|
|
"nativeSrc": "11345:56:1",
|
|
"nodeType": "YulIf",
|
|
"src": "11345:56:1"
|
|
},
|
|
{
|
|
"nativeSrc": "11411:52:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11411:52:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "11457:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11457:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sload",
|
|
"nativeSrc": "11451:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11451:5:1"
|
|
},
|
|
"nativeSrc": "11451:11:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11451:11:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "extract_byte_array_length",
|
|
"nativeSrc": "11425:25:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11425:25:1"
|
|
},
|
|
"nativeSrc": "11425:38:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11425:38:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "oldLen",
|
|
"nativeSrc": "11415:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11415:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "11556:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11556:4:1"
|
|
},
|
|
{
|
|
"name": "oldLen",
|
|
"nativeSrc": "11562:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11562:6:1"
|
|
},
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "11570:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11570:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "clean_up_bytearray_end_slots_t_string_storage",
|
|
"nativeSrc": "11510:45:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11510:45:1"
|
|
},
|
|
"nativeSrc": "11510:67:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11510:67:1"
|
|
},
|
|
"nativeSrc": "11510:67:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11510:67:1"
|
|
},
|
|
{
|
|
"nativeSrc": "11587:18:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11587:18:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "11604:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11604:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "srcOffset",
|
|
"nativeSrc": "11591:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11591:9:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "11615:17:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11615:17:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "11628:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11628:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "srcOffset",
|
|
"nativeSrc": "11615:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11615:9:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"cases": [
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11679:611:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "11679:611:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11693:37:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11693:37:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "11712:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11712:6:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11724:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11724:4:1",
|
|
"type": "",
|
|
"value": "0x1f"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "not",
|
|
"nativeSrc": "11720:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11720:3:1"
|
|
},
|
|
"nativeSrc": "11720:9:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11720:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "11708:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11708:3:1"
|
|
},
|
|
"nativeSrc": "11708:22:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11708:22:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "loopEnd",
|
|
"nativeSrc": "11697:7:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11697:7:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "11744:51:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11744:51:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "11790:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11790:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_dataslot_t_string_storage",
|
|
"nativeSrc": "11758:31:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11758:31:1"
|
|
},
|
|
"nativeSrc": "11758:37:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11758:37:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "dstPtr",
|
|
"nativeSrc": "11748:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11748:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "11808:10:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "11808:10:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "11817:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11817:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11812:1:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11812:1:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "11876:163:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "11876:163:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "dstPtr",
|
|
"nativeSrc": "11901:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11901:6:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "11919:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11919:3:1"
|
|
},
|
|
{
|
|
"name": "srcOffset",
|
|
"nativeSrc": "11924:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11924:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11915:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11915:3:1"
|
|
},
|
|
"nativeSrc": "11915:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11915:19:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "11909:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11909:5:1"
|
|
},
|
|
"nativeSrc": "11909:26:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11909:26:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sstore",
|
|
"nativeSrc": "11894:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11894:6:1"
|
|
},
|
|
"nativeSrc": "11894:42:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11894:42:1"
|
|
},
|
|
"nativeSrc": "11894:42:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "11894:42:1"
|
|
},
|
|
{
|
|
"nativeSrc": "11953:24:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11953:24:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "dstPtr",
|
|
"nativeSrc": "11967:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11967:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11975:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11975:1:1",
|
|
"type": "",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11963:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11963:3:1"
|
|
},
|
|
"nativeSrc": "11963:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11963:14:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "dstPtr",
|
|
"nativeSrc": "11953:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11953:6:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "11994:31:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11994:31:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "srcOffset",
|
|
"nativeSrc": "12011:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12011:9:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12022:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12022:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12007:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12007:3:1"
|
|
},
|
|
"nativeSrc": "12007:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12007:18:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "srcOffset",
|
|
"nativeSrc": "11994:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11994:9:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11842:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11842:1:1"
|
|
},
|
|
{
|
|
"name": "loopEnd",
|
|
"nativeSrc": "11845:7:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11845:7:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "11839:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11839:2:1"
|
|
},
|
|
"nativeSrc": "11839:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11839:14:1"
|
|
},
|
|
"nativeSrc": "11831:208:1",
|
|
"nodeType": "YulForLoop",
|
|
"post": {
|
|
"nativeSrc": "11854:21:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "11854:21:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "11856:17:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "11856:17:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11865:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11865:1:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11868:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11868:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "11861:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11861:3:1"
|
|
},
|
|
"nativeSrc": "11861:12:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11861:12:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "i",
|
|
"nativeSrc": "11856:1:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11856:1:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"pre": {
|
|
"nativeSrc": "11835:3:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "11835:3:1",
|
|
"statements": []
|
|
},
|
|
"src": "11831:208:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12075:156:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "12075:156:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "12093:43:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "12093:43:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "12120:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12120:3:1"
|
|
},
|
|
{
|
|
"name": "srcOffset",
|
|
"nativeSrc": "12125:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12125:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12116:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12116:3:1"
|
|
},
|
|
"nativeSrc": "12116:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12116:19:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "12110:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12110:5:1"
|
|
},
|
|
"nativeSrc": "12110:26:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12110:26:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "lastValue",
|
|
"nativeSrc": "12097:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12097:9:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "dstPtr",
|
|
"nativeSrc": "12160:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12160:6:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "lastValue",
|
|
"nativeSrc": "12187:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12187:9:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "12202:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12202:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12210:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12210:4:1",
|
|
"type": "",
|
|
"value": "0x1f"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "and",
|
|
"nativeSrc": "12198:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12198:3:1"
|
|
},
|
|
"nativeSrc": "12198:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12198:17:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mask_bytes_dynamic",
|
|
"nativeSrc": "12168:18:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12168:18:1"
|
|
},
|
|
"nativeSrc": "12168:48:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12168:48:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sstore",
|
|
"nativeSrc": "12153:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12153:6:1"
|
|
},
|
|
"nativeSrc": "12153:64:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12153:64:1"
|
|
},
|
|
"nativeSrc": "12153:64:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12153:64:1"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"arguments": [
|
|
{
|
|
"name": "loopEnd",
|
|
"nativeSrc": "12058:7:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12058:7:1"
|
|
},
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "12067:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12067:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "lt",
|
|
"nativeSrc": "12055:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12055:2:1"
|
|
},
|
|
"nativeSrc": "12055:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12055:19:1"
|
|
},
|
|
"nativeSrc": "12052:179:1",
|
|
"nodeType": "YulIf",
|
|
"src": "12052:179:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "12251:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12251:4:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "12265:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12265:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12273:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12273:1:1",
|
|
"type": "",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mul",
|
|
"nativeSrc": "12261:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12261:3:1"
|
|
},
|
|
"nativeSrc": "12261:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12261:14:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12277:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12277:1:1",
|
|
"type": "",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12257:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12257:3:1"
|
|
},
|
|
"nativeSrc": "12257:22:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12257:22:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sstore",
|
|
"nativeSrc": "12244:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12244:6:1"
|
|
},
|
|
"nativeSrc": "12244:36:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12244:36:1"
|
|
},
|
|
"nativeSrc": "12244:36:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12244:36:1"
|
|
}
|
|
]
|
|
},
|
|
"nativeSrc": "11672:618:1",
|
|
"nodeType": "YulCase",
|
|
"src": "11672:618:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "11677:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11677:1:1",
|
|
"type": "",
|
|
"value": "1"
|
|
}
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12307:222:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "12307:222:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "12321:14:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "12321:14:1",
|
|
"value": {
|
|
"kind": "number",
|
|
"nativeSrc": "12334:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12334:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12325:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12325:5:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12358:67:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "12358:67:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "12376:35:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12376:35:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "12395:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12395:3:1"
|
|
},
|
|
{
|
|
"name": "srcOffset",
|
|
"nativeSrc": "12400:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12400:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12391:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12391:3:1"
|
|
},
|
|
"nativeSrc": "12391:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12391:19:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mload",
|
|
"nativeSrc": "12385:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12385:5:1"
|
|
},
|
|
"nativeSrc": "12385:26:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12385:26:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12376:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12376:5:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"name": "newLen",
|
|
"nativeSrc": "12351:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12351:6:1"
|
|
},
|
|
"nativeSrc": "12348:77:1",
|
|
"nodeType": "YulIf",
|
|
"src": "12348:77:1"
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "12445:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12445:4:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12504:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12504:5:1"
|
|
},
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "12511:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12511:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "extract_used_part_and_set_length_of_short_byte_array",
|
|
"nativeSrc": "12451:52:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12451:52:1"
|
|
},
|
|
"nativeSrc": "12451:67:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12451:67:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sstore",
|
|
"nativeSrc": "12438:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12438:6:1"
|
|
},
|
|
"nativeSrc": "12438:81:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12438:81:1"
|
|
},
|
|
"nativeSrc": "12438:81:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12438:81:1"
|
|
}
|
|
]
|
|
},
|
|
"nativeSrc": "12299:230:1",
|
|
"nodeType": "YulCase",
|
|
"src": "12299:230:1",
|
|
"value": "default"
|
|
}
|
|
],
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "newLen",
|
|
"nativeSrc": "11652:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11652:6:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "11660:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "11660:2:1",
|
|
"type": "",
|
|
"value": "31"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "gt",
|
|
"nativeSrc": "11649:2:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "11649:2:1"
|
|
},
|
|
"nativeSrc": "11649:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "11649:14:1"
|
|
},
|
|
"nativeSrc": "11642:887:1",
|
|
"nodeType": "YulSwitch",
|
|
"src": "11642:887:1"
|
|
}
|
|
]
|
|
},
|
|
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
|
|
"nativeSrc": "11140:1395:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "slot",
|
|
"nativeSrc": "11221:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11221:4:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "src",
|
|
"nativeSrc": "11227:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "11227:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "11140:1395:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12637:73:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "12637:73:1",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12654:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12654:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12659:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12659:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "12647:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12647:6:1"
|
|
},
|
|
"nativeSrc": "12647:19:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12647:19:1"
|
|
},
|
|
"nativeSrc": "12647:19:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12647:19:1"
|
|
},
|
|
{
|
|
"nativeSrc": "12675:29:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12675:29:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12694:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12694:3:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "12699:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "12699:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "12690:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12690:3:1"
|
|
},
|
|
"nativeSrc": "12690:14:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12690:14:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "12675:11:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12675:11:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12541:169:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12609:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12609:3:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12614:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12614:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "updated_pos",
|
|
"nativeSrc": "12625:11:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12625:11:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12541:169:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "12808:285:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "12808:285:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "12818:53:1",
|
|
"nodeType": "YulVariableDeclaration",
|
|
"src": "12818:53:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12865:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12865:5:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_length_t_string_memory_ptr",
|
|
"nativeSrc": "12832:32:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12832:32:1"
|
|
},
|
|
"nativeSrc": "12832:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12832:39:1"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12822:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12822:6:1",
|
|
"type": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nativeSrc": "12880:78:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "12880:78:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12946:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12946:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "12951:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12951:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12887:58:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12887:58:1"
|
|
},
|
|
"nativeSrc": "12887:71:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12887:71:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12880:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12880:3:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "13006:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13006:5:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13013:4:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13013:4:1",
|
|
"type": "",
|
|
"value": "0x20"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13002:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13002:3:1"
|
|
},
|
|
"nativeSrc": "13002:16:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13002:16:1"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "13020:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13020:3:1"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "13025:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13025:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "copy_memory_to_memory_with_cleanup",
|
|
"nativeSrc": "12967:34:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "12967:34:1"
|
|
},
|
|
"nativeSrc": "12967:65:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "12967:65:1"
|
|
},
|
|
"nativeSrc": "12967:65:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "12967:65:1"
|
|
},
|
|
{
|
|
"nativeSrc": "13041:46:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13041:46:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "13052:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13052:3:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "length",
|
|
"nativeSrc": "13079:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13079:6:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "round_up_to_mul_of_32",
|
|
"nativeSrc": "13057:21:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13057:21:1"
|
|
},
|
|
"nativeSrc": "13057:29:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13057:29:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13048:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13048:3:1"
|
|
},
|
|
"nativeSrc": "13048:39:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13048:39:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "13041:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13041:3:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "12716:377:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"nativeSrc": "12789:5:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12789:5:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"nativeSrc": "12796:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12796:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "end",
|
|
"nativeSrc": "12804:3:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "12804:3:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "12716:377:1"
|
|
},
|
|
{
|
|
"body": {
|
|
"nativeSrc": "13217:195:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "13217:195:1",
|
|
"statements": [
|
|
{
|
|
"nativeSrc": "13227:26:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13227:26:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13239:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13239:9:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13250:2:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13250:2:1",
|
|
"type": "",
|
|
"value": "32"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13235:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13235:3:1"
|
|
},
|
|
"nativeSrc": "13235:18:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13235:18:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13227:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13227:4:1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"expression": {
|
|
"arguments": [
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13274:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13274:9:1"
|
|
},
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "13285:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "13285:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "add",
|
|
"nativeSrc": "13270:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13270:3:1"
|
|
},
|
|
"nativeSrc": "13270:17:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13270:17:1"
|
|
},
|
|
{
|
|
"arguments": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13293:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13293:4:1"
|
|
},
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13299:9:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13299:9:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "sub",
|
|
"nativeSrc": "13289:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13289:3:1"
|
|
},
|
|
"nativeSrc": "13289:20:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13289:20:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "mstore",
|
|
"nativeSrc": "13263:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13263:6:1"
|
|
},
|
|
"nativeSrc": "13263:47:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13263:47:1"
|
|
},
|
|
"nativeSrc": "13263:47:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "13263:47:1"
|
|
},
|
|
{
|
|
"nativeSrc": "13319:86:1",
|
|
"nodeType": "YulAssignment",
|
|
"src": "13319:86:1",
|
|
"value": {
|
|
"arguments": [
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "13391:6:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13391:6:1"
|
|
},
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13400:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13400:4:1"
|
|
}
|
|
],
|
|
"functionName": {
|
|
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
|
|
"nativeSrc": "13327:63:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13327:63:1"
|
|
},
|
|
"nativeSrc": "13327:78:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "13327:78:1"
|
|
},
|
|
"variableNames": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13319:4:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "13319:4:1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
|
|
"nativeSrc": "13099:313:1",
|
|
"nodeType": "YulFunctionDefinition",
|
|
"parameters": [
|
|
{
|
|
"name": "headStart",
|
|
"nativeSrc": "13189:9:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13189:9:1",
|
|
"type": ""
|
|
},
|
|
{
|
|
"name": "value0",
|
|
"nativeSrc": "13201:6:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13201:6:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"returnVariables": [
|
|
{
|
|
"name": "tail",
|
|
"nativeSrc": "13212:4:1",
|
|
"nodeType": "YulTypedName",
|
|
"src": "13212:4:1",
|
|
"type": ""
|
|
}
|
|
],
|
|
"src": "13099:313:1"
|
|
}
|
|
]
|
|
},
|
|
"contents": "{\n\n function array_length_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function array_dataslot_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr(ptr) -> data {\n data := ptr\n\n data := add(ptr, 0x20)\n\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function 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(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n // struct AssetManagement.Asset -> struct AssetManagement.Asset\n function abi_encode_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr(value, pos) -> end {\n let tail := add(pos, 0x40)\n\n {\n // id\n\n let memberValue0 := mload(add(value, 0x00))\n abi_encode_t_uint256_to_t_uint256(memberValue0, add(pos, 0x00))\n }\n\n {\n // name\n\n let memberValue0 := mload(add(value, 0x20))\n\n mstore(add(pos, 0x20), sub(tail, pos))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr(memberValue0, tail)\n\n }\n\n end := tail\n }\n\n function abi_encodeUpdatedPos_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr(value0, pos) -> updatedPos {\n updatedPos := abi_encode_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr(value0, pos)\n }\n\n function array_nextElement_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr(ptr) -> next {\n next := add(ptr, 0x20)\n }\n\n // struct AssetManagement.Asset[] -> struct AssetManagement.Asset[]\n function abi_encode_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_fromStack(pos, length)\n let headStart := pos\n let tail := add(pos, mul(length, 0x20))\n let baseRef := array_dataslot_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr(value)\n let srcPtr := baseRef\n for { let i := 0 } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, sub(tail, headStart))\n let elementValue0 := mload(srcPtr)\n tail := abi_encodeUpdatedPos_t_struct$_Asset_$6_memory_ptr_to_t_struct$_Asset_$6_memory_ptr(elementValue0, tail)\n srcPtr := array_nextElement_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr(srcPtr)\n pos := add(pos, 0x20)\n }\n pos := tail\n end := pos\n }\n\n function abi_encode_tuple_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr__to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_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_array$_t_struct$_Asset_$6_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_Asset_$6_memory_ptr_$dyn_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 revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_calldata_to_memory_with_cleanup(src, dst, length) {\n calldatacopy(dst, src, length)\n mstore(add(dst, length), 0)\n }\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory_with_cleanup(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n 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 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 sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\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 abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_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}\n",
|
|
"id": 1,
|
|
"language": "Yul",
|
|
"name": "#utility.yul"
|
|
}
|
|
],
|
|
"immutableReferences": {},
|
|
"linkReferences": {},
|
|
"object": "608060405234801561000f575f80fd5b5060043610610034575f3560e01c80631b26708c14610038578063a7c6b52e14610056575b5f80fd5b610040610072565b60405161004d9190610476565b60405180910390f35b610070600480360381019061006b91906105d3565b6101a1565b005b60605f803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805480602002602001604051908101604052809291908181526020015f905b82821015610198578382905f5260205f2090600202016040518060400160405290815f820154815260200160018201805461010990610647565b80601f016020809104026020016040519081016040528092919081815260200182805461013590610647565b80156101805780601f1061015757610100808354040283529160200191610180565b820191905f5260205f20905b81548152906001019060200180831161016357829003601f168201915b505050505081525050815260200190600101906100cf565b50505050905090565b5f60015f803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490506101ee91906106a4565b90505f60405180604001604052808381526020018481525090505f803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f2090600202015f909190919091505f820151815f015560208201518160010190816102889190610874565b505050813373ffffffffffffffffffffffffffffffffffffffff167fd9943d316e03c76a0277683e5fa4ed2b175e6568c8d3a22d9f0b32092e584a28856040516102d2919061098b565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f819050919050565b61031a81610308565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561035757808201518184015260208101905061033c565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61037c82610320565b610386818561032a565b935061039681856020860161033a565b61039f81610362565b840191505092915050565b5f604083015f8301516103bf5f860182610311565b50602083015184820360208601526103d78282610372565b9150508091505092915050565b5f6103ef83836103aa565b905092915050565b5f602082019050919050565b5f61040d826102df565b61041781856102e9565b935083602082028501610429856102f9565b805f5b85811015610464578484038952815161044585826103e4565b9450610450836103f7565b925060208a0199505060018101905061042c565b50829750879550505050505092915050565b5f6020820190508181035f83015261048e8184610403565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6104e582610362565b810181811067ffffffffffffffff82111715610504576105036104af565b5b80604052505050565b5f610516610496565b905061052282826104dc565b919050565b5f67ffffffffffffffff821115610541576105406104af565b5b61054a82610362565b9050602081019050919050565b828183375f83830152505050565b5f61057761057284610527565b61050d565b905082815260208101848484011115610593576105926104ab565b5b61059e848285610557565b509392505050565b5f82601f8301126105ba576105b96104a7565b5b81356105ca848260208601610565565b91505092915050565b5f602082840312156105e8576105e761049f565b5b5f82013567ffffffffffffffff811115610605576106046104a3565b5b610611848285016105a6565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061065e57607f821691505b6020821081036106715761067061061a565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6106ae82610308565b91506106b983610308565b92508282019050808211156106d1576106d0610677565b5b92915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026107337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826106f8565b61073d86836106f8565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61077861077361076e84610308565b610755565b610308565b9050919050565b5f819050919050565b6107918361075e565b6107a561079d8261077f565b848454610704565b825550505050565b5f90565b6107b96107ad565b6107c4818484610788565b505050565b5b818110156107e7576107dc5f826107b1565b6001810190506107ca565b5050565b601f82111561082c576107fd816106d7565b610806846106e9565b81016020851015610815578190505b610829610821856106e9565b8301826107c9565b50505b505050565b5f82821c905092915050565b5f61084c5f1984600802610831565b1980831691505092915050565b5f610864838361083d565b9150826002028217905092915050565b61087d82610320565b67ffffffffffffffff811115610896576108956104af565b5b6108a08254610647565b6108ab8282856107eb565b5f60209050601f8311600181146108dc575f84156108ca578287015190505b6108d48582610859565b86555061093b565b601f1984166108ea866106d7565b5f5b82811015610911578489015182556001820191506020850194506020810190506108ec565b8683101561092e578489015161092a601f89168261083d565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b5f61095d82610320565b6109678185610943565b935061097781856020860161033a565b61098081610362565b840191505092915050565b5f6020820190508181035f8301526109a38184610953565b90509291505056fea2646970667358221220c23bd487099481d39be0fd9264dfc1fa43eca89599ef775b0c5a52306497f1ad64736f6c63430008160033",
|
|
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1B26708C EQ PUSH2 0x38 JUMPI DUP1 PUSH4 0xA7C6B52E EQ PUSH2 0x56 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x40 PUSH2 0x72 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x4D SWAP2 SWAP1 PUSH2 0x476 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x70 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6B SWAP2 SWAP1 PUSH2 0x5D3 JUMP JUMPDEST PUSH2 0x1A1 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x60 PUSH0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 DUP1 SLOAD DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 SWAP1 JUMPDEST DUP3 DUP3 LT ISZERO PUSH2 0x198 JUMPI DUP4 DUP3 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE SWAP1 DUP2 PUSH0 DUP3 ADD SLOAD DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x1 DUP3 ADD DUP1 SLOAD PUSH2 0x109 SWAP1 PUSH2 0x647 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x135 SWAP1 PUSH2 0x647 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x180 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x157 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x180 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x163 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 MSTORE POP POP DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xCF JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 PUSH1 0x1 PUSH0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 DUP1 SLOAD SWAP1 POP PUSH2 0x1EE SWAP2 SWAP1 PUSH2 0x6A4 JUMP JUMPDEST SWAP1 POP PUSH0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 POP PUSH0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH0 DUP3 ADD MLOAD DUP2 PUSH0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP2 PUSH2 0x288 SWAP2 SWAP1 PUSH2 0x874 JUMP JUMPDEST POP POP POP DUP2 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xD9943D316E03C76A0277683E5FA4ED2B175E6568C8D3A22D9F0B32092E584A28 DUP6 PUSH1 0x40 MLOAD PUSH2 0x2D2 SWAP2 SWAP1 PUSH2 0x98B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x31A DUP2 PUSH2 0x308 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x357 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x33C JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x37C DUP3 PUSH2 0x320 JUMP JUMPDEST PUSH2 0x386 DUP2 DUP6 PUSH2 0x32A JUMP JUMPDEST SWAP4 POP PUSH2 0x396 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x33A JUMP JUMPDEST PUSH2 0x39F DUP2 PUSH2 0x362 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 DUP4 ADD PUSH0 DUP4 ADD MLOAD PUSH2 0x3BF PUSH0 DUP7 ADD DUP3 PUSH2 0x311 JUMP JUMPDEST POP PUSH1 0x20 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x20 DUP7 ADD MSTORE PUSH2 0x3D7 DUP3 DUP3 PUSH2 0x372 JUMP JUMPDEST SWAP2 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x3EF DUP4 DUP4 PUSH2 0x3AA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x40D DUP3 PUSH2 0x2DF JUMP JUMPDEST PUSH2 0x417 DUP2 DUP6 PUSH2 0x2E9 JUMP JUMPDEST SWAP4 POP DUP4 PUSH1 0x20 DUP3 MUL DUP6 ADD PUSH2 0x429 DUP6 PUSH2 0x2F9 JUMP JUMPDEST DUP1 PUSH0 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0x464 JUMPI DUP5 DUP5 SUB DUP10 MSTORE DUP2 MLOAD PUSH2 0x445 DUP6 DUP3 PUSH2 0x3E4 JUMP JUMPDEST SWAP5 POP PUSH2 0x450 DUP4 PUSH2 0x3F7 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP11 ADD SWAP10 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x42C JUMP JUMPDEST POP DUP3 SWAP8 POP DUP8 SWAP6 POP POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x48E DUP2 DUP5 PUSH2 0x403 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x4E5 DUP3 PUSH2 0x362 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x504 JUMPI PUSH2 0x503 PUSH2 0x4AF JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x516 PUSH2 0x496 JUMP JUMPDEST SWAP1 POP PUSH2 0x522 DUP3 DUP3 PUSH2 0x4DC JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x541 JUMPI PUSH2 0x540 PUSH2 0x4AF JUMP JUMPDEST JUMPDEST PUSH2 0x54A DUP3 PUSH2 0x362 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x577 PUSH2 0x572 DUP5 PUSH2 0x527 JUMP JUMPDEST PUSH2 0x50D JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x593 JUMPI PUSH2 0x592 PUSH2 0x4AB JUMP JUMPDEST JUMPDEST PUSH2 0x59E DUP5 DUP3 DUP6 PUSH2 0x557 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5BA JUMPI PUSH2 0x5B9 PUSH2 0x4A7 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x5CA DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x565 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5E8 JUMPI PUSH2 0x5E7 PUSH2 0x49F JUMP JUMPDEST JUMPDEST PUSH0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x605 JUMPI PUSH2 0x604 PUSH2 0x4A3 JUMP JUMPDEST JUMPDEST PUSH2 0x611 DUP5 DUP3 DUP6 ADD PUSH2 0x5A6 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x65E JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x671 JUMPI PUSH2 0x670 PUSH2 0x61A JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH2 0x6AE DUP3 PUSH2 0x308 JUMP JUMPDEST SWAP2 POP PUSH2 0x6B9 DUP4 PUSH2 0x308 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x6D1 JUMPI PUSH2 0x6D0 PUSH2 0x677 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP DUP2 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x8 DUP4 MUL PUSH2 0x733 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x6F8 JUMP JUMPDEST PUSH2 0x73D DUP7 DUP4 PUSH2 0x6F8 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x778 PUSH2 0x773 PUSH2 0x76E DUP5 PUSH2 0x308 JUMP JUMPDEST PUSH2 0x755 JUMP JUMPDEST PUSH2 0x308 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x791 DUP4 PUSH2 0x75E JUMP JUMPDEST PUSH2 0x7A5 PUSH2 0x79D DUP3 PUSH2 0x77F JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x704 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH0 SWAP1 JUMP JUMPDEST PUSH2 0x7B9 PUSH2 0x7AD JUMP JUMPDEST PUSH2 0x7C4 DUP2 DUP5 DUP5 PUSH2 0x788 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x7E7 JUMPI PUSH2 0x7DC PUSH0 DUP3 PUSH2 0x7B1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x7CA JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x82C JUMPI PUSH2 0x7FD DUP2 PUSH2 0x6D7 JUMP JUMPDEST PUSH2 0x806 DUP5 PUSH2 0x6E9 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x815 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x829 PUSH2 0x821 DUP6 PUSH2 0x6E9 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x7C9 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x84C PUSH0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x831 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x864 DUP4 DUP4 PUSH2 0x83D JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x87D DUP3 PUSH2 0x320 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x896 JUMPI PUSH2 0x895 PUSH2 0x4AF JUMP JUMPDEST JUMPDEST PUSH2 0x8A0 DUP3 SLOAD PUSH2 0x647 JUMP JUMPDEST PUSH2 0x8AB DUP3 DUP3 DUP6 PUSH2 0x7EB JUMP JUMPDEST PUSH0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x8DC JUMPI PUSH0 DUP5 ISZERO PUSH2 0x8CA JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x8D4 DUP6 DUP3 PUSH2 0x859 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x93B JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x8EA DUP7 PUSH2 0x6D7 JUMP JUMPDEST PUSH0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x911 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x8EC JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x92E JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x92A PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x83D JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x95D DUP3 PUSH2 0x320 JUMP JUMPDEST PUSH2 0x967 DUP2 DUP6 PUSH2 0x943 JUMP JUMPDEST SWAP4 POP PUSH2 0x977 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x33A JUMP JUMPDEST PUSH2 0x980 DUP2 PUSH2 0x362 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x9A3 DUP2 DUP5 PUSH2 0x953 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC2 EXTCODESIZE 0xD4 DUP8 MULMOD SWAP5 DUP2 0xD3 SWAP12 0xE0 REVERT SWAP3 PUSH5 0xDFC1FA43EC 0xA8 SWAP6 SWAP10 0xEF PUSH24 0x5B0C5A52306497F1AD64736F6C6343000816003300000000 ",
|
|
"sourceMap": "60:915:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;860:112;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;427:373;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;860:112;908:14;942:10;:22;953:10;942:22;;;;;;;;;;;;;;;935:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;860:112;:::o;427:373::-;491:15;541:1;509:10;:22;520:10;509:22;;;;;;;;;;;;;;;:29;;;;:33;;;;:::i;:::-;491:51;;555:21;579:75;;;;;;;;604:7;579:75;;;;632:10;579:75;;;555:99;;667:10;:22;678:10;667:22;;;;;;;;;;;;;;;695:8;667:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;772:7;760:10;749:43;;;781:10;749:43;;;;;;:::i;:::-;;;;;;;;480:320;;427:373;:::o;7:134:1:-;94:6;128:5;122:12;112:22;;7:134;;;:::o;147:204::-;266:11;300:6;295:3;288:19;340:4;335:3;331:14;316:29;;147:204;;;;:::o;357:152::-;444:4;467:3;459:11;;497:4;492:3;488:14;480:22;;357:152;;;:::o;515:77::-;552:7;581:5;570:16;;515:77;;;:::o;598:108::-;675:24;693:5;675:24;:::i;:::-;670:3;663:37;598:108;;:::o;712:99::-;764:6;798:5;792:12;782:22;;712:99;;;:::o;817:159::-;891:11;925:6;920:3;913:19;965:4;960:3;956:14;941:29;;817:159;;;;:::o;982:246::-;1063:1;1073:113;1087:6;1084:1;1081:13;1073:113;;;1172:1;1167:3;1163:11;1157:18;1153:1;1148:3;1144:11;1137:39;1109:2;1106:1;1102:10;1097:15;;1073:113;;;1220:1;1211:6;1206:3;1202:16;1195:27;1044:184;982:246;;;:::o;1234:102::-;1275:6;1326:2;1322:7;1317:2;1310:5;1306:14;1302:28;1292:38;;1234:102;;;:::o;1342:357::-;1420:3;1448:39;1481:5;1448:39;:::i;:::-;1503:61;1557:6;1552:3;1503:61;:::i;:::-;1496:68;;1573:65;1631:6;1626:3;1619:4;1612:5;1608:16;1573:65;:::i;:::-;1663:29;1685:6;1663:29;:::i;:::-;1658:3;1654:39;1647:46;;1424:275;1342:357;;;;:::o;1773:584::-;1872:3;1908:4;1903:3;1899:14;1993:4;1986:5;1982:16;1976:23;2012:63;2069:4;2064:3;2060:14;2046:12;2012:63;:::i;:::-;1923:162;2167:4;2160:5;2156:16;2150:23;2220:3;2214:4;2210:14;2203:4;2198:3;2194:14;2187:38;2246:73;2314:4;2300:12;2246:73;:::i;:::-;2238:81;;2095:235;2347:4;2340:11;;1877:480;1773:584;;;;:::o;2363:236::-;2472:10;2507:86;2589:3;2581:6;2507:86;:::i;:::-;2493:100;;2363:236;;;;:::o;2605:133::-;2695:4;2727;2722:3;2718:14;2710:22;;2605:133;;;:::o;2816:1071::-;2975:3;3004:74;3072:5;3004:74;:::i;:::-;3094:106;3193:6;3188:3;3094:106;:::i;:::-;3087:113;;3226:3;3271:4;3263:6;3259:17;3254:3;3250:27;3301:76;3371:5;3301:76;:::i;:::-;3400:7;3431:1;3416:426;3441:6;3438:1;3435:13;3416:426;;;3512:9;3506:4;3502:20;3497:3;3490:33;3563:6;3557:13;3591:104;3690:4;3675:13;3591:104;:::i;:::-;3583:112;;3718:80;3791:6;3718:80;:::i;:::-;3708:90;;3827:4;3822:3;3818:14;3811:21;;3476:366;3463:1;3460;3456:9;3451:14;;3416:426;;;3420:14;3858:4;3851:11;;3878:3;3871:10;;2980:907;;;;;2816:1071;;;;:::o;3893:453::-;4076:4;4114:2;4103:9;4099:18;4091:26;;4163:9;4157:4;4153:20;4149:1;4138:9;4134:17;4127:47;4191:148;4334:4;4325:6;4191:148;:::i;:::-;4183:156;;3893:453;;;;:::o;4352:75::-;4385:6;4418:2;4412:9;4402:19;;4352:75;:::o;4433:117::-;4542:1;4539;4532:12;4556:117;4665:1;4662;4655:12;4679:117;4788:1;4785;4778:12;4802:117;4911:1;4908;4901:12;4925:180;4973:77;4970:1;4963:88;5070:4;5067:1;5060:15;5094:4;5091:1;5084:15;5111:281;5194:27;5216:4;5194:27;:::i;:::-;5186:6;5182:40;5324:6;5312:10;5309:22;5288:18;5276:10;5273:34;5270:62;5267:88;;;5335:18;;:::i;:::-;5267:88;5375:10;5371:2;5364:22;5154:238;5111:281;;:::o;5398:129::-;5432:6;5459:20;;:::i;:::-;5449:30;;5488:33;5516:4;5508:6;5488:33;:::i;:::-;5398:129;;;:::o;5533:308::-;5595:4;5685:18;5677:6;5674:30;5671:56;;;5707:18;;:::i;:::-;5671:56;5745:29;5767:6;5745:29;:::i;:::-;5737:37;;5829:4;5823;5819:15;5811:23;;5533:308;;;:::o;5847:146::-;5944:6;5939:3;5934;5921:30;5985:1;5976:6;5971:3;5967:16;5960:27;5847:146;;;:::o;5999:425::-;6077:5;6102:66;6118:49;6160:6;6118:49;:::i;:::-;6102:66;:::i;:::-;6093:75;;6191:6;6184:5;6177:21;6229:4;6222:5;6218:16;6267:3;6258:6;6253:3;6249:16;6246:25;6243:112;;;6274:79;;:::i;:::-;6243:112;6364:54;6411:6;6406:3;6401;6364:54;:::i;:::-;6083:341;5999:425;;;;;:::o;6444:340::-;6500:5;6549:3;6542:4;6534:6;6530:17;6526:27;6516:122;;6557:79;;:::i;:::-;6516:122;6674:6;6661:20;6699:79;6774:3;6766:6;6759:4;6751:6;6747:17;6699:79;:::i;:::-;6690:88;;6506:278;6444:340;;;;:::o;6790:509::-;6859:6;6908:2;6896:9;6887:7;6883:23;6879:32;6876:119;;;6914:79;;:::i;:::-;6876:119;7062:1;7051:9;7047:17;7034:31;7092:18;7084:6;7081:30;7078:117;;;7114:79;;:::i;:::-;7078:117;7219:63;7274:7;7265:6;7254:9;7250:22;7219:63;:::i;:::-;7209:73;;7005:287;6790:509;;;;:::o;7305:180::-;7353:77;7350:1;7343:88;7450:4;7447:1;7440:15;7474:4;7471:1;7464:15;7491:320;7535:6;7572:1;7566:4;7562:12;7552:22;;7619:1;7613:4;7609:12;7640:18;7630:81;;7696:4;7688:6;7684:17;7674:27;;7630:81;7758:2;7750:6;7747:14;7727:18;7724:38;7721:84;;7777:18;;:::i;:::-;7721:84;7542:269;7491:320;;;:::o;7817:180::-;7865:77;7862:1;7855:88;7962:4;7959:1;7952:15;7986:4;7983:1;7976:15;8003:191;8043:3;8062:20;8080:1;8062:20;:::i;:::-;8057:25;;8096:20;8114:1;8096:20;:::i;:::-;8091:25;;8139:1;8136;8132:9;8125:16;;8160:3;8157:1;8154:10;8151:36;;;8167:18;;:::i;:::-;8151:36;8003:191;;;;:::o;8200:141::-;8249:4;8272:3;8264:11;;8295:3;8292:1;8285:14;8329:4;8326:1;8316:18;8308:26;;8200:141;;;:::o;8347:93::-;8384:6;8431:2;8426;8419:5;8415:14;8411:23;8401:33;;8347:93;;;:::o;8446:107::-;8490:8;8540:5;8534:4;8530:16;8509:37;;8446:107;;;;:::o;8559:393::-;8628:6;8678:1;8666:10;8662:18;8701:97;8731:66;8720:9;8701:97;:::i;:::-;8819:39;8849:8;8838:9;8819:39;:::i;:::-;8807:51;;8891:4;8887:9;8880:5;8876:21;8867:30;;8940:4;8930:8;8926:19;8919:5;8916:30;8906:40;;8635:317;;8559:393;;;;;:::o;8958:60::-;8986:3;9007:5;9000:12;;8958:60;;;:::o;9024:142::-;9074:9;9107:53;9125:34;9134:24;9152:5;9134:24;:::i;:::-;9125:34;:::i;:::-;9107:53;:::i;:::-;9094:66;;9024:142;;;:::o;9172:75::-;9215:3;9236:5;9229:12;;9172:75;;;:::o;9253:269::-;9363:39;9394:7;9363:39;:::i;:::-;9424:91;9473:41;9497:16;9473:41;:::i;:::-;9465:6;9458:4;9452:11;9424:91;:::i;:::-;9418:4;9411:105;9329:193;9253:269;;;:::o;9528:73::-;9573:3;9528:73;:::o;9607:189::-;9684:32;;:::i;:::-;9725:65;9783:6;9775;9769:4;9725:65;:::i;:::-;9660:136;9607:189;;:::o;9802:186::-;9862:120;9879:3;9872:5;9869:14;9862:120;;;9933:39;9970:1;9963:5;9933:39;:::i;:::-;9906:1;9899:5;9895:13;9886:22;;9862:120;;;9802:186;;:::o;9994:543::-;10095:2;10090:3;10087:11;10084:446;;;10129:38;10161:5;10129:38;:::i;:::-;10213:29;10231:10;10213:29;:::i;:::-;10203:8;10199:44;10396:2;10384:10;10381:18;10378:49;;;10417:8;10402:23;;10378:49;10440:80;10496:22;10514:3;10496:22;:::i;:::-;10486:8;10482:37;10469:11;10440:80;:::i;:::-;10099:431;;10084:446;9994:543;;;:::o;10543:117::-;10597:8;10647:5;10641:4;10637:16;10616:37;;10543:117;;;;:::o;10666:169::-;10710:6;10743:51;10791:1;10787:6;10779:5;10776:1;10772:13;10743:51;:::i;:::-;10739:56;10824:4;10818;10814:15;10804:25;;10717:118;10666:169;;;;:::o;10840:295::-;10916:4;11062:29;11087:3;11081:4;11062:29;:::i;:::-;11054:37;;11124:3;11121:1;11117:11;11111:4;11108:21;11100:29;;10840:295;;;;:::o;11140:1395::-;11257:37;11290:3;11257:37;:::i;:::-;11359:18;11351:6;11348:30;11345:56;;;11381:18;;:::i;:::-;11345:56;11425:38;11457:4;11451:11;11425:38;:::i;:::-;11510:67;11570:6;11562;11556:4;11510:67;:::i;:::-;11604:1;11628:4;11615:17;;11660:2;11652:6;11649:14;11677:1;11672:618;;;;12334:1;12351:6;12348:77;;;12400:9;12395:3;12391:19;12385:26;12376:35;;12348:77;12451:67;12511:6;12504:5;12451:67;:::i;:::-;12445:4;12438:81;12307:222;11642:887;;11672:618;11724:4;11720:9;11712:6;11708:22;11758:37;11790:4;11758:37;:::i;:::-;11817:1;11831:208;11845:7;11842:1;11839:14;11831:208;;;11924:9;11919:3;11915:19;11909:26;11901:6;11894:42;11975:1;11967:6;11963:14;11953:24;;12022:2;12011:9;12007:18;11994:31;;11868:4;11865:1;11861:12;11856:17;;11831:208;;;12067:6;12058:7;12055:19;12052:179;;;12125:9;12120:3;12116:19;12110:26;12168:48;12210:4;12202:6;12198:17;12187:9;12168:48;:::i;:::-;12160:6;12153:64;12075:156;12052:179;12277:1;12273;12265:6;12261:14;12257:22;12251:4;12244:36;11679:611;;;11642:887;;11232:1303;;;11140:1395;;:::o;12541:169::-;12625:11;12659:6;12654:3;12647:19;12699:4;12694:3;12690:14;12675:29;;12541:169;;;;:::o;12716:377::-;12804:3;12832:39;12865:5;12832:39;:::i;:::-;12887:71;12951:6;12946:3;12887:71;:::i;:::-;12880:78;;12967:65;13025:6;13020:3;13013:4;13006:5;13002:16;12967:65;:::i;:::-;13057:29;13079:6;13057:29;:::i;:::-;13052:3;13048:39;13041:46;;12808:285;12716:377;;;;:::o;13099:313::-;13212:4;13250:2;13239:9;13235:18;13227:26;;13299:9;13293:4;13289:20;13285:1;13274:9;13270:17;13263:47;13327:78;13400:4;13391:6;13327:78;:::i;:::-;13319:86;;13099:313;;;;:::o"
|
|
},
|
|
"gasEstimates": {
|
|
"creation": {
|
|
"codeDepositCost": "505800",
|
|
"executionCost": "541",
|
|
"totalCost": "506341"
|
|
},
|
|
"external": {
|
|
"addAsset(string)": "infinite",
|
|
"getUserAssets()": "infinite"
|
|
}
|
|
},
|
|
"methodIdentifiers": {
|
|
"addAsset(string)": "a7c6b52e",
|
|
"getUserAssets()": "1b26708c"
|
|
}
|
|
},
|
|
"abi": [
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "user",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint256",
|
|
"name": "assetId",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "string",
|
|
"name": "assetName",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "AssetAdded",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "_assetName",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "addAsset",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "getUserAssets",
|
|
"outputs": [
|
|
{
|
|
"components": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "id",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "string",
|
|
"name": "name",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"internalType": "struct AssetManagement.Asset[]",
|
|
"name": "",
|
|
"type": "tuple[]"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
]
|
|
} |