Skip to content

Instantly share code, notes, and snippets.

@kartikver15gr8
Created September 22, 2022 19:33
Show Gist options
  • Save kartikver15gr8/cf319e1b0ea5bf829fda98b3fe3c8c96 to your computer and use it in GitHub Desktop.
Save kartikver15gr8/cf319e1b0ea5bf829fda98b3fe3c8c96 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
accounts[2] = 0x4B20993Bc481177ec7E8f571ceCaE8A9e22C02db;
accounts[3] = 0x78731D3Ca6b7E34aC0F824c42a7cC18A495cabaB;
accounts[4] = 0x617F2E2fD72FD9D5503197092aC168c91465E7f2;
accounts[5] = 0x17F6AD8Ef982297579C203069C1DbfFE4348c372;
accounts[6] = 0x5c6B0f7Bf3E7ce046039Bd8FABdfD3f9F5021678;
accounts[7] = 0x03C6FcED478cBbC9a4FAB34eF9f40767739D1Ff7;
accounts[8] = 0x1aE0EA34a72D944a8C7603FfB3eC30a6669E454C;
accounts[9] = 0x0A098Eda01Ce92ff4A4CCb7A4fFFb5A43EBC70DC;
accounts[10] = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c;
accounts[11] = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C;
accounts[12] = 0x4B0897b0513fdC7C541B6d9D7E929C4e5364D2dB;
accounts[13] = 0x583031D1113aD414F02576BD6afaBfb302140225;
accounts[14] = 0xdD870fA1b7C4700F2BD7f44238821C26f7392148;
return accounts[index];
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library Assert {
event AssertionEvent(
bool passed,
string message,
string methodName
);
event AssertionEventUint(
bool passed,
string message,
string methodName,
uint256 returned,
uint256 expected
);
event AssertionEventInt(
bool passed,
string message,
string methodName,
int256 returned,
int256 expected
);
event AssertionEventBool(
bool passed,
string message,
string methodName,
bool returned,
bool expected
);
event AssertionEventAddress(
bool passed,
string message,
string methodName,
address returned,
address expected
);
event AssertionEventBytes32(
bool passed,
string message,
string methodName,
bytes32 returned,
bytes32 expected
);
event AssertionEventString(
bool passed,
string message,
string methodName,
string returned,
string expected
);
event AssertionEventUintInt(
bool passed,
string message,
string methodName,
uint256 returned,
int256 expected
);
event AssertionEventIntUint(
bool passed,
string message,
string methodName,
int256 returned,
uint256 expected
);
function ok(bool a, string memory message) public returns (bool result) {
result = a;
emit AssertionEvent(result, message, "ok");
}
function equal(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventUint(result, message, "equal", a, b);
}
function equal(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventInt(result, message, "equal", a, b);
}
function equal(bool a, bool b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBool(result, message, "equal", a, b);
}
// TODO: only for certain versions of solc
//function equal(fixed a, fixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function equal(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
function equal(address a, address b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventAddress(result, message, "equal", a, b);
}
function equal(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBytes32(result, message, "equal", a, b);
}
function equal(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) == keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "equal", a, b);
}
function notEqual(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventUint(result, message, "notEqual", a, b);
}
function notEqual(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventInt(result, message, "notEqual", a, b);
}
function notEqual(bool a, bool b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBool(result, message, "notEqual", a, b);
}
// TODO: only for certain versions of solc
//function notEqual(fixed a, fixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function notEqual(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
function notEqual(address a, address b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventAddress(result, message, "notEqual", a, b);
}
function notEqual(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBytes32(result, message, "notEqual", a, b);
}
function notEqual(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) != keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "notEqual", a, b);
}
/*----------------- Greater than --------------------*/
function greaterThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventUint(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventInt(result, message, "greaterThan", a, b);
}
// TODO: safely compare between uint and int
function greaterThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative uint "a" always greater
result = true;
} else {
result = (a > uint(b));
}
emit AssertionEventUintInt(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative uint "b" always greater
result = false;
} else {
result = (uint(a) > b);
}
emit AssertionEventIntUint(result, message, "greaterThan", a, b);
}
/*----------------- Lesser than --------------------*/
function lesserThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventUint(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventInt(result, message, "lesserThan", a, b);
}
// TODO: safely compare between uint and int
function lesserThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative int "b" always lesser
result = false;
} else {
result = (a < uint(b));
}
emit AssertionEventUintInt(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative int "a" always lesser
result = true;
} else {
result = (uint(a) < b);
}
emit AssertionEventIntUint(result, message, "lesserThan", a, b);
}
}
// SPDX-License-Identifier:MIT
pragma solidity ^0.8.0;
contract FirstArray{
/* In this program we'll gonna learn about 'Arrays'
In Solidity programming.*/
uint256[] public UintArray = [1,3,5];
string[] public StrArray = ["Hello", "World", "!"];
string[] public values;
// We can also assign 2-D Arrays
string[][] public myTwoDArray = [["Hello"], ["Peter!"]];
function addValueToValuesArray(string memory _value) public {
values.push(_value);
}
function valueCount() public view returns(uint256){
return values.length;
}
}
{
"id": "027dabb2658b5e673a685a120995d474",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.8",
"solcLongVersion": "0.8.8+commit.dddeac2f",
"input": {
"language": "Solidity",
"sources": {
"contracts/SimpleStorage.sol": {
"content": "// SPDX-License-Identifier: MIT\r\npragma solidity 0.8.8; // At the top we write the solidity version we want to use the latest version is 0.8.12\r\n// To define our contract we use the keyword \"contract\" that tells the solidity compiler that from that keyword we are writing contract\r\ncontract SimpleStorage{\r\n // There are some common datatypes in Solidity!\r\n // boolean, uint, int, address, bytes\r\n // boolean is the datatype that stores boolean value like true or false\r\n // uint is a datatype that indicates positive whole numbers in other words we can say An unsigned integer, declared with the uint keyword, is a value data type that must be non-negative; that is, its value is greater than or equal to zero.\r\n // int is a datatype that stores integer values\r\n // address is a datatype that stores address like the address of our metamask wallet or we can say that an address value type is specifically designed to hold up to 20Byte, or 160 bits, which is the size of an Ethereum address. Solidity actually offers two address value types: address and address payable . The difference between the two is that address payable can send and transfer Ether.\r\n // In Solidity, byte refers to 8-bit signed integers. Everything in memory is stored in bits with binary values 0 and 1. The bytes value type in Solidity is a dynamically sized byte array. It is provided for storing information in binary format. Since the array is dynamic, its length can grow or shrink.\r\n\r\n /* For more knowledge about this and other concepts\r\n refer the documentation of Solidity!😎 */\r\n\r\n // bool hasFavoriteNumber = true; \r\n // uint256 favoriteNumber = 892; // Here we written 256 after uint which tells that the uint value that has to be stored in the uint datatype can be upto 256 bits. We can also use uint32 to assign uint values upto 32 bits and if we don't use anything then the compiler automatically takes it as uint256\r\n // string favoriteNumberInText = \"Five\";\r\n // int256 favoriteInt = -5;\r\n // address myWalletAddress = 0x51CC8a8fC56446193Ad2A60844692531D5D2ab4E;\r\n // bytes32 favoriteBytes = \"cat\"; \r\n\r\n uint256 favoriteNumber; // If we only just initialize the uint and don't provide any value then it will automatically get initialized to zero.\r\n\r\n /* Now let's create a function in Solidity */\r\n\r\n function store(uint256 _favoriteNumber) public {\r\n favoriteNumber = _favoriteNumber;\r\n\r\n }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n\r\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
"contracts/SimpleStorage.sol": {
"SimpleStorage": {
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_favoriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"contracts/SimpleStorage.sol\":283:2484 contract SimpleStorage{... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\ntag_1:\n pop\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"contracts/SimpleStorage.sol\":283:2484 contract SimpleStorage{... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x6057361d\n eq\n tag_3\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"contracts/SimpleStorage.sol\":2363:2463 function store(uint256 _favoriteNumber) public {... */\n tag_3:\n tag_4\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_5\n swap2\n swap1\n tag_6\n jump\t// in\n tag_5:\n tag_7\n jump\t// in\n tag_4:\n stop\n tag_7:\n /* \"contracts/SimpleStorage.sol\":2438:2453 _favoriteNumber */\n dup1\n /* \"contracts/SimpleStorage.sol\":2421:2435 favoriteNumber */\n 0x00\n /* \"contracts/SimpleStorage.sol\":2421:2453 favoriteNumber = _favoriteNumber */\n dup2\n swap1\n sstore\n pop\n /* \"contracts/SimpleStorage.sol\":2363:2463 function store(uint256 _favoriteNumber) public {... */\n pop\n jump\t// out\n /* \"#utility.yul\":88:205 */\n tag_10:\n /* \"#utility.yul\":197:198 */\n 0x00\n /* \"#utility.yul\":194:195 */\n dup1\n /* \"#utility.yul\":187:199 */\n revert\n /* \"#utility.yul\":334:411 */\n tag_12:\n /* \"#utility.yul\":371:378 */\n 0x00\n /* \"#utility.yul\":400:405 */\n dup2\n /* \"#utility.yul\":389:405 */\n swap1\n pop\n /* \"#utility.yul\":334:411 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":417:539 */\n tag_13:\n /* \"#utility.yul\":490:514 */\n tag_21\n /* \"#utility.yul\":508:513 */\n dup2\n /* \"#utility.yul\":490:514 */\n tag_12\n jump\t// in\n tag_21:\n /* \"#utility.yul\":483:488 */\n dup2\n /* \"#utility.yul\":480:515 */\n eq\n /* \"#utility.yul\":470:533 */\n tag_22\n jumpi\n /* \"#utility.yul\":529:530 */\n 0x00\n /* \"#utility.yul\":526:527 */\n dup1\n /* \"#utility.yul\":519:531 */\n revert\n /* \"#utility.yul\":470:533 */\n tag_22:\n /* \"#utility.yul\":417:539 */\n pop\n jump\t// out\n /* \"#utility.yul\":545:684 */\n tag_14:\n /* \"#utility.yul\":591:596 */\n 0x00\n /* \"#utility.yul\":629:635 */\n dup2\n /* \"#utility.yul\":616:636 */\n calldataload\n /* \"#utility.yul\":607:636 */\n swap1\n pop\n /* \"#utility.yul\":645:678 */\n tag_24\n /* \"#utility.yul\":672:677 */\n dup2\n /* \"#utility.yul\":645:678 */\n tag_13\n jump\t// in\n tag_24:\n /* \"#utility.yul\":545:684 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":690:1019 */\n tag_6:\n /* \"#utility.yul\":749:755 */\n 0x00\n /* \"#utility.yul\":798:800 */\n 0x20\n /* \"#utility.yul\":786:795 */\n dup3\n /* \"#utility.yul\":777:784 */\n dup5\n /* \"#utility.yul\":773:796 */\n sub\n /* \"#utility.yul\":769:801 */\n slt\n /* \"#utility.yul\":766:885 */\n iszero\n tag_26\n jumpi\n /* \"#utility.yul\":804:883 */\n tag_27\n tag_10\n jump\t// in\n tag_27:\n /* \"#utility.yul\":766:885 */\n tag_26:\n /* \"#utility.yul\":924:925 */\n 0x00\n /* \"#utility.yul\":949:1002 */\n tag_28\n /* \"#utility.yul\":994:1001 */\n dup5\n /* \"#utility.yul\":985:991 */\n dup3\n /* \"#utility.yul\":974:983 */\n dup6\n /* \"#utility.yul\":970:992 */\n add\n /* \"#utility.yul\":949:1002 */\n tag_14\n jump\t// in\n tag_28:\n /* \"#utility.yul\":939:1002 */\n swap2\n pop\n /* \"#utility.yul\":895:1012 */\n pop\n /* \"#utility.yul\":690:1019 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220bb4fbeb35f195a47c40895c868b22be54feff5e747914ef43f8569ab8a2586f064736f6c63430008080033\n}\n",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5060e38061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80636057361d14602d575b600080fd5b60436004803603810190603f91906085565b6045565b005b8060008190555050565b600080fd5b6000819050919050565b6065816054565b8114606f57600080fd5b50565b600081359050607f81605e565b92915050565b6000602082840312156098576097604f565b5b600060a4848285016072565b9150509291505056fea2646970667358221220bb4fbeb35f195a47c40895c868b22be54feff5e747914ef43f8569ab8a2586f064736f6c63430008080033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0xE3 DUP1 PUSH2 0x1F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x28 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6057361D EQ PUSH1 0x2D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x43 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH1 0x3F SWAP2 SWAP1 PUSH1 0x85 JUMP JUMPDEST PUSH1 0x45 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x65 DUP2 PUSH1 0x54 JUMP JUMPDEST DUP2 EQ PUSH1 0x6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH1 0x7F DUP2 PUSH1 0x5E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH1 0x98 JUMPI PUSH1 0x97 PUSH1 0x4F JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH1 0xA4 DUP5 DUP3 DUP6 ADD PUSH1 0x72 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBB 0x4F 0xBE 0xB3 0x5F NOT GAS SELFBALANCE 0xC4 ADDMOD SWAP6 0xC8 PUSH9 0xB22BE54FEFF5E74791 0x4E DELEGATECALL EXTCODEHASH DUP6 PUSH10 0xAB8A2586F064736F6C63 NUMBER STOP ADDMOD ADDMOD STOP CALLER ",
"sourceMap": "283:2201:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@store_13": {
"entryPoint": 69,
"id": 13,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_uint256": {
"entryPoint": 114,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 133,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 84,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 79,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 94,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1022:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "47:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "57:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "73:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "67:5:1"
},
"nodeType": "YulFunctionCall",
"src": "67:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "57:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "40:6:1",
"type": ""
}
],
"src": "7:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "177:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "194:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "197:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "187:6:1"
},
"nodeType": "YulFunctionCall",
"src": "187:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "187:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "88:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "300:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "317:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "320:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nodeType": "YulFunctionCall",
"src": "310:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "310:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "211:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "379:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "389:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "400:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "389:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "361:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "371:7:1",
"type": ""
}
],
"src": "334:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "460:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "517:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "526:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "529:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "519:6:1"
},
"nodeType": "YulFunctionCall",
"src": "519:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "519:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "483:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "508:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "490:17:1"
},
"nodeType": "YulFunctionCall",
"src": "490:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "480:2:1"
},
"nodeType": "YulFunctionCall",
"src": "480:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "473:6:1"
},
"nodeType": "YulFunctionCall",
"src": "473:43:1"
},
"nodeType": "YulIf",
"src": "470:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "453:5:1",
"type": ""
}
],
"src": "417:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "597:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "607:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "629:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "616:12:1"
},
"nodeType": "YulFunctionCall",
"src": "616:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "607:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "672:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "645:26:1"
},
"nodeType": "YulFunctionCall",
"src": "645:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "645:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "575:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "583:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "591:5:1",
"type": ""
}
],
"src": "545:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "756:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "802:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "804:77:1"
},
"nodeType": "YulFunctionCall",
"src": "804:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "804:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "777:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "786:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "773:3:1"
},
"nodeType": "YulFunctionCall",
"src": "773:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "798:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "769:3:1"
},
"nodeType": "YulFunctionCall",
"src": "769:32:1"
},
"nodeType": "YulIf",
"src": "766:119:1"
},
{
"nodeType": "YulBlock",
"src": "895:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "910:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "924:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "914:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "939:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "974:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "985:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "970:3:1"
},
"nodeType": "YulFunctionCall",
"src": "970:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "994:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "949:20:1"
},
"nodeType": "YulFunctionCall",
"src": "949:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "939:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "726:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "737:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "749:6:1",
"type": ""
}
],
"src": "690:329:1"
}
]
},
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b506004361060285760003560e01c80636057361d14602d575b600080fd5b60436004803603810190603f91906085565b6045565b005b8060008190555050565b600080fd5b6000819050919050565b6065816054565b8114606f57600080fd5b50565b600081359050607f81605e565b92915050565b6000602082840312156098576097604f565b5b600060a4848285016072565b9150509291505056fea2646970667358221220bb4fbeb35f195a47c40895c868b22be54feff5e747914ef43f8569ab8a2586f064736f6c63430008080033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x28 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6057361D EQ PUSH1 0x2D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x43 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH1 0x3F SWAP2 SWAP1 PUSH1 0x85 JUMP JUMPDEST PUSH1 0x45 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x65 DUP2 PUSH1 0x54 JUMP JUMPDEST DUP2 EQ PUSH1 0x6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH1 0x7F DUP2 PUSH1 0x5E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH1 0x98 JUMPI PUSH1 0x97 PUSH1 0x4F JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH1 0xA4 DUP5 DUP3 DUP6 ADD PUSH1 0x72 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBB 0x4F 0xBE 0xB3 0x5F NOT GAS SELFBALANCE 0xC4 ADDMOD SWAP6 0xC8 PUSH9 0xB22BE54FEFF5E74791 0x4E DELEGATECALL EXTCODEHASH DUP6 PUSH10 0xAB8A2586F064736F6C63 NUMBER STOP ADDMOD ADDMOD STOP CALLER ",
"sourceMap": "283:2201:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2363:100;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;2438:15;2421:14;:32;;;;2363:100;:::o;88:117:1:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "45400",
"executionCost": "99",
"totalCost": "45499"
},
"external": {
"store(uint256)": "22498"
}
},
"legacyAssembly": {
".code": [
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 283,
"end": 2484,
"name": "MSTORE",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "DUP1",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "ISZERO",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 283,
"end": 2484,
"name": "JUMPI",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 283,
"end": 2484,
"name": "DUP1",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "REVERT",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 283,
"end": 2484,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "POP",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 283,
"end": 2484,
"name": "DUP1",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 283,
"end": 2484,
"name": "CODECOPY",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 283,
"end": 2484,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220bb4fbeb35f195a47c40895c868b22be54feff5e747914ef43f8569ab8a2586f064736f6c63430008080033",
".code": [
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 283,
"end": 2484,
"name": "MSTORE",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "DUP1",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "ISZERO",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 283,
"end": 2484,
"name": "JUMPI",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 283,
"end": 2484,
"name": "DUP1",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "REVERT",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 283,
"end": 2484,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "POP",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 283,
"end": 2484,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "LT",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 283,
"end": 2484,
"name": "JUMPI",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 283,
"end": 2484,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 283,
"end": 2484,
"name": "SHR",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "DUP1",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "6057361D"
},
{
"begin": 283,
"end": 2484,
"name": "EQ",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 283,
"end": 2484,
"name": "JUMPI",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 283,
"end": 2484,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 283,
"end": 2484,
"name": "DUP1",
"source": 0
},
{
"begin": 283,
"end": 2484,
"name": "REVERT",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 2363,
"end": 2463,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 2363,
"end": 2463,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 2363,
"end": 2463,
"name": "DUP1",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "SUB",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "DUP2",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "ADD",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "SWAP1",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 2363,
"end": 2463,
"name": "SWAP2",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "SWAP1",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 2363,
"end": 2463,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 2363,
"end": 2463,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 2363,
"end": 2463,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 2363,
"end": 2463,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 2363,
"end": 2463,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 2363,
"end": 2463,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "STOP",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 2363,
"end": 2463,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2438,
"end": 2453,
"name": "DUP1",
"source": 0
},
{
"begin": 2421,
"end": 2435,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2421,
"end": 2453,
"name": "DUP2",
"source": 0
},
{
"begin": 2421,
"end": 2453,
"name": "SWAP1",
"source": 0
},
{
"begin": 2421,
"end": 2453,
"name": "SSTORE",
"source": 0
},
{
"begin": 2421,
"end": 2453,
"name": "POP",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "POP",
"source": 0
},
{
"begin": 2363,
"end": 2463,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 88,
"end": 205,
"name": "tag",
"source": 1,
"value": "10"
},
{
"begin": 88,
"end": 205,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 197,
"end": 198,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 194,
"end": 195,
"name": "DUP1",
"source": 1
},
{
"begin": 187,
"end": 199,
"name": "REVERT",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "tag",
"source": 1,
"value": "12"
},
{
"begin": 334,
"end": 411,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 371,
"end": 378,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 400,
"end": 405,
"name": "DUP2",
"source": 1
},
{
"begin": 389,
"end": 405,
"name": "SWAP1",
"source": 1
},
{
"begin": 389,
"end": 405,
"name": "POP",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "SWAP2",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "SWAP1",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "POP",
"source": 1
},
{
"begin": 334,
"end": 411,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 417,
"end": 539,
"name": "tag",
"source": 1,
"value": "13"
},
{
"begin": 417,
"end": 539,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 490,
"end": 514,
"name": "PUSH [tag]",
"source": 1,
"value": "21"
},
{
"begin": 508,
"end": 513,
"name": "DUP2",
"source": 1
},
{
"begin": 490,
"end": 514,
"name": "PUSH [tag]",
"source": 1,
"value": "12"
},
{
"begin": 490,
"end": 514,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 490,
"end": 514,
"name": "tag",
"source": 1,
"value": "21"
},
{
"begin": 490,
"end": 514,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 483,
"end": 488,
"name": "DUP2",
"source": 1
},
{
"begin": 480,
"end": 515,
"name": "EQ",
"source": 1
},
{
"begin": 470,
"end": 533,
"name": "PUSH [tag]",
"source": 1,
"value": "22"
},
{
"begin": 470,
"end": 533,
"name": "JUMPI",
"source": 1
},
{
"begin": 529,
"end": 530,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 526,
"end": 527,
"name": "DUP1",
"source": 1
},
{
"begin": 519,
"end": 531,
"name": "REVERT",
"source": 1
},
{
"begin": 470,
"end": 533,
"name": "tag",
"source": 1,
"value": "22"
},
{
"begin": 470,
"end": 533,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 417,
"end": 539,
"name": "POP",
"source": 1
},
{
"begin": 417,
"end": 539,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 545,
"end": 684,
"name": "tag",
"source": 1,
"value": "14"
},
{
"begin": 545,
"end": 684,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 591,
"end": 596,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 629,
"end": 635,
"name": "DUP2",
"source": 1
},
{
"begin": 616,
"end": 636,
"name": "CALLDATALOAD",
"source": 1
},
{
"begin": 607,
"end": 636,
"name": "SWAP1",
"source": 1
},
{
"begin": 607,
"end": 636,
"name": "POP",
"source": 1
},
{
"begin": 645,
"end": 678,
"name": "PUSH [tag]",
"source": 1,
"value": "24"
},
{
"begin": 672,
"end": 677,
"name": "DUP2",
"source": 1
},
{
"begin": 645,
"end": 678,
"name": "PUSH [tag]",
"source": 1,
"value": "13"
},
{
"begin": 645,
"end": 678,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 645,
"end": 678,
"name": "tag",
"source": 1,
"value": "24"
},
{
"begin": 645,
"end": 678,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "SWAP3",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "SWAP2",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "POP",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "POP",
"source": 1
},
{
"begin": 545,
"end": 684,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 690,
"end": 1019,
"name": "tag",
"source": 1,
"value": "6"
},
{
"begin": 690,
"end": 1019,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 749,
"end": 755,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 798,
"end": 800,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 786,
"end": 795,
"name": "DUP3",
"source": 1
},
{
"begin": 777,
"end": 784,
"name": "DUP5",
"source": 1
},
{
"begin": 773,
"end": 796,
"name": "SUB",
"source": 1
},
{
"begin": 769,
"end": 801,
"name": "SLT",
"source": 1
},
{
"begin": 766,
"end": 885,
"name": "ISZERO",
"source": 1
},
{
"begin": 766,
"end": 885,
"name": "PUSH [tag]",
"source": 1,
"value": "26"
},
{
"begin": 766,
"end": 885,
"name": "JUMPI",
"source": 1
},
{
"begin": 804,
"end": 883,
"name": "PUSH [tag]",
"source": 1,
"value": "27"
},
{
"begin": 804,
"end": 883,
"name": "PUSH [tag]",
"source": 1,
"value": "10"
},
{
"begin": 804,
"end": 883,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 804,
"end": 883,
"name": "tag",
"source": 1,
"value": "27"
},
{
"begin": 804,
"end": 883,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 766,
"end": 885,
"name": "tag",
"source": 1,
"value": "26"
},
{
"begin": 766,
"end": 885,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 924,
"end": 925,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 949,
"end": 1002,
"name": "PUSH [tag]",
"source": 1,
"value": "28"
},
{
"begin": 994,
"end": 1001,
"name": "DUP5",
"source": 1
},
{
"begin": 985,
"end": 991,
"name": "DUP3",
"source": 1
},
{
"begin": 974,
"end": 983,
"name": "DUP6",
"source": 1
},
{
"begin": 970,
"end": 992,
"name": "ADD",
"source": 1
},
{
"begin": 949,
"end": 1002,
"name": "PUSH [tag]",
"source": 1,
"value": "14"
},
{
"begin": 949,
"end": 1002,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 949,
"end": 1002,
"name": "tag",
"source": 1,
"value": "28"
},
{
"begin": 949,
"end": 1002,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 939,
"end": 1002,
"name": "SWAP2",
"source": 1
},
{
"begin": 939,
"end": 1002,
"name": "POP",
"source": 1
},
{
"begin": 895,
"end": 1012,
"name": "POP",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "SWAP3",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "SWAP2",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "POP",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "POP",
"source": 1
},
{
"begin": 690,
"end": 1019,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"store(uint256)": "6057361d"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.8+commit.dddeac2f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_favoriteNumber\",\"type\":\"uint256\"}],\"name\":\"store\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/SimpleStorage.sol\":\"SimpleStorage\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/SimpleStorage.sol\":{\"keccak256\":\"0x0a1826c4654a1f1abb607bb44b74e66d1c9238068875d6c37d9b6c1f7c857033\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2b35da06598267640fe1c55493486001e1fe5476e10c2616930fc5e489e857d\",\"dweb:/ipfs/QmSDE9wHcu8ZXKCkguHatbYXawDBAHaZr9sMT9si3SLwmK\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 3,
"contract": "contracts/SimpleStorage.sol:SimpleStorage",
"label": "favoriteNumber",
"offset": 0,
"slot": "0",
"type": "t_uint256"
}
],
"types": {
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"contracts/SimpleStorage.sol": {
"ast": {
"absolutePath": "contracts/SimpleStorage.sol",
"exportedSymbols": {
"SimpleStorage": [
14
]
},
"id": 15,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"0.8",
".8"
],
"nodeType": "PragmaDirective",
"src": "33:22:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 14,
"linearizedBaseContracts": [
14
],
"name": "SimpleStorage",
"nameLocation": "292:13:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 3,
"mutability": "mutable",
"name": "favoriteNumber",
"nameLocation": "2164:14:0",
"nodeType": "VariableDeclaration",
"scope": 14,
"src": "2156:22:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2156:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"body": {
"id": 12,
"nodeType": "Block",
"src": "2410:53:0",
"statements": [
{
"expression": {
"id": 10,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 8,
"name": "favoriteNumber",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 3,
"src": "2421:14:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 9,
"name": "_favoriteNumber",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5,
"src": "2438:15:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "2421:32:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 11,
"nodeType": "ExpressionStatement",
"src": "2421:32:0"
}
]
},
"functionSelector": "6057361d",
"id": 13,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "store",
"nameLocation": "2372:5:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 6,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5,
"mutability": "mutable",
"name": "_favoriteNumber",
"nameLocation": "2386:15:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "2378:23:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 4,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2378:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "2377:25:0"
},
"returnParameters": {
"id": 7,
"nodeType": "ParameterList",
"parameters": [],
"src": "2410:0:0"
},
"scope": 14,
"src": "2363:100:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
}
],
"scope": 15,
"src": "283:2201:0",
"usedErrors": []
}
],
"src": "33:2455:0"
},
"id": 0
}
}
}
}
{
"id": "0736845b1857b05b8a4a2afdc2a71560",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"contracts/MyContract.sol": {
"content": "// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.0;\r\n\r\ncontract MyContract{\r\n // State Variables\r\n // Local Variables\r\n\r\n function getValue() public view returns(uint256){\r\n uint256 value = 10;\r\n return value;\r\n }\r\n}"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
"contracts/MyContract.sol": {
"MyContract": {
"abi": [
{
"inputs": [],
"name": "getValue",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"contracts/MyContract.sol\":60:247 contract MyContract{\r... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\ntag_1:\n pop\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"contracts/MyContract.sol\":60:247 contract MyContract{\r... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x20965255\n eq\n tag_3\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"contracts/MyContract.sol\":136:244 function getValue() public view returns(uint256){\r... */\n tag_3:\n tag_4\n tag_5\n jump\t// in\n tag_4:\n mload(0x40)\n tag_6\n swap2\n swap1\n tag_7\n jump\t// in\n tag_6:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n tag_5:\n /* \"contracts/MyContract.sol\":176:183 uint256 */\n 0x00\n /* \"contracts/MyContract.sol\":195:208 uint256 value */\n dup1\n /* \"contracts/MyContract.sol\":211:213 10 */\n 0x0a\n /* \"contracts/MyContract.sol\":195:213 uint256 value = 10 */\n swap1\n pop\n /* \"contracts/MyContract.sol\":231:236 value */\n dup1\n /* \"contracts/MyContract.sol\":224:236 return value */\n swap2\n pop\n pop\n /* \"contracts/MyContract.sol\":136:244 function getValue() public view returns(uint256){\r... */\n swap1\n jump\t// out\n /* \"#utility.yul\":7:125 */\n tag_10:\n /* \"#utility.yul\":94:118 */\n tag_12\n /* \"#utility.yul\":112:117 */\n dup2\n /* \"#utility.yul\":94:118 */\n tag_13\n jump\t// in\n tag_12:\n /* \"#utility.yul\":89:92 */\n dup3\n /* \"#utility.yul\":82:119 */\n mstore\n /* \"#utility.yul\":7:125 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":131:353 */\n tag_7:\n /* \"#utility.yul\":224:228 */\n 0x00\n /* \"#utility.yul\":262:264 */\n 0x20\n /* \"#utility.yul\":251:260 */\n dup3\n /* \"#utility.yul\":247:265 */\n add\n /* \"#utility.yul\":239:265 */\n swap1\n pop\n /* \"#utility.yul\":275:346 */\n tag_15\n /* \"#utility.yul\":343:344 */\n 0x00\n /* \"#utility.yul\":332:341 */\n dup4\n /* \"#utility.yul\":328:345 */\n add\n /* \"#utility.yul\":319:325 */\n dup5\n /* \"#utility.yul\":275:346 */\n tag_10\n jump\t// in\n tag_15:\n /* \"#utility.yul\":131:353 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":359:436 */\n tag_13:\n /* \"#utility.yul\":396:403 */\n 0x00\n /* \"#utility.yul\":425:430 */\n dup2\n /* \"#utility.yul\":414:430 */\n swap1\n pop\n /* \"#utility.yul\":359:436 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220fc5914c1c9adb41de9abbcca8a946c61ca9586f598dee8186411713e50d5334364736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5060bb8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80632096525514602d575b600080fd5b60336047565b604051603e91906062565b60405180910390f35b600080600a90508091505090565b605c81607b565b82525050565b6000602082019050607560008301846055565b92915050565b600081905091905056fea2646970667358221220fc5914c1c9adb41de9abbcca8a946c61ca9586f598dee8186411713e50d5334364736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0xBB DUP1 PUSH2 0x1F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x28 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x20965255 EQ PUSH1 0x2D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x33 PUSH1 0x47 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x3E SWAP2 SWAP1 PUSH1 0x62 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0xA SWAP1 POP DUP1 SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x5C DUP2 PUSH1 0x7B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x75 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0x55 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xFC MSIZE EQ 0xC1 0xC9 0xAD 0xB4 SAR 0xE9 0xAB 0xBC 0xCA DUP11 SWAP5 PUSH13 0x61CA9586F598DEE8186411713E POP 0xD5 CALLER NUMBER PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "60:187:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@getValue_13": {
"entryPoint": 71,
"id": 13,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 85,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 98,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 123,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:439:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "72:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "94:17:1"
},
"nodeType": "YulFunctionCall",
"src": "94:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "82:6:1"
},
"nodeType": "YulFunctionCall",
"src": "82:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "82:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "60:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "67:3:1",
"type": ""
}
],
"src": "7:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "229:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "239:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "251:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "262:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "247:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "239:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "319:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "332:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "343:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "328:3:1"
},
"nodeType": "YulFunctionCall",
"src": "328:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "275:43:1"
},
"nodeType": "YulFunctionCall",
"src": "275:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "275:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "201:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "213:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "224:4:1",
"type": ""
}
],
"src": "131:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "404:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "414:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "425:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "414:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "386:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "396:7:1",
"type": ""
}
],
"src": "359:77:1"
}
]
},
"contents": "{\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b506004361060285760003560e01c80632096525514602d575b600080fd5b60336047565b604051603e91906062565b60405180910390f35b600080600a90508091505090565b605c81607b565b82525050565b6000602082019050607560008301846055565b92915050565b600081905091905056fea2646970667358221220fc5914c1c9adb41de9abbcca8a946c61ca9586f598dee8186411713e50d5334364736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x28 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x20965255 EQ PUSH1 0x2D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x33 PUSH1 0x47 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x3E SWAP2 SWAP1 PUSH1 0x62 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0xA SWAP1 POP DUP1 SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x5C DUP2 PUSH1 0x7B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x75 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0x55 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xFC MSIZE EQ 0xC1 0xC9 0xAD 0xB4 SAR 0xE9 0xAB 0xBC 0xCA DUP11 SWAP5 PUSH13 0x61CA9586F598DEE8186411713E POP 0xD5 CALLER NUMBER PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "60:187:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;136:108;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;176:7;195:13;211:2;195:18;;231:5;224:12;;;136:108;:::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;7:118;;:::o;131:222::-;224:4;262:2;251:9;247:18;239:26;;275:71;343:1;332:9;328:17;319:6;275:71;:::i;:::-;131:222;;;;:::o;359:77::-;396:7;425:5;414:16;;359:77;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "37400",
"executionCost": "87",
"totalCost": "37487"
},
"external": {
"getValue()": "328"
}
},
"legacyAssembly": {
".code": [
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 60,
"end": 247,
"name": "MSTORE",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "ISZERO",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 247,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 247,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "REVERT",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 247,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "POP",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 60,
"end": 247,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 247,
"name": "CODECOPY",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 247,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220fc5914c1c9adb41de9abbcca8a946c61ca9586f598dee8186411713e50d5334364736f6c63430008070033",
".code": [
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 60,
"end": 247,
"name": "MSTORE",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "ISZERO",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 247,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 247,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "REVERT",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 60,
"end": 247,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "POP",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 60,
"end": 247,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "LT",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 60,
"end": 247,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 247,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 60,
"end": 247,
"name": "SHR",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "20965255"
},
{
"begin": 60,
"end": 247,
"name": "EQ",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 60,
"end": 247,
"name": "JUMPI",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 60,
"end": 247,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 60,
"end": 247,
"name": "DUP1",
"source": 0
},
{
"begin": 60,
"end": 247,
"name": "REVERT",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 136,
"end": 244,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 136,
"end": 244,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 136,
"end": 244,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 136,
"end": 244,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 136,
"end": 244,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 136,
"end": 244,
"name": "MLOAD",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 136,
"end": 244,
"name": "SWAP2",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "SWAP1",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 136,
"end": 244,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 136,
"end": 244,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 136,
"end": 244,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 136,
"end": 244,
"name": "MLOAD",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "DUP1",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "SWAP2",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "SUB",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "SWAP1",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "RETURN",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 136,
"end": 244,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 176,
"end": 183,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 195,
"end": 208,
"name": "DUP1",
"source": 0
},
{
"begin": 211,
"end": 213,
"name": "PUSH",
"source": 0,
"value": "A"
},
{
"begin": 195,
"end": 213,
"name": "SWAP1",
"source": 0
},
{
"begin": 195,
"end": 213,
"name": "POP",
"source": 0
},
{
"begin": 231,
"end": 236,
"name": "DUP1",
"source": 0
},
{
"begin": 224,
"end": 236,
"name": "SWAP2",
"source": 0
},
{
"begin": 224,
"end": 236,
"name": "POP",
"source": 0
},
{
"begin": 224,
"end": 236,
"name": "POP",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "SWAP1",
"source": 0
},
{
"begin": 136,
"end": 244,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 125,
"name": "tag",
"source": 1,
"value": "10"
},
{
"begin": 7,
"end": 125,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 94,
"end": 118,
"name": "PUSH [tag]",
"source": 1,
"value": "12"
},
{
"begin": 112,
"end": 117,
"name": "DUP2",
"source": 1
},
{
"begin": 94,
"end": 118,
"name": "PUSH [tag]",
"source": 1,
"value": "13"
},
{
"begin": 94,
"end": 118,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 94,
"end": 118,
"name": "tag",
"source": 1,
"value": "12"
},
{
"begin": 94,
"end": 118,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 89,
"end": 92,
"name": "DUP3",
"source": 1
},
{
"begin": 82,
"end": 119,
"name": "MSTORE",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 131,
"end": 353,
"name": "tag",
"source": 1,
"value": "7"
},
{
"begin": 131,
"end": 353,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 224,
"end": 228,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 262,
"end": 264,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 251,
"end": 260,
"name": "DUP3",
"source": 1
},
{
"begin": 247,
"end": 265,
"name": "ADD",
"source": 1
},
{
"begin": 239,
"end": 265,
"name": "SWAP1",
"source": 1
},
{
"begin": 239,
"end": 265,
"name": "POP",
"source": 1
},
{
"begin": 275,
"end": 346,
"name": "PUSH [tag]",
"source": 1,
"value": "15"
},
{
"begin": 343,
"end": 344,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 332,
"end": 341,
"name": "DUP4",
"source": 1
},
{
"begin": 328,
"end": 345,
"name": "ADD",
"source": 1
},
{
"begin": 319,
"end": 325,
"name": "DUP5",
"source": 1
},
{
"begin": 275,
"end": 346,
"name": "PUSH [tag]",
"source": 1,
"value": "10"
},
{
"begin": 275,
"end": 346,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 275,
"end": 346,
"name": "tag",
"source": 1,
"value": "15"
},
{
"begin": 275,
"end": 346,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "SWAP3",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "SWAP2",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "POP",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "POP",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 359,
"end": 436,
"name": "tag",
"source": 1,
"value": "13"
},
{
"begin": 359,
"end": 436,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 396,
"end": 403,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 425,
"end": 430,
"name": "DUP2",
"source": 1
},
{
"begin": 414,
"end": 430,
"name": "SWAP1",
"source": 1
},
{
"begin": 414,
"end": 430,
"name": "POP",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "SWAP2",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "SWAP1",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "POP",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"getValue()": "20965255"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"getValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/MyContract.sol\":\"MyContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/MyContract.sol\":{\"keccak256\":\"0x7bd4c660e4866806b6dfa1810c6aba56fb8da673c8888dfc708bf3130ed1f9c4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://37cbd9c94d8f799d1827916a7616b4f044be0206931ee18f8627aae3f9d97d39\",\"dweb:/ipfs/QmYsxfXqLwaNdK9qFkMxDg6XW2BkDa8w9ZzGF8gBxNRuKm\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"errors": [
{
"component": "general",
"errorCode": "2018",
"formattedMessage": "Warning: Function state mutability can be restricted to pure\n --> contracts/MyContract.sol:8:5:\n |\n8 | function getValue() public view returns(uint256){\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n",
"message": "Function state mutability can be restricted to pure",
"severity": "warning",
"sourceLocation": {
"end": 244,
"file": "contracts/MyContract.sol",
"start": 136
},
"type": "Warning"
}
],
"sources": {
"contracts/MyContract.sol": {
"ast": {
"absolutePath": "contracts/MyContract.sol",
"exportedSymbols": {
"MyContract": [
14
]
},
"id": 15,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "33:23:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 14,
"linearizedBaseContracts": [
14
],
"name": "MyContract",
"nameLocation": "69:10:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 12,
"nodeType": "Block",
"src": "184:60:0",
"statements": [
{
"assignments": [
7
],
"declarations": [
{
"constant": false,
"id": 7,
"mutability": "mutable",
"name": "value",
"nameLocation": "203:5:0",
"nodeType": "VariableDeclaration",
"scope": 12,
"src": "195:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "195:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"id": 9,
"initialValue": {
"hexValue": "3130",
"id": 8,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "211:2:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_10_by_1",
"typeString": "int_const 10"
},
"value": "10"
},
"nodeType": "VariableDeclarationStatement",
"src": "195:18:0"
},
{
"expression": {
"id": 10,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 7,
"src": "231:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"functionReturnParameters": 5,
"id": 11,
"nodeType": "Return",
"src": "224:12:0"
}
]
},
"functionSelector": "20965255",
"id": 13,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getValue",
"nameLocation": "145:8:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2,
"nodeType": "ParameterList",
"parameters": [],
"src": "153:2:0"
},
"returnParameters": {
"id": 5,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "176:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "176:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "175:9:0"
},
"scope": 14,
"src": "136:108:0",
"stateMutability": "view",
"virtual": false,
"visibility": "public"
}
],
"scope": 15,
"src": "60:187:0",
"usedErrors": []
}
],
"src": "33:214:0"
},
"id": 0
}
}
}
}
{
"id": "08ef6cf5c3fca37cbc70eee653dacaf7",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"contracts/MyContract.sol": {
"content": "// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.0;\r\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"sources": {
"contracts/MyContract.sol": {
"ast": {
"absolutePath": "contracts/MyContract.sol",
"exportedSymbols": {},
"id": 2,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "33:23:0"
}
],
"src": "33:25:0"
},
"id": 0
}
}
}
}
{
"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": {
"extract_byte_array_length": {
"entryPoint": 242,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 292,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526002600055600a6001556040518060600160405280603d815260200161036f603d91396002908051906020019061003c92919061004f565b5034801561004957600080fd5b50610153565b82805461005b906100f2565b90600052602060002090601f01602090048101928261007d57600085556100c4565b82601f1061009657805160ff19168380011785556100c4565b828001600101855582156100c4579182015b828111156100c35782518255916020019190600101906100a8565b5b5090506100d191906100d5565b5090565b5b808211156100ee5760008160009055506001016100d6565b5090565b6000600282049050600182168061010a57607f821691505b6020821081141561011e5761011d610124565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61020d806101626000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd146100465780634e70b1dc14610064578063e5071b8e14610082575b600080fd5b61004e61008c565b60405161005b91906100d3565b60405180910390f35b61006c610092565b60405161007991906100d3565b60405180910390f35b61008a610098565b005b60005481565b60015481565b60016000546100a791906100ee565b600081905550600a6001546100bc9190610144565b600181905550565b6100cd8161019e565b82525050565b60006020820190506100e860008301846100c4565b92915050565b60006100f98261019e565b91506101048361019e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610139576101386101a8565b5b828201905092915050565b600061014f8261019e565b915061015a8361019e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610193576101926101a8565b5b828202905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220fb63138b26f3d5863a3611dbf8fc847997e647ff2af938874875412733cd41cd64736f6c63430008070033486579207468657265212049276d206c6561726e696e6720536f6c696469747920616e642077696c6c20626520646976696e6720696e746f2057656233",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x2 PUSH1 0x0 SSTORE PUSH1 0xA PUSH1 0x1 SSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3D DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x36F PUSH1 0x3D SWAP2 CODECOPY PUSH1 0x2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x3C SWAP3 SWAP2 SWAP1 PUSH2 0x4F JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH2 0x49 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x153 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x5B SWAP1 PUSH2 0xF2 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x7D JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0xC4 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x96 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0xC4 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0xC4 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0xC3 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xA8 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0xD1 SWAP2 SWAP1 PUSH2 0xD5 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0xEE JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0xD6 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x10A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x11E JUMPI PUSH2 0x11D PUSH2 0x124 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x20D DUP1 PUSH2 0x162 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6661ABD EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x4E70B1DC EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0xE5071B8E EQ PUSH2 0x82 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0xD3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x79 SWAP2 SWAP1 PUSH2 0xD3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8A PUSH2 0x98 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0xEE JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 SSTORE POP PUSH1 0xA PUSH1 0x1 SLOAD PUSH2 0xBC SWAP2 SWAP1 PUSH2 0x144 JUMP JUMPDEST PUSH1 0x1 DUP2 SWAP1 SSTORE POP JUMP JUMPDEST PUSH2 0xCD DUP2 PUSH2 0x19E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xE8 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xC4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF9 DUP3 PUSH2 0x19E JUMP JUMPDEST SWAP2 POP PUSH2 0x104 DUP4 PUSH2 0x19E JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x139 JUMPI PUSH2 0x138 PUSH2 0x1A8 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14F DUP3 PUSH2 0x19E JUMP JUMPDEST SWAP2 POP PUSH2 0x15A DUP4 PUSH2 0x19E JUMP JUMPDEST SWAP3 POP DUP2 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x193 JUMPI PUSH2 0x192 PUSH2 0x1A8 JUMP JUMPDEST JUMPDEST DUP3 DUP3 MUL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xFB PUSH4 0x138B26F3 0xD5 DUP7 GASPRICE CALLDATASIZE GT 0xDB 0xF8 0xFC DUP5 PUSH26 0x97E647FF2AF938874875412733CD41CD64736F6C634300080700 CALLER BASEFEE PUSH6 0x792074686572 PUSH6 0x212049276D20 PUSH13 0x6561726E696E6720536F6C6964 PUSH10 0x747920616E642077696C PUSH13 0x20626520646976696E6720696E PUSH21 0x6F2057656233000000000000000000000000000000 ",
"sourceMap": "60:640:0:-:0;;;132:1;109:24;;189:2;168:23;;198:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60:640;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;60:640:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@count_4": {
"entryPoint": 140,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"@incrementCount_26": {
"entryPoint": 152,
"id": 26,
"parameterSlots": 0,
"returnSlots": 0
},
"@num_7": {
"entryPoint": 146,
"id": 7,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 196,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 211,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 238,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_mul_t_uint256": {
"entryPoint": 324,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 414,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 424,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1290:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "72:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "94:17:1"
},
"nodeType": "YulFunctionCall",
"src": "94:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "82:6:1"
},
"nodeType": "YulFunctionCall",
"src": "82:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "82:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "60:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "67:3:1",
"type": ""
}
],
"src": "7:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "229:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "239:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "251:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "262:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "247:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "239:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "319:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "332:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "343:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "328:3:1"
},
"nodeType": "YulFunctionCall",
"src": "328:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "275:43:1"
},
"nodeType": "YulFunctionCall",
"src": "275:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "275:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "201:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "213:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "224:4:1",
"type": ""
}
],
"src": "131:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "403:261:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "413:25:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "436:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "418:17:1"
},
"nodeType": "YulFunctionCall",
"src": "418:20:1"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "413:1:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "447:25:1",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "470:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "452:17:1"
},
"nodeType": "YulFunctionCall",
"src": "452:20:1"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "447:1:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "610:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "612:16:1"
},
"nodeType": "YulFunctionCall",
"src": "612:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "612:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "531:1:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "538:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "606:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "534:3:1"
},
"nodeType": "YulFunctionCall",
"src": "534:74:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "528:2:1"
},
"nodeType": "YulFunctionCall",
"src": "528:81:1"
},
"nodeType": "YulIf",
"src": "525:107:1"
},
{
"nodeType": "YulAssignment",
"src": "642:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "653:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "656:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "649:3:1"
},
"nodeType": "YulFunctionCall",
"src": "649:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "642:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "390:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "393:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "399:3:1",
"type": ""
}
],
"src": "359:305:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "718:300:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "728:25:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "751:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "733:17:1"
},
"nodeType": "YulFunctionCall",
"src": "733:20:1"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "728:1:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "762:25:1",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "785:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "767:17:1"
},
"nodeType": "YulFunctionCall",
"src": "767:20:1"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "762:1:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "960:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "962:16:1"
},
"nodeType": "YulFunctionCall",
"src": "962:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "962:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "872:1:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "865:6:1"
},
"nodeType": "YulFunctionCall",
"src": "865:9:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "858:6:1"
},
"nodeType": "YulFunctionCall",
"src": "858:17:1"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "880:1:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "887:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "955:1:1"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "883:3:1"
},
"nodeType": "YulFunctionCall",
"src": "883:74:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "877:2:1"
},
"nodeType": "YulFunctionCall",
"src": "877:81:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "854:3:1"
},
"nodeType": "YulFunctionCall",
"src": "854:105:1"
},
"nodeType": "YulIf",
"src": "851:131:1"
},
{
"nodeType": "YulAssignment",
"src": "992:20:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1007:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1010:1:1"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "1003:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1003:9:1"
},
"variableNames": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "992:7:1"
}
]
}
]
},
"name": "checked_mul_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "701:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "704:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "product",
"nodeType": "YulTypedName",
"src": "710:7:1",
"type": ""
}
],
"src": "670:348:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1069:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1079:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1090:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1079:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1051:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1061:7:1",
"type": ""
}
],
"src": "1024:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1135:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1152:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1155:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1145:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1145:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "1145:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1249:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1252:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1242:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1242:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "1242:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1273:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1276:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1266:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1266:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "1266:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "1107:180:1"
}
]
},
"contents": "{\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x != 0 and y > (maxValue / x)\n if and(iszero(iszero(x)), gt(y, div(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, x))) { panic_error_0x11() }\n\n product := mul(x, y)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd146100465780634e70b1dc14610064578063e5071b8e14610082575b600080fd5b61004e61008c565b60405161005b91906100d3565b60405180910390f35b61006c610092565b60405161007991906100d3565b60405180910390f35b61008a610098565b005b60005481565b60015481565b60016000546100a791906100ee565b600081905550600a6001546100bc9190610144565b600181905550565b6100cd8161019e565b82525050565b60006020820190506100e860008301846100c4565b92915050565b60006100f98261019e565b91506101048361019e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610139576101386101a8565b5b828201905092915050565b600061014f8261019e565b915061015a8361019e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610193576101926101a8565b5b828202905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220fb63138b26f3d5863a3611dbf8fc847997e647ff2af938874875412733cd41cd64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6661ABD EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x4E70B1DC EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0xE5071B8E EQ PUSH2 0x82 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0xD3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x79 SWAP2 SWAP1 PUSH2 0xD3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8A PUSH2 0x98 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0xEE JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 SSTORE POP PUSH1 0xA PUSH1 0x1 SLOAD PUSH2 0xBC SWAP2 SWAP1 PUSH2 0x144 JUMP JUMPDEST PUSH1 0x1 DUP2 SWAP1 SSTORE POP JUMP JUMPDEST PUSH2 0xCD DUP2 PUSH2 0x19E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xE8 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xC4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF9 DUP3 PUSH2 0x19E JUMP JUMPDEST SWAP2 POP PUSH2 0x104 DUP4 PUSH2 0x19E JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x139 JUMPI PUSH2 0x138 PUSH2 0x1A8 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14F DUP3 PUSH2 0x19E JUMP JUMPDEST SWAP2 POP PUSH2 0x15A DUP4 PUSH2 0x19E JUMP JUMPDEST SWAP3 POP DUP2 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x193 JUMPI PUSH2 0x192 PUSH2 0x1A8 JUMP JUMPDEST JUMPDEST DUP3 DUP3 MUL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xFB PUSH4 0x138B26F3 0xD5 DUP7 GASPRICE CALLDATASIZE GT 0xDB 0xF8 0xFC DUP5 PUSH26 0x97E647FF2AF938874875412733CD41CD64736F6C634300080700 CALLER ",
"sourceMap": "60:640:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109:24;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;168:23;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;564:131;;;:::i;:::-;;109:24;;;;:::o;168:23::-;;;;:::o;564:131::-;624:1;616:5;;:9;;;;:::i;:::-;608:5;:17;;;;685:2;679:3;;:8;;;;:::i;:::-;673:3;:14;;;;564:131::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;7:118;;:::o;131:222::-;224:4;262:2;251:9;247:18;239:26;;275:71;343:1;332:9;328:17;319:6;275:71;:::i;:::-;131:222;;;;:::o;359:305::-;399:3;418:20;436:1;418:20;:::i;:::-;413:25;;452:20;470:1;452:20;:::i;:::-;447:25;;606:1;538:66;534:74;531:1;528:81;525:107;;;612:18;;:::i;:::-;525:107;656:1;653;649:9;642:16;;359:305;;;;:::o;670:348::-;710:7;733:20;751:1;733:20;:::i;:::-;728:25;;767:20;785:1;767:20;:::i;:::-;762:25;;955:1;887:66;883:74;880:1;877:81;872:1;865:9;858:17;854:105;851:131;;;962:18;;:::i;:::-;851:131;1010:1;1007;1003:9;992:20;;670:348;;;;:::o;1024:77::-;1061:7;1090:5;1079:16;;1024:77;;;:::o;1107:180::-;1155:77;1152:1;1145:88;1252:4;1249:1;1242:15;1276:4;1273:1;1266:15"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "105000",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"count()": "2407",
"incrementCount()": "infinite",
"num()": "2429"
}
},
"methodIdentifiers": {
"count()": "06661abd",
"incrementCount()": "e5071b8e",
"num()": "4e70b1dc"
}
},
"abi": [
{
"inputs": [],
"name": "count",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "incrementCount",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "num",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "count",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "incrementCount",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "num",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/Counter.sol": "Counter"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/Counter.sol": {
"keccak256": "0xd2f77139e90c719bc9e8eb280c403455ff39fa67780649d9cd8aa767619f6577",
"license": "MIT",
"urls": [
"bzz-raw://8318b5cad11194df2fcf908624877bd0d0e0f32f645a6258e096cece7a34aba7",
"dweb:/ipfs/Qme6yAUSizLatLYwgRMj21nC1bX86zR5qbu9ozhWdZEHnk"
]
}
},
"version": 1
}
{
"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": {
"extract_byte_array_length": {
"entryPoint": 1213,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 1267,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060600160405280600160ff168152602001600360ff168152602001600560ff1681525060009060036200003d929190620001cd565b5060405180606001604052806040518060400160405280600581526020017f48656c6c6f00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f576f726c6400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f210000000000000000000000000000000000000000000000000000000000000081525081525060019060036200010a92919062000224565b50604051806040016040528060405180602001604052806040518060400160405280600581526020017f48656c6c6f000000000000000000000000000000000000000000000000000000815250815250815260200160405180602001604052806040518060400160405280600681526020017f50657465722100000000000000000000000000000000000000000000000000008152508152508152506003906002620001b89291906200028b565b50348015620001c657600080fd5b5062000522565b82805482825590600052602060002090810192821562000211579160200282015b8281111562000210578251829060ff16905591602001919060010190620001ee565b5b509050620002209190620002ed565b5090565b82805482825590600052602060002090810192821562000278579160200282015b8281111562000277578251829080519060200190620002669291906200030c565b509160200191906001019062000245565b5b5090506200028791906200039d565b5090565b828054828255906000526020600020908101928215620002da579160200282015b82811115620002d957825182906001620002c8929190620003c5565b5091602001919060010190620002ac565b5b509050620002e991906200042c565b5090565b5b8082111562000308576000816000905550600101620002ee565b5090565b8280546200031a90620004bd565b90600052602060002090601f0160209004810192826200033e57600085556200038a565b82601f106200035957805160ff19168380011785556200038a565b828001600101855582156200038a579182015b82811115620003895782518255916020019190600101906200036c565b5b509050620003999190620002ed565b5090565b5b80821115620003c15760008181620003b7919062000454565b506001016200039e565b5090565b82805482825590600052602060002090810192821562000419579160200282015b8281111562000418578251829080519060200190620004079291906200030c565b5091602001919060010190620003e6565b5b5090506200042891906200039d565b5090565b5b808211156200045057600081816200044691906200049a565b506001016200042d565b5090565b5080546200046290620004bd565b6000825580601f1062000476575062000497565b601f016020900490600052602060002090810190620004969190620002ed565b5b50565b5080546000825590600052602060002090810190620004ba91906200039d565b50565b60006002820490506001821680620004d657607f821691505b60208210811415620004ed57620004ec620004f3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61084280620005326000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806308dad4141461006757806326eb4dbb146100975780635e383d21146100b55780636290697d146100e5578063c52a7de114610115578063e29a108e14610145575b600080fd5b610081600480360381019061007c919061055f565b610161565b60405161008e9190610636565b60405180910390f35b61009f610185565b6040516100ac9190610636565b60405180910390f35b6100cf60048036038101906100ca919061055f565b610192565b6040516100dc9190610614565b60405180910390f35b6100ff60048036038101906100fa919061055f565b61023e565b60405161010c9190610614565b60405180910390f35b61012f600480360381019061012a919061058c565b6102ea565b60405161013c9190610614565b60405180910390f35b61015f600480360381019061015a9190610516565b6103af565b005b6000818154811061017157600080fd5b906000526020600020016000915090505481565b6000600280549050905090565b600281815481106101a257600080fd5b9060005260206000200160009150905080546101bd9061070f565b80601f01602080910402602001604051908101604052809291908181526020018280546101e99061070f565b80156102365780601f1061020b57610100808354040283529160200191610236565b820191906000526020600020905b81548152906001019060200180831161021957829003601f168201915b505050505081565b6001818154811061024e57600080fd5b9060005260206000200160009150905080546102699061070f565b80601f01602080910402602001604051908101604052809291908181526020018280546102959061070f565b80156102e25780601f106102b7576101008083540402835291602001916102e2565b820191906000526020600020905b8154815290600101906020018083116102c557829003601f168201915b505050505081565b600382815481106102fa57600080fd5b90600052602060002001818154811061031257600080fd5b9060005260206000200160009150915050805461032e9061070f565b80601f016020809104026020016040519081016040528092919081815260200182805461035a9061070f565b80156103a75780601f1061037c576101008083540402835291602001916103a7565b820191906000526020600020905b81548152906001019060200180831161038a57829003601f168201915b505050505081565b6002819080600181540180825580915050600190039060005260206000200160009091909190915090805190602001906103ea9291906103ee565b5050565b8280546103fa9061070f565b90600052602060002090601f01602090048101928261041c5760008555610463565b82601f1061043557805160ff1916838001178555610463565b82800160010185558215610463579182015b82811115610462578251825591602001919060010190610447565b5b5090506104709190610474565b5090565b5b8082111561048d576000816000905550600101610475565b5090565b60006104a461049f84610676565b610651565b9050828152602081018484840111156104c0576104bf6107d5565b5b6104cb8482856106cd565b509392505050565b600082601f8301126104e8576104e76107d0565b5b81356104f8848260208601610491565b91505092915050565b600081359050610510816107f5565b92915050565b60006020828403121561052c5761052b6107df565b5b600082013567ffffffffffffffff81111561054a576105496107da565b5b610556848285016104d3565b91505092915050565b600060208284031215610575576105746107df565b5b600061058384828501610501565b91505092915050565b600080604083850312156105a3576105a26107df565b5b60006105b185828601610501565b92505060206105c285828601610501565b9150509250929050565b60006105d7826106a7565b6105e181856106b2565b93506105f18185602086016106dc565b6105fa816107e4565b840191505092915050565b61060e816106c3565b82525050565b6000602082019050818103600083015261062e81846105cc565b905092915050565b600060208201905061064b6000830184610605565b92915050565b600061065b61066c565b90506106678282610741565b919050565b6000604051905090565b600067ffffffffffffffff821115610691576106906107a1565b5b61069a826107e4565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b82818337600083830152505050565b60005b838110156106fa5780820151818401526020810190506106df565b83811115610709576000848401525b50505050565b6000600282049050600182168061072757607f821691505b6020821081141561073b5761073a610772565b5b50919050565b61074a826107e4565b810181811067ffffffffffffffff82111715610769576107686107a1565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6107fe816106c3565b811461080957600080fd5b5056fea26469706673582212207222bf33284c0ec8640b1032c411e957b281084495b07a7394a9cfe5e021ce8664736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x3 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x5 PUSH1 0xFF AND DUP2 MSTORE POP PUSH1 0x0 SWAP1 PUSH1 0x3 PUSH3 0x3D SWAP3 SWAP2 SWAP1 PUSH3 0x1CD JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x576F726C64000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x2100000000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE POP PUSH1 0x1 SWAP1 PUSH1 0x3 PUSH3 0x10A SWAP3 SWAP2 SWAP1 PUSH3 0x224 JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5065746572210000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE POP DUP2 MSTORE POP PUSH1 0x3 SWAP1 PUSH1 0x2 PUSH3 0x1B8 SWAP3 SWAP2 SWAP1 PUSH3 0x28B JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH3 0x1C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH3 0x522 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x211 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x210 JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0xFF AND SWAP1 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x1EE JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x220 SWAP2 SWAP1 PUSH3 0x2ED JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x278 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x277 JUMPI DUP3 MLOAD DUP3 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x266 SWAP3 SWAP2 SWAP1 PUSH3 0x30C JUMP JUMPDEST POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x245 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x287 SWAP2 SWAP1 PUSH3 0x39D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x2DA JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x2D9 JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0x1 PUSH3 0x2C8 SWAP3 SWAP2 SWAP1 PUSH3 0x3C5 JUMP JUMPDEST POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x2AC JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x2E9 SWAP2 SWAP1 PUSH3 0x42C JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x308 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH3 0x2EE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0x31A SWAP1 PUSH3 0x4BD JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0x33E JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0x38A JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0x359 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0x38A JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0x38A JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x389 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x36C JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x399 SWAP2 SWAP1 PUSH3 0x2ED JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x3C1 JUMPI PUSH1 0x0 DUP2 DUP2 PUSH3 0x3B7 SWAP2 SWAP1 PUSH3 0x454 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH3 0x39E JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x419 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x418 JUMPI DUP3 MLOAD DUP3 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x407 SWAP3 SWAP2 SWAP1 PUSH3 0x30C JUMP JUMPDEST POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x3E6 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x428 SWAP2 SWAP1 PUSH3 0x39D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x450 JUMPI PUSH1 0x0 DUP2 DUP2 PUSH3 0x446 SWAP2 SWAP1 PUSH3 0x49A JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH3 0x42D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST POP DUP1 SLOAD PUSH3 0x462 SWAP1 PUSH3 0x4BD JUMP JUMPDEST PUSH1 0x0 DUP3 SSTORE DUP1 PUSH1 0x1F LT PUSH3 0x476 JUMPI POP PUSH3 0x497 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 PUSH3 0x496 SWAP2 SWAP1 PUSH3 0x2ED JUMP JUMPDEST JUMPDEST POP JUMP JUMPDEST POP DUP1 SLOAD PUSH1 0x0 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 PUSH3 0x4BA SWAP2 SWAP1 PUSH3 0x39D JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x4D6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x4ED JUMPI PUSH3 0x4EC PUSH3 0x4F3 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x842 DUP1 PUSH3 0x532 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x62 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DAD414 EQ PUSH2 0x67 JUMPI DUP1 PUSH4 0x26EB4DBB EQ PUSH2 0x97 JUMPI DUP1 PUSH4 0x5E383D21 EQ PUSH2 0xB5 JUMPI DUP1 PUSH4 0x6290697D EQ PUSH2 0xE5 JUMPI DUP1 PUSH4 0xC52A7DE1 EQ PUSH2 0x115 JUMPI DUP1 PUSH4 0xE29A108E EQ PUSH2 0x145 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x81 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x7C SWAP2 SWAP1 PUSH2 0x55F JUMP JUMPDEST PUSH2 0x161 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8E SWAP2 SWAP1 PUSH2 0x636 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9F PUSH2 0x185 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAC SWAP2 SWAP1 PUSH2 0x636 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCA SWAP2 SWAP1 PUSH2 0x55F JUMP JUMPDEST PUSH2 0x192 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x614 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xFF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFA SWAP2 SWAP1 PUSH2 0x55F JUMP JUMPDEST PUSH2 0x23E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10C SWAP2 SWAP1 PUSH2 0x614 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x12F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x12A SWAP2 SWAP1 PUSH2 0x58C JUMP JUMPDEST PUSH2 0x2EA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP2 SWAP1 PUSH2 0x614 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x15F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x15A SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH2 0x3AF JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP1 SLOAD SWAP1 POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x1A2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x1BD SWAP1 PUSH2 0x70F 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 0x1E9 SWAP1 PUSH2 0x70F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x236 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20B JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x236 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x219 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x24E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x269 SWAP1 PUSH2 0x70F 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 0x295 SWAP1 PUSH2 0x70F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2E2 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2B7 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2E2 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2C5 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x2FA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x312 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP2 POP POP DUP1 SLOAD PUSH2 0x32E SWAP1 PUSH2 0x70F 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 0x35A SWAP1 PUSH2 0x70F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3A7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x37C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3A7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x38A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x2 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x3EA SWAP3 SWAP2 SWAP1 PUSH2 0x3EE JUMP JUMPDEST POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x3FA SWAP1 PUSH2 0x70F JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x41C JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x463 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x435 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x463 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x463 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x462 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x447 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x470 SWAP2 SWAP1 PUSH2 0x474 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x48D JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x475 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4A4 PUSH2 0x49F DUP5 PUSH2 0x676 JUMP JUMPDEST PUSH2 0x651 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x4C0 JUMPI PUSH2 0x4BF PUSH2 0x7D5 JUMP JUMPDEST JUMPDEST PUSH2 0x4CB DUP5 DUP3 DUP6 PUSH2 0x6CD JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x4E8 JUMPI PUSH2 0x4E7 PUSH2 0x7D0 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x4F8 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x491 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x510 DUP2 PUSH2 0x7F5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x52C JUMPI PUSH2 0x52B PUSH2 0x7DF JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x54A JUMPI PUSH2 0x549 PUSH2 0x7DA JUMP JUMPDEST JUMPDEST PUSH2 0x556 DUP5 DUP3 DUP6 ADD PUSH2 0x4D3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x575 JUMPI PUSH2 0x574 PUSH2 0x7DF JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x583 DUP5 DUP3 DUP6 ADD PUSH2 0x501 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x5A3 JUMPI PUSH2 0x5A2 PUSH2 0x7DF JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x5B1 DUP6 DUP3 DUP7 ADD PUSH2 0x501 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x5C2 DUP6 DUP3 DUP7 ADD PUSH2 0x501 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5D7 DUP3 PUSH2 0x6A7 JUMP JUMPDEST PUSH2 0x5E1 DUP2 DUP6 PUSH2 0x6B2 JUMP JUMPDEST SWAP4 POP PUSH2 0x5F1 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x6DC JUMP JUMPDEST PUSH2 0x5FA DUP2 PUSH2 0x7E4 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x60E DUP2 PUSH2 0x6C3 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x62E DUP2 DUP5 PUSH2 0x5CC JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x64B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x605 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x65B PUSH2 0x66C JUMP JUMPDEST SWAP1 POP PUSH2 0x667 DUP3 DUP3 PUSH2 0x741 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x691 JUMPI PUSH2 0x690 PUSH2 0x7A1 JUMP JUMPDEST JUMPDEST PUSH2 0x69A DUP3 PUSH2 0x7E4 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x6FA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x6DF JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x709 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x727 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x73B JUMPI PUSH2 0x73A PUSH2 0x772 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x74A DUP3 PUSH2 0x7E4 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x769 JUMPI PUSH2 0x768 PUSH2 0x7A1 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x7FE DUP2 PUSH2 0x6C3 JUMP JUMPDEST DUP2 EQ PUSH2 0x809 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH19 0x22BF33284C0EC8640B1032C411E957B2810844 SWAP6 0xB0 PUSH27 0x7394A9CFE5E021CE8664736F6C6343000807003300000000000000 ",
"sourceMap": "59:557:0:-:0;;;179:36;;;;;;;;209:1;179:36;;;;;;211:1;179:36;;;;;;213:1;179:36;;;;;;;;;;;;;:::i;:::-;;222:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;350:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59:557;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;59:557:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@StrArray_15": {
"entryPoint": 574,
"id": 15,
"parameterSlots": 0,
"returnSlots": 0
},
"@UintArray_8": {
"entryPoint": 353,
"id": 8,
"parameterSlots": 0,
"returnSlots": 0
},
"@addValueToValuesArray_39": {
"entryPoint": 943,
"id": 39,
"parameterSlots": 1,
"returnSlots": 0
},
"@myTwoDArray_27": {
"entryPoint": 746,
"id": 27,
"parameterSlots": 0,
"returnSlots": 0
},
"@valueCount_48": {
"entryPoint": 389,
"id": 48,
"parameterSlots": 0,
"returnSlots": 1
},
"@values_18": {
"entryPoint": 402,
"id": 18,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 1169,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 1235,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 1281,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 1302,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 1375,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256t_uint256": {
"entryPoint": 1420,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1484,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 1541,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1556,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 1590,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1617,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 1644,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 1654,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 1703,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1714,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 1731,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 1741,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory": {
"entryPoint": 1756,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 1807,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 1857,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 1906,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1953,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 2000,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 2005,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 2010,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 2015,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 2020,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 2037,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:6377:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:328:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "101:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "168:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "126:41:1"
},
"nodeType": "YulFunctionCall",
"src": "126:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "110:15:1"
},
"nodeType": "YulFunctionCall",
"src": "110:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "101:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "192:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "199:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "185:6:1"
},
"nodeType": "YulFunctionCall",
"src": "185:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "185:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "215:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "230:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "237:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "226:3:1"
},
"nodeType": "YulFunctionCall",
"src": "226:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "219:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "280:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "282:77:1"
},
"nodeType": "YulFunctionCall",
"src": "282:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "257:3:1"
},
"nodeType": "YulFunctionCall",
"src": "257:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "275:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "254:2:1"
},
"nodeType": "YulFunctionCall",
"src": "254:25:1"
},
"nodeType": "YulIf",
"src": "251:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "396:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "401:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "406:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "372:23:1"
},
"nodeType": "YulFunctionCall",
"src": "372:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "372:41:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "64:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "69:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "77:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "85:5:1",
"type": ""
}
],
"src": "7:412:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "501:278:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "550:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "552:77:1"
},
"nodeType": "YulFunctionCall",
"src": "552:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "552:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "529:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "537:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "525:3:1"
},
"nodeType": "YulFunctionCall",
"src": "525:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "544:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "521:3:1"
},
"nodeType": "YulFunctionCall",
"src": "521:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "514:6:1"
},
"nodeType": "YulFunctionCall",
"src": "514:35:1"
},
"nodeType": "YulIf",
"src": "511:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "642:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "669:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "656:12:1"
},
"nodeType": "YulFunctionCall",
"src": "656:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "646:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "685:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "746:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "754:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "742:3:1"
},
"nodeType": "YulFunctionCall",
"src": "742:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "761:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "769:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "694:47:1"
},
"nodeType": "YulFunctionCall",
"src": "694:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "685:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "479:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "487:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "495:5:1",
"type": ""
}
],
"src": "439:340:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "837:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "847:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "869:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "856:12:1"
},
"nodeType": "YulFunctionCall",
"src": "856:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "847:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "912:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "885:26:1"
},
"nodeType": "YulFunctionCall",
"src": "885:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "885:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "815:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "823:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "831:5:1",
"type": ""
}
],
"src": "785:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1006:433:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1052:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1054:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1054:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1054:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1027:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1036:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1023:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1023:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1048:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1019:32:1"
},
"nodeType": "YulIf",
"src": "1016:119:1"
},
{
"nodeType": "YulBlock",
"src": "1145:287:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1160:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1191:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1202:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1187:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1187:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1174:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1174:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1164:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1252:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1254:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1254:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1254:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1224:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1232:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1221:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1221:30:1"
},
"nodeType": "YulIf",
"src": "1218:117:1"
},
{
"nodeType": "YulAssignment",
"src": "1349:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1394:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1405:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1390:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1390:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1414:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1359:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1359:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1349:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "976:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "987:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "999:6:1",
"type": ""
}
],
"src": "930:509:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1511:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1557:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1559:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1559:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1559:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1532:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1541:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1528:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1528:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1553:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1524:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1524:32:1"
},
"nodeType": "YulIf",
"src": "1521:119:1"
},
{
"nodeType": "YulBlock",
"src": "1650:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1665:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1679:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1669:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1694:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1729:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1740:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1725:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1725:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1749:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1704:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1704:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1694:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1481:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1492:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1504:6:1",
"type": ""
}
],
"src": "1445:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1863:391:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1909:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1911:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1911:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1911:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1884:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1893:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1880:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1880:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1905:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1876:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1876:32:1"
},
"nodeType": "YulIf",
"src": "1873:119:1"
},
{
"nodeType": "YulBlock",
"src": "2002:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2017:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2031:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2021:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2046:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2081:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2092:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2077:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2077:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2101:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2056:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2056:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2046:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2129:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2144:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2158:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2148:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2174:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2209:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2220:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2205:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2205:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2229:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2184:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2184:53:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2174:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1825:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1836:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1848:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1856:6:1",
"type": ""
}
],
"src": "1780:474:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2352:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2362:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2409:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2376:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2376:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2366:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2424:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2490:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2495:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2431:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2431:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2424:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2537:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2544:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2533:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2533:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2551:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2556:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2511:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2511:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2511:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2572:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2583:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2610:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2588:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2588:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2579:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2579:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2572:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2333:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2340:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2348:3:1",
"type": ""
}
],
"src": "2260:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2695:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2712:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2735:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2717:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2717:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2705:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2705:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "2705:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2683:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2690:3:1",
"type": ""
}
],
"src": "2630:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2872:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2882:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2894:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2905:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2890:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2890:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2882:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2929:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2940:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2925:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2925:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2948:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2954:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2944:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2944:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2918:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2918:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "2918:47:1"
},
{
"nodeType": "YulAssignment",
"src": "2974:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3046:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3055:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2982:63:1"
},
"nodeType": "YulFunctionCall",
"src": "2982:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2974:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2844:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2856:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2867:4:1",
"type": ""
}
],
"src": "2754:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3171:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3181:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3193:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3204:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3189:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3189:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3181:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3261:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3274:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3285:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3270:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3270:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3217:43:1"
},
"nodeType": "YulFunctionCall",
"src": "3217:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "3217:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3143:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3155:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3166:4:1",
"type": ""
}
],
"src": "3073:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3342:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3352:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "3362:18:1"
},
"nodeType": "YulFunctionCall",
"src": "3362:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3352:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3411:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3419:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "3391:19:1"
},
"nodeType": "YulFunctionCall",
"src": "3391:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "3391:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3326:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3335:6:1",
"type": ""
}
],
"src": "3301:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3476:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3486:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3502:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3496:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3496:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3486:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3469:6:1",
"type": ""
}
],
"src": "3436:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3584:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3689:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3691:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3691:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3691:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3661:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3669:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3658:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3658:30:1"
},
"nodeType": "YulIf",
"src": "3655:56:1"
},
{
"nodeType": "YulAssignment",
"src": "3721:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3751:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3729:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3729:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3721:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3795:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3807:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3813:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3803:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3803:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3795:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3568:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3579:4:1",
"type": ""
}
],
"src": "3517:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3890:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3901:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3917:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3911:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3911:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3901:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3873:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3883:6:1",
"type": ""
}
],
"src": "3831:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4032:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4049:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4054:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4042:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4042:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4042:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4070:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4089:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4094:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4085:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4085:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4070:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4004:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4009:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4020:11:1",
"type": ""
}
],
"src": "3936:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4156:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4166:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "4177:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4166:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4138:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4148:7:1",
"type": ""
}
],
"src": "4111:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4245:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4268:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4273:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4278:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "4255:12:1"
},
"nodeType": "YulFunctionCall",
"src": "4255:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "4255:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4326:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4331:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4322:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4322:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4340:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4315:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4315:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4315:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4227:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4232:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4237:6:1",
"type": ""
}
],
"src": "4194:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4403:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4413:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4422:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "4417:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4482:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4507:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4512:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4503:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4503:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4526:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4531:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4522:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4522:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4516:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4516:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4496:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4496:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "4496:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4443:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4446:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4440:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4440:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "4454:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4456:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4465:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4468:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4461:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4461:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4456:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "4436:3:1",
"statements": []
},
"src": "4432:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4579:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4629:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4634:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4625:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4625:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4643:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4618:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4618:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4618:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4560:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4563:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4557:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4557:13:1"
},
"nodeType": "YulIf",
"src": "4554:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4385:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4390:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4395:6:1",
"type": ""
}
],
"src": "4354:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4718:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4728:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4742:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4748:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4738:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4738:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4728:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4759:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4789:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4795:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4785:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4785:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "4763:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4836:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4850:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4864:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4872:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4860:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4850:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4816:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4809:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4809:26:1"
},
"nodeType": "YulIf",
"src": "4806:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4939:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "4953:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4953:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4953:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4903:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4926:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4934:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4923:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4923:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4900:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4900:38:1"
},
"nodeType": "YulIf",
"src": "4897:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "4702:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4711:6:1",
"type": ""
}
],
"src": "4667:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5036:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5046:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5068:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5098:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5076:21:1"
},
"nodeType": "YulFunctionCall",
"src": "5076:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5064:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5064:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "5050:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5215:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5217:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5217:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5217:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5158:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5170:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5155:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5155:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5194:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5206:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5191:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5191:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "5152:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5152:62:1"
},
"nodeType": "YulIf",
"src": "5149:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5253:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5257:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5246:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5246:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "5246:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5022:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5030:4:1",
"type": ""
}
],
"src": "4993:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5308:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5325:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5328:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5318:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5318:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5318:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5422:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5425:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5415:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5415:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5415:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5446:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5449:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5439:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5439:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5439:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "5280:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5494:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5511:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5514:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5504:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5504:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5504:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5608:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5611:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5601:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5601:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5601:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5632:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5635:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5625:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5625:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5625:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "5466:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5741:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5758:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5761:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5751:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5751:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5751:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "5652:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5864:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5881:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5884:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5874:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5874:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5874:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "5775:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5987:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6004:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6007:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5997:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5997:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5997:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "5898:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6110:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6127:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6130:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6120:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6120:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6120:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "6021:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6192:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6202:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6220:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6227:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6216:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6216:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6236:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "6232:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6232:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6212:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6212:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "6202:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6175:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "6185:6:1",
"type": ""
}
],
"src": "6144:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6295:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6352:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6361:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6364:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6354:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6354:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6354:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6318:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6343:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6325:17:1"
},
"nodeType": "YulFunctionCall",
"src": "6325:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6315:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6315:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6308:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6308:43:1"
},
"nodeType": "YulIf",
"src": "6305:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6288:5:1",
"type": ""
}
],
"src": "6252:122:1"
}
]
},
"contents": "{\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(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_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_string_memory_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 abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\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 array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function 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 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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\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 revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100625760003560e01c806308dad4141461006757806326eb4dbb146100975780635e383d21146100b55780636290697d146100e5578063c52a7de114610115578063e29a108e14610145575b600080fd5b610081600480360381019061007c919061055f565b610161565b60405161008e9190610636565b60405180910390f35b61009f610185565b6040516100ac9190610636565b60405180910390f35b6100cf60048036038101906100ca919061055f565b610192565b6040516100dc9190610614565b60405180910390f35b6100ff60048036038101906100fa919061055f565b61023e565b60405161010c9190610614565b60405180910390f35b61012f600480360381019061012a919061058c565b6102ea565b60405161013c9190610614565b60405180910390f35b61015f600480360381019061015a9190610516565b6103af565b005b6000818154811061017157600080fd5b906000526020600020016000915090505481565b6000600280549050905090565b600281815481106101a257600080fd5b9060005260206000200160009150905080546101bd9061070f565b80601f01602080910402602001604051908101604052809291908181526020018280546101e99061070f565b80156102365780601f1061020b57610100808354040283529160200191610236565b820191906000526020600020905b81548152906001019060200180831161021957829003601f168201915b505050505081565b6001818154811061024e57600080fd5b9060005260206000200160009150905080546102699061070f565b80601f01602080910402602001604051908101604052809291908181526020018280546102959061070f565b80156102e25780601f106102b7576101008083540402835291602001916102e2565b820191906000526020600020905b8154815290600101906020018083116102c557829003601f168201915b505050505081565b600382815481106102fa57600080fd5b90600052602060002001818154811061031257600080fd5b9060005260206000200160009150915050805461032e9061070f565b80601f016020809104026020016040519081016040528092919081815260200182805461035a9061070f565b80156103a75780601f1061037c576101008083540402835291602001916103a7565b820191906000526020600020905b81548152906001019060200180831161038a57829003601f168201915b505050505081565b6002819080600181540180825580915050600190039060005260206000200160009091909190915090805190602001906103ea9291906103ee565b5050565b8280546103fa9061070f565b90600052602060002090601f01602090048101928261041c5760008555610463565b82601f1061043557805160ff1916838001178555610463565b82800160010185558215610463579182015b82811115610462578251825591602001919060010190610447565b5b5090506104709190610474565b5090565b5b8082111561048d576000816000905550600101610475565b5090565b60006104a461049f84610676565b610651565b9050828152602081018484840111156104c0576104bf6107d5565b5b6104cb8482856106cd565b509392505050565b600082601f8301126104e8576104e76107d0565b5b81356104f8848260208601610491565b91505092915050565b600081359050610510816107f5565b92915050565b60006020828403121561052c5761052b6107df565b5b600082013567ffffffffffffffff81111561054a576105496107da565b5b610556848285016104d3565b91505092915050565b600060208284031215610575576105746107df565b5b600061058384828501610501565b91505092915050565b600080604083850312156105a3576105a26107df565b5b60006105b185828601610501565b92505060206105c285828601610501565b9150509250929050565b60006105d7826106a7565b6105e181856106b2565b93506105f18185602086016106dc565b6105fa816107e4565b840191505092915050565b61060e816106c3565b82525050565b6000602082019050818103600083015261062e81846105cc565b905092915050565b600060208201905061064b6000830184610605565b92915050565b600061065b61066c565b90506106678282610741565b919050565b6000604051905090565b600067ffffffffffffffff821115610691576106906107a1565b5b61069a826107e4565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b82818337600083830152505050565b60005b838110156106fa5780820151818401526020810190506106df565b83811115610709576000848401525b50505050565b6000600282049050600182168061072757607f821691505b6020821081141561073b5761073a610772565b5b50919050565b61074a826107e4565b810181811067ffffffffffffffff82111715610769576107686107a1565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6107fe816106c3565b811461080957600080fd5b5056fea26469706673582212207222bf33284c0ec8640b1032c411e957b281084495b07a7394a9cfe5e021ce8664736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x62 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DAD414 EQ PUSH2 0x67 JUMPI DUP1 PUSH4 0x26EB4DBB EQ PUSH2 0x97 JUMPI DUP1 PUSH4 0x5E383D21 EQ PUSH2 0xB5 JUMPI DUP1 PUSH4 0x6290697D EQ PUSH2 0xE5 JUMPI DUP1 PUSH4 0xC52A7DE1 EQ PUSH2 0x115 JUMPI DUP1 PUSH4 0xE29A108E EQ PUSH2 0x145 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x81 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x7C SWAP2 SWAP1 PUSH2 0x55F JUMP JUMPDEST PUSH2 0x161 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8E SWAP2 SWAP1 PUSH2 0x636 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9F PUSH2 0x185 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAC SWAP2 SWAP1 PUSH2 0x636 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCA SWAP2 SWAP1 PUSH2 0x55F JUMP JUMPDEST PUSH2 0x192 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x614 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xFF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFA SWAP2 SWAP1 PUSH2 0x55F JUMP JUMPDEST PUSH2 0x23E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10C SWAP2 SWAP1 PUSH2 0x614 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x12F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x12A SWAP2 SWAP1 PUSH2 0x58C JUMP JUMPDEST PUSH2 0x2EA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13C SWAP2 SWAP1 PUSH2 0x614 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x15F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x15A SWAP2 SWAP1 PUSH2 0x516 JUMP JUMPDEST PUSH2 0x3AF JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x171 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP1 SLOAD SWAP1 POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x1A2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x1BD SWAP1 PUSH2 0x70F 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 0x1E9 SWAP1 PUSH2 0x70F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x236 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20B JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x236 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x219 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x24E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x269 SWAP1 PUSH2 0x70F 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 0x295 SWAP1 PUSH2 0x70F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2E2 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2B7 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2E2 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2C5 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x2FA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x312 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP2 POP POP DUP1 SLOAD PUSH2 0x32E SWAP1 PUSH2 0x70F 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 0x35A SWAP1 PUSH2 0x70F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3A7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x37C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3A7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x38A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x2 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x3EA SWAP3 SWAP2 SWAP1 PUSH2 0x3EE JUMP JUMPDEST POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x3FA SWAP1 PUSH2 0x70F JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x41C JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x463 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x435 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x463 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x463 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x462 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x447 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x470 SWAP2 SWAP1 PUSH2 0x474 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x48D JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x475 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4A4 PUSH2 0x49F DUP5 PUSH2 0x676 JUMP JUMPDEST PUSH2 0x651 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x4C0 JUMPI PUSH2 0x4BF PUSH2 0x7D5 JUMP JUMPDEST JUMPDEST PUSH2 0x4CB DUP5 DUP3 DUP6 PUSH2 0x6CD JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x4E8 JUMPI PUSH2 0x4E7 PUSH2 0x7D0 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x4F8 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x491 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x510 DUP2 PUSH2 0x7F5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x52C JUMPI PUSH2 0x52B PUSH2 0x7DF JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x54A JUMPI PUSH2 0x549 PUSH2 0x7DA JUMP JUMPDEST JUMPDEST PUSH2 0x556 DUP5 DUP3 DUP6 ADD PUSH2 0x4D3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x575 JUMPI PUSH2 0x574 PUSH2 0x7DF JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x583 DUP5 DUP3 DUP6 ADD PUSH2 0x501 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x5A3 JUMPI PUSH2 0x5A2 PUSH2 0x7DF JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x5B1 DUP6 DUP3 DUP7 ADD PUSH2 0x501 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x5C2 DUP6 DUP3 DUP7 ADD PUSH2 0x501 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5D7 DUP3 PUSH2 0x6A7 JUMP JUMPDEST PUSH2 0x5E1 DUP2 DUP6 PUSH2 0x6B2 JUMP JUMPDEST SWAP4 POP PUSH2 0x5F1 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x6DC JUMP JUMPDEST PUSH2 0x5FA DUP2 PUSH2 0x7E4 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x60E DUP2 PUSH2 0x6C3 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x62E DUP2 DUP5 PUSH2 0x5CC JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x64B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x605 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x65B PUSH2 0x66C JUMP JUMPDEST SWAP1 POP PUSH2 0x667 DUP3 DUP3 PUSH2 0x741 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x691 JUMPI PUSH2 0x690 PUSH2 0x7A1 JUMP JUMPDEST JUMPDEST PUSH2 0x69A DUP3 PUSH2 0x7E4 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x6FA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x6DF JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x709 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x727 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x73B JUMPI PUSH2 0x73A PUSH2 0x772 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x74A DUP3 PUSH2 0x7E4 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x769 JUMPI PUSH2 0x768 PUSH2 0x7A1 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x7FE DUP2 PUSH2 0x6C3 JUMP JUMPDEST DUP2 EQ PUSH2 0x809 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH19 0x22BF33284C0EC8640B1032C411E957B2810844 SWAP6 0xB0 PUSH27 0x7394A9CFE5E021CE8664736F6C6343000807003300000000000000 ",
"sourceMap": "59:557:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;179:36;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;524:89;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;279:22;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;222:50;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;350:55;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;414:98;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;179:36;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;524:89::-;566:7;592:6;:13;;;;585:20;;524:89;:::o;279:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;222:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;350:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;414:98::-;485:6;497;485:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;414:98;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:412:1:-;85:5;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:112;;;282:79;;:::i;:::-;251:112;372:41;406:6;401:3;396;372:41;:::i;:::-;91:328;7:412;;;;;:::o;439:340::-;495:5;544:3;537:4;529:6;525:17;521:27;511:122;;552:79;;:::i;:::-;511:122;669:6;656:20;694:79;769:3;761:6;754:4;746:6;742:17;694:79;:::i;:::-;685:88;;501:278;439:340;;;;:::o;785:139::-;831:5;869:6;856:20;847:29;;885:33;912:5;885:33;:::i;:::-;785:139;;;;:::o;930:509::-;999:6;1048:2;1036:9;1027:7;1023:23;1019:32;1016:119;;;1054:79;;:::i;:::-;1016:119;1202:1;1191:9;1187:17;1174:31;1232:18;1224:6;1221:30;1218:117;;;1254:79;;:::i;:::-;1218:117;1359:63;1414:7;1405:6;1394:9;1390:22;1359:63;:::i;:::-;1349:73;;1145:287;930:509;;;;:::o;1445:329::-;1504:6;1553:2;1541:9;1532:7;1528:23;1524:32;1521:119;;;1559:79;;:::i;:::-;1521:119;1679:1;1704:53;1749:7;1740:6;1729:9;1725:22;1704:53;:::i;:::-;1694:63;;1650:117;1445:329;;;;:::o;1780:474::-;1848:6;1856;1905:2;1893:9;1884:7;1880:23;1876:32;1873:119;;;1911:79;;:::i;:::-;1873:119;2031:1;2056:53;2101:7;2092:6;2081:9;2077:22;2056:53;:::i;:::-;2046:63;;2002:117;2158:2;2184:53;2229:7;2220:6;2209:9;2205:22;2184:53;:::i;:::-;2174:63;;2129:118;1780:474;;;;;:::o;2260:364::-;2348:3;2376:39;2409:5;2376:39;:::i;:::-;2431:71;2495:6;2490:3;2431:71;:::i;:::-;2424:78;;2511:52;2556:6;2551:3;2544:4;2537:5;2533:16;2511:52;:::i;:::-;2588:29;2610:6;2588:29;:::i;:::-;2583:3;2579:39;2572:46;;2352:272;2260:364;;;;:::o;2630:118::-;2717:24;2735:5;2717:24;:::i;:::-;2712:3;2705:37;2630:118;;:::o;2754:313::-;2867:4;2905:2;2894:9;2890:18;2882:26;;2954:9;2948:4;2944:20;2940:1;2929:9;2925:17;2918:47;2982:78;3055:4;3046:6;2982:78;:::i;:::-;2974:86;;2754:313;;;;:::o;3073:222::-;3166:4;3204:2;3193:9;3189:18;3181:26;;3217:71;3285:1;3274:9;3270:17;3261:6;3217:71;:::i;:::-;3073:222;;;;:::o;3301:129::-;3335:6;3362:20;;:::i;:::-;3352:30;;3391:33;3419:4;3411:6;3391:33;:::i;:::-;3301:129;;;:::o;3436:75::-;3469:6;3502:2;3496:9;3486:19;;3436:75;:::o;3517:308::-;3579:4;3669:18;3661:6;3658:30;3655:56;;;3691:18;;:::i;:::-;3655:56;3729:29;3751:6;3729:29;:::i;:::-;3721:37;;3813:4;3807;3803:15;3795:23;;3517:308;;;:::o;3831:99::-;3883:6;3917:5;3911:12;3901:22;;3831:99;;;:::o;3936:169::-;4020:11;4054:6;4049:3;4042:19;4094:4;4089:3;4085:14;4070:29;;3936:169;;;;:::o;4111:77::-;4148:7;4177:5;4166:16;;4111:77;;;:::o;4194:154::-;4278:6;4273:3;4268;4255:30;4340:1;4331:6;4326:3;4322:16;4315:27;4194:154;;;:::o;4354:307::-;4422:1;4432:113;4446:6;4443:1;4440:13;4432:113;;;4531:1;4526:3;4522:11;4516:18;4512:1;4507:3;4503:11;4496:39;4468:2;4465:1;4461:10;4456:15;;4432:113;;;4563:6;4560:1;4557:13;4554:101;;;4643:1;4634:6;4629:3;4625:16;4618:27;4554:101;4403:258;4354:307;;;:::o;4667:320::-;4711:6;4748:1;4742:4;4738:12;4728:22;;4795:1;4789:4;4785:12;4816:18;4806:81;;4872:4;4864:6;4860:17;4850:27;;4806:81;4934:2;4926:6;4923:14;4903:18;4900:38;4897:84;;;4953:18;;:::i;:::-;4897:84;4718:269;4667:320;;;:::o;4993:281::-;5076:27;5098:4;5076:27;:::i;:::-;5068:6;5064:40;5206:6;5194:10;5191:22;5170:18;5158:10;5155:34;5152:62;5149:88;;;5217:18;;:::i;:::-;5149:88;5257:10;5253:2;5246:22;5036:238;4993:281;;:::o;5280:180::-;5328:77;5325:1;5318:88;5425:4;5422:1;5415:15;5449:4;5446:1;5439:15;5466:180;5514:77;5511:1;5504:88;5611:4;5608:1;5601:15;5635:4;5632:1;5625:15;5652:117;5761:1;5758;5751:12;5775:117;5884:1;5881;5874:12;5898:117;6007:1;6004;5997:12;6021:117;6130:1;6127;6120:12;6144:102;6185:6;6236:2;6232:7;6227:2;6220:5;6216:14;6212:28;6202:38;;6144:102;;;:::o;6252:122::-;6325:24;6343:5;6325:24;:::i;:::-;6318:5;6315:35;6305:63;;6364:1;6361;6354:12;6305:63;6252:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "422800",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"StrArray(uint256)": "infinite",
"UintArray(uint256)": "infinite",
"addValueToValuesArray(string)": "infinite",
"myTwoDArray(uint256,uint256)": "infinite",
"valueCount()": "2445",
"values(uint256)": "infinite"
}
},
"methodIdentifiers": {
"StrArray(uint256)": "6290697d",
"UintArray(uint256)": "08dad414",
"addValueToValuesArray(string)": "e29a108e",
"myTwoDArray(uint256,uint256)": "c52a7de1",
"valueCount()": "26eb4dbb",
"values(uint256)": "5e383d21"
}
},
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "StrArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "UintArray",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_value",
"type": "string"
}
],
"name": "addValueToValuesArray",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myTwoDArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "valueCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "values",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "StrArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "UintArray",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_value",
"type": "string"
}
],
"name": "addValueToValuesArray",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myTwoDArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "valueCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "values",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/ArraysInSolidity.sol": "FirstArray"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/ArraysInSolidity.sol": {
"keccak256": "0x1c84883eeb1aec77432f6d404068fced9a9479db3044965124fb0db5d5059087",
"license": "MIT",
"urls": [
"bzz-raw://fa86a0af895353e6e98a0bfd8ec80a87af12fc0630b37ce99d0d25387ea4f338",
"dweb:/ipfs/QmXJUTxu8ExPbxHXGvz5eFpt7bpwYK7M9VZEUxnNGCukNC"
]
}
},
"version": 1
}
{
"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": {
"@_62": {
"entryPoint": null,
"id": 62,
"parameterSlots": 0,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 770,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 824,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040523480156200001157600080fd5b506040518060400160405280600781526020017f49726f6e4d616e000000000000000000000000000000000000000000000000008152506000806001815260200190815260200160002090805190602001906200007092919062000252565b506040518060400160405280600481526020017f54686f7200000000000000000000000000000000000000000000000000000000815250600080600281526020019081526020016000209080519060200190620000cf92919062000252565b506040518060400160405280600481526020017f48756c6b000000000000000000000000000000000000000000000000000000008152506000806003815260200190815260200160002090805190602001906200012e92919062000252565b506040518060400160405280600581526020017f57616e64610000000000000000000000000000000000000000000000000000008152506000806004815260200190815260200160002090805190602001906200018d92919062000252565b506040518060400160405280600a81526020017f447220537472616e676500000000000000000000000000000000000000000000815250600080600581526020019081526020016000209080519060200190620001ec92919062000252565b506040518060400160405280600f81526020017f4361707461696e20416d657269636100000000000000000000000000000000008152506000806006815260200190815260200160002090805190602001906200024b92919062000252565b5062000367565b828054620002609062000302565b90600052602060002090601f016020900481019282620002845760008555620002d0565b82601f106200029f57805160ff1916838001178555620002d0565b82800160010185558215620002d0579182015b82811115620002cf578251825591602001919060010190620002b2565b5b509050620002df9190620002e3565b5090565b5b80821115620002fe576000816000905550600101620002e4565b5090565b600060028204905060018216806200031b57607f821691505b6020821081141562000332576200033162000338565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b610a4d80620003776000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063028414f21461005c57806327d3553f1461007857806368744046146100a95780637c668844146100da57806391be45ae1461010a575b600080fd5b610076600480360381019061007191906106f6565b610126565b005b610092600480360381019061008d9190610689565b610190565b6040516100a09291906107dc565b60405180910390f35b6100c360048036038101906100be91906106c9565b6102d1565b6040516100d19291906107dc565b60405180910390f35b6100f460048036038101906100ef91906106c9565b610405565b60405161010191906107ba565b60405180910390f35b610124600480360381019061011f91906106f6565b6104a5565b005b60405180604001604052808381526020018281525060016000858152602001908152602001600020600082015181600001908051906020019061016a92919061054c565b50602082015181600101908051906020019061018792919061054c565b50905050505050565b6002602052816000526040600020602052806000526040600020600091509150508060000180546101c090610903565b80601f01602080910402602001604051908101604052809291908181526020018280546101ec90610903565b80156102395780601f1061020e57610100808354040283529160200191610239565b820191906000526020600020905b81548152906001019060200180831161021c57829003601f168201915b50505050509080600101805461024e90610903565b80601f016020809104026020016040519081016040528092919081815260200182805461027a90610903565b80156102c75780601f1061029c576101008083540402835291602001916102c7565b820191906000526020600020905b8154815290600101906020018083116102aa57829003601f168201915b5050505050905082565b60016020528060005260406000206000915090508060000180546102f490610903565b80601f016020809104026020016040519081016040528092919081815260200182805461032090610903565b801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b50505050509080600101805461038290610903565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae90610903565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905082565b6000602052806000526040600020600091509050805461042490610903565b80601f016020809104026020016040519081016040528092919081815260200182805461045090610903565b801561049d5780601f106104725761010080835404028352916020019161049d565b820191906000526020600020905b81548152906001019060200180831161048057829003601f168201915b505050505081565b604051806040016040528083815260200182815250600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020600082015181600001908051906020019061052692919061054c565b50602082015181600101908051906020019061054392919061054c565b50905050505050565b82805461055890610903565b90600052602060002090601f01602090048101928261057a57600085556105c1565b82601f1061059357805160ff19168380011785556105c1565b828001600101855582156105c1579182015b828111156105c05782518255916020019190600101906105a5565b5b5090506105ce91906105d2565b5090565b5b808211156105eb5760008160009055506001016105d3565b5090565b60006106026105fd84610838565b610813565b90508281526020810184848401111561061e5761061d6109c9565b5b6106298482856108c1565b509392505050565b600081359050610640816109e9565b92915050565b600082601f83011261065b5761065a6109c4565b5b813561066b8482602086016105ef565b91505092915050565b60008135905061068381610a00565b92915050565b600080604083850312156106a05761069f6109d3565b5b60006106ae85828601610631565b92505060206106bf85828601610674565b9150509250929050565b6000602082840312156106df576106de6109d3565b5b60006106ed84828501610674565b91505092915050565b60008060006060848603121561070f5761070e6109d3565b5b600061071d86828701610674565b935050602084013567ffffffffffffffff81111561073e5761073d6109ce565b5b61074a86828701610646565b925050604084013567ffffffffffffffff81111561076b5761076a6109ce565b5b61077786828701610646565b9150509250925092565b600061078c82610869565b6107968185610874565b93506107a68185602086016108d0565b6107af816109d8565b840191505092915050565b600060208201905081810360008301526107d48184610781565b905092915050565b600060408201905081810360008301526107f68185610781565b9050818103602083015261080a8184610781565b90509392505050565b600061081d61082e565b90506108298282610935565b919050565b6000604051905090565b600067ffffffffffffffff82111561085357610852610995565b5b61085c826109d8565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600061089082610897565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156108ee5780820151818401526020810190506108d3565b838111156108fd576000848401525b50505050565b6000600282049050600182168061091b57607f821691505b6020821081141561092f5761092e610966565b5b50919050565b61093e826109d8565b810181811067ffffffffffffffff8211171561095d5761095c610995565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6109f281610885565b81146109fd57600080fd5b50565b610a09816108b7565b8114610a1457600080fd5b5056fea26469706673582212200c396922b0a53e68ab3de1ea2a9b3001dcfb5d3f04aa9c157b74938f27708efe64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x49726F6E4D616E00000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 DUP1 PUSH1 0x1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x70 SWAP3 SWAP2 SWAP1 PUSH3 0x252 JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x4 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x54686F7200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 DUP1 PUSH1 0x2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0xCF SWAP3 SWAP2 SWAP1 PUSH3 0x252 JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x4 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48756C6B00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x12E SWAP3 SWAP2 SWAP1 PUSH3 0x252 JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x57616E6461000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 DUP1 PUSH1 0x4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x18D SWAP3 SWAP2 SWAP1 PUSH3 0x252 JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xA DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x447220537472616E676500000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x1EC SWAP3 SWAP2 SWAP1 PUSH3 0x252 JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xF DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4361707461696E20416D65726963610000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x0 DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x24B SWAP3 SWAP2 SWAP1 PUSH3 0x252 JUMP JUMPDEST POP PUSH3 0x367 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0x260 SWAP1 PUSH3 0x302 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0x284 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0x2D0 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0x29F JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0x2D0 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0x2D0 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x2CF JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x2B2 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x2DF SWAP2 SWAP1 PUSH3 0x2E3 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x2FE JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH3 0x2E4 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x31B JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x332 JUMPI PUSH3 0x331 PUSH3 0x338 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xA4D DUP1 PUSH3 0x377 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x28414F2 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x27D3553F EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x68744046 EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x7C668844 EQ PUSH2 0xDA JUMPI DUP1 PUSH4 0x91BE45AE EQ PUSH2 0x10A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x6F6 JUMP JUMPDEST PUSH2 0x126 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x92 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8D SWAP2 SWAP1 PUSH2 0x689 JUMP JUMPDEST PUSH2 0x190 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA0 SWAP3 SWAP2 SWAP1 PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xBE SWAP2 SWAP1 PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x2D1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP3 SWAP2 SWAP1 PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xF4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEF SWAP2 SWAP1 PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x405 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x101 SWAP2 SWAP1 PUSH2 0x7BA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x124 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11F SWAP2 SWAP1 PUSH2 0x6F6 JUMP JUMPDEST PUSH2 0x4A5 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x1 PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x16A SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x187 SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP SWAP1 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x20 MSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP2 POP POP DUP1 PUSH1 0x0 ADD DUP1 SLOAD PUSH2 0x1C0 SWAP1 PUSH2 0x903 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 0x1EC SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x239 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x239 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x21C JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x24E SWAP1 PUSH2 0x903 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 0x27A SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2C7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x29C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2C7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2AA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD DUP1 SLOAD PUSH2 0x2F4 SWAP1 PUSH2 0x903 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 0x320 SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x36D JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x342 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x36D JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x350 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x382 SWAP1 PUSH2 0x903 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 0x3AE SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3FB JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x3D0 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3FB JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x3DE JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x424 SWAP1 PUSH2 0x903 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 0x450 SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x49D JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x472 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x49D JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x480 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x2 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x526 SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x543 SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP SWAP1 POP POP POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x558 SWAP1 PUSH2 0x903 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x57A JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x5C1 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x593 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x5C1 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x5C1 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x5C0 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x5A5 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x5CE SWAP2 SWAP1 PUSH2 0x5D2 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x5EB JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x5D3 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x602 PUSH2 0x5FD DUP5 PUSH2 0x838 JUMP JUMPDEST PUSH2 0x813 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x61E JUMPI PUSH2 0x61D PUSH2 0x9C9 JUMP JUMPDEST JUMPDEST PUSH2 0x629 DUP5 DUP3 DUP6 PUSH2 0x8C1 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x640 DUP2 PUSH2 0x9E9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x65B JUMPI PUSH2 0x65A PUSH2 0x9C4 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x66B DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x683 DUP2 PUSH2 0xA00 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x6A0 JUMPI PUSH2 0x69F PUSH2 0x9D3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x6AE DUP6 DUP3 DUP7 ADD PUSH2 0x631 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x6BF DUP6 DUP3 DUP7 ADD PUSH2 0x674 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6DF JUMPI PUSH2 0x6DE PUSH2 0x9D3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x6ED DUP5 DUP3 DUP6 ADD PUSH2 0x674 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x70F JUMPI PUSH2 0x70E PUSH2 0x9D3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x71D DUP7 DUP3 DUP8 ADD PUSH2 0x674 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x73E JUMPI PUSH2 0x73D PUSH2 0x9CE JUMP JUMPDEST JUMPDEST PUSH2 0x74A DUP7 DUP3 DUP8 ADD PUSH2 0x646 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x76B JUMPI PUSH2 0x76A PUSH2 0x9CE JUMP JUMPDEST JUMPDEST PUSH2 0x777 DUP7 DUP3 DUP8 ADD PUSH2 0x646 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x78C DUP3 PUSH2 0x869 JUMP JUMPDEST PUSH2 0x796 DUP2 DUP6 PUSH2 0x874 JUMP JUMPDEST SWAP4 POP PUSH2 0x7A6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x7AF DUP2 PUSH2 0x9D8 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x7D4 DUP2 DUP5 PUSH2 0x781 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x7F6 DUP2 DUP6 PUSH2 0x781 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x80A DUP2 DUP5 PUSH2 0x781 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x81D PUSH2 0x82E JUMP JUMPDEST SWAP1 POP PUSH2 0x829 DUP3 DUP3 PUSH2 0x935 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x853 JUMPI PUSH2 0x852 PUSH2 0x995 JUMP JUMPDEST JUMPDEST PUSH2 0x85C DUP3 PUSH2 0x9D8 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x890 DUP3 PUSH2 0x897 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8EE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x8D3 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x8FD JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x91B JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x92F JUMPI PUSH2 0x92E PUSH2 0x966 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x93E DUP3 PUSH2 0x9D8 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x95D JUMPI PUSH2 0x95C PUSH2 0x995 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x9F2 DUP2 PUSH2 0x885 JUMP JUMPDEST DUP2 EQ PUSH2 0x9FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0xA09 DUP2 PUSH2 0x8B7 JUMP JUMPDEST DUP2 EQ PUSH2 0xA14 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC CODECOPY PUSH10 0x22B0A53E68AB3DE1EA2A SWAP12 ADDRESS ADD 0xDC 0xFB 0x5D EXTCODEHASH DIV 0xAA SWAP13 ISZERO PUSH28 0x74938F27708EFE64736F6C6343000807003300000000000000000000 ",
"sourceMap": "61:1268:0:-:0;;;771:242;;;;;;;;;;803:24;;;;;;;;;;;;;;;;;:9;:12;813:1;803:12;;;;;;;;;;;:24;;;;;;;;;;;;:::i;:::-;;838:21;;;;;;;;;;;;;;;;;:9;:12;848:1;838:12;;;;;;;;;;;:21;;;;;;;;;;;;:::i;:::-;;870;;;;;;;;;;;;;;;;;:9;:12;880:1;870:12;;;;;;;;;;;:21;;;;;;;;;;;;:::i;:::-;;902:22;;;;;;;;;;;;;;;;;:9;:12;912:1;902:12;;;;;;;;;;;:22;;;;;;;;;;;;:::i;:::-;;935:27;;;;;;;;;;;;;;;;;:9;:12;945:1;935:12;;;;;;;;;;;:27;;;;;;;;;;;;:::i;:::-;;973:32;;;;;;;;;;;;;;;;;:9;:12;983:1;973:12;;;;;;;;;;;:32;;;;;;;;;;;;:::i;:::-;;61:1268;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;61:1268:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@addBook_81": {
"entryPoint": 294,
"id": 81,
"parameterSlots": 3,
"returnSlots": 0
},
"@addmyBooks_103": {
"entryPoint": 1189,
"id": 103,
"parameterSlots": 3,
"returnSlots": 0
},
"@books_10": {
"entryPoint": 721,
"id": 10,
"parameterSlots": 0,
"returnSlots": 0
},
"@myBooks_17": {
"entryPoint": 400,
"id": 17,
"parameterSlots": 0,
"returnSlots": 0
},
"@myMapping_5": {
"entryPoint": 1029,
"id": 5,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 1519,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_address": {
"entryPoint": 1585,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 1606,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 1652,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_uint256": {
"entryPoint": 1673,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 1737,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256t_string_memory_ptrt_string_memory_ptr": {
"entryPoint": 1782,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1921,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1978,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 2012,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 2067,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 2094,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 2104,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 2153,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 2164,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 2181,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 2199,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 2231,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 2241,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory": {
"entryPoint": 2256,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 2307,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 2357,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 2406,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 2453,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 2500,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 2505,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 2510,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 2515,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 2520,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_address": {
"entryPoint": 2537,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 2560,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:7522:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:328:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "101:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "168:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "126:41:1"
},
"nodeType": "YulFunctionCall",
"src": "126:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "110:15:1"
},
"nodeType": "YulFunctionCall",
"src": "110:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "101:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "192:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "199:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "185:6:1"
},
"nodeType": "YulFunctionCall",
"src": "185:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "185:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "215:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "230:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "237:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "226:3:1"
},
"nodeType": "YulFunctionCall",
"src": "226:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "219:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "280:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "282:77:1"
},
"nodeType": "YulFunctionCall",
"src": "282:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "257:3:1"
},
"nodeType": "YulFunctionCall",
"src": "257:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "275:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "254:2:1"
},
"nodeType": "YulFunctionCall",
"src": "254:25:1"
},
"nodeType": "YulIf",
"src": "251:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "396:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "401:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "406:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "372:23:1"
},
"nodeType": "YulFunctionCall",
"src": "372:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "372:41:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "64:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "69:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "77:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "85:5:1",
"type": ""
}
],
"src": "7:412:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "477:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "487:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "509:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "496:12:1"
},
"nodeType": "YulFunctionCall",
"src": "496:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "487:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "552:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "525:26:1"
},
"nodeType": "YulFunctionCall",
"src": "525:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "525:33:1"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "455:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "463:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "471:5:1",
"type": ""
}
],
"src": "425:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "646:278:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "695:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "697:77:1"
},
"nodeType": "YulFunctionCall",
"src": "697:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "697:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "674:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "682:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "670:3:1"
},
"nodeType": "YulFunctionCall",
"src": "670:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "689:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "666:3:1"
},
"nodeType": "YulFunctionCall",
"src": "666:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "659:6:1"
},
"nodeType": "YulFunctionCall",
"src": "659:35:1"
},
"nodeType": "YulIf",
"src": "656:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "787:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "814:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "801:12:1"
},
"nodeType": "YulFunctionCall",
"src": "801:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "791:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "830:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "891:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "899:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "887:3:1"
},
"nodeType": "YulFunctionCall",
"src": "887:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "906:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "914:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "839:47:1"
},
"nodeType": "YulFunctionCall",
"src": "839:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "830:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "624:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "632:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "640:5:1",
"type": ""
}
],
"src": "584:340:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "982:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "992:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1014:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1001:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1001:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "992:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1057:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "1030:26:1"
},
"nodeType": "YulFunctionCall",
"src": "1030:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "1030:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "960:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "968:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "976:5:1",
"type": ""
}
],
"src": "930:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1158:391:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1204:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1206:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1206:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1206:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1179:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1188:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1175:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1175:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1200:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1171:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1171:32:1"
},
"nodeType": "YulIf",
"src": "1168:119:1"
},
{
"nodeType": "YulBlock",
"src": "1297:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1312:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1326:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1316:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1341:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1376:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1387:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1372:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1372:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1396:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "1351:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1351:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1341:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1424:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1439:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1453:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1443:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1469:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1504:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1515:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1500:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1500:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1524:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1479:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1479:53:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1469:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1120:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1131:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1143:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1151:6:1",
"type": ""
}
],
"src": "1075:474:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1621:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1667:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1669:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1669:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1669:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1642:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1651:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1638:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1663:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1634:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1634:32:1"
},
"nodeType": "YulIf",
"src": "1631:119:1"
},
{
"nodeType": "YulBlock",
"src": "1760:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1775:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1789:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1779:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1804:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1839:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1850:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1835:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1835:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1859:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1814:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1814:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1804:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1591:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1602:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1614:6:1",
"type": ""
}
],
"src": "1555:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2010:859:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2056:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2058:77:1"
},
"nodeType": "YulFunctionCall",
"src": "2058:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "2058:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2031:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2040:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2027:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2027:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2052:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2023:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2023:32:1"
},
"nodeType": "YulIf",
"src": "2020:119:1"
},
{
"nodeType": "YulBlock",
"src": "2149:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2164:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2178:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2168:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2193:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2228:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2239:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2224:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2224:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2248:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2203:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2203:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2193:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2276:288:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2291:46:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2322:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2333:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2318:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2318:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2305:12:1"
},
"nodeType": "YulFunctionCall",
"src": "2305:32:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2295:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2384:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "2386:77:1"
},
"nodeType": "YulFunctionCall",
"src": "2386:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "2386:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2356:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2364:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2353:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2353:30:1"
},
"nodeType": "YulIf",
"src": "2350:117:1"
},
{
"nodeType": "YulAssignment",
"src": "2481:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2526:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2537:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2522:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2522:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2546:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2491:30:1"
},
"nodeType": "YulFunctionCall",
"src": "2491:63:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2481:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2574:288:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2589:46:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2620:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2631:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2616:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2616:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2603:12:1"
},
"nodeType": "YulFunctionCall",
"src": "2603:32:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2593:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2682:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "2684:77:1"
},
"nodeType": "YulFunctionCall",
"src": "2684:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "2684:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2654:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2662:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2651:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2651:30:1"
},
"nodeType": "YulIf",
"src": "2648:117:1"
},
{
"nodeType": "YulAssignment",
"src": "2779:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2824:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2835:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2820:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2820:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2844:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2789:30:1"
},
"nodeType": "YulFunctionCall",
"src": "2789:63:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "2779:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_string_memory_ptrt_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1964:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1975:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1987:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1995:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "2003:6:1",
"type": ""
}
],
"src": "1890:979:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2967:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2977:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3024:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2991:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2981:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3039:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3105:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3110:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3046:58:1"
},
"nodeType": "YulFunctionCall",
"src": "3046:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3039:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3152:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3159:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3148:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3148:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3166:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3171:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "3126:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3126:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "3126:52:1"
},
{
"nodeType": "YulAssignment",
"src": "3187:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3198:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3225:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3203:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3203:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3194:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3194:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3187:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2948:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2955:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2963:3:1",
"type": ""
}
],
"src": "2875:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3363:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3373:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3385:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3396:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3381:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3381:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3373:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3420:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3431:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3416:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3416:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3439:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3445:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3435:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3435:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3409:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3409:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "3409:47:1"
},
{
"nodeType": "YulAssignment",
"src": "3465:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3537:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3546:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3473:63:1"
},
"nodeType": "YulFunctionCall",
"src": "3473:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3465:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3335:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3347:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3358:4:1",
"type": ""
}
],
"src": "3245:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3730:348:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3740:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3752:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3763:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3748:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3748:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3740:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3787:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3798:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3783:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3783:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3806:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3812:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3802:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3802:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3776:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3776:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "3776:47:1"
},
{
"nodeType": "YulAssignment",
"src": "3832:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3904:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3913:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3840:63:1"
},
"nodeType": "YulFunctionCall",
"src": "3840:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3832:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3939:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3950:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3935:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3935:18:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3959:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3965:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3955:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3955:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3928:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3928:48:1"
},
"nodeType": "YulExpressionStatement",
"src": "3928:48:1"
},
{
"nodeType": "YulAssignment",
"src": "3985:86:1",
"value": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4057:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4066:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3993:63:1"
},
"nodeType": "YulFunctionCall",
"src": "3993:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3985:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3694:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3706:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3714:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3725:4:1",
"type": ""
}
],
"src": "3564:514:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4125:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4135:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "4145:18:1"
},
"nodeType": "YulFunctionCall",
"src": "4145:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4135:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4194:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4202:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "4174:19:1"
},
"nodeType": "YulFunctionCall",
"src": "4174:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "4174:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4109:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4118:6:1",
"type": ""
}
],
"src": "4084:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4259:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4269:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4285:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4279:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4279:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4269:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4252:6:1",
"type": ""
}
],
"src": "4219:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4367:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4472:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4474:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4474:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4474:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4444:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4452:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4441:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4441:30:1"
},
"nodeType": "YulIf",
"src": "4438:56:1"
},
{
"nodeType": "YulAssignment",
"src": "4504:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4534:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "4512:21:1"
},
"nodeType": "YulFunctionCall",
"src": "4512:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4504:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4578:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4590:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4596:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4586:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4586:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4578:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4351:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4362:4:1",
"type": ""
}
],
"src": "4300:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4673:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4684:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4700:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4694:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4694:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4684:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4656:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4666:6:1",
"type": ""
}
],
"src": "4614:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4815:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4832:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4837:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4825:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4825:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4825:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4853:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4872:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4877:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4868:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4868:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4853:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4787:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4792:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4803:11:1",
"type": ""
}
],
"src": "4719:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4939:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4949:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4978:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "4960:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4960:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4949:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4921:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4931:7:1",
"type": ""
}
],
"src": "4894:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5041:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5051:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5066:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5073:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5062:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5062:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5051:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5023:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5033:7:1",
"type": ""
}
],
"src": "4996:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5173:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5183:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "5194:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5183:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5155:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5165:7:1",
"type": ""
}
],
"src": "5128:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5262:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5285:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5290:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5295:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "5272:12:1"
},
"nodeType": "YulFunctionCall",
"src": "5272:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "5272:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5343:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5348:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5339:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5339:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5357:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5332:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5332:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "5332:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "5244:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "5249:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5254:6:1",
"type": ""
}
],
"src": "5211:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5420:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5430:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5439:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "5434:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5499:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5524:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5529:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5520:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5520:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5543:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5548:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5539:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5539:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5533:5:1"
},
"nodeType": "YulFunctionCall",
"src": "5533:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5513:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5513:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "5513:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5460:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5463:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5457:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5457:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "5471:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5473:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5482:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5485:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5478:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5478:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5473:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "5453:3:1",
"statements": []
},
"src": "5449:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5596:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5646:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5651:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5642:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5642:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5660:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5635:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5635:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "5635:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5577:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5580:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5574:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5574:13:1"
},
"nodeType": "YulIf",
"src": "5571:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "5402:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "5407:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5412:6:1",
"type": ""
}
],
"src": "5371:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5735:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5745:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5759:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5765:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "5755:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5755:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5745:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "5776:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5806:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5812:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5802:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5802:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "5780:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5853:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5867:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5881:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5889:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5877:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5877:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5867:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5833:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5826:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5826:26:1"
},
"nodeType": "YulIf",
"src": "5823:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5956:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "5970:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5970:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5970:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5920:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5943:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5951:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5940:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5940:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5917:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5917:38:1"
},
"nodeType": "YulIf",
"src": "5914:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5719:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5728:6:1",
"type": ""
}
],
"src": "5684:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6053:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "6063:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6085:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6115:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "6093:21:1"
},
"nodeType": "YulFunctionCall",
"src": "6093:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6081:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6081:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "6067:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6232:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "6234:16:1"
},
"nodeType": "YulFunctionCall",
"src": "6234:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "6234:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "6175:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6187:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6172:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6172:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "6211:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6223:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6208:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6208:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "6169:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6169:62:1"
},
"nodeType": "YulIf",
"src": "6166:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6270:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "6274:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6263:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6263:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "6263:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "6039:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "6047:4:1",
"type": ""
}
],
"src": "6010:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6325:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6342:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6345:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6335:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6335:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6439:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6442:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6432:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6432:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6432:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6463:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6466:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6456:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6456:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6456:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "6297:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6511:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6528:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6531:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6521:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6521:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6521:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6625:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6628:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6618:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6618:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6618:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6649:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6652:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6642:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6642:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6642:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "6483:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6758:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6775:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6778:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6768:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6768:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6768:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "6669:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6881:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6898:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6901:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6891:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6891:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6891:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "6792:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7004:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7021:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7024:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7014:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7014:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7014:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "6915:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7127:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7144:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7147:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7137:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7137:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7137:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "7038:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7209:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7219:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7237:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7244:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7233:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7233:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7253:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "7249:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7249:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7229:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7229:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "7219:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7192:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "7202:6:1",
"type": ""
}
],
"src": "7161:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7312:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7369:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7381:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7371:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7371:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7335:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7360:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "7342:17:1"
},
"nodeType": "YulFunctionCall",
"src": "7342:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7332:2:1"
},
"nodeType": "YulFunctionCall",
"src": "7332:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7325:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7325:43:1"
},
"nodeType": "YulIf",
"src": "7322:63:1"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7305:5:1",
"type": ""
}
],
"src": "7269:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7440:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7497:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7506:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7509:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7499:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7499:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7499:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7463:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7488:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7470:17:1"
},
"nodeType": "YulFunctionCall",
"src": "7470:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7460:2:1"
},
"nodeType": "YulFunctionCall",
"src": "7460:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7453:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7453:43:1"
},
"nodeType": "YulIf",
"src": "7450:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7433:5:1",
"type": ""
}
],
"src": "7397:122:1"
}
]
},
"contents": "{\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(src, dst, length)\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\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_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256t_string_memory_ptrt_string_memory_ptr(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 64))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value2 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function abi_encode_tuple_t_string_memory_ptr_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\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 mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value1, tail)\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\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 array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function 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 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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\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 revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100575760003560e01c8063028414f21461005c57806327d3553f1461007857806368744046146100a95780637c668844146100da57806391be45ae1461010a575b600080fd5b610076600480360381019061007191906106f6565b610126565b005b610092600480360381019061008d9190610689565b610190565b6040516100a09291906107dc565b60405180910390f35b6100c360048036038101906100be91906106c9565b6102d1565b6040516100d19291906107dc565b60405180910390f35b6100f460048036038101906100ef91906106c9565b610405565b60405161010191906107ba565b60405180910390f35b610124600480360381019061011f91906106f6565b6104a5565b005b60405180604001604052808381526020018281525060016000858152602001908152602001600020600082015181600001908051906020019061016a92919061054c565b50602082015181600101908051906020019061018792919061054c565b50905050505050565b6002602052816000526040600020602052806000526040600020600091509150508060000180546101c090610903565b80601f01602080910402602001604051908101604052809291908181526020018280546101ec90610903565b80156102395780601f1061020e57610100808354040283529160200191610239565b820191906000526020600020905b81548152906001019060200180831161021c57829003601f168201915b50505050509080600101805461024e90610903565b80601f016020809104026020016040519081016040528092919081815260200182805461027a90610903565b80156102c75780601f1061029c576101008083540402835291602001916102c7565b820191906000526020600020905b8154815290600101906020018083116102aa57829003601f168201915b5050505050905082565b60016020528060005260406000206000915090508060000180546102f490610903565b80601f016020809104026020016040519081016040528092919081815260200182805461032090610903565b801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b50505050509080600101805461038290610903565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae90610903565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905082565b6000602052806000526040600020600091509050805461042490610903565b80601f016020809104026020016040519081016040528092919081815260200182805461045090610903565b801561049d5780601f106104725761010080835404028352916020019161049d565b820191906000526020600020905b81548152906001019060200180831161048057829003601f168201915b505050505081565b604051806040016040528083815260200182815250600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020600082015181600001908051906020019061052692919061054c565b50602082015181600101908051906020019061054392919061054c565b50905050505050565b82805461055890610903565b90600052602060002090601f01602090048101928261057a57600085556105c1565b82601f1061059357805160ff19168380011785556105c1565b828001600101855582156105c1579182015b828111156105c05782518255916020019190600101906105a5565b5b5090506105ce91906105d2565b5090565b5b808211156105eb5760008160009055506001016105d3565b5090565b60006106026105fd84610838565b610813565b90508281526020810184848401111561061e5761061d6109c9565b5b6106298482856108c1565b509392505050565b600081359050610640816109e9565b92915050565b600082601f83011261065b5761065a6109c4565b5b813561066b8482602086016105ef565b91505092915050565b60008135905061068381610a00565b92915050565b600080604083850312156106a05761069f6109d3565b5b60006106ae85828601610631565b92505060206106bf85828601610674565b9150509250929050565b6000602082840312156106df576106de6109d3565b5b60006106ed84828501610674565b91505092915050565b60008060006060848603121561070f5761070e6109d3565b5b600061071d86828701610674565b935050602084013567ffffffffffffffff81111561073e5761073d6109ce565b5b61074a86828701610646565b925050604084013567ffffffffffffffff81111561076b5761076a6109ce565b5b61077786828701610646565b9150509250925092565b600061078c82610869565b6107968185610874565b93506107a68185602086016108d0565b6107af816109d8565b840191505092915050565b600060208201905081810360008301526107d48184610781565b905092915050565b600060408201905081810360008301526107f68185610781565b9050818103602083015261080a8184610781565b90509392505050565b600061081d61082e565b90506108298282610935565b919050565b6000604051905090565b600067ffffffffffffffff82111561085357610852610995565b5b61085c826109d8565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600061089082610897565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156108ee5780820151818401526020810190506108d3565b838111156108fd576000848401525b50505050565b6000600282049050600182168061091b57607f821691505b6020821081141561092f5761092e610966565b5b50919050565b61093e826109d8565b810181811067ffffffffffffffff8211171561095d5761095c610995565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6109f281610885565b81146109fd57600080fd5b50565b610a09816108b7565b8114610a1457600080fd5b5056fea26469706673582212200c396922b0a53e68ab3de1ea2a9b3001dcfb5d3f04aa9c157b74938f27708efe64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x28414F2 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x27D3553F EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x68744046 EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x7C668844 EQ PUSH2 0xDA JUMPI DUP1 PUSH4 0x91BE45AE EQ PUSH2 0x10A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x6F6 JUMP JUMPDEST PUSH2 0x126 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x92 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8D SWAP2 SWAP1 PUSH2 0x689 JUMP JUMPDEST PUSH2 0x190 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA0 SWAP3 SWAP2 SWAP1 PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xBE SWAP2 SWAP1 PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x2D1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP3 SWAP2 SWAP1 PUSH2 0x7DC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xF4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEF SWAP2 SWAP1 PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x405 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x101 SWAP2 SWAP1 PUSH2 0x7BA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x124 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11F SWAP2 SWAP1 PUSH2 0x6F6 JUMP JUMPDEST PUSH2 0x4A5 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x1 PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x16A SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x187 SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP SWAP1 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x20 MSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP2 POP POP DUP1 PUSH1 0x0 ADD DUP1 SLOAD PUSH2 0x1C0 SWAP1 PUSH2 0x903 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 0x1EC SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x239 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x239 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x21C JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x24E SWAP1 PUSH2 0x903 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 0x27A SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2C7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x29C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2C7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2AA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD DUP1 SLOAD PUSH2 0x2F4 SWAP1 PUSH2 0x903 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 0x320 SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x36D JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x342 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x36D JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x350 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x382 SWAP1 PUSH2 0x903 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 0x3AE SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3FB JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x3D0 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3FB JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x3DE JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x424 SWAP1 PUSH2 0x903 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 0x450 SWAP1 PUSH2 0x903 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x49D JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x472 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x49D JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x480 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE POP PUSH1 0x2 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x526 SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x543 SWAP3 SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST POP SWAP1 POP POP POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x558 SWAP1 PUSH2 0x903 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x57A JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x5C1 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x593 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x5C1 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x5C1 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x5C0 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x5A5 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x5CE SWAP2 SWAP1 PUSH2 0x5D2 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x5EB JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x5D3 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x602 PUSH2 0x5FD DUP5 PUSH2 0x838 JUMP JUMPDEST PUSH2 0x813 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x61E JUMPI PUSH2 0x61D PUSH2 0x9C9 JUMP JUMPDEST JUMPDEST PUSH2 0x629 DUP5 DUP3 DUP6 PUSH2 0x8C1 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x640 DUP2 PUSH2 0x9E9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x65B JUMPI PUSH2 0x65A PUSH2 0x9C4 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x66B DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x683 DUP2 PUSH2 0xA00 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x6A0 JUMPI PUSH2 0x69F PUSH2 0x9D3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x6AE DUP6 DUP3 DUP7 ADD PUSH2 0x631 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x6BF DUP6 DUP3 DUP7 ADD PUSH2 0x674 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6DF JUMPI PUSH2 0x6DE PUSH2 0x9D3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x6ED DUP5 DUP3 DUP6 ADD PUSH2 0x674 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x70F JUMPI PUSH2 0x70E PUSH2 0x9D3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x71D DUP7 DUP3 DUP8 ADD PUSH2 0x674 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x73E JUMPI PUSH2 0x73D PUSH2 0x9CE JUMP JUMPDEST JUMPDEST PUSH2 0x74A DUP7 DUP3 DUP8 ADD PUSH2 0x646 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x76B JUMPI PUSH2 0x76A PUSH2 0x9CE JUMP JUMPDEST JUMPDEST PUSH2 0x777 DUP7 DUP3 DUP8 ADD PUSH2 0x646 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x78C DUP3 PUSH2 0x869 JUMP JUMPDEST PUSH2 0x796 DUP2 DUP6 PUSH2 0x874 JUMP JUMPDEST SWAP4 POP PUSH2 0x7A6 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x8D0 JUMP JUMPDEST PUSH2 0x7AF DUP2 PUSH2 0x9D8 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x7D4 DUP2 DUP5 PUSH2 0x781 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x7F6 DUP2 DUP6 PUSH2 0x781 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x80A DUP2 DUP5 PUSH2 0x781 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x81D PUSH2 0x82E JUMP JUMPDEST SWAP1 POP PUSH2 0x829 DUP3 DUP3 PUSH2 0x935 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x853 JUMPI PUSH2 0x852 PUSH2 0x995 JUMP JUMPDEST JUMPDEST PUSH2 0x85C DUP3 PUSH2 0x9D8 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x890 DUP3 PUSH2 0x897 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8EE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x8D3 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x8FD JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x91B JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x92F JUMPI PUSH2 0x92E PUSH2 0x966 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x93E DUP3 PUSH2 0x9D8 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x95D JUMPI PUSH2 0x95C PUSH2 0x995 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x9F2 DUP2 PUSH2 0x885 JUMP JUMPDEST DUP2 EQ PUSH2 0x9FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0xA09 DUP2 PUSH2 0x8B7 JUMP JUMPDEST DUP2 EQ PUSH2 0xA14 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC CODECOPY PUSH10 0x22B0A53E68AB3DE1EA2A SWAP12 ADDRESS ADD 0xDC 0xFB 0x5D EXTCODEHASH DIV 0xAA SWAP13 ISZERO PUSH28 0x74938F27708EFE64736F6C6343000807003300000000000000000000 ",
"sourceMap": "61:1268:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1021:137;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;628:59;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;385:37;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;335:43;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1164:154;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1021:137;1127:21;;;;;;;;1132:6;1127:21;;;;1140:7;1127:21;;;1114:5;:10;1120:3;1114:10;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;1021:137;;;:::o;628:59::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;385:37::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;335:43::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1164:154::-;1287:21;;;;;;;;1292:6;1287:21;;;;1300:7;1287:21;;;1260:7;:19;1268:10;1260:19;;;;;;;;;;;;;;;:24;1280:3;1260:24;;;;;;;;;;;:48;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;1164:154;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:412:1:-;85:5;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:112;;;282:79;;:::i;:::-;251:112;372:41;406:6;401:3;396;372:41;:::i;:::-;91:328;7:412;;;;;:::o;425:139::-;471:5;509:6;496:20;487:29;;525:33;552:5;525:33;:::i;:::-;425:139;;;;:::o;584:340::-;640:5;689:3;682:4;674:6;670:17;666:27;656:122;;697:79;;:::i;:::-;656:122;814:6;801:20;839:79;914:3;906:6;899:4;891:6;887:17;839:79;:::i;:::-;830:88;;646:278;584:340;;;;:::o;930:139::-;976:5;1014:6;1001:20;992:29;;1030:33;1057:5;1030:33;:::i;:::-;930:139;;;;:::o;1075:474::-;1143:6;1151;1200:2;1188:9;1179:7;1175:23;1171:32;1168:119;;;1206:79;;:::i;:::-;1168:119;1326:1;1351:53;1396:7;1387:6;1376:9;1372:22;1351:53;:::i;:::-;1341:63;;1297:117;1453:2;1479:53;1524:7;1515:6;1504:9;1500:22;1479:53;:::i;:::-;1469:63;;1424:118;1075:474;;;;;:::o;1555:329::-;1614:6;1663:2;1651:9;1642:7;1638:23;1634:32;1631:119;;;1669:79;;:::i;:::-;1631:119;1789:1;1814:53;1859:7;1850:6;1839:9;1835:22;1814:53;:::i;:::-;1804:63;;1760:117;1555:329;;;;:::o;1890:979::-;1987:6;1995;2003;2052:2;2040:9;2031:7;2027:23;2023:32;2020:119;;;2058:79;;:::i;:::-;2020:119;2178:1;2203:53;2248:7;2239:6;2228:9;2224:22;2203:53;:::i;:::-;2193:63;;2149:117;2333:2;2322:9;2318:18;2305:32;2364:18;2356:6;2353:30;2350:117;;;2386:79;;:::i;:::-;2350:117;2491:63;2546:7;2537:6;2526:9;2522:22;2491:63;:::i;:::-;2481:73;;2276:288;2631:2;2620:9;2616:18;2603:32;2662:18;2654:6;2651:30;2648:117;;;2684:79;;:::i;:::-;2648:117;2789:63;2844:7;2835:6;2824:9;2820:22;2789:63;:::i;:::-;2779:73;;2574:288;1890:979;;;;;:::o;2875:364::-;2963:3;2991:39;3024:5;2991:39;:::i;:::-;3046:71;3110:6;3105:3;3046:71;:::i;:::-;3039:78;;3126:52;3171:6;3166:3;3159:4;3152:5;3148:16;3126:52;:::i;:::-;3203:29;3225:6;3203:29;:::i;:::-;3198:3;3194:39;3187:46;;2967:272;2875:364;;;;:::o;3245:313::-;3358:4;3396:2;3385:9;3381:18;3373:26;;3445:9;3439:4;3435:20;3431:1;3420:9;3416:17;3409:47;3473:78;3546:4;3537:6;3473:78;:::i;:::-;3465:86;;3245:313;;;;:::o;3564:514::-;3725:4;3763:2;3752:9;3748:18;3740:26;;3812:9;3806:4;3802:20;3798:1;3787:9;3783:17;3776:47;3840:78;3913:4;3904:6;3840:78;:::i;:::-;3832:86;;3965:9;3959:4;3955:20;3950:2;3939:9;3935:18;3928:48;3993:78;4066:4;4057:6;3993:78;:::i;:::-;3985:86;;3564:514;;;;;:::o;4084:129::-;4118:6;4145:20;;:::i;:::-;4135:30;;4174:33;4202:4;4194:6;4174:33;:::i;:::-;4084:129;;;:::o;4219:75::-;4252:6;4285:2;4279:9;4269:19;;4219:75;:::o;4300:308::-;4362:4;4452:18;4444:6;4441:30;4438:56;;;4474:18;;:::i;:::-;4438:56;4512:29;4534:6;4512:29;:::i;:::-;4504:37;;4596:4;4590;4586:15;4578:23;;4300:308;;;:::o;4614:99::-;4666:6;4700:5;4694:12;4684:22;;4614:99;;;:::o;4719:169::-;4803:11;4837:6;4832:3;4825:19;4877:4;4872:3;4868:14;4853:29;;4719:169;;;;:::o;4894:96::-;4931:7;4960:24;4978:5;4960:24;:::i;:::-;4949:35;;4894:96;;;:::o;4996:126::-;5033:7;5073:42;5066:5;5062:54;5051:65;;4996:126;;;:::o;5128:77::-;5165:7;5194:5;5183:16;;5128:77;;;:::o;5211:154::-;5295:6;5290:3;5285;5272:30;5357:1;5348:6;5343:3;5339:16;5332:27;5211:154;;;:::o;5371:307::-;5439:1;5449:113;5463:6;5460:1;5457:13;5449:113;;;5548:1;5543:3;5539:11;5533:18;5529:1;5524:3;5520:11;5513:39;5485:2;5482:1;5478:10;5473:15;;5449:113;;;5580:6;5577:1;5574:13;5571:101;;;5660:1;5651:6;5646:3;5642:16;5635:27;5571:101;5420:258;5371:307;;;:::o;5684:320::-;5728:6;5765:1;5759:4;5755:12;5745:22;;5812:1;5806:4;5802:12;5833:18;5823:81;;5889:4;5881:6;5877:17;5867:27;;5823:81;5951:2;5943:6;5940:14;5920:18;5917:38;5914:84;;;5970:18;;:::i;:::-;5914:84;5735:269;5684:320;;;:::o;6010:281::-;6093:27;6115:4;6093:27;:::i;:::-;6085:6;6081:40;6223:6;6211:10;6208:22;6187:18;6175:10;6172:34;6169:62;6166:88;;;6234:18;;:::i;:::-;6166:88;6274:10;6270:2;6263:22;6053:238;6010:281;;:::o;6297:180::-;6345:77;6342:1;6335:88;6442:4;6439:1;6432:15;6466:4;6463:1;6456:15;6483:180;6531:77;6528:1;6521:88;6628:4;6625:1;6618:15;6652:4;6649:1;6642:15;6669:117;6778:1;6775;6768:12;6792:117;6901:1;6898;6891:12;6915:117;7024:1;7021;7014:12;7038:117;7147:1;7144;7137:12;7161:102;7202:6;7253:2;7249:7;7244:2;7237:5;7233:14;7229:28;7219:38;;7161:102;;;:::o;7269:122::-;7342:24;7360:5;7342:24;:::i;:::-;7335:5;7332:35;7322:63;;7381:1;7378;7371:12;7322:63;7269:122;:::o;7397:::-;7470:24;7488:5;7470:24;:::i;:::-;7463:5;7460:35;7450:63;;7509:1;7506;7499:12;7450:63;7397:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "527400",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"addBook(uint256,string,string)": "infinite",
"addmyBooks(uint256,string,string)": "infinite",
"books(uint256)": "infinite",
"myBooks(address,uint256)": "infinite",
"myMapping(uint256)": "infinite"
}
},
"methodIdentifiers": {
"addBook(uint256,string,string)": "028414f2",
"addmyBooks(uint256,string,string)": "91be45ae",
"books(uint256)": "68744046",
"myBooks(address,uint256)": "27d3553f",
"myMapping(uint256)": "7c668844"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
},
{
"internalType": "string",
"name": "_title",
"type": "string"
},
{
"internalType": "string",
"name": "_author",
"type": "string"
}
],
"name": "addBook",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
},
{
"internalType": "string",
"name": "_title",
"type": "string"
},
{
"internalType": "string",
"name": "_author",
"type": "string"
}
],
"name": "addmyBooks",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "books",
"outputs": [
{
"internalType": "string",
"name": "title",
"type": "string"
},
{
"internalType": "string",
"name": "author",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myBooks",
"outputs": [
{
"internalType": "string",
"name": "title",
"type": "string"
},
{
"internalType": "string",
"name": "author",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myMapping",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
},
{
"internalType": "string",
"name": "_title",
"type": "string"
},
{
"internalType": "string",
"name": "_author",
"type": "string"
}
],
"name": "addBook",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
},
{
"internalType": "string",
"name": "_title",
"type": "string"
},
{
"internalType": "string",
"name": "_author",
"type": "string"
}
],
"name": "addmyBooks",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "books",
"outputs": [
{
"internalType": "string",
"name": "title",
"type": "string"
},
{
"internalType": "string",
"name": "author",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myBooks",
"outputs": [
{
"internalType": "string",
"name": "title",
"type": "string"
},
{
"internalType": "string",
"name": "author",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myMapping",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/MappingsInSolidity.sol": "Mappings"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/MappingsInSolidity.sol": {
"keccak256": "0xb0a6a3416746136f66db7a77b7fcdc5e84eaa5cb0c1e45ab5e2fac7dae4bce5f",
"license": "MIT",
"urls": [
"bzz-raw://48b7759857a800871d1308c8c83182c27a58375a9ef4511b55fd128dde6179d7",
"dweb:/ipfs/QmNqPnug9W2EwDY68sQxEiH1JGqto8hr3JsiQdw8gpzyRs"
]
}
},
"version": 1
}
{
"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": {
"extract_byte_array_length": {
"entryPoint": 522,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 572,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "6080604052606460005560c86001557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60025560096003556040518060600160405280603481526020016107446034913960049080519060200190610065929190610167565b507f48656c6c6f20776f726c642100000000000000000000000000000000000000006005557351cc8a8fc56446193ad2a60844692531d5d2ab4e600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600a81526020016040518060400160405280600881526020017f4b617274696b65790000000000000000000000000000000000000000000000008152508152506007600082015181600001556020820151816001019080519060200190610152929190610167565b50505034801561016157600080fd5b5061026b565b8280546101739061020a565b90600052602060002090601f01602090048101928261019557600085556101dc565b82601f106101ae57805160ff19168380011785556101dc565b828001600101855582156101dc579182015b828111156101db5782518255916020019190600101906101c0565b5b5090506101e991906101ed565b5090565b5b808211156102065760008160009055506001016101ee565b5090565b6000600282049050600182168061022257607f821691505b602082108114156102365761023561023c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6104ca8061027a6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630dbe671f14610067578063209652551461008657806326b85ee1146100a4578063492bfa18146100c25780634b3e7e0c146100e05780634e70b1dc146100fe575b600080fd5b61006f61011c565b60405161007d92919061035d565b60405180910390f35b61008e6101b6565b60405161009b9190610342565b60405180910390f35b6100ac6101c4565b6040516100b991906102ea565b60405180910390f35b6100ca6101ea565b6040516100d79190610320565b60405180910390f35b6100e8610278565b6040516100f59190610305565b60405180910390f35b61010661027e565b6040516101139190610342565b60405180910390f35b600780600001549080600101805461013390610422565b80601f016020809104026020016040519081016040528092919081815260200182805461015f90610422565b80156101ac5780601f10610181576101008083540402835291602001916101ac565b820191906000526020600020905b81548152906001019060200180831161018f57829003601f168201915b5050505050905082565b600080600a90508091505090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600480546101f790610422565b80601f016020809104026020016040519081016040528092919081815260200182805461022390610422565b80156102705780601f1061024557610100808354040283529160200191610270565b820191906000526020600020905b81548152906001019060200180831161025357829003601f168201915b505050505081565b60055481565b60015481565b61028d816103a9565b82525050565b61029c816103bb565b82525050565b60006102ad8261038d565b6102b78185610398565b93506102c78185602086016103ef565b6102d081610483565b840191505092915050565b6102e4816103e5565b82525050565b60006020820190506102ff6000830184610284565b92915050565b600060208201905061031a6000830184610293565b92915050565b6000602082019050818103600083015261033a81846102a2565b905092915050565b600060208201905061035760008301846102db565b92915050565b600060408201905061037260008301856102db565b818103602083015261038481846102a2565b90509392505050565b600081519050919050565b600082825260208201905092915050565b60006103b4826103c5565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101561040d5780820151818401526020810190506103f2565b8381111561041c576000848401525b50505050565b6000600282049050600182168061043a57607f821691505b6020821081141561044e5761044d610454565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea264697066735822122068758e2ad6debf31f6427c89a37f14454f7b503bb7512698651eee261436bc8d64736f6c6343000807003348657920746865726521212049276d206465657020646976696e6720696e746f20426c6f636b636861696e20616e642057656233",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x64 PUSH1 0x0 SSTORE PUSH1 0xC8 PUSH1 0x1 SSTORE PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x2 SSTORE PUSH1 0x9 PUSH1 0x3 SSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x34 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x744 PUSH1 0x34 SWAP2 CODECOPY PUSH1 0x4 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x65 SWAP3 SWAP2 SWAP1 PUSH2 0x167 JUMP JUMPDEST POP PUSH32 0x48656C6C6F20776F726C64210000000000000000000000000000000000000000 PUSH1 0x5 SSTORE PUSH20 0x51CC8A8FC56446193AD2A60844692531D5D2AB4E PUSH1 0x6 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xA DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x8 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4B617274696B6579000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE POP PUSH1 0x7 PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x152 SWAP3 SWAP2 SWAP1 PUSH2 0x167 JUMP JUMPDEST POP POP POP CALLVALUE DUP1 ISZERO PUSH2 0x161 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x26B JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x173 SWAP1 PUSH2 0x20A JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x195 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1DC JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x1AE JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1DC JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1DC JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1DB JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1C0 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1E9 SWAP2 SWAP1 PUSH2 0x1ED JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x206 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1EE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x222 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x236 JUMPI PUSH2 0x235 PUSH2 0x23C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x4CA DUP1 PUSH2 0x27A PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x62 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xDBE671F EQ PUSH2 0x67 JUMPI DUP1 PUSH4 0x20965255 EQ PUSH2 0x86 JUMPI DUP1 PUSH4 0x26B85EE1 EQ PUSH2 0xA4 JUMPI DUP1 PUSH4 0x492BFA18 EQ PUSH2 0xC2 JUMPI DUP1 PUSH4 0x4B3E7E0C EQ PUSH2 0xE0 JUMPI DUP1 PUSH4 0x4E70B1DC EQ PUSH2 0xFE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6F PUSH2 0x11C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7D SWAP3 SWAP2 SWAP1 PUSH2 0x35D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8E PUSH2 0x1B6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9B SWAP2 SWAP1 PUSH2 0x342 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAC PUSH2 0x1C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB9 SWAP2 SWAP1 PUSH2 0x2EA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCA PUSH2 0x1EA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD7 SWAP2 SWAP1 PUSH2 0x320 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE8 PUSH2 0x278 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xF5 SWAP2 SWAP1 PUSH2 0x305 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x106 PUSH2 0x27E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x113 SWAP2 SWAP1 PUSH2 0x342 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x7 DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x133 SWAP1 PUSH2 0x422 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 0x15F SWAP1 PUSH2 0x422 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1AC JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x181 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1AC JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x18F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0xA SWAP1 POP DUP1 SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH2 0x1F7 SWAP1 PUSH2 0x422 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 0x223 SWAP1 PUSH2 0x422 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x270 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x245 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x270 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x253 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x5 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x28D DUP2 PUSH2 0x3A9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x29C DUP2 PUSH2 0x3BB JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2AD DUP3 PUSH2 0x38D JUMP JUMPDEST PUSH2 0x2B7 DUP2 DUP6 PUSH2 0x398 JUMP JUMPDEST SWAP4 POP PUSH2 0x2C7 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x3EF JUMP JUMPDEST PUSH2 0x2D0 DUP2 PUSH2 0x483 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x2E4 DUP2 PUSH2 0x3E5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2FF PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x284 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x31A PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x293 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x33A DUP2 DUP5 PUSH2 0x2A2 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x357 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x2DB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x372 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x2DB JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x384 DUP2 DUP5 PUSH2 0x2A2 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3B4 DUP3 PUSH2 0x3C5 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x40D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x3F2 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x41C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x43A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x44E JUMPI PUSH2 0x44D PUSH2 0x454 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH9 0x758E2AD6DEBF31F642 PUSH29 0x89A37F14454F7B503BB7512698651EEE261436BC8D64736F6C63430008 SMOD STOP CALLER BASEFEE PUSH6 0x792074686572 PUSH6 0x21212049276D KECCAK256 PUSH5 0x6565702064 PUSH10 0x76696E6720696E746F20 TIMESTAMP PUSH13 0x6F636B636861696E20616E6420 JUMPI PUSH6 0x623300000000 ",
"sourceMap": "60:638:0:-:0;;;127:3;110:20;;158:3;137:24;;182:2;168:16;;206:1;191:16;;216:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;302:41;;;379:42;352:69;;;;;;;;;;;;;;;;;;;;527:24;;;;;;;;536:2;527:24;;;;;;;;;;;;;;;;;;;;;;;;507:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;60:638;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;60:638:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@a_35": {
"entryPoint": 284,
"id": 35,
"parameterSlots": 0,
"returnSlots": 0
},
"@getValue_47": {
"entryPoint": 438,
"id": 47,
"parameterSlots": 0,
"returnSlots": 1
},
"@myAddress_23": {
"entryPoint": 452,
"id": 23,
"parameterSlots": 0,
"returnSlots": 0
},
"@myBytes32_20": {
"entryPoint": 632,
"id": 20,
"parameterSlots": 0,
"returnSlots": 0
},
"@myString_17": {
"entryPoint": 490,
"id": 17,
"parameterSlots": 0,
"returnSlots": 0
},
"@num_7": {
"entryPoint": 638,
"id": 7,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 644,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes32_to_t_bytes32_fromStack": {
"entryPoint": 659,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 674,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 731,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 746,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": {
"entryPoint": 773,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 800,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 834,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 861,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 909,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 920,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 937,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 955,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 965,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 997,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory": {
"entryPoint": 1007,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 1058,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 1108,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1155,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3791:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "72:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "94:17:1"
},
"nodeType": "YulFunctionCall",
"src": "94:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "82:6:1"
},
"nodeType": "YulFunctionCall",
"src": "82:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "82:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "60:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "67:3:1",
"type": ""
}
],
"src": "7:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "196:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "213:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "236:5:1"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "218:17:1"
},
"nodeType": "YulFunctionCall",
"src": "218:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "206:6:1"
},
"nodeType": "YulFunctionCall",
"src": "206:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "206:37:1"
}
]
},
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "184:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "191:3:1",
"type": ""
}
],
"src": "131:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "347:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "357:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "404:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "371:32:1"
},
"nodeType": "YulFunctionCall",
"src": "371:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "361:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "419:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "485:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "490:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "426:58:1"
},
"nodeType": "YulFunctionCall",
"src": "426:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "419:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "532:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "539:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "528:3:1"
},
"nodeType": "YulFunctionCall",
"src": "528:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "546:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "551:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "506:21:1"
},
"nodeType": "YulFunctionCall",
"src": "506:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "506:52:1"
},
{
"nodeType": "YulAssignment",
"src": "567:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "578:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "605:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "583:21:1"
},
"nodeType": "YulFunctionCall",
"src": "583:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "574:3:1"
},
"nodeType": "YulFunctionCall",
"src": "574:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "567:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "328:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "335:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "343:3:1",
"type": ""
}
],
"src": "255:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "690:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "707:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "730:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "712:17:1"
},
"nodeType": "YulFunctionCall",
"src": "712:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "700:6:1"
},
"nodeType": "YulFunctionCall",
"src": "700:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "700:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "678:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "685:3:1",
"type": ""
}
],
"src": "625:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "847:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "857:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "869:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "880:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "865:3:1"
},
"nodeType": "YulFunctionCall",
"src": "865:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "857:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "937:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "950:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "961:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "946:3:1"
},
"nodeType": "YulFunctionCall",
"src": "946:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "893:43:1"
},
"nodeType": "YulFunctionCall",
"src": "893:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "893:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "819:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "831:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "842:4:1",
"type": ""
}
],
"src": "749:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1075:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1085:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1097:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1108:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1093:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1093:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1085:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1165:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1178:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1189:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1174:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1174:17:1"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "1121:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1121:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1121:71:1"
}
]
},
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1047:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1059:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1070:4:1",
"type": ""
}
],
"src": "977:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1323:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1333:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1345:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1356:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1341:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1341:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1333:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1380:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1391:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1376:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1376:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1399:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1405:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1395:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1395:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1369:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1369:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "1369:47:1"
},
{
"nodeType": "YulAssignment",
"src": "1425:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1497:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1506:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1433:63:1"
},
"nodeType": "YulFunctionCall",
"src": "1433:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1425:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1295:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1307:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1318:4:1",
"type": ""
}
],
"src": "1205:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1622:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1632:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1644:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1655:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1640:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1640:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1632:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1712:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1725:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1736:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1721:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1721:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1668:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1668:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1594:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1606:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1617:4:1",
"type": ""
}
],
"src": "1524:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1898:277:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1908:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1920:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1931:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1916:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1916:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1908:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1988:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2001:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2012:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1997:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1997:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1944:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1944:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1944:71:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2036:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2047:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2032:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2032:18:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2056:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2062:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2052:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2052:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2025:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2025:48:1"
},
"nodeType": "YulExpressionStatement",
"src": "2025:48:1"
},
{
"nodeType": "YulAssignment",
"src": "2082:86:1",
"value": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2154:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2163:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2090:63:1"
},
"nodeType": "YulFunctionCall",
"src": "2090:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2082:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1862:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1874:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1882:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1893:4:1",
"type": ""
}
],
"src": "1752:423:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2240:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2251:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2267:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2261:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2261:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2251:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2223:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2233:6:1",
"type": ""
}
],
"src": "2181:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2382:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2399:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2404:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2392:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2392:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2392:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2420:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2439:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2444:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2435:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2435:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2420:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2354:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2359:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2370:11:1",
"type": ""
}
],
"src": "2286:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2506:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2516:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2545:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2527:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2527:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2516:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2488:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2498:7:1",
"type": ""
}
],
"src": "2461:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2608:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2618:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2629:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2618:7:1"
}
]
}
]
},
"name": "cleanup_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2590:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2600:7:1",
"type": ""
}
],
"src": "2563:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2691:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2701:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2716:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2723:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2712:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2712:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2701:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2673:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2683:7:1",
"type": ""
}
],
"src": "2646:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2823:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2833:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2844:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2833:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2805:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2815:7:1",
"type": ""
}
],
"src": "2778:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2910:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2920:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2929:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "2924:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2989:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3014:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3019:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3010:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3010:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3033:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3038:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3029:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3029:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3023:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3023:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3003:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3003:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "3003:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2950:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2953:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2947:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2947:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "2961:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2963:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2972:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2975:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2968:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2968:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2963:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "2943:3:1",
"statements": []
},
"src": "2939:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3086:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3136:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3132:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3132:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3150:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3125:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3125:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "3125:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3067:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3070:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3064:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3064:13:1"
},
"nodeType": "YulIf",
"src": "3061:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2892:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2897:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2902:6:1",
"type": ""
}
],
"src": "2861:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3225:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3235:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3249:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3255:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "3245:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3245:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3235:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "3266:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3296:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3302:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3292:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3292:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "3270:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3343:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3357:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3371:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3379:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3367:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3367:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3357:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "3323:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3316:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3316:26:1"
},
"nodeType": "YulIf",
"src": "3313:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3446:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "3460:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3460:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3460:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "3410:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3433:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3441:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3430:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3430:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3407:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3407:38:1"
},
"nodeType": "YulIf",
"src": "3404:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "3209:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3218:6:1",
"type": ""
}
],
"src": "3174:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3528:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3545:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3548:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3538:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3538:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3538:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3642:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3645:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3635:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3635:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3635:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3666:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3669:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3659:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3659:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3659:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "3500:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3734:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3744:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3762:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3769:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3758:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3758:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3778:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3774:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3774:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3754:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3754:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "3744:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3717:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "3727:6:1",
"type": ""
}
],
"src": "3686:102:1"
}
]
},
"contents": "{\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_bytes32_to_t_bytes32_fromStack(value, pos) {\n mstore(pos, cleanup_t_bytes32(value))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value1, tail)\n\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_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function 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_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100625760003560e01c80630dbe671f14610067578063209652551461008657806326b85ee1146100a4578063492bfa18146100c25780634b3e7e0c146100e05780634e70b1dc146100fe575b600080fd5b61006f61011c565b60405161007d92919061035d565b60405180910390f35b61008e6101b6565b60405161009b9190610342565b60405180910390f35b6100ac6101c4565b6040516100b991906102ea565b60405180910390f35b6100ca6101ea565b6040516100d79190610320565b60405180910390f35b6100e8610278565b6040516100f59190610305565b60405180910390f35b61010661027e565b6040516101139190610342565b60405180910390f35b600780600001549080600101805461013390610422565b80601f016020809104026020016040519081016040528092919081815260200182805461015f90610422565b80156101ac5780601f10610181576101008083540402835291602001916101ac565b820191906000526020600020905b81548152906001019060200180831161018f57829003601f168201915b5050505050905082565b600080600a90508091505090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600480546101f790610422565b80601f016020809104026020016040519081016040528092919081815260200182805461022390610422565b80156102705780601f1061024557610100808354040283529160200191610270565b820191906000526020600020905b81548152906001019060200180831161025357829003601f168201915b505050505081565b60055481565b60015481565b61028d816103a9565b82525050565b61029c816103bb565b82525050565b60006102ad8261038d565b6102b78185610398565b93506102c78185602086016103ef565b6102d081610483565b840191505092915050565b6102e4816103e5565b82525050565b60006020820190506102ff6000830184610284565b92915050565b600060208201905061031a6000830184610293565b92915050565b6000602082019050818103600083015261033a81846102a2565b905092915050565b600060208201905061035760008301846102db565b92915050565b600060408201905061037260008301856102db565b818103602083015261038481846102a2565b90509392505050565b600081519050919050565b600082825260208201905092915050565b60006103b4826103c5565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101561040d5780820151818401526020810190506103f2565b8381111561041c576000848401525b50505050565b6000600282049050600182168061043a57607f821691505b6020821081141561044e5761044d610454565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f830116905091905056fea264697066735822122068758e2ad6debf31f6427c89a37f14454f7b503bb7512698651eee261436bc8d64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x62 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xDBE671F EQ PUSH2 0x67 JUMPI DUP1 PUSH4 0x20965255 EQ PUSH2 0x86 JUMPI DUP1 PUSH4 0x26B85EE1 EQ PUSH2 0xA4 JUMPI DUP1 PUSH4 0x492BFA18 EQ PUSH2 0xC2 JUMPI DUP1 PUSH4 0x4B3E7E0C EQ PUSH2 0xE0 JUMPI DUP1 PUSH4 0x4E70B1DC EQ PUSH2 0xFE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6F PUSH2 0x11C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7D SWAP3 SWAP2 SWAP1 PUSH2 0x35D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x8E PUSH2 0x1B6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9B SWAP2 SWAP1 PUSH2 0x342 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAC PUSH2 0x1C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB9 SWAP2 SWAP1 PUSH2 0x2EA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCA PUSH2 0x1EA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD7 SWAP2 SWAP1 PUSH2 0x320 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE8 PUSH2 0x278 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xF5 SWAP2 SWAP1 PUSH2 0x305 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x106 PUSH2 0x27E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x113 SWAP2 SWAP1 PUSH2 0x342 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x7 DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x133 SWAP1 PUSH2 0x422 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 0x15F SWAP1 PUSH2 0x422 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1AC JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x181 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1AC JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x18F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0xA SWAP1 POP DUP1 SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH2 0x1F7 SWAP1 PUSH2 0x422 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 0x223 SWAP1 PUSH2 0x422 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x270 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x245 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x270 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x253 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x5 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x28D DUP2 PUSH2 0x3A9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x29C DUP2 PUSH2 0x3BB JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2AD DUP3 PUSH2 0x38D JUMP JUMPDEST PUSH2 0x2B7 DUP2 DUP6 PUSH2 0x398 JUMP JUMPDEST SWAP4 POP PUSH2 0x2C7 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x3EF JUMP JUMPDEST PUSH2 0x2D0 DUP2 PUSH2 0x483 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x2E4 DUP2 PUSH2 0x3E5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2FF PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x284 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x31A PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x293 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x33A DUP2 DUP5 PUSH2 0x2A2 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x357 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x2DB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x372 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x2DB JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x384 DUP2 DUP5 PUSH2 0x2A2 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3B4 DUP3 PUSH2 0x3C5 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x40D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x3F2 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x41C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x43A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x44E JUMPI PUSH2 0x44D PUSH2 0x454 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH9 0x758E2AD6DEBF31F642 PUSH29 0x89A37F14454F7B503BB7512698651EEE261436BC8D64736F6C63430008 SMOD STOP CALLER ",
"sourceMap": "60:638:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;507:44;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;586:109;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;352:69;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;216:79;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;302:41;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;137:24;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;507:44;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;586:109::-;626:7;645:13;661:2;645:18;;681:5;674:12;;;586:109;:::o;352:69::-;;;;;;;;;;;;;:::o;216:79::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;302:41::-;;;;:::o;137:24::-;;;;:::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;7:118;;:::o;131:::-;218:24;236:5;218:24;:::i;:::-;213:3;206:37;131:118;;:::o;255:364::-;343:3;371:39;404:5;371:39;:::i;:::-;426:71;490:6;485:3;426:71;:::i;:::-;419:78;;506:52;551:6;546:3;539:4;532:5;528:16;506:52;:::i;:::-;583:29;605:6;583:29;:::i;:::-;578:3;574:39;567:46;;347:272;255:364;;;;:::o;625:118::-;712:24;730:5;712:24;:::i;:::-;707:3;700:37;625:118;;:::o;749:222::-;842:4;880:2;869:9;865:18;857:26;;893:71;961:1;950:9;946:17;937:6;893:71;:::i;:::-;749:222;;;;:::o;977:::-;1070:4;1108:2;1097:9;1093:18;1085:26;;1121:71;1189:1;1178:9;1174:17;1165:6;1121:71;:::i;:::-;977:222;;;;:::o;1205:313::-;1318:4;1356:2;1345:9;1341:18;1333:26;;1405:9;1399:4;1395:20;1391:1;1380:9;1376:17;1369:47;1433:78;1506:4;1497:6;1433:78;:::i;:::-;1425:86;;1205:313;;;;:::o;1524:222::-;1617:4;1655:2;1644:9;1640:18;1632:26;;1668:71;1736:1;1725:9;1721:17;1712:6;1668:71;:::i;:::-;1524:222;;;;:::o;1752:423::-;1893:4;1931:2;1920:9;1916:18;1908:26;;1944:71;2012:1;2001:9;1997:17;1988:6;1944:71;:::i;:::-;2062:9;2056:4;2052:20;2047:2;2036:9;2032:18;2025:48;2090:78;2163:4;2154:6;2090:78;:::i;:::-;2082:86;;1752:423;;;;;:::o;2181:99::-;2233:6;2267:5;2261:12;2251:22;;2181:99;;;:::o;2286:169::-;2370:11;2404:6;2399:3;2392:19;2444:4;2439:3;2435:14;2420:29;;2286:169;;;;:::o;2461:96::-;2498:7;2527:24;2545:5;2527:24;:::i;:::-;2516:35;;2461:96;;;:::o;2563:77::-;2600:7;2629:5;2618:16;;2563:77;;;:::o;2646:126::-;2683:7;2723:42;2716:5;2712:54;2701:65;;2646:126;;;:::o;2778:77::-;2815:7;2844:5;2833:16;;2778:77;;;:::o;2861:307::-;2929:1;2939:113;2953:6;2950:1;2947:13;2939:113;;;3038:1;3033:3;3029:11;3023:18;3019:1;3014:3;3010:11;3003:39;2975:2;2972:1;2968:10;2963:15;;2939:113;;;3070:6;3067:1;3064:13;3061:101;;;3150:1;3141:6;3136:3;3132:16;3125:27;3061:101;2910:258;2861:307;;;:::o;3174:320::-;3218:6;3255:1;3249:4;3245:12;3235:22;;3302:1;3296:4;3292:12;3323:18;3313:81;;3379:4;3371:6;3367:17;3357:27;;3313:81;3441:2;3433:6;3430:14;3410:18;3407:38;3404:84;;;3460:18;;:::i;:::-;3404:84;3225:269;3174:320;;;:::o;3500:180::-;3548:77;3545:1;3538:88;3645:4;3642:1;3635:15;3669:4;3666:1;3659:15;3686:102;3727:6;3778:2;3774:7;3769:2;3762:5;3758:14;3754:28;3744:38;;3686:102;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "245200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"a()": "infinite",
"getValue()": "350",
"myAddress()": "2536",
"myBytes32()": "2495",
"myString()": "infinite",
"num()": "2517"
}
},
"methodIdentifiers": {
"a()": "0dbe671f",
"getValue()": "20965255",
"myAddress()": "26b85ee1",
"myBytes32()": "4b3e7e0c",
"myString()": "492bfa18",
"num()": "4e70b1dc"
}
},
"abi": [
{
"inputs": [],
"name": "a",
"outputs": [
{
"internalType": "uint256",
"name": "myNum",
"type": "uint256"
},
{
"internalType": "string",
"name": "Str",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getValue",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "myAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "myBytes32",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "myString",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "num",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "a",
"outputs": [
{
"internalType": "uint256",
"name": "myNum",
"type": "uint256"
},
{
"internalType": "string",
"name": "Str",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getValue",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "myAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "myBytes32",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "myString",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "num",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/MyContract.sol": "MyContract"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/MyContract.sol": {
"keccak256": "0x163852792b33abf31b135cb60a372fc19269e566aab59c0a016058d10f772f54",
"license": "MIT",
"urls": [
"bzz-raw://af01109f079dc1ed3fcc66b1070f238a6e77fbc4ab74d60229eb8f1ccf98567e",
"dweb:/ipfs/QmNYDhyUkvh7a32LiVhLK4SxnpSx9MScZXk6VhsbsT5yZb"
]
}
},
"version": 1
}
{
"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": {
"extract_byte_array_length": {
"entryPoint": 350,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 303,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "35:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "52:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "55:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "45:6:1"
},
"nodeType": "YulFunctionCall",
"src": "45:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "45:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "149:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "152:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "142:6:1"
},
"nodeType": "YulFunctionCall",
"src": "142:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "142:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "173:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "176:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "166:6:1"
},
"nodeType": "YulFunctionCall",
"src": "166:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "166:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "7:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "244:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "254:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "268:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "264:3:1"
},
"nodeType": "YulFunctionCall",
"src": "264:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "254:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "285:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "315:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "321:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "311:3:1"
},
"nodeType": "YulFunctionCall",
"src": "311:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "289:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "362:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "376:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "390:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "398:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "386:3:1"
},
"nodeType": "YulFunctionCall",
"src": "386:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "376:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "342:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "335:26:1"
},
"nodeType": "YulIf",
"src": "332:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "465:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "479:16:1"
},
"nodeType": "YulFunctionCall",
"src": "479:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "479:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "429:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "452:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "460:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "449:2:1"
},
"nodeType": "YulFunctionCall",
"src": "449:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "426:2:1"
},
"nodeType": "YulFunctionCall",
"src": "426:38:1"
},
"nodeType": "YulIf",
"src": "423:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "228:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "237:6:1",
"type": ""
}
],
"src": "193:320:1"
}
]
},
"contents": "{\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060400160405280600781526020016040518060400160405280600881526020017f4b617274696b6579000000000000000000000000000000000000000000000000815250815250600160008201518160000155602082015181600101908051906020019061007792919061008c565b50505034801561008657600080fd5b50610190565b8280546100989061015e565b90600052602060002090601f0160209004810192826100ba5760008555610101565b82601f106100d357805160ff1916838001178555610101565b82800160010185558215610101579182015b828111156101005782518255916020019190600101906100e5565b5b50905061010e9190610112565b5090565b5b8082111561012b576000816000905550600101610113565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061017657607f821691505b6020821081141561018a5761018961012f565b5b50919050565b6107168061019f6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80632e64cec11461005c5780636057361d1461007a5780636f760f411461009657806377ec2b55146100b25780639e7a13ad146100d1575b600080fd5b610064610102565b604051610071919061039d565b60405180910390f35b610094600480360381019061008f91906103f8565b61010b565b005b6100b060048036038101906100ab919061056b565b61011e565b005b6100ba61018b565b6040516100c892919061064f565b60405180910390f35b6100eb60048036038101906100e691906103f8565b610225565b6040516100f992919061064f565b60405180910390f35b60008054905090565b8060008190555061011a610102565b5050565b600360405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906101849291906102e1565b5050505050565b60018060000154908060010180546101a2906106ae565b80601f01602080910402602001604051908101604052809291908181526020018280546101ce906106ae565b801561021b5780601f106101f05761010080835404028352916020019161021b565b820191906000526020600020905b8154815290600101906020018083116101fe57829003601f168201915b5050505050905082565b6003818154811061023557600080fd5b906000526020600020906002020160009150905080600001549080600101805461025e906106ae565b80601f016020809104026020016040519081016040528092919081815260200182805461028a906106ae565b80156102d75780601f106102ac576101008083540402835291602001916102d7565b820191906000526020600020905b8154815290600101906020018083116102ba57829003601f168201915b5050505050905082565b8280546102ed906106ae565b90600052602060002090601f01602090048101928261030f5760008555610356565b82601f1061032857805160ff1916838001178555610356565b82800160010185558215610356579182015b8281111561035557825182559160200191906001019061033a565b5b5090506103639190610367565b5090565b5b80821115610380576000816000905550600101610368565b5090565b6000819050919050565b61039781610384565b82525050565b60006020820190506103b2600083018461038e565b92915050565b6000604051905090565b600080fd5b600080fd5b6103d581610384565b81146103e057600080fd5b50565b6000813590506103f2816103cc565b92915050565b60006020828403121561040e5761040d6103c2565b5b600061041c848285016103e3565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6104788261042f565b810181811067ffffffffffffffff8211171561049757610496610440565b5b80604052505050565b60006104aa6103b8565b90506104b6828261046f565b919050565b600067ffffffffffffffff8211156104d6576104d5610440565b5b6104df8261042f565b9050602081019050919050565b82818337600083830152505050565b600061050e610509846104bb565b6104a0565b90508281526020810184848401111561052a5761052961042a565b5b6105358482856104ec565b509392505050565b600082601f83011261055257610551610425565b5b81356105628482602086016104fb565b91505092915050565b60008060408385031215610582576105816103c2565b5b600083013567ffffffffffffffff8111156105a05761059f6103c7565b5b6105ac8582860161053d565b92505060206105bd858286016103e3565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156106015780820151818401526020810190506105e6565b83811115610610576000848401525b50505050565b6000610621826105c7565b61062b81856105d2565b935061063b8185602086016105e3565b6106448161042f565b840191505092915050565b6000604082019050610664600083018561038e565b81810360208301526106768184610616565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806106c657607f821691505b602082108114156106da576106d961067f565b5b5091905056fea264697066735822122082cc1404ecfec895e78dcb1b9d5aa3eaf0cda000150bb633b11a829be039185864736f6c63430008080033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x8 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4B617274696B6579000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE POP PUSH1 0x1 PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x77 SWAP3 SWAP2 SWAP1 PUSH2 0x8C JUMP JUMPDEST POP POP POP CALLVALUE DUP1 ISZERO PUSH2 0x86 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x190 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x98 SWAP1 PUSH2 0x15E JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0xBA JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x101 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xD3 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x101 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x101 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x100 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0xE5 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x10E SWAP2 SWAP1 PUSH2 0x112 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x12B JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x113 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x176 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x18A JUMPI PUSH2 0x189 PUSH2 0x12F JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x716 DUP1 PUSH2 0x19F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x96 JUMPI DUP1 PUSH4 0x77EC2B55 EQ PUSH2 0xB2 JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0xD1 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0x102 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x39D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x94 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8F SWAP2 SWAP1 PUSH2 0x3F8 JUMP JUMPDEST PUSH2 0x10B JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB0 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAB SWAP2 SWAP1 PUSH2 0x56B JUMP JUMPDEST PUSH2 0x11E JUMP JUMPDEST STOP JUMPDEST PUSH2 0xBA PUSH2 0x18B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC8 SWAP3 SWAP2 SWAP1 PUSH2 0x64F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xEB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xE6 SWAP2 SWAP1 PUSH2 0x3F8 JUMP JUMPDEST PUSH2 0x225 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xF9 SWAP3 SWAP2 SWAP1 PUSH2 0x64F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP PUSH2 0x11A PUSH2 0x102 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x184 SWAP3 SWAP2 SWAP1 PUSH2 0x2E1 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x1A2 SWAP1 PUSH2 0x6AE 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 0x1CE SWAP1 PUSH2 0x6AE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x21B JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1F0 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x21B JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x1FE JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x3 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x235 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x25E SWAP1 PUSH2 0x6AE 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 0x28A SWAP1 PUSH2 0x6AE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2D7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2AC JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2D7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2BA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2ED SWAP1 PUSH2 0x6AE JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x30F JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x356 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x328 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x356 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x356 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x355 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x33A JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x363 SWAP2 SWAP1 PUSH2 0x367 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x380 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x368 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x397 DUP2 PUSH2 0x384 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x3B2 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x38E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3D5 DUP2 PUSH2 0x384 JUMP JUMPDEST DUP2 EQ PUSH2 0x3E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3F2 DUP2 PUSH2 0x3CC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x40E JUMPI PUSH2 0x40D PUSH2 0x3C2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x41C DUP5 DUP3 DUP6 ADD PUSH2 0x3E3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x478 DUP3 PUSH2 0x42F JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x497 JUMPI PUSH2 0x496 PUSH2 0x440 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4AA PUSH2 0x3B8 JUMP JUMPDEST SWAP1 POP PUSH2 0x4B6 DUP3 DUP3 PUSH2 0x46F JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x4D6 JUMPI PUSH2 0x4D5 PUSH2 0x440 JUMP JUMPDEST JUMPDEST PUSH2 0x4DF DUP3 PUSH2 0x42F JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x50E PUSH2 0x509 DUP5 PUSH2 0x4BB JUMP JUMPDEST PUSH2 0x4A0 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x52A JUMPI PUSH2 0x529 PUSH2 0x42A JUMP JUMPDEST JUMPDEST PUSH2 0x535 DUP5 DUP3 DUP6 PUSH2 0x4EC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x552 JUMPI PUSH2 0x551 PUSH2 0x425 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x562 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x4FB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x582 JUMPI PUSH2 0x581 PUSH2 0x3C2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5A0 JUMPI PUSH2 0x59F PUSH2 0x3C7 JUMP JUMPDEST JUMPDEST PUSH2 0x5AC DUP6 DUP3 DUP7 ADD PUSH2 0x53D JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x5BD DUP6 DUP3 DUP7 ADD PUSH2 0x3E3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x601 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x5E6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x610 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x621 DUP3 PUSH2 0x5C7 JUMP JUMPDEST PUSH2 0x62B DUP2 DUP6 PUSH2 0x5D2 JUMP JUMPDEST SWAP4 POP PUSH2 0x63B DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5E3 JUMP JUMPDEST PUSH2 0x644 DUP2 PUSH2 0x42F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x664 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x38E JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x676 DUP2 DUP5 PUSH2 0x616 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x6C6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x6DA JUMPI PUSH2 0x6D9 PUSH2 0x67F JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP3 0xCC EQ DIV 0xEC INVALID 0xC8 SWAP6 0xE7 DUP14 0xCB SHL SWAP14 GAS LOG3 0xEA CREATE 0xCD LOG0 STOP ISZERO SIGNEXTEND 0xB6 CALLER 0xB1 BYTE DUP3 SWAP12 0xE0 CODECOPY XOR PC PUSH5 0x736F6C6343 STOP ADDMOD ADDMOD STOP CALLER ",
"sourceMap": "283:3202:0:-:0;;;2989:42;;;;;;;;3012:1;2989:42;;;;;;;;;;;;;;;;;;;;;;;;2966:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;283:3202;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:180:1:-;55:77;52:1;45:88;152:4;149:1;142:15;176:4;173:1;166:15;193:320;237:6;274:1;268:4;264:12;254:22;;321:1;315:4;311:12;342:18;332:81;;398:4;390:6;386:17;376:27;;332:81;460:2;452:6;449:14;429:18;426:38;423:84;;;479:18;;:::i;:::-;423:84;244:269;193:320;;;:::o;283:3202:0:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@addPerson_57": {
"entryPoint": 286,
"id": 57,
"parameterSlots": 2,
"returnSlots": 0
},
"@people_40": {
"entryPoint": 549,
"id": 40,
"parameterSlots": 0,
"returnSlots": 0
},
"@person_31": {
"entryPoint": 395,
"id": 31,
"parameterSlots": 0,
"returnSlots": 0
},
"@retrieve_24": {
"entryPoint": 258,
"id": 24,
"parameterSlots": 0,
"returnSlots": 1
},
"@store_16": {
"entryPoint": 267,
"id": 16,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 1275,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 1341,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 995,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptrt_uint256": {
"entryPoint": 1387,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 1016,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1558,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 910,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 925,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1615,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1184,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 952,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 1211,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 1479,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1490,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 900,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 1260,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory": {
"entryPoint": 1507,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 1710,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 1135,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 1663,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1088,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 1061,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 1066,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 967,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 962,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1071,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 972,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:6152:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "52:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "62:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "62:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "34:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "44:7:1",
"type": ""
}
],
"src": "7:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "155:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "172:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "195:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "177:17:1"
},
"nodeType": "YulFunctionCall",
"src": "177:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "165:6:1"
},
"nodeType": "YulFunctionCall",
"src": "165:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "165:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "143:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "150:3:1",
"type": ""
}
],
"src": "90:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "312:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "322:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "334:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "330:3:1"
},
"nodeType": "YulFunctionCall",
"src": "330:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "322:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "402:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "415:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "426:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "411:3:1"
},
"nodeType": "YulFunctionCall",
"src": "411:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "358:43:1"
},
"nodeType": "YulFunctionCall",
"src": "358:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "358:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "284:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "296:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "307:4:1",
"type": ""
}
],
"src": "214:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "482:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "492:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "508:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "502:5:1"
},
"nodeType": "YulFunctionCall",
"src": "502:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "492:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "475:6:1",
"type": ""
}
],
"src": "442:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "612:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "629:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "632:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "622:6:1"
},
"nodeType": "YulFunctionCall",
"src": "622:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "622:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "523:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "735:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "752:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "755:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "745:6:1"
},
"nodeType": "YulFunctionCall",
"src": "745:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "745:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "646:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "812:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "869:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "878:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "881:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "871:6:1"
},
"nodeType": "YulFunctionCall",
"src": "871:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "871:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "835:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "860:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "842:17:1"
},
"nodeType": "YulFunctionCall",
"src": "842:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "832:2:1"
},
"nodeType": "YulFunctionCall",
"src": "832:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "825:6:1"
},
"nodeType": "YulFunctionCall",
"src": "825:43:1"
},
"nodeType": "YulIf",
"src": "822:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "805:5:1",
"type": ""
}
],
"src": "769:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "949:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "959:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "981:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:1"
},
"nodeType": "YulFunctionCall",
"src": "968:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "959:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1024:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "997:26:1"
},
"nodeType": "YulFunctionCall",
"src": "997:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "997:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "927:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "935:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "943:5:1",
"type": ""
}
],
"src": "897:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1108:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1154:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1156:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1156:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1156:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1129:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1138:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1125:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1150:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1121:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1121:32:1"
},
"nodeType": "YulIf",
"src": "1118:119:1"
},
{
"nodeType": "YulBlock",
"src": "1247:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1262:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1276:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1266:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1291:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1326:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1337:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1322:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1322:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1346:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1301:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1301:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1291:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1078:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1089:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1101:6:1",
"type": ""
}
],
"src": "1042:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1466:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1483:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1486:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1476:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1476:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1476:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "1377:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1589:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1606:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1609:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1599:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1599:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1599:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "1500:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1671:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1681:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1699:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1706:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1695:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1695:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1715:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "1711:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1711:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1691:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1691:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1681:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1654:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "1664:6:1",
"type": ""
}
],
"src": "1623:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1759:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1776:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1779:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1769:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "1769:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1873:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1876:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1866:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1866:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "1866:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1897:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1900:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1890:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1890:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "1890:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "1731:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1960:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1970:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1992:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2022:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2000:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2000:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1988:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1988:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "1974:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2139:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2141:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2141:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2141:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2082:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2094:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2079:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2079:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2118:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2130:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2115:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2115:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "2076:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2076:62:1"
},
"nodeType": "YulIf",
"src": "2073:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2177:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2181:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2170:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2170:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "2170:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1946:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1954:4:1",
"type": ""
}
],
"src": "1917:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2245:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2255:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "2265:18:1"
},
"nodeType": "YulFunctionCall",
"src": "2265:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2255:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2314:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2322:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "2294:19:1"
},
"nodeType": "YulFunctionCall",
"src": "2294:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "2294:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2229:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2238:6:1",
"type": ""
}
],
"src": "2204:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2406:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2511:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2513:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2513:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2513:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2483:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2491:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2480:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2480:30:1"
},
"nodeType": "YulIf",
"src": "2477:56:1"
},
{
"nodeType": "YulAssignment",
"src": "2543:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2573:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2551:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2551:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2543:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2617:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2629:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2635:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2625:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2625:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2617:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2390:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2401:4:1",
"type": ""
}
],
"src": "2339:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2704:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2727:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2732:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2737:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "2714:12:1"
},
"nodeType": "YulFunctionCall",
"src": "2714:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "2714:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2785:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2790:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2781:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2781:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2799:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2774:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2774:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "2774:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2686:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2691:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2696:6:1",
"type": ""
}
],
"src": "2653:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2897:328:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2907:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2974:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2932:41:1"
},
"nodeType": "YulFunctionCall",
"src": "2932:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "2916:15:1"
},
"nodeType": "YulFunctionCall",
"src": "2916:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "2907:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "2998:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3005:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2991:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "2991:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "3021:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3036:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3043:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3032:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3032:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3025:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3086:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "3088:77:1"
},
"nodeType": "YulFunctionCall",
"src": "3088:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "3088:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3067:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3072:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3063:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3081:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3060:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3060:25:1"
},
"nodeType": "YulIf",
"src": "3057:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3202:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3207:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3212:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "3178:23:1"
},
"nodeType": "YulFunctionCall",
"src": "3178:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "3178:41:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2870:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2875:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2883:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "2891:5:1",
"type": ""
}
],
"src": "2813:412:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3307:278:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3356:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "3358:77:1"
},
"nodeType": "YulFunctionCall",
"src": "3358:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "3358:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3335:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3343:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3331:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3331:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3350:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3327:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3327:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3320:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3320:35:1"
},
"nodeType": "YulIf",
"src": "3317:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "3448:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3475:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "3462:12:1"
},
"nodeType": "YulFunctionCall",
"src": "3462:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3452:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3491:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3552:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3560:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3548:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3548:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3567:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3575:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "3500:47:1"
},
"nodeType": "YulFunctionCall",
"src": "3500:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3491:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3285:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3293:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "3301:5:1",
"type": ""
}
],
"src": "3245:340:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3684:561:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3730:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "3732:77:1"
},
"nodeType": "YulFunctionCall",
"src": "3732:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "3732:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3705:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3714:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3701:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3701:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3726:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3697:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3697:32:1"
},
"nodeType": "YulIf",
"src": "3694:119:1"
},
{
"nodeType": "YulBlock",
"src": "3823:287:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3838:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3869:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3880:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3865:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3865:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "3852:12:1"
},
"nodeType": "YulFunctionCall",
"src": "3852:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3842:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3930:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "3932:77:1"
},
"nodeType": "YulFunctionCall",
"src": "3932:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "3932:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3902:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3910:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3899:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3899:30:1"
},
"nodeType": "YulIf",
"src": "3896:117:1"
},
{
"nodeType": "YulAssignment",
"src": "4027:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4072:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4083:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4068:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4068:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4092:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "4037:30:1"
},
"nodeType": "YulFunctionCall",
"src": "4037:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4027:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4120:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4135:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4149:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4139:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4165:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4200:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4211:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4196:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4196:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4220:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "4175:20:1"
},
"nodeType": "YulFunctionCall",
"src": "4175:53:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4165:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3646:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3657:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3669:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3677:6:1",
"type": ""
}
],
"src": "3591:654:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4310:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4321:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4337:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4331:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4331:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4321:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4293:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4303:6:1",
"type": ""
}
],
"src": "4251:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4452:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4469:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4474:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4462:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4462:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4462:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4490:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4509:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4514:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4505:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4505:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4490:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4424:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4429:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4440:11:1",
"type": ""
}
],
"src": "4356:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4580:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4590:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4599:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "4594:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4659:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4684:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4689:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4680:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4680:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4703:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4708:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4699:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4699:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4693:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4693:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4673:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4673:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "4673:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4620:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4623:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4617:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4617:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "4631:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4633:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4642:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4645:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4638:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4633:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "4613:3:1",
"statements": []
},
"src": "4609:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4756:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4806:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4811:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4802:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4802:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4820:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4795:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4795:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4795:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4737:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4740:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4734:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4734:13:1"
},
"nodeType": "YulIf",
"src": "4731:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4562:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4567:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4572:6:1",
"type": ""
}
],
"src": "4531:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4936:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4946:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4993:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "4960:32:1"
},
"nodeType": "YulFunctionCall",
"src": "4960:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4950:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5008:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5074:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5079:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5015:58:1"
},
"nodeType": "YulFunctionCall",
"src": "5015:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5008:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5121:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5128:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5117:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5117:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5135:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5140:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "5095:21:1"
},
"nodeType": "YulFunctionCall",
"src": "5095:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "5095:52:1"
},
{
"nodeType": "YulAssignment",
"src": "5156:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5167:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5194:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5172:21:1"
},
"nodeType": "YulFunctionCall",
"src": "5172:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5163:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5163:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "5156:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4917:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4924:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4932:3:1",
"type": ""
}
],
"src": "4844:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5360:277:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5370:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5382:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5393:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5378:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5378:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5370:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5450:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5463:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5474:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5459:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5459:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "5406:43:1"
},
"nodeType": "YulFunctionCall",
"src": "5406:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "5406:71:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5498:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5509:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5494:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5494:18:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5518:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5524:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5514:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5514:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5487:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5487:48:1"
},
"nodeType": "YulExpressionStatement",
"src": "5487:48:1"
},
{
"nodeType": "YulAssignment",
"src": "5544:86:1",
"value": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "5616:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5625:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5552:63:1"
},
"nodeType": "YulFunctionCall",
"src": "5552:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5544:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5324:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "5336:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5344:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5355:4:1",
"type": ""
}
],
"src": "5214:423:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5671:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5688:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5691:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5681:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5681:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5681:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5785:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5788:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5778:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5778:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5778:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5809:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5812:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5802:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5802:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5802:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "5643:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5880:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5890:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5904:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5910:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "5900:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5900:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5890:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "5921:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5951:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5957:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5947:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5947:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "5925:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5998:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6012:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6026:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6034:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6022:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6022:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6012:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5978:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5971:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5971:26:1"
},
"nodeType": "YulIf",
"src": "5968:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6101:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "6115:16:1"
},
"nodeType": "YulFunctionCall",
"src": "6115:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "6115:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6065:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6088:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6096:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6085:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6085:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6062:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6062:38:1"
},
"nodeType": "YulIf",
"src": "6059:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5864:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5873:6:1",
"type": ""
}
],
"src": "5829:320:1"
}
]
},
"contents": "{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function 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 validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\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(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_ptrt_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\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_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value1, tail)\n\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100575760003560e01c80632e64cec11461005c5780636057361d1461007a5780636f760f411461009657806377ec2b55146100b25780639e7a13ad146100d1575b600080fd5b610064610102565b604051610071919061039d565b60405180910390f35b610094600480360381019061008f91906103f8565b61010b565b005b6100b060048036038101906100ab919061056b565b61011e565b005b6100ba61018b565b6040516100c892919061064f565b60405180910390f35b6100eb60048036038101906100e691906103f8565b610225565b6040516100f992919061064f565b60405180910390f35b60008054905090565b8060008190555061011a610102565b5050565b600360405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906101849291906102e1565b5050505050565b60018060000154908060010180546101a2906106ae565b80601f01602080910402602001604051908101604052809291908181526020018280546101ce906106ae565b801561021b5780601f106101f05761010080835404028352916020019161021b565b820191906000526020600020905b8154815290600101906020018083116101fe57829003601f168201915b5050505050905082565b6003818154811061023557600080fd5b906000526020600020906002020160009150905080600001549080600101805461025e906106ae565b80601f016020809104026020016040519081016040528092919081815260200182805461028a906106ae565b80156102d75780601f106102ac576101008083540402835291602001916102d7565b820191906000526020600020905b8154815290600101906020018083116102ba57829003601f168201915b5050505050905082565b8280546102ed906106ae565b90600052602060002090601f01602090048101928261030f5760008555610356565b82601f1061032857805160ff1916838001178555610356565b82800160010185558215610356579182015b8281111561035557825182559160200191906001019061033a565b5b5090506103639190610367565b5090565b5b80821115610380576000816000905550600101610368565b5090565b6000819050919050565b61039781610384565b82525050565b60006020820190506103b2600083018461038e565b92915050565b6000604051905090565b600080fd5b600080fd5b6103d581610384565b81146103e057600080fd5b50565b6000813590506103f2816103cc565b92915050565b60006020828403121561040e5761040d6103c2565b5b600061041c848285016103e3565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6104788261042f565b810181811067ffffffffffffffff8211171561049757610496610440565b5b80604052505050565b60006104aa6103b8565b90506104b6828261046f565b919050565b600067ffffffffffffffff8211156104d6576104d5610440565b5b6104df8261042f565b9050602081019050919050565b82818337600083830152505050565b600061050e610509846104bb565b6104a0565b90508281526020810184848401111561052a5761052961042a565b5b6105358482856104ec565b509392505050565b600082601f83011261055257610551610425565b5b81356105628482602086016104fb565b91505092915050565b60008060408385031215610582576105816103c2565b5b600083013567ffffffffffffffff8111156105a05761059f6103c7565b5b6105ac8582860161053d565b92505060206105bd858286016103e3565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156106015780820151818401526020810190506105e6565b83811115610610576000848401525b50505050565b6000610621826105c7565b61062b81856105d2565b935061063b8185602086016105e3565b6106448161042f565b840191505092915050565b6000604082019050610664600083018561038e565b81810360208301526106768184610616565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806106c657607f821691505b602082108114156106da576106d961067f565b5b5091905056fea264697066735822122082cc1404ecfec895e78dcb1b9d5aa3eaf0cda000150bb633b11a829be039185864736f6c63430008080033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x96 JUMPI DUP1 PUSH4 0x77EC2B55 EQ PUSH2 0xB2 JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0xD1 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0x102 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x39D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x94 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8F SWAP2 SWAP1 PUSH2 0x3F8 JUMP JUMPDEST PUSH2 0x10B JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB0 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAB SWAP2 SWAP1 PUSH2 0x56B JUMP JUMPDEST PUSH2 0x11E JUMP JUMPDEST STOP JUMPDEST PUSH2 0xBA PUSH2 0x18B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC8 SWAP3 SWAP2 SWAP1 PUSH2 0x64F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xEB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xE6 SWAP2 SWAP1 PUSH2 0x3F8 JUMP JUMPDEST PUSH2 0x225 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xF9 SWAP3 SWAP2 SWAP1 PUSH2 0x64F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP PUSH2 0x11A PUSH2 0x102 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x184 SWAP3 SWAP2 SWAP1 PUSH2 0x2E1 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x1A2 SWAP1 PUSH2 0x6AE 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 0x1CE SWAP1 PUSH2 0x6AE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x21B JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1F0 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x21B JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x1FE JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x3 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x235 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x25E SWAP1 PUSH2 0x6AE 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 0x28A SWAP1 PUSH2 0x6AE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2D7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2AC JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2D7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2BA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2ED SWAP1 PUSH2 0x6AE JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x30F JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x356 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x328 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x356 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x356 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x355 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x33A JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x363 SWAP2 SWAP1 PUSH2 0x367 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x380 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x368 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x397 DUP2 PUSH2 0x384 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x3B2 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x38E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3D5 DUP2 PUSH2 0x384 JUMP JUMPDEST DUP2 EQ PUSH2 0x3E0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3F2 DUP2 PUSH2 0x3CC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x40E JUMPI PUSH2 0x40D PUSH2 0x3C2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x41C DUP5 DUP3 DUP6 ADD PUSH2 0x3E3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x478 DUP3 PUSH2 0x42F JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x497 JUMPI PUSH2 0x496 PUSH2 0x440 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4AA PUSH2 0x3B8 JUMP JUMPDEST SWAP1 POP PUSH2 0x4B6 DUP3 DUP3 PUSH2 0x46F JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x4D6 JUMPI PUSH2 0x4D5 PUSH2 0x440 JUMP JUMPDEST JUMPDEST PUSH2 0x4DF DUP3 PUSH2 0x42F JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x50E PUSH2 0x509 DUP5 PUSH2 0x4BB JUMP JUMPDEST PUSH2 0x4A0 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x52A JUMPI PUSH2 0x529 PUSH2 0x42A JUMP JUMPDEST JUMPDEST PUSH2 0x535 DUP5 DUP3 DUP6 PUSH2 0x4EC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x552 JUMPI PUSH2 0x551 PUSH2 0x425 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x562 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x4FB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x582 JUMPI PUSH2 0x581 PUSH2 0x3C2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5A0 JUMPI PUSH2 0x59F PUSH2 0x3C7 JUMP JUMPDEST JUMPDEST PUSH2 0x5AC DUP6 DUP3 DUP7 ADD PUSH2 0x53D JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x5BD DUP6 DUP3 DUP7 ADD PUSH2 0x3E3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x601 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x5E6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x610 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x621 DUP3 PUSH2 0x5C7 JUMP JUMPDEST PUSH2 0x62B DUP2 DUP6 PUSH2 0x5D2 JUMP JUMPDEST SWAP4 POP PUSH2 0x63B DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5E3 JUMP JUMPDEST PUSH2 0x644 DUP2 PUSH2 0x42F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x664 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x38E JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x676 DUP2 DUP5 PUSH2 0x616 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x6C6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x6DA JUMPI PUSH2 0x6D9 PUSH2 0x67F JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP3 0xCC EQ DIV 0xEC INVALID 0xC8 SWAP6 0xE7 DUP14 0xCB SHL SWAP14 GAS LOG3 0xEA CREATE 0xCD LOG0 STOP ISZERO SIGNEXTEND 0xB6 CALLER 0xB1 BYTE DUP3 SWAP12 0xE0 CODECOPY XOR PC PUSH5 0x736F6C6343 STOP ADDMOD ADDMOD STOP CALLER ",
"sourceMap": "283:3202:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2593:88;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2363:119;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3243:225;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2966:65;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;3178:22;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;2593:88;2633:7;2659:14;;2652:21;;2593:88;:::o;2363:119::-;2438:15;2421:14;:32;;;;2464:10;:8;:10::i;:::-;;2363:119;:::o;3243:225::-;3418:6;3430:29;;;;;;;;3437:15;3430:29;;;;3453:5;3430:29;;;3418:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;3243:225;;:::o;2966:65::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3178:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:75::-;475:6;508:2;502:9;492:19;;442:75;:::o;523:117::-;632:1;629;622:12;646:117;755:1;752;745:12;769:122;842:24;860:5;842:24;:::i;:::-;835:5;832:35;822:63;;881:1;878;871:12;822:63;769:122;:::o;897:139::-;943:5;981:6;968:20;959:29;;997:33;1024:5;997:33;:::i;:::-;897:139;;;;:::o;1042:329::-;1101:6;1150:2;1138:9;1129:7;1125:23;1121:32;1118:119;;;1156:79;;:::i;:::-;1118:119;1276:1;1301:53;1346:7;1337:6;1326:9;1322:22;1301:53;:::i;:::-;1291:63;;1247:117;1042:329;;;;:::o;1377:117::-;1486:1;1483;1476:12;1500:117;1609:1;1606;1599:12;1623:102;1664:6;1715:2;1711:7;1706:2;1699:5;1695:14;1691:28;1681:38;;1623:102;;;:::o;1731:180::-;1779:77;1776:1;1769:88;1876:4;1873:1;1866:15;1900:4;1897:1;1890:15;1917:281;2000:27;2022:4;2000:27;:::i;:::-;1992:6;1988:40;2130:6;2118:10;2115:22;2094:18;2082:10;2079:34;2076:62;2073:88;;;2141:18;;:::i;:::-;2073:88;2181:10;2177:2;2170:22;1960:238;1917:281;;:::o;2204:129::-;2238:6;2265:20;;:::i;:::-;2255:30;;2294:33;2322:4;2314:6;2294:33;:::i;:::-;2204:129;;;:::o;2339:308::-;2401:4;2491:18;2483:6;2480:30;2477:56;;;2513:18;;:::i;:::-;2477:56;2551:29;2573:6;2551:29;:::i;:::-;2543:37;;2635:4;2629;2625:15;2617:23;;2339:308;;;:::o;2653:154::-;2737:6;2732:3;2727;2714:30;2799:1;2790:6;2785:3;2781:16;2774:27;2653:154;;;:::o;2813:412::-;2891:5;2916:66;2932:49;2974:6;2932:49;:::i;:::-;2916:66;:::i;:::-;2907:75;;3005:6;2998:5;2991:21;3043:4;3036:5;3032:16;3081:3;3072:6;3067:3;3063:16;3060:25;3057:112;;;3088:79;;:::i;:::-;3057:112;3178:41;3212:6;3207:3;3202;3178:41;:::i;:::-;2897:328;2813:412;;;;;:::o;3245:340::-;3301:5;3350:3;3343:4;3335:6;3331:17;3327:27;3317:122;;3358:79;;:::i;:::-;3317:122;3475:6;3462:20;3500:79;3575:3;3567:6;3560:4;3552:6;3548:17;3500:79;:::i;:::-;3491:88;;3307:278;3245:340;;;;:::o;3591:654::-;3669:6;3677;3726:2;3714:9;3705:7;3701:23;3697:32;3694:119;;;3732:79;;:::i;:::-;3694:119;3880:1;3869:9;3865:17;3852:31;3910:18;3902:6;3899:30;3896:117;;;3932:79;;:::i;:::-;3896:117;4037:63;4092:7;4083:6;4072:9;4068:22;4037:63;:::i;:::-;4027:73;;3823:287;4149:2;4175:53;4220:7;4211:6;4200:9;4196:22;4175:53;:::i;:::-;4165:63;;4120:118;3591:654;;;;;:::o;4251:99::-;4303:6;4337:5;4331:12;4321:22;;4251:99;;;:::o;4356:169::-;4440:11;4474:6;4469:3;4462:19;4514:4;4509:3;4505:14;4490:29;;4356:169;;;;:::o;4531:307::-;4599:1;4609:113;4623:6;4620:1;4617:13;4609:113;;;4708:1;4703:3;4699:11;4693:18;4689:1;4684:3;4680:11;4673:39;4645:2;4642:1;4638:10;4633:15;;4609:113;;;4740:6;4737:1;4734:13;4731:101;;;4820:1;4811:6;4806:3;4802:16;4795:27;4731:101;4580:258;4531:307;;;:::o;4844:364::-;4932:3;4960:39;4993:5;4960:39;:::i;:::-;5015:71;5079:6;5074:3;5015:71;:::i;:::-;5008:78;;5095:52;5140:6;5135:3;5128:4;5121:5;5117:16;5095:52;:::i;:::-;5172:29;5194:6;5172:29;:::i;:::-;5167:3;5163:39;5156:46;;4936:272;4844:364;;;;:::o;5214:423::-;5355:4;5393:2;5382:9;5378:18;5370:26;;5406:71;5474:1;5463:9;5459:17;5450:6;5406:71;:::i;:::-;5524:9;5518:4;5514:20;5509:2;5498:9;5494:18;5487:48;5552:78;5625:4;5616:6;5552:78;:::i;:::-;5544:86;;5214:423;;;;;:::o;5643:180::-;5691:77;5688:1;5681:88;5788:4;5785:1;5778:15;5812:4;5809:1;5802:15;5829:320;5873:6;5910:1;5904:4;5900:12;5890:22;;5957:1;5951:4;5947:12;5978:18;5968:81;;6034:4;6026:6;6022:17;6012:27;;5968:81;6096:2;6088:6;6085:14;6065:18;6062:38;6059:84;;;6115:18;;:::i;:::-;6059:84;5880:269;5829:320;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "362800",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"addPerson(string,uint256)": "infinite",
"people(uint256)": "infinite",
"person()": "infinite",
"retrieve()": "2415",
"store(uint256)": "24660"
}
},
"methodIdentifiers": {
"addPerson(string,uint256)": "6f760f41",
"people(uint256)": "9e7a13ad",
"person()": "77ec2b55",
"retrieve()": "2e64cec1",
"store(uint256)": "6057361d"
}
},
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint256",
"name": "_favoriteNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "people",
"outputs": [
{
"internalType": "uint256",
"name": "favoriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "person",
"outputs": [
{
"internalType": "uint256",
"name": "favoriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_favoriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.8+commit.dddeac2f"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint256",
"name": "_favoriteNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "people",
"outputs": [
{
"internalType": "uint256",
"name": "favoriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "person",
"outputs": [
{
"internalType": "uint256",
"name": "favoriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_favoriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/SimpleStorage.sol": "SimpleStorage"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/SimpleStorage.sol": {
"keccak256": "0xcfc93d50be9c38c5071dff8fa8a91903883a526292907a76e786a9d465cf83e3",
"license": "MIT",
"urls": [
"bzz-raw://ea1742be61f5b230c2c9d59e13ea035d4ef8af44d1e5f332721c9f1fe06c2220",
"dweb:/ipfs/QmcDnSRoUMjgCuCc9QRgwBiBvobrgpTkQSZSfLmepb75r3"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Counter{
// Code goes here...
uint256 public count = 2;
// uint256 public num;
uint256 public num = 10;
string notice = "Hey there! I'm learning Solidity and will be diving into Web3";
// constructor() public {
// num = 10;
// }
// Writing function
// function getCount() public view returns(uint256) {
// return count;
// }
// function getNum() public view returns(uint256) {
// return num;
// }
function incrementCount() public {
count = count + 1; // We can also write it is count++;
num = num * 10;
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Mappings{
// Mappings
/* The below is the syntax of defining mapping where
'key' we write the datatype of the key, and in 'value' we
write the datatype of values that those 'keys' will store */
// mapping(key => value) name;
mapping(uint256 => string) public myMapping;
mapping(uint256 => Book) public books;
/* To create 'Two-Dimensional' Mappings
we can do as shown below, and we'll be using
the above 'books' mapping to put under the mapping
we're going to assign.*/
mapping(address => mapping(uint256 => Book)) public myBooks;
struct Book {
string title;
string author;
}
constructor() public {
myMapping[1] = "IronMan";
myMapping[2] = "Thor";
myMapping[3] = "Hulk";
myMapping[4] = "Wanda";
myMapping[5] = "Dr Strange";
myMapping[6] = "Captain America";
}
function addBook(uint256 _id, string memory _title, string memory _author) public {
books[_id] = Book(_title, _author);
}
function addmyBooks(uint256 _id, string memory _title, string memory _author) public {
myBooks[msg.sender][_id] = Book(_title, _author);
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract MyContract{
// State Variables
uint256 myUint = 100;
uint256 public num = 200;
int integer = -1;
int integer2 = 9;
string public myString = "Hey there!! I'm deep diving into Blockchain and Web3";
bytes32 public myBytes32 = "Hello world!";
address public myAddress = 0x51CC8a8fC56446193Ad2A60844692531D5D2ab4E;
struct MyStruct {
uint256 myNum;
string Str;
}
MyStruct public a = MyStruct(10, "Kartikey");
// Local Variables
function getValue() public pure returns(uint256){
uint256 value = 10;
return value;
}
}
// SPDX-License-Identifier: MIT
pragma solidity 0.8.8; // At the top we write the solidity version we want to use the latest version is 0.8.12
// To define our contract we use the keyword "contract" that tells the solidity compiler that from that keyword we are writing contract
contract SimpleStorage{
// There are some common datatypes in Solidity!
// boolean, uint, int, address, bytes
// boolean is the datatype that stores boolean value like true or false
// uint is a datatype that indicates positive whole numbers in other words we can say An unsigned integer, declared with the uint keyword, is a value data type that must be non-negative; that is, its value is greater than or equal to zero.
// int is a datatype that stores integer values
// address is a datatype that stores address like the address of our metamask wallet or we can say that an address value type is specifically designed to hold up to 20Byte, or 160 bits, which is the size of an Ethereum address. Solidity actually offers two address value types: address and address payable . The difference between the two is that address payable can send and transfer Ether.
// In Solidity, byte refers to 8-bit signed integers. Everything in memory is stored in bits with binary values 0 and 1. The bytes value type in Solidity is a dynamically sized byte array. It is provided for storing information in binary format. Since the array is dynamic, its length can grow or shrink.
/* For more knowledge about this and other concepts
refer the documentation of Solidity!😎 */
// bool hasFavoriteNumber = true;
// uint256 favoriteNumber = 892; // Here we written 256 after uint which tells that the uint value that has to be stored in the uint datatype can be upto 256 bits. We can also use uint32 to assign uint values upto 32 bits and if we don't use anything then the compiler automatically takes it as uint256
// string favoriteNumberInText = "Five";
// int256 favoriteInt = -5;
// address myWalletAddress = 0x51CC8a8fC56446193Ad2A60844692531D5D2ab4E;
// bytes32 favoriteBytes = "cat";
uint256 favoriteNumber; // If we only just initialize the uint and don't provide any value then it will automatically get initialized to zero.
/* Now let's create a function in Solidity */
function store(uint256 _favoriteNumber) public {
favoriteNumber = _favoriteNumber;
retrieve();
}
// function add() public view pure returns (uint256){ss
// return (2+7);
// }
function retrieve() public view returns(uint256){
return favoriteNumber;
}
// function add() public view returns (uint256){
// return (favoriteNumber+2);
// }
/* After compilation and deploy of this smart contract
This Smart Contract is deployed on 0xd9145CCE52D386f254917e481eB44e9943F39138
address */
People public person = People({favoriteNumber:7,name:"Kartikey"});
struct People{
uint256 favoriteNumber;
string name;
}
/*We can make array in Solidity as shown below*/
People[] public people;
// calldata, memory, storage
function addPerson(string memory _name, uint256 _favoriteNumber) public {
// People memory newPerson = People({favoriteNumber: _favoriteNumber,name:_name});
people.push(People(_favoriteNumber,_name));
}
}
This file has been truncated, but you can view the full file.
{
"id": "098bf9faf2583c531e1b7938f429f653",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"contracts/ArraysInSolidity.sol": {
"content": "// SPDX-License-Identifier:MIT\r\npragma solidity ^0.8.0;\r\n\r\ncontract FirstArray{\r\n /* In this program we'll gonna learn about 'Arrays'\r\n In Solidity programming.*/\r\n\r\n uint256[] public UintArray = [1,3,5];\r\n string[] public StrArray = [\"Hello\", \"World\", \"!\"];\r\n string[] public values;\r\n\r\n function addValue(string memory _value) public {\r\n values.push(_value);\r\n }\r\n \r\n function valueCount() public view returns(uint256){\r\n return values.length;\r\n }\r\n}"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
"contracts/ArraysInSolidity.sol": {
"FirstArray": {
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "StrArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "UintArray",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_value",
"type": "string"
}
],
"name": "addValue",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "valueCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "values",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"contracts/ArraysInSolidity.sol\":59:499 contract FirstArray{\r... */\n mstore(0x40, 0x80)\n /* \"contracts/ArraysInSolidity.sol\":179:215 uint256[] public UintArray = [1,3,5] */\n mload(0x40)\n dup1\n 0x60\n add\n 0x40\n mstore\n dup1\n /* \"contracts/ArraysInSolidity.sol\":209:210 1 */\n 0x01\n /* \"contracts/ArraysInSolidity.sol\":179:215 uint256[] public UintArray = [1,3,5] */\n 0xff\n and\n dup2\n mstore\n 0x20\n add\n /* \"contracts/ArraysInSolidity.sol\":211:212 3 */\n 0x03\n /* \"contracts/ArraysInSolidity.sol\":179:215 uint256[] public UintArray = [1,3,5] */\n 0xff\n and\n dup2\n mstore\n 0x20\n add\n /* \"contracts/ArraysInSolidity.sol\":213:214 5 */\n 0x05\n /* \"contracts/ArraysInSolidity.sol\":179:215 uint256[] public UintArray = [1,3,5] */\n 0xff\n and\n dup2\n mstore\n pop\n 0x00\n swap1\n 0x03\n tag_1\n swap3\n swap2\n swap1\n tag_2\n jump\t// in\ntag_1:\n pop\n /* \"contracts/ArraysInSolidity.sol\":222:272 string[] public StrArray = [\"Hello\", \"World\", \"!\"] */\n mload(0x40)\n dup1\n 0x60\n add\n 0x40\n mstore\n dup1\n mload(0x40)\n dup1\n 0x40\n add\n 0x40\n mstore\n dup1\n 0x05\n dup2\n mstore\n 0x20\n add\n 0x48656c6c6f000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n pop\n dup2\n mstore\n 0x20\n add\n mload(0x40)\n dup1\n 0x40\n add\n 0x40\n mstore\n dup1\n 0x05\n dup2\n mstore\n 0x20\n add\n 0x576f726c64000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n pop\n dup2\n mstore\n 0x20\n add\n mload(0x40)\n dup1\n 0x40\n add\n 0x40\n mstore\n dup1\n 0x01\n dup2\n mstore\n 0x20\n add\n 0x2100000000000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n pop\n dup2\n mstore\n pop\n 0x01\n swap1\n 0x03\n tag_3\n swap3\n swap2\n swap1\n tag_4\n jump\t// in\ntag_3:\n pop\n /* \"contracts/ArraysInSolidity.sol\":59:499 contract FirstArray{\r... */\n callvalue\n dup1\n iszero\n tag_5\n jumpi\n 0x00\n dup1\n revert\ntag_5:\n pop\n jump(tag_6)\ntag_2:\n dup3\n dup1\n sload\n dup3\n dup3\n sstore\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n dup2\n add\n swap3\n dup3\n iszero\n tag_7\n jumpi\n swap2\n 0x20\n mul\n dup3\n add\ntag_8:\n dup3\n dup2\n gt\n iszero\n tag_9\n jumpi\n dup3\n mload\n dup3\n swap1\n 0xff\n and\n swap1\n sstore\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_8)\ntag_9:\ntag_7:\n pop\n swap1\n pop\n tag_10\n swap2\n swap1\n tag_11\n jump\t// in\ntag_10:\n pop\n swap1\n jump\t// out\ntag_4:\n dup3\n dup1\n sload\n dup3\n dup3\n sstore\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n dup2\n add\n swap3\n dup3\n iszero\n tag_12\n jumpi\n swap2\n 0x20\n mul\n dup3\n add\ntag_13:\n dup3\n dup2\n gt\n iszero\n tag_14\n jumpi\n dup3\n mload\n dup3\n swap1\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n tag_15\n swap3\n swap2\n swap1\n tag_16\n jump\t// in\ntag_15:\n pop\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_13)\ntag_14:\ntag_12:\n pop\n swap1\n pop\n tag_17\n swap2\n swap1\n tag_18\n jump\t// in\ntag_17:\n pop\n swap1\n jump\t// out\ntag_11:\ntag_19:\n dup1\n dup3\n gt\n iszero\n tag_20\n jumpi\n 0x00\n dup2\n 0x00\n swap1\n sstore\n pop\n 0x01\n add\n jump(tag_19)\ntag_20:\n pop\n swap1\n jump\t// out\ntag_16:\n dup3\n dup1\n sload\n tag_21\n swap1\n tag_22\n jump\t// in\ntag_21:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n 0x1f\n add\n 0x20\n swap1\n div\n dup2\n add\n swap3\n dup3\n tag_24\n jumpi\n 0x00\n dup6\n sstore\n jump(tag_23)\ntag_24:\n dup3\n 0x1f\n lt\n tag_25\n jumpi\n dup1\n mload\n not(0xff)\n and\n dup4\n dup1\n add\n or\n dup6\n sstore\n jump(tag_23)\ntag_25:\n dup3\n dup1\n add\n 0x01\n add\n dup6\n sstore\n dup3\n iszero\n tag_23\n jumpi\n swap2\n dup3\n add\ntag_26:\n dup3\n dup2\n gt\n iszero\n tag_27\n jumpi\n dup3\n mload\n dup3\n sstore\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_26)\ntag_27:\ntag_23:\n pop\n swap1\n pop\n tag_28\n swap2\n swap1\n tag_11\n jump\t// in\ntag_28:\n pop\n swap1\n jump\t// out\ntag_18:\ntag_29:\n dup1\n dup3\n gt\n iszero\n tag_30\n jumpi\n 0x00\n dup2\n dup2\n tag_31\n swap2\n swap1\n tag_32\n jump\t// in\ntag_31:\n pop\n 0x01\n add\n jump(tag_29)\ntag_30:\n pop\n swap1\n jump\t// out\ntag_32:\n pop\n dup1\n sload\n tag_33\n swap1\n tag_22\n jump\t// in\ntag_33:\n 0x00\n dup3\n sstore\n dup1\n 0x1f\n lt\n tag_35\n jumpi\n pop\n jump(tag_34)\ntag_35:\n 0x1f\n add\n 0x20\n swap1\n div\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n dup2\n add\n swap1\n tag_36\n swap2\n swap1\n tag_11\n jump\t// in\ntag_36:\ntag_34:\n pop\n jump\t// out\n /* \"#utility.yul\":7:327 */\ntag_22:\n /* \"#utility.yul\":51:57 */\n 0x00\n /* \"#utility.yul\":88:89 */\n 0x02\n /* \"#utility.yul\":82:86 */\n dup3\n /* \"#utility.yul\":78:90 */\n div\n /* \"#utility.yul\":68:90 */\n swap1\n pop\n /* \"#utility.yul\":135:136 */\n 0x01\n /* \"#utility.yul\":129:133 */\n dup3\n /* \"#utility.yul\":125:137 */\n and\n /* \"#utility.yul\":156:174 */\n dup1\n /* \"#utility.yul\":146:227 */\n tag_39\n jumpi\n /* \"#utility.yul\":212:216 */\n 0x7f\n /* \"#utility.yul\":204:210 */\n dup3\n /* \"#utility.yul\":200:217 */\n and\n /* \"#utility.yul\":190:217 */\n swap2\n pop\n /* \"#utility.yul\":146:227 */\ntag_39:\n /* \"#utility.yul\":274:276 */\n 0x20\n /* \"#utility.yul\":266:272 */\n dup3\n /* \"#utility.yul\":263:277 */\n lt\n /* \"#utility.yul\":243:261 */\n dup2\n /* \"#utility.yul\":240:278 */\n eq\n /* \"#utility.yul\":237:321 */\n iszero\n tag_40\n jumpi\n /* \"#utility.yul\":293:311 */\n tag_41\n tag_42\n jump\t// in\ntag_41:\n /* \"#utility.yul\":237:321 */\ntag_40:\n /* \"#utility.yul\":58:327 */\n pop\n /* \"#utility.yul\":7:327 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":333:513 */\ntag_42:\n /* \"#utility.yul\":381:458 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":378:379 */\n 0x00\n /* \"#utility.yul\":371:459 */\n mstore\n /* \"#utility.yul\":478:482 */\n 0x22\n /* \"#utility.yul\":475:476 */\n 0x04\n /* \"#utility.yul\":468:483 */\n mstore\n /* \"#utility.yul\":502:506 */\n 0x24\n /* \"#utility.yul\":499:500 */\n 0x00\n /* \"#utility.yul\":492:507 */\n revert\n /* \"contracts/ArraysInSolidity.sol\":59:499 contract FirstArray{\r... */\ntag_6:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"contracts/ArraysInSolidity.sol\":59:499 contract FirstArray{\r... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x08dad414\n eq\n tag_3\n jumpi\n dup1\n 0x26eb4dbb\n eq\n tag_4\n jumpi\n dup1\n 0x3a5fbaaa\n eq\n tag_5\n jumpi\n dup1\n 0x5e383d21\n eq\n tag_6\n jumpi\n dup1\n 0x6290697d\n eq\n tag_7\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"contracts/ArraysInSolidity.sol\":179:215 uint256[] public UintArray = [1,3,5] */\n tag_3:\n tag_8\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_9\n swap2\n swap1\n tag_10\n jump\t// in\n tag_9:\n tag_11\n jump\t// in\n tag_8:\n mload(0x40)\n tag_12\n swap2\n swap1\n tag_13\n jump\t// in\n tag_12:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"contracts/ArraysInSolidity.sol\":407:496 function valueCount() public view returns(uint256){\r... */\n tag_4:\n tag_14\n tag_15\n jump\t// in\n tag_14:\n mload(0x40)\n tag_16\n swap2\n swap1\n tag_13\n jump\t// in\n tag_16:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"contracts/ArraysInSolidity.sol\":310:395 function addValue(string memory _value) public {\r... */\n tag_5:\n tag_17\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_18\n swap2\n swap1\n tag_19\n jump\t// in\n tag_18:\n tag_20\n jump\t// in\n tag_17:\n stop\n /* \"contracts/ArraysInSolidity.sol\":279:301 string[] public values */\n tag_6:\n tag_21\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_22\n swap2\n swap1\n tag_10\n jump\t// in\n tag_22:\n tag_23\n jump\t// in\n tag_21:\n mload(0x40)\n tag_24\n swap2\n swap1\n tag_25\n jump\t// in\n tag_24:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"contracts/ArraysInSolidity.sol\":222:272 string[] public StrArray = [\"Hello\", \"World\", \"!\"] */\n tag_7:\n tag_26\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_27\n swap2\n swap1\n tag_10\n jump\t// in\n tag_27:\n tag_28\n jump\t// in\n tag_26:\n mload(0x40)\n tag_29\n swap2\n swap1\n tag_25\n jump\t// in\n tag_29:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"contracts/ArraysInSolidity.sol\":179:215 uint256[] public UintArray = [1,3,5] */\n tag_11:\n 0x00\n dup2\n dup2\n sload\n dup2\n lt\n tag_30\n jumpi\n 0x00\n dup1\n revert\n tag_30:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n add\n 0x00\n swap2\n pop\n swap1\n pop\n sload\n dup2\n jump\t// out\n /* \"contracts/ArraysInSolidity.sol\":407:496 function valueCount() public view returns(uint256){\r... */\n tag_15:\n /* \"contracts/ArraysInSolidity.sol\":449:456 uint256 */\n 0x00\n /* \"contracts/ArraysInSolidity.sol\":475:481 values */\n 0x02\n /* \"contracts/ArraysInSolidity.sol\":475:488 values.length */\n dup1\n sload\n swap1\n pop\n /* \"contracts/ArraysInSolidity.sol\":468:488 return values.length */\n swap1\n pop\n /* \"contracts/ArraysInSolidity.sol\":407:496 function valueCount() public view returns(uint256){\r... */\n swap1\n jump\t// out\n /* \"contracts/ArraysInSolidity.sol\":310:395 function addValue(string memory _value) public {\r... */\n tag_20:\n /* \"contracts/ArraysInSolidity.sol\":368:374 values */\n 0x02\n /* \"contracts/ArraysInSolidity.sol\":380:386 _value */\n dup2\n /* \"contracts/ArraysInSolidity.sol\":368:387 values.push(_value) */\n swap1\n dup1\n 0x01\n dup2\n sload\n add\n dup1\n dup3\n sstore\n dup1\n swap2\n pop\n pop\n 0x01\n swap1\n sub\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n add\n 0x00\n swap1\n swap2\n swap1\n swap2\n swap1\n swap2\n pop\n swap1\n dup1\n mload\n swap1\n 0x20\n add\n swap1\n tag_35\n swap3\n swap2\n swap1\n tag_36\n jump\t// in\n tag_35:\n pop\n /* \"contracts/ArraysInSolidity.sol\":310:395 function addValue(string memory _value) public {\r... */\n pop\n jump\t// out\n /* \"contracts/ArraysInSolidity.sol\":279:301 string[] public values */\n tag_23:\n 0x02\n dup2\n dup2\n sload\n dup2\n lt\n tag_37\n jumpi\n 0x00\n dup1\n revert\n tag_37:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n add\n 0x00\n swap2\n pop\n swap1\n pop\n dup1\n sload\n tag_39\n swap1\n tag_40\n jump\t// in\n tag_39:\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup3\n dup1\n sload\n tag_41\n swap1\n tag_40\n jump\t// in\n tag_41:\n dup1\n iszero\n tag_42\n jumpi\n dup1\n 0x1f\n lt\n tag_43\n jumpi\n 0x0100\n dup1\n dup4\n sload\n div\n mul\n dup4\n mstore\n swap2\n 0x20\n add\n swap2\n jump(tag_42)\n tag_43:\n dup3\n add\n swap2\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n tag_44:\n dup2\n sload\n dup2\n mstore\n swap1\n 0x01\n add\n swap1\n 0x20\n add\n dup1\n dup4\n gt\n tag_44\n jumpi\n dup3\n swap1\n sub\n 0x1f\n and\n dup3\n add\n swap2\n tag_42:\n pop\n pop\n pop\n pop\n pop\n dup2\n jump\t// out\n /* \"contracts/ArraysInSolidity.sol\":222:272 string[] public StrArray = [\"Hello\", \"World\", \"!\"] */\n tag_28:\n 0x01\n dup2\n dup2\n sload\n dup2\n lt\n tag_45\n jumpi\n 0x00\n dup1\n revert\n tag_45:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n add\n 0x00\n swap2\n pop\n swap1\n pop\n dup1\n sload\n tag_47\n swap1\n tag_40\n jump\t// in\n tag_47:\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup3\n dup1\n sload\n tag_48\n swap1\n tag_40\n jump\t// in\n tag_48:\n dup1\n iszero\n tag_49\n jumpi\n dup1\n 0x1f\n lt\n tag_50\n jumpi\n 0x0100\n dup1\n dup4\n sload\n div\n mul\n dup4\n mstore\n swap2\n 0x20\n add\n swap2\n jump(tag_49)\n tag_50:\n dup3\n add\n swap2\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n tag_51:\n dup2\n sload\n dup2\n mstore\n swap1\n 0x01\n add\n swap1\n 0x20\n add\n dup1\n dup4\n gt\n tag_51\n jumpi\n dup3\n swap1\n sub\n 0x1f\n and\n dup3\n add\n swap2\n tag_49:\n pop\n pop\n pop\n pop\n pop\n dup2\n jump\t// out\n tag_36:\n dup3\n dup1\n sload\n tag_52\n swap1\n tag_40\n jump\t// in\n tag_52:\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n 0x1f\n add\n 0x20\n swap1\n div\n dup2\n add\n swap3\n dup3\n tag_54\n jumpi\n 0x00\n dup6\n sstore\n jump(tag_53)\n tag_54:\n dup3\n 0x1f\n lt\n tag_55\n jumpi\n dup1\n mload\n not(0xff)\n and\n dup4\n dup1\n add\n or\n dup6\n sstore\n jump(tag_53)\n tag_55:\n dup3\n dup1\n add\n 0x01\n add\n dup6\n sstore\n dup3\n iszero\n tag_53\n jumpi\n swap2\n dup3\n add\n tag_56:\n dup3\n dup2\n gt\n iszero\n tag_57\n jumpi\n dup3\n mload\n dup3\n sstore\n swap2\n 0x20\n add\n swap2\n swap1\n 0x01\n add\n swap1\n jump(tag_56)\n tag_57:\n tag_53:\n pop\n swap1\n pop\n tag_58\n swap2\n swap1\n tag_59\n jump\t// in\n tag_58:\n pop\n swap1\n jump\t// out\n tag_59:\n tag_60:\n dup1\n dup3\n gt\n iszero\n tag_61\n jumpi\n 0x00\n dup2\n 0x00\n swap1\n sstore\n pop\n 0x01\n add\n jump(tag_60)\n tag_61:\n pop\n swap1\n jump\t// out\n /* \"#utility.yul\":7:419 */\n tag_63:\n /* \"#utility.yul\":85:90 */\n 0x00\n /* \"#utility.yul\":110:176 */\n tag_65\n /* \"#utility.yul\":126:175 */\n tag_66\n /* \"#utility.yul\":168:174 */\n dup5\n /* \"#utility.yul\":126:175 */\n tag_67\n jump\t// in\n tag_66:\n /* \"#utility.yul\":110:176 */\n tag_68\n jump\t// in\n tag_65:\n /* \"#utility.yul\":101:176 */\n swap1\n pop\n /* \"#utility.yul\":199:205 */\n dup3\n /* \"#utility.yul\":192:197 */\n dup2\n /* \"#utility.yul\":185:206 */\n mstore\n /* \"#utility.yul\":237:241 */\n 0x20\n /* \"#utility.yul\":230:235 */\n dup2\n /* \"#utility.yul\":226:242 */\n add\n /* \"#utility.yul\":275:278 */\n dup5\n /* \"#utility.yul\":266:272 */\n dup5\n /* \"#utility.yul\":261:264 */\n dup5\n /* \"#utility.yul\":257:273 */\n add\n /* \"#utility.yul\":254:279 */\n gt\n /* \"#utility.yul\":251:363 */\n iszero\n tag_69\n jumpi\n /* \"#utility.yul\":282:361 */\n tag_70\n tag_71\n jump\t// in\n tag_70:\n /* \"#utility.yul\":251:363 */\n tag_69:\n /* \"#utility.yul\":372:413 */\n tag_72\n /* \"#utility.yul\":406:412 */\n dup5\n /* \"#utility.yul\":401:404 */\n dup3\n /* \"#utility.yul\":396:399 */\n dup6\n /* \"#utility.yul\":372:413 */\n tag_73\n jump\t// in\n tag_72:\n /* \"#utility.yul\":91:419 */\n pop\n /* \"#utility.yul\":7:419 */\n swap4\n swap3\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":439:779 */\n tag_74:\n /* \"#utility.yul\":495:500 */\n 0x00\n /* \"#utility.yul\":544:547 */\n dup3\n /* \"#utility.yul\":537:541 */\n 0x1f\n /* \"#utility.yul\":529:535 */\n dup4\n /* \"#utility.yul\":525:542 */\n add\n /* \"#utility.yul\":521:548 */\n slt\n /* \"#utility.yul\":511:633 */\n tag_76\n jumpi\n /* \"#utility.yul\":552:631 */\n tag_77\n tag_78\n jump\t// in\n tag_77:\n /* \"#utility.yul\":511:633 */\n tag_76:\n /* \"#utility.yul\":669:675 */\n dup2\n /* \"#utility.yul\":656:676 */\n calldataload\n /* \"#utility.yul\":694:773 */\n tag_79\n /* \"#utility.yul\":769:772 */\n dup5\n /* \"#utility.yul\":761:767 */\n dup3\n /* \"#utility.yul\":754:758 */\n 0x20\n /* \"#utility.yul\":746:752 */\n dup7\n /* \"#utility.yul\":742:759 */\n add\n /* \"#utility.yul\":694:773 */\n tag_63\n jump\t// in\n tag_79:\n /* \"#utility.yul\":685:773 */\n swap2\n pop\n /* \"#utility.yul\":501:779 */\n pop\n /* \"#utility.yul\":439:779 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":785:924 */\n tag_80:\n /* \"#utility.yul\":831:836 */\n 0x00\n /* \"#utility.yul\":869:875 */\n dup2\n /* \"#utility.yul\":856:876 */\n calldataload\n /* \"#utility.yul\":847:876 */\n swap1\n pop\n /* \"#utility.yul\":885:918 */\n tag_82\n /* \"#utility.yul\":912:917 */\n dup2\n /* \"#utility.yul\":885:918 */\n tag_83\n jump\t// in\n tag_82:\n /* \"#utility.yul\":785:924 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":930:1439 */\n tag_19:\n /* \"#utility.yul\":999:1005 */\n 0x00\n /* \"#utility.yul\":1048:1050 */\n 0x20\n /* \"#utility.yul\":1036:1045 */\n dup3\n /* \"#utility.yul\":1027:1034 */\n dup5\n /* \"#utility.yul\":1023:1046 */\n sub\n /* \"#utility.yul\":1019:1051 */\n slt\n /* \"#utility.yul\":1016:1135 */\n iszero\n tag_85\n jumpi\n /* \"#utility.yul\":1054:1133 */\n tag_86\n tag_87\n jump\t// in\n tag_86:\n /* \"#utility.yul\":1016:1135 */\n tag_85:\n /* \"#utility.yul\":1202:1203 */\n 0x00\n /* \"#utility.yul\":1191:1200 */\n dup3\n /* \"#utility.yul\":1187:1204 */\n add\n /* \"#utility.yul\":1174:1205 */\n calldataload\n /* \"#utility.yul\":1232:1250 */\n 0xffffffffffffffff\n /* \"#utility.yul\":1224:1230 */\n dup2\n /* \"#utility.yul\":1221:1251 */\n gt\n /* \"#utility.yul\":1218:1335 */\n iszero\n tag_88\n jumpi\n /* \"#utility.yul\":1254:1333 */\n tag_89\n tag_90\n jump\t// in\n tag_89:\n /* \"#utility.yul\":1218:1335 */\n tag_88:\n /* \"#utility.yul\":1359:1422 */\n tag_91\n /* \"#utility.yul\":1414:1421 */\n dup5\n /* \"#utility.yul\":1405:1411 */\n dup3\n /* \"#utility.yul\":1394:1403 */\n dup6\n /* \"#utility.yul\":1390:1412 */\n add\n /* \"#utility.yul\":1359:1422 */\n tag_74\n jump\t// in\n tag_91:\n /* \"#utility.yul\":1349:1422 */\n swap2\n pop\n /* \"#utility.yul\":1145:1432 */\n pop\n /* \"#utility.yul\":930:1439 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1445:1774 */\n tag_10:\n /* \"#utility.yul\":1504:1510 */\n 0x00\n /* \"#utility.yul\":1553:1555 */\n 0x20\n /* \"#utility.yul\":1541:1550 */\n dup3\n /* \"#utility.yul\":1532:1539 */\n dup5\n /* \"#utility.yul\":1528:1551 */\n sub\n /* \"#utility.yul\":1524:1556 */\n slt\n /* \"#utility.yul\":1521:1640 */\n iszero\n tag_93\n jumpi\n /* \"#utility.yul\":1559:1638 */\n tag_94\n tag_87\n jump\t// in\n tag_94:\n /* \"#utility.yul\":1521:1640 */\n tag_93:\n /* \"#utility.yul\":1679:1680 */\n 0x00\n /* \"#utility.yul\":1704:1757 */\n tag_95\n /* \"#utility.yul\":1749:1756 */\n dup5\n /* \"#utility.yul\":1740:1746 */\n dup3\n /* \"#utility.yul\":1729:1738 */\n dup6\n /* \"#utility.yul\":1725:1747 */\n add\n /* \"#utility.yul\":1704:1757 */\n tag_80\n jump\t// in\n tag_95:\n /* \"#utility.yul\":1694:1757 */\n swap2\n pop\n /* \"#utility.yul\":1650:1767 */\n pop\n /* \"#utility.yul\":1445:1774 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1780:2144 */\n tag_96:\n /* \"#utility.yul\":1868:1871 */\n 0x00\n /* \"#utility.yul\":1896:1935 */\n tag_98\n /* \"#utility.yul\":1929:1934 */\n dup3\n /* \"#utility.yul\":1896:1935 */\n tag_99\n jump\t// in\n tag_98:\n /* \"#utility.yul\":1951:2022 */\n tag_100\n /* \"#utility.yul\":2015:2021 */\n dup2\n /* \"#utility.yul\":2010:2013 */\n dup6\n /* \"#utility.yul\":1951:2022 */\n tag_101\n jump\t// in\n tag_100:\n /* \"#utility.yul\":1944:2022 */\n swap4\n pop\n /* \"#utility.yul\":2031:2083 */\n tag_102\n /* \"#utility.yul\":2076:2082 */\n dup2\n /* \"#utility.yul\":2071:2074 */\n dup6\n /* \"#utility.yul\":2064:2068 */\n 0x20\n /* \"#utility.yul\":2057:2062 */\n dup7\n /* \"#utility.yul\":2053:2069 */\n add\n /* \"#utility.yul\":2031:2083 */\n tag_103\n jump\t// in\n tag_102:\n /* \"#utility.yul\":2108:2137 */\n tag_104\n /* \"#utility.yul\":2130:2136 */\n dup2\n /* \"#utility.yul\":2108:2137 */\n tag_105\n jump\t// in\n tag_104:\n /* \"#utility.yul\":2103:2106 */\n dup5\n /* \"#utility.yul\":2099:2138 */\n add\n /* \"#utility.yul\":2092:2138 */\n swap2\n pop\n /* \"#utility.yul\":1872:2144 */\n pop\n /* \"#utility.yul\":1780:2144 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2150:2268 */\n tag_106:\n /* \"#utility.yul\":2237:2261 */\n tag_108\n /* \"#utility.yul\":2255:2260 */\n dup2\n /* \"#utility.yul\":2237:2261 */\n tag_109\n jump\t// in\n tag_108:\n /* \"#utility.yul\":2232:2235 */\n dup3\n /* \"#utility.yul\":2225:2262 */\n mstore\n /* \"#utility.yul\":2150:2268 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2274:2587 */\n tag_25:\n /* \"#utility.yul\":2387:2391 */\n 0x00\n /* \"#utility.yul\":2425:2427 */\n 0x20\n /* \"#utility.yul\":2414:2423 */\n dup3\n /* \"#utility.yul\":2410:2428 */\n add\n /* \"#utility.yul\":2402:2428 */\n swap1\n pop\n /* \"#utility.yul\":2474:2483 */\n dup2\n /* \"#utility.yul\":2468:2472 */\n dup2\n /* \"#utility.yul\":2464:2484 */\n sub\n /* \"#utility.yul\":2460:2461 */\n 0x00\n /* \"#utility.yul\":2449:2458 */\n dup4\n /* \"#utility.yul\":2445:2462 */\n add\n /* \"#utility.yul\":2438:2485 */\n mstore\n /* \"#utility.yul\":2502:2580 */\n tag_111\n /* \"#utility.yul\":2575:2579 */\n dup2\n /* \"#utility.yul\":2566:2572 */\n dup5\n /* \"#utility.yul\":2502:2580 */\n tag_96\n jump\t// in\n tag_111:\n /* \"#utility.yul\":2494:2580 */\n swap1\n pop\n /* \"#utility.yul\":2274:2587 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2593:2815 */\n tag_13:\n /* \"#utility.yul\":2686:2690 */\n 0x00\n /* \"#utility.yul\":2724:2726 */\n 0x20\n /* \"#utility.yul\":2713:2722 */\n dup3\n /* \"#utility.yul\":2709:2727 */\n add\n /* \"#utility.yul\":2701:2727 */\n swap1\n pop\n /* \"#utility.yul\":2737:2808 */\n tag_113\n /* \"#utility.yul\":2805:2806 */\n 0x00\n /* \"#utility.yul\":2794:2803 */\n dup4\n /* \"#utility.yul\":2790:2807 */\n add\n /* \"#utility.yul\":2781:2787 */\n dup5\n /* \"#utility.yul\":2737:2808 */\n tag_106\n jump\t// in\n tag_113:\n /* \"#utility.yul\":2593:2815 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2821:2950 */\n tag_68:\n /* \"#utility.yul\":2855:2861 */\n 0x00\n /* \"#utility.yul\":2882:2902 */\n tag_115\n tag_116\n jump\t// in\n tag_115:\n /* \"#utility.yul\":2872:2902 */\n swap1\n pop\n /* \"#utility.yul\":2911:2944 */\n tag_117\n /* \"#utility.yul\":2939:2943 */\n dup3\n /* \"#utility.yul\":2931:2937 */\n dup3\n /* \"#utility.yul\":2911:2944 */\n tag_118\n jump\t// in\n tag_117:\n /* \"#utility.yul\":2821:2950 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2956:3031 */\n tag_116:\n /* \"#utility.yul\":2989:2995 */\n 0x00\n /* \"#utility.yul\":3022:3024 */\n 0x40\n /* \"#utility.yul\":3016:3025 */\n mload\n /* \"#utility.yul\":3006:3025 */\n swap1\n pop\n /* \"#utility.yul\":2956:3031 */\n swap1\n jump\t// out\n /* \"#utility.yul\":3037:3345 */\n tag_67:\n /* \"#utility.yul\":3099:3103 */\n 0x00\n /* \"#utility.yul\":3189:3207 */\n 0xffffffffffffffff\n /* \"#utility.yul\":3181:3187 */\n dup3\n /* \"#utility.yul\":3178:3208 */\n gt\n /* \"#utility.yul\":3175:3231 */\n iszero\n tag_121\n jumpi\n /* \"#utility.yul\":3211:3229 */\n tag_122\n tag_123\n jump\t// in\n tag_122:\n /* \"#utility.yul\":3175:3231 */\n tag_121:\n /* \"#utility.yul\":3249:3278 */\n tag_124\n /* \"#utility.yul\":3271:3277 */\n dup3\n /* \"#utility.yul\":3249:3278 */\n tag_105\n jump\t// in\n tag_124:\n /* \"#utility.yul\":3241:3278 */\n swap1\n pop\n /* \"#utility.yul\":3333:3337 */\n 0x20\n /* \"#utility.yul\":3327:3331 */\n dup2\n /* \"#utility.yul\":3323:3338 */\n add\n /* \"#utility.yul\":3315:3338 */\n swap1\n pop\n /* \"#utility.yul\":3037:3345 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":3351:3450 */\n tag_99:\n /* \"#utility.yul\":3403:3409 */\n 0x00\n /* \"#utility.yul\":3437:3442 */\n dup2\n /* \"#utility.yul\":3431:3443 */\n mload\n /* \"#utility.yul\":3421:3443 */\n swap1\n pop\n /* \"#utility.yul\":3351:3450 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":3456:3625 */\n tag_101:\n /* \"#utility.yul\":3540:3551 */\n 0x00\n /* \"#utility.yul\":3574:3580 */\n dup3\n /* \"#utility.yul\":3569:3572 */\n dup3\n /* \"#utility.yul\":3562:3581 */\n mstore\n /* \"#utility.yul\":3614:3618 */\n 0x20\n /* \"#utility.yul\":3609:3612 */\n dup3\n /* \"#utility.yul\":3605:3619 */\n add\n /* \"#utility.yul\":3590:3619 */\n swap1\n pop\n /* \"#utility.yul\":3456:3625 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":3631:3708 */\n tag_109:\n /* \"#utility.yul\":3668:3675 */\n 0x00\n /* \"#utility.yul\":3697:3702 */\n dup2\n /* \"#utility.yul\":3686:3702 */\n swap1\n pop\n /* \"#utility.yul\":3631:3708 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":3714:3868 */\n tag_73:\n /* \"#utility.yul\":3798:3804 */\n dup3\n /* \"#utility.yul\":3793:3796 */\n dup2\n /* \"#utility.yul\":3788:3791 */\n dup4\n /* \"#utility.yul\":3775:3805 */\n calldatacopy\n /* \"#utility.yul\":3860:3861 */\n 0x00\n /* \"#utility.yul\":3851:3857 */\n dup4\n /* \"#utility.yul\":3846:3849 */\n dup4\n /* \"#utility.yul\":3842:3858 */\n add\n /* \"#utility.yul\":3835:3862 */\n mstore\n /* \"#utility.yul\":3714:3868 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":3874:4181 */\n tag_103:\n /* \"#utility.yul\":3942:3943 */\n 0x00\n /* \"#utility.yul\":3952:4065 */\n tag_130:\n /* \"#utility.yul\":3966:3972 */\n dup4\n /* \"#utility.yul\":3963:3964 */\n dup2\n /* \"#utility.yul\":3960:3973 */\n lt\n /* \"#utility.yul\":3952:4065 */\n iszero\n tag_132\n jumpi\n /* \"#utility.yul\":4051:4052 */\n dup1\n /* \"#utility.yul\":4046:4049 */\n dup3\n /* \"#utility.yul\":4042:4053 */\n add\n /* \"#utility.yul\":4036:4054 */\n mload\n /* \"#utility.yul\":4032:4033 */\n dup2\n /* \"#utility.yul\":4027:4030 */\n dup5\n /* \"#utility.yul\":4023:4034 */\n add\n /* \"#utility.yul\":4016:4055 */\n mstore\n /* \"#utility.yul\":3988:3990 */\n 0x20\n /* \"#utility.yul\":3985:3986 */\n dup2\n /* \"#utility.yul\":3981:3991 */\n add\n /* \"#utility.yul\":3976:3991 */\n swap1\n pop\n /* \"#utility.yul\":3952:4065 */\n jump(tag_130)\n tag_132:\n /* \"#utility.yul\":4083:4089 */\n dup4\n /* \"#utility.yul\":4080:4081 */\n dup2\n /* \"#utility.yul\":4077:4090 */\n gt\n /* \"#utility.yul\":4074:4175 */\n iszero\n tag_133\n jumpi\n /* \"#utility.yul\":4163:4164 */\n 0x00\n /* \"#utility.yul\":4154:4160 */\n dup5\n /* \"#utility.yul\":4149:4152 */\n dup5\n /* \"#utility.yul\":4145:4161 */\n add\n /* \"#utility.yul\":4138:4165 */\n mstore\n /* \"#utility.yul\":4074:4175 */\n tag_133:\n /* \"#utility.yul\":3923:4181 */\n pop\n /* \"#utility.yul\":3874:4181 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":4187:4507 */\n tag_40:\n /* \"#utility.yul\":4231:4237 */\n 0x00\n /* \"#utility.yul\":4268:4269 */\n 0x02\n /* \"#utility.yul\":4262:4266 */\n dup3\n /* \"#utility.yul\":4258:4270 */\n div\n /* \"#utility.yul\":4248:4270 */\n swap1\n pop\n /* \"#utility.yul\":4315:4316 */\n 0x01\n /* \"#utility.yul\":4309:4313 */\n dup3\n /* \"#utility.yul\":4305:4317 */\n and\n /* \"#utility.yul\":4336:4354 */\n dup1\n /* \"#utility.yul\":4326:4407 */\n tag_135\n jumpi\n /* \"#utility.yul\":4392:4396 */\n 0x7f\n /* \"#utility.yul\":4384:4390 */\n dup3\n /* \"#utility.yul\":4380:4397 */\n and\n /* \"#utility.yul\":4370:4397 */\n swap2\n pop\n /* \"#utility.yul\":4326:4407 */\n tag_135:\n /* \"#utility.yul\":4454:4456 */\n 0x20\n /* \"#utility.yul\":4446:4452 */\n dup3\n /* \"#utility.yul\":4443:4457 */\n lt\n /* \"#utility.yul\":4423:4441 */\n dup2\n /* \"#utility.yul\":4420:4458 */\n eq\n /* \"#utility.yul\":4417:4501 */\n iszero\n tag_136\n jumpi\n /* \"#utility.yul\":4473:4491 */\n tag_137\n tag_138\n jump\t// in\n tag_137:\n /* \"#utility.yul\":4417:4501 */\n tag_136:\n /* \"#utility.yul\":4238:4507 */\n pop\n /* \"#utility.yul\":4187:4507 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":4513:4794 */\n tag_118:\n /* \"#utility.yul\":4596:4623 */\n tag_140\n /* \"#utility.yul\":4618:4622 */\n dup3\n /* \"#utility.yul\":4596:4623 */\n tag_105\n jump\t// in\n tag_140:\n /* \"#utility.yul\":4588:4594 */\n dup2\n /* \"#utility.yul\":4584:4624 */\n add\n /* \"#utility.yul\":4726:4732 */\n dup2\n /* \"#utility.yul\":4714:4724 */\n dup2\n /* \"#utility.yul\":4711:4733 */\n lt\n /* \"#utility.yul\":4690:4708 */\n 0xffffffffffffffff\n /* \"#utility.yul\":4678:4688 */\n dup3\n /* \"#utility.yul\":4675:4709 */\n gt\n /* \"#utility.yul\":4672:4734 */\n or\n /* \"#utility.yul\":4669:4757 */\n iszero\n tag_141\n jumpi\n /* \"#utility.yul\":4737:4755 */\n tag_142\n tag_123\n jump\t// in\n tag_142:\n /* \"#utility.yul\":4669:4757 */\n tag_141:\n /* \"#utility.yul\":4777:4787 */\n dup1\n /* \"#utility.yul\":4773:4775 */\n 0x40\n /* \"#utility.yul\":4766:4788 */\n mstore\n /* \"#utility.yul\":4556:4794 */\n pop\n /* \"#utility.yul\":4513:4794 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":4800:4980 */\n tag_138:\n /* \"#utility.yul\":4848:4925 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":4845:4846 */\n 0x00\n /* \"#utility.yul\":4838:4926 */\n mstore\n /* \"#utility.yul\":4945:4949 */\n 0x22\n /* \"#utility.yul\":4942:4943 */\n 0x04\n /* \"#utility.yul\":4935:4950 */\n mstore\n /* \"#utility.yul\":4969:4973 */\n 0x24\n /* \"#utility.yul\":4966:4967 */\n 0x00\n /* \"#utility.yul\":4959:4974 */\n revert\n /* \"#utility.yul\":4986:5166 */\n tag_123:\n /* \"#utility.yul\":5034:5111 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":5031:5032 */\n 0x00\n /* \"#utility.yul\":5024:5112 */\n mstore\n /* \"#utility.yul\":5131:5135 */\n 0x41\n /* \"#utility.yul\":5128:5129 */\n 0x04\n /* \"#utility.yul\":5121:5136 */\n mstore\n /* \"#utility.yul\":5155:5159 */\n 0x24\n /* \"#utility.yul\":5152:5153 */\n 0x00\n /* \"#utility.yul\":5145:5160 */\n revert\n /* \"#utility.yul\":5172:5289 */\n tag_78:\n /* \"#utility.yul\":5281:5282 */\n 0x00\n /* \"#utility.yul\":5278:5279 */\n dup1\n /* \"#utility.yul\":5271:5283 */\n revert\n /* \"#utility.yul\":5295:5412 */\n tag_71:\n /* \"#utility.yul\":5404:5405 */\n 0x00\n /* \"#utility.yul\":5401:5402 */\n dup1\n /* \"#utility.yul\":5394:5406 */\n revert\n /* \"#utility.yul\":5418:5535 */\n tag_90:\n /* \"#utility.yul\":5527:5528 */\n 0x00\n /* \"#utility.yul\":5524:5525 */\n dup1\n /* \"#utility.yul\":5517:5529 */\n revert\n /* \"#utility.yul\":5541:5658 */\n tag_87:\n /* \"#utility.yul\":5650:5651 */\n 0x00\n /* \"#utility.yul\":5647:5648 */\n dup1\n /* \"#utility.yul\":5640:5652 */\n revert\n /* \"#utility.yul\":5664:5766 */\n tag_105:\n /* \"#utility.yul\":5705:5711 */\n 0x00\n /* \"#utility.yul\":5756:5758 */\n 0x1f\n /* \"#utility.yul\":5752:5759 */\n not\n /* \"#utility.yul\":5747:5749 */\n 0x1f\n /* \"#utility.yul\":5740:5745 */\n dup4\n /* \"#utility.yul\":5736:5750 */\n add\n /* \"#utility.yul\":5732:5760 */\n and\n /* \"#utility.yul\":5722:5760 */\n swap1\n pop\n /* \"#utility.yul\":5664:5766 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":5772:5894 */\n tag_83:\n /* \"#utility.yul\":5845:5869 */\n tag_151\n /* \"#utility.yul\":5863:5868 */\n dup2\n /* \"#utility.yul\":5845:5869 */\n tag_109\n jump\t// in\n tag_151:\n /* \"#utility.yul\":5838:5843 */\n dup2\n /* \"#utility.yul\":5835:5870 */\n eq\n /* \"#utility.yul\":5825:5888 */\n tag_152\n jumpi\n /* \"#utility.yul\":5884:5885 */\n 0x00\n /* \"#utility.yul\":5881:5882 */\n dup1\n /* \"#utility.yul\":5874:5886 */\n revert\n /* \"#utility.yul\":5825:5888 */\n tag_152:\n /* \"#utility.yul\":5772:5894 */\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220bfaccbd93584f51b05c2c760f8f5457f61b040e53ee1401e371e38789e6b5ff464736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {
"extract_byte_array_length": {
"entryPoint": 763,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 817,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:516:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "58:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "68:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "82:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "88:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "78:3:1"
},
"nodeType": "YulFunctionCall",
"src": "78:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "68:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "99:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "129:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "135:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "125:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "103:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "176:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "190:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "204:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "212:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "200:3:1"
},
"nodeType": "YulFunctionCall",
"src": "200:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "190:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "156:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "149:6:1"
},
"nodeType": "YulFunctionCall",
"src": "149:26:1"
},
"nodeType": "YulIf",
"src": "146:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "279:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "293:16:1"
},
"nodeType": "YulFunctionCall",
"src": "293:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "293:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "243:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "274:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "263:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "240:2:1"
},
"nodeType": "YulFunctionCall",
"src": "240:38:1"
},
"nodeType": "YulIf",
"src": "237:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "42:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "51:6:1",
"type": ""
}
],
"src": "7:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "361:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "378:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "381:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "371:6:1"
},
"nodeType": "YulFunctionCall",
"src": "371:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "371:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "475:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "478:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "468:6:1"
},
"nodeType": "YulFunctionCall",
"src": "468:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "468:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "499:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "502:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "492:6:1"
},
"nodeType": "YulFunctionCall",
"src": "492:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "492:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "333:180:1"
}
]
},
"contents": "{\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_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060600160405280600160ff168152602001600360ff168152602001600560ff1681525060009060036200003d9291906200011f565b5060405180606001604052806040518060400160405280600581526020017f48656c6c6f00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f576f726c6400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f210000000000000000000000000000000000000000000000000000000000000081525081525060019060036200010a92919062000176565b503480156200011857600080fd5b5062000360565b82805482825590600052602060002090810192821562000163579160200282015b8281111562000162578251829060ff1690559160200191906001019062000140565b5b509050620001729190620001dd565b5090565b828054828255906000526020600020908101928215620001ca579160200282015b82811115620001c9578251829080519060200190620001b8929190620001fc565b509160200191906001019062000197565b5b509050620001d991906200028d565b5090565b5b80821115620001f8576000816000905550600101620001de565b5090565b8280546200020a90620002fb565b90600052602060002090601f0160209004810192826200022e57600085556200027a565b82601f106200024957805160ff19168380011785556200027a565b828001600101855582156200027a579182015b82811115620002795782518255916020019190600101906200025c565b5b509050620002899190620001dd565b5090565b5b80821115620002b15760008181620002a79190620002b5565b506001016200028e565b5090565b508054620002c390620002fb565b6000825580601f10620002d75750620002f8565b601f016020900490600052602060002090810190620002f79190620001dd565b5b50565b600060028204905060018216806200031457607f821691505b602082108114156200032b576200032a62000331565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61070280620003706000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806308dad4141461005c57806326eb4dbb1461008c5780633a5fbaaa146100aa5780635e383d21146100c65780636290697d146100f6575b600080fd5b6100766004803603810190610071919061045f565b610126565b60405161008391906104f6565b60405180910390f35b61009461014a565b6040516100a191906104f6565b60405180910390f35b6100c460048036038101906100bf9190610416565b610157565b005b6100e060048036038101906100db919061045f565b610196565b6040516100ed91906104d4565b60405180910390f35b610110600480360381019061010b919061045f565b610242565b60405161011d91906104d4565b60405180910390f35b6000818154811061013657600080fd5b906000526020600020016000915090505481565b6000600280549050905090565b6002819080600181540180825580915050600190039060005260206000200160009091909190915090805190602001906101929291906102ee565b5050565b600281815481106101a657600080fd5b9060005260206000200160009150905080546101c1906105cf565b80601f01602080910402602001604051908101604052809291908181526020018280546101ed906105cf565b801561023a5780601f1061020f5761010080835404028352916020019161023a565b820191906000526020600020905b81548152906001019060200180831161021d57829003601f168201915b505050505081565b6001818154811061025257600080fd5b90600052602060002001600091509050805461026d906105cf565b80601f0160208091040260200160405190810160405280929190818152602001828054610299906105cf565b80156102e65780601f106102bb576101008083540402835291602001916102e6565b820191906000526020600020905b8154815290600101906020018083116102c957829003601f168201915b505050505081565b8280546102fa906105cf565b90600052602060002090601f01602090048101928261031c5760008555610363565b82601f1061033557805160ff1916838001178555610363565b82800160010185558215610363579182015b82811115610362578251825591602001919060010190610347565b5b5090506103709190610374565b5090565b5b8082111561038d576000816000905550600101610375565b5090565b60006103a461039f84610536565b610511565b9050828152602081018484840111156103c0576103bf610695565b5b6103cb84828561058d565b509392505050565b600082601f8301126103e8576103e7610690565b5b81356103f8848260208601610391565b91505092915050565b600081359050610410816106b5565b92915050565b60006020828403121561042c5761042b61069f565b5b600082013567ffffffffffffffff81111561044a5761044961069a565b5b610456848285016103d3565b91505092915050565b6000602082840312156104755761047461069f565b5b600061048384828501610401565b91505092915050565b600061049782610567565b6104a18185610572565b93506104b181856020860161059c565b6104ba816106a4565b840191505092915050565b6104ce81610583565b82525050565b600060208201905081810360008301526104ee818461048c565b905092915050565b600060208201905061050b60008301846104c5565b92915050565b600061051b61052c565b90506105278282610601565b919050565b6000604051905090565b600067ffffffffffffffff82111561055157610550610661565b5b61055a826106a4565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b82818337600083830152505050565b60005b838110156105ba57808201518184015260208101905061059f565b838111156105c9576000848401525b50505050565b600060028204905060018216806105e757607f821691505b602082108114156105fb576105fa610632565b5b50919050565b61060a826106a4565b810181811067ffffffffffffffff8211171561062957610628610661565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6106be81610583565b81146106c957600080fd5b5056fea2646970667358221220bfaccbd93584f51b05c2c760f8f5457f61b040e53ee1401e371e38789e6b5ff464736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x3 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x5 PUSH1 0xFF AND DUP2 MSTORE POP PUSH1 0x0 SWAP1 PUSH1 0x3 PUSH3 0x3D SWAP3 SWAP2 SWAP1 PUSH3 0x11F JUMP JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x576F726C64000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x2100000000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 MSTORE POP PUSH1 0x1 SWAP1 PUSH1 0x3 PUSH3 0x10A SWAP3 SWAP2 SWAP1 PUSH3 0x176 JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH3 0x118 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH3 0x360 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x163 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x162 JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0xFF AND SWAP1 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x140 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x172 SWAP2 SWAP1 PUSH3 0x1DD JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x1CA JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x1C9 JUMPI DUP3 MLOAD DUP3 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x1B8 SWAP3 SWAP2 SWAP1 PUSH3 0x1FC JUMP JUMPDEST POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x197 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x1D9 SWAP2 SWAP1 PUSH3 0x28D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x1F8 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH3 0x1DE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0x20A SWAP1 PUSH3 0x2FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0x22E JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0x27A JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0x249 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0x27A JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0x27A JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x279 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x25C JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x289 SWAP2 SWAP1 PUSH3 0x1DD JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x2B1 JUMPI PUSH1 0x0 DUP2 DUP2 PUSH3 0x2A7 SWAP2 SWAP1 PUSH3 0x2B5 JUMP JUMPDEST POP PUSH1 0x1 ADD PUSH3 0x28E JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST POP DUP1 SLOAD PUSH3 0x2C3 SWAP1 PUSH3 0x2FB JUMP JUMPDEST PUSH1 0x0 DUP3 SSTORE DUP1 PUSH1 0x1F LT PUSH3 0x2D7 JUMPI POP PUSH3 0x2F8 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 PUSH3 0x2F7 SWAP2 SWAP1 PUSH3 0x1DD JUMP JUMPDEST JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x314 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x32B JUMPI PUSH3 0x32A PUSH3 0x331 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x702 DUP1 PUSH3 0x370 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DAD414 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x26EB4DBB EQ PUSH2 0x8C JUMPI DUP1 PUSH4 0x3A5FBAAA EQ PUSH2 0xAA JUMPI DUP1 PUSH4 0x5E383D21 EQ PUSH2 0xC6 JUMPI DUP1 PUSH4 0x6290697D EQ PUSH2 0xF6 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x45F JUMP JUMPDEST PUSH2 0x126 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x4F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x94 PUSH2 0x14A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA1 SWAP2 SWAP1 PUSH2 0x4F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xBF SWAP2 SWAP1 PUSH2 0x416 JUMP JUMPDEST PUSH2 0x157 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xE0 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDB SWAP2 SWAP1 PUSH2 0x45F JUMP JUMPDEST PUSH2 0x196 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xED SWAP2 SWAP1 PUSH2 0x4D4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x110 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x10B SWAP2 SWAP1 PUSH2 0x45F JUMP JUMPDEST PUSH2 0x242 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x11D SWAP2 SWAP1 PUSH2 0x4D4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x136 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP1 SLOAD SWAP1 POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x192 SWAP3 SWAP2 SWAP1 PUSH2 0x2EE JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x1A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x1C1 SWAP1 PUSH2 0x5CF 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 0x1ED SWAP1 PUSH2 0x5CF JUMP JUMPDEST DUP1 ISZERO PUSH2 0x23A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x20F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x23A JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x21D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x252 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x26D SWAP1 PUSH2 0x5CF 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 0x299 SWAP1 PUSH2 0x5CF JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2E6 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2BB JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2E6 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2C9 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2FA SWAP1 PUSH2 0x5CF JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x31C JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x363 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x335 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x363 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x363 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x362 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x347 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x370 SWAP2 SWAP1 PUSH2 0x374 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x38D JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x375 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3A4 PUSH2 0x39F DUP5 PUSH2 0x536 JUMP JUMPDEST PUSH2 0x511 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x3C0 JUMPI PUSH2 0x3BF PUSH2 0x695 JUMP JUMPDEST JUMPDEST PUSH2 0x3CB DUP5 DUP3 DUP6 PUSH2 0x58D JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x3E8 JUMPI PUSH2 0x3E7 PUSH2 0x690 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3F8 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x391 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x410 DUP2 PUSH2 0x6B5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x42C JUMPI PUSH2 0x42B PUSH2 0x69F JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x44A JUMPI PUSH2 0x449 PUSH2 0x69A JUMP JUMPDEST JUMPDEST PUSH2 0x456 DUP5 DUP3 DUP6 ADD PUSH2 0x3D3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x475 JUMPI PUSH2 0x474 PUSH2 0x69F JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x483 DUP5 DUP3 DUP6 ADD PUSH2 0x401 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x497 DUP3 PUSH2 0x567 JUMP JUMPDEST PUSH2 0x4A1 DUP2 DUP6 PUSH2 0x572 JUMP JUMPDEST SWAP4 POP PUSH2 0x4B1 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x59C JUMP JUMPDEST PUSH2 0x4BA DUP2 PUSH2 0x6A4 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x4CE DUP2 PUSH2 0x583 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x4EE DUP2 DUP5 PUSH2 0x48C JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x50B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x4C5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x51B PUSH2 0x52C JUMP JUMPDEST SWAP1 POP PUSH2 0x527 DUP3 DUP3 PUSH2 0x601 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x551 JUMPI PUSH2 0x550 PUSH2 0x661 JUMP JUMPDEST JUMPDEST PUSH2 0x55A DUP3 PUSH2 0x6A4 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x5BA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x59F JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x5C9 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x5E7 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x5FB JUMPI PUSH2 0x5FA PUSH2 0x632 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x60A DUP3 PUSH2 0x6A4 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x629 JUMPI PUSH2 0x628 PUSH2 0x661 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x6BE DUP2 PUSH2 0x583 JUMP JUMPDEST DUP2 EQ PUSH2 0x6C9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBF 0xAC 0xCB 0xD9 CALLDATALOAD DUP5 CREATE2 SHL SDIV 0xC2 0xC7 PUSH1 0xF8 CREATE2 GASLIMIT PUSH32 0x61B040E53EE1401E371E38789E6B5FF464736F6C634300080700330000000000 ",
"sourceMap": "59:440:0:-:0;;;179:36;;;;;;;;209:1;179:36;;;;;;211:1;179:36;;;;;;213:1;179:36;;;;;;;;;;;;;:::i;:::-;;222:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59:440;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;7:320:1:-;51:6;88:1;82:4;78:12;68:22;;135:1;129:4;125:12;156:18;146:81;;212:4;204:6;200:17;190:27;;146:81;274:2;266:6;263:14;243:18;240:38;237:84;;;293:18;;:::i;:::-;237:84;58:269;7:320;;;:::o;333:180::-;381:77;378:1;371:88;478:4;475:1;468:15;502:4;499:1;492:15;59:440:0;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@StrArray_15": {
"entryPoint": 578,
"id": 15,
"parameterSlots": 0,
"returnSlots": 0
},
"@UintArray_8": {
"entryPoint": 294,
"id": 8,
"parameterSlots": 0,
"returnSlots": 0
},
"@addValue_30": {
"entryPoint": 343,
"id": 30,
"parameterSlots": 1,
"returnSlots": 0
},
"@valueCount_39": {
"entryPoint": 330,
"id": 39,
"parameterSlots": 0,
"returnSlots": 1
},
"@values_18": {
"entryPoint": 406,
"id": 18,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 913,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 979,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 1025,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 1046,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 1119,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1164,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 1221,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1236,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 1270,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1297,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 1324,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 1334,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 1383,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1394,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 1411,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 1421,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory": {
"entryPoint": 1436,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 1487,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 1537,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 1586,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1633,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 1680,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 1685,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 1690,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1695,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1700,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 1717,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:5897:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:328:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "101:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "168:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "126:41:1"
},
"nodeType": "YulFunctionCall",
"src": "126:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "110:15:1"
},
"nodeType": "YulFunctionCall",
"src": "110:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "101:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "192:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "199:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "185:6:1"
},
"nodeType": "YulFunctionCall",
"src": "185:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "185:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "215:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "230:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "237:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "226:3:1"
},
"nodeType": "YulFunctionCall",
"src": "226:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "219:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "280:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "282:77:1"
},
"nodeType": "YulFunctionCall",
"src": "282:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "257:3:1"
},
"nodeType": "YulFunctionCall",
"src": "257:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "275:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "254:2:1"
},
"nodeType": "YulFunctionCall",
"src": "254:25:1"
},
"nodeType": "YulIf",
"src": "251:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "396:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "401:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "406:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "372:23:1"
},
"nodeType": "YulFunctionCall",
"src": "372:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "372:41:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "64:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "69:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "77:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "85:5:1",
"type": ""
}
],
"src": "7:412:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "501:278:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "550:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "552:77:1"
},
"nodeType": "YulFunctionCall",
"src": "552:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "552:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "529:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "537:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "525:3:1"
},
"nodeType": "YulFunctionCall",
"src": "525:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "544:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "521:3:1"
},
"nodeType": "YulFunctionCall",
"src": "521:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "514:6:1"
},
"nodeType": "YulFunctionCall",
"src": "514:35:1"
},
"nodeType": "YulIf",
"src": "511:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "642:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "669:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "656:12:1"
},
"nodeType": "YulFunctionCall",
"src": "656:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "646:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "685:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "746:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "754:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "742:3:1"
},
"nodeType": "YulFunctionCall",
"src": "742:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "761:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "769:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "694:47:1"
},
"nodeType": "YulFunctionCall",
"src": "694:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "685:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "479:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "487:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "495:5:1",
"type": ""
}
],
"src": "439:340:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "837:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "847:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "869:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "856:12:1"
},
"nodeType": "YulFunctionCall",
"src": "856:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "847:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "912:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "885:26:1"
},
"nodeType": "YulFunctionCall",
"src": "885:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "885:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "815:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "823:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "831:5:1",
"type": ""
}
],
"src": "785:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1006:433:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1052:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1054:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1054:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1054:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1027:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1036:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1023:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1023:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1048:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1019:32:1"
},
"nodeType": "YulIf",
"src": "1016:119:1"
},
{
"nodeType": "YulBlock",
"src": "1145:287:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1160:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1191:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1202:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1187:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1187:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1174:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1174:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1164:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1252:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1254:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1254:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1254:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1224:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1232:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1221:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1221:30:1"
},
"nodeType": "YulIf",
"src": "1218:117:1"
},
{
"nodeType": "YulAssignment",
"src": "1349:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1394:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1405:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1390:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1390:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1414:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1359:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1359:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1349:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "976:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "987:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "999:6:1",
"type": ""
}
],
"src": "930:509:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1511:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1557:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1559:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1559:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1559:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1532:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1541:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1528:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1528:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1553:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1524:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1524:32:1"
},
"nodeType": "YulIf",
"src": "1521:119:1"
},
{
"nodeType": "YulBlock",
"src": "1650:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1665:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1679:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1669:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1694:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1729:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1740:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1725:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1725:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1749:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1704:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1704:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1694:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1481:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1492:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1504:6:1",
"type": ""
}
],
"src": "1445:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1872:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1882:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1929:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1896:32:1"
},
"nodeType": "YulFunctionCall",
"src": "1896:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1886:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1944:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2010:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2015:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1951:58:1"
},
"nodeType": "YulFunctionCall",
"src": "1951:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1944:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2057:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2064:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2053:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2053:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2071:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2076:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2031:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2031:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2031:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2092:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2103:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2130:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2108:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2108:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2099:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2099:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2092:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1853:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1860:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1868:3:1",
"type": ""
}
],
"src": "1780:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2215:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2232:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2255:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2237:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2237:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2225:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2225:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "2225:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2203:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2210:3:1",
"type": ""
}
],
"src": "2150:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2392:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2402:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2414:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2425:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2410:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2410:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2402:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2449:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2460:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2445:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2445:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2468:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2474:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2464:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2464:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2438:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2438:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "2438:47:1"
},
{
"nodeType": "YulAssignment",
"src": "2494:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2566:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2575:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2502:63:1"
},
"nodeType": "YulFunctionCall",
"src": "2502:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2494:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2364:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2376:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2387:4:1",
"type": ""
}
],
"src": "2274:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2691:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2701:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2713:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2724:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2709:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2709:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2701:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2781:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2794:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2805:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2790:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2790:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "2737:43:1"
},
"nodeType": "YulFunctionCall",
"src": "2737:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "2737:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2663:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2675:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2686:4:1",
"type": ""
}
],
"src": "2593:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2862:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2872:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "2882:18:1"
},
"nodeType": "YulFunctionCall",
"src": "2882:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2872:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2931:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2939:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "2911:19:1"
},
"nodeType": "YulFunctionCall",
"src": "2911:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "2911:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2846:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2855:6:1",
"type": ""
}
],
"src": "2821:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2996:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3006:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3022:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3016:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3016:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3006:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2989:6:1",
"type": ""
}
],
"src": "2956:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3104:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3209:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3211:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3211:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3211:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3181:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3189:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3178:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3178:30:1"
},
"nodeType": "YulIf",
"src": "3175:56:1"
},
{
"nodeType": "YulAssignment",
"src": "3241:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3271:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3249:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3249:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3241:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3315:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3327:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3333:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3323:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3323:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3315:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3088:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3099:4:1",
"type": ""
}
],
"src": "3037:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3410:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3421:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3437:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3431:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3431:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3421:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3393:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3403:6:1",
"type": ""
}
],
"src": "3351:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3552:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3569:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3574:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3562:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3562:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "3562:19:1"
},
{
"nodeType": "YulAssignment",
"src": "3590:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3609:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3614:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3605:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3605:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "3590:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3524:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3529:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "3540:11:1",
"type": ""
}
],
"src": "3456:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3676:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3686:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3697:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3686:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3658:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3668:7:1",
"type": ""
}
],
"src": "3631:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3765:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3788:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3793:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3798:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "3775:12:1"
},
"nodeType": "YulFunctionCall",
"src": "3775:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "3775:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3846:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3851:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3842:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3842:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3860:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3835:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3835:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "3835:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3747:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3752:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3757:6:1",
"type": ""
}
],
"src": "3714:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3923:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3933:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3942:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "3937:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4002:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4027:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4032:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4023:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4023:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4046:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4051:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4042:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4042:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4036:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4036:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4016:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4016:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "4016:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3963:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3966:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3960:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3960:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "3974:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3976:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3985:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3988:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3981:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3981:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3976:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "3956:3:1",
"statements": []
},
"src": "3952:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4099:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4149:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4154:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4145:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4145:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4163:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4138:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4138:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4138:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4080:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4083:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4077:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4077:13:1"
},
"nodeType": "YulIf",
"src": "4074:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3905:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3910:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3915:6:1",
"type": ""
}
],
"src": "3874:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4238:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4248:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4262:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4268:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4258:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4258:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4248:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4279:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4309:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4315:1:1",
"type"
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

@kartikver15gr8
Copy link
Author

My online written code on Remix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment