Skip to content

Instantly share code, notes, and snippets.

@mobigaurav
Created August 8, 2021 19:57
Show Gist options
  • Save mobigaurav/3f68336ab9cb93d7e87b047bdd7a95b2 to your computer and use it in GitHub Desktop.
Save mobigaurav/3f68336ab9cb93d7e87b047bdd7a95b2 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.4+commit.c7e474f2.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract.
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required).
Scripts have full access to the web3.js and ethers.js libraries.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
{
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5061012f806100206000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80632e64cec11460375780636057361d146051575b600080fd5b603d6069565b6040516048919060c2565b60405180910390f35b6067600480360381019060639190608f565b6072565b005b60008054905090565b8060008190555050565b60008135905060898160e5565b92915050565b60006020828403121560a057600080fd5b600060ac84828501607c565b91505092915050565b60bc8160db565b82525050565b600060208201905060d5600083018460b5565b92915050565b6000819050919050565b60ec8160db565b811460f657600080fd5b5056fea2646970667358221220c019e4614043d8adc295c3046ba5142c603ab309adeef171f330c51c38f1498964736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x12F DUP1 PUSH2 0x20 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 0x32 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH1 0x37 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH1 0x51 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3D PUSH1 0x69 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x48 SWAP2 SWAP1 PUSH1 0xC2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x67 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH1 0x63 SWAP2 SWAP1 PUSH1 0x8F JUMP JUMPDEST PUSH1 0x72 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH1 0x89 DUP2 PUSH1 0xE5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH1 0xA0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0xAC DUP5 DUP3 DUP6 ADD PUSH1 0x7C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0xBC DUP2 PUSH1 0xDB JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0xD5 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0xB5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0xEC DUP2 PUSH1 0xDB JUMP JUMPDEST DUP2 EQ PUSH1 0xF6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC0 NOT 0xE4 PUSH2 0x4043 0xD8 0xAD 0xC2 SWAP6 0xC3 DIV PUSH12 0xA5142C603AB309ADEEF171F3 ADDRESS 0xC5 SHR CODESIZE CALL 0x49 DUP10 PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:980:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "59:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "69:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "91:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "78:12:1"
},
"nodeType": "YulFunctionCall",
"src": "78:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "69:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "134:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "107:26:1"
},
"nodeType": "YulFunctionCall",
"src": "107:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "107:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "37:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "45:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "7:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "218:196:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "264:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "273:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "276:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "266:6:1"
},
"nodeType": "YulFunctionCall",
"src": "266:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "266:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "239:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "248:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "235:3:1"
},
"nodeType": "YulFunctionCall",
"src": "235:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "260:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "231:3:1"
},
"nodeType": "YulFunctionCall",
"src": "231:32:1"
},
"nodeType": "YulIf",
"src": "228:2:1"
},
{
"nodeType": "YulBlock",
"src": "290:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "305:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "319:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "309:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "334:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "369:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "380:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "365:3:1"
},
"nodeType": "YulFunctionCall",
"src": "365:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "389:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "344:20:1"
},
"nodeType": "YulFunctionCall",
"src": "344:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "334:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "188:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "199:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "211:6:1",
"type": ""
}
],
"src": "152:262:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "485:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "502:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "525:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "507:17:1"
},
"nodeType": "YulFunctionCall",
"src": "507:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "495:6:1"
},
"nodeType": "YulFunctionCall",
"src": "495:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "495:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "473:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "480:3:1",
"type": ""
}
],
"src": "420:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "642:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "652:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "664:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "675:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "660:3:1"
},
"nodeType": "YulFunctionCall",
"src": "660:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "652:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "732:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "745:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "756:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "741:3:1"
},
"nodeType": "YulFunctionCall",
"src": "741:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "688:43:1"
},
"nodeType": "YulFunctionCall",
"src": "688:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "688:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "614:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "626:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "637:4:1",
"type": ""
}
],
"src": "544:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "817:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "827:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "838:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "827:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "799:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "809:7:1",
"type": ""
}
],
"src": "772:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "898:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "955:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "964:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "967:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "957:6:1"
},
"nodeType": "YulFunctionCall",
"src": "957:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "957:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "921:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "946:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "928:17:1"
},
"nodeType": "YulFunctionCall",
"src": "928:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "918:2:1"
},
"nodeType": "YulFunctionCall",
"src": "918:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "911:6:1"
},
"nodeType": "YulFunctionCall",
"src": "911:43:1"
},
"nodeType": "YulIf",
"src": "908:2:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "891:5:1",
"type": ""
}
],
"src": "855:122:1"
}
]
},
"contents": "{\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(0, 0) }\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_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 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": "6080604052348015600f57600080fd5b506004361060325760003560e01c80632e64cec11460375780636057361d146051575b600080fd5b603d6069565b6040516048919060c2565b60405180910390f35b6067600480360381019060639190608f565b6072565b005b60008054905090565b8060008190555050565b60008135905060898160e5565b92915050565b60006020828403121560a057600080fd5b600060ac84828501607c565b91505092915050565b60bc8160db565b82525050565b600060208201905060d5600083018460b5565b92915050565b6000819050919050565b60ec8160db565b811460f657600080fd5b5056fea2646970667358221220c019e4614043d8adc295c3046ba5142c603ab309adeef171f330c51c38f1498964736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x32 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH1 0x37 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH1 0x51 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3D PUSH1 0x69 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x48 SWAP2 SWAP1 PUSH1 0xC2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x67 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH1 0x63 SWAP2 SWAP1 PUSH1 0x8F JUMP JUMPDEST PUSH1 0x72 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH1 0x89 DUP2 PUSH1 0xE5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH1 0xA0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0xAC DUP5 DUP3 DUP6 ADD PUSH1 0x7C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0xBC DUP2 PUSH1 0xDB JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0xD5 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0xB5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0xEC DUP2 PUSH1 0xDB JUMP JUMPDEST DUP2 EQ PUSH1 0xF6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC0 NOT 0xE4 PUSH2 0x4043 0xD8 0xAD 0xC2 SWAP6 0xC3 DIV PUSH12 0xA5142C603AB309ADEEF171F3 ADDRESS 0xC5 SHR CODESIZE CALL 0x49 DUP10 PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;416:79;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;271:64;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;416:79;457:7;482:6;;475:13;;416:79;:::o;271:64::-;325:3;316:6;:12;;;;271:64;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:262::-;211:6;260:2;248:9;239:7;235:23;231:32;228:2;;;276:1;273;266:12;228:2;319:1;344:53;389:7;380:6;369:9;365:22;344:53;:::i;:::-;334:63;;290:117;218:196;;;;:::o;420:118::-;507:24;525:5;507:24;:::i;:::-;502:3;495:37;485:53;;:::o;544:222::-;637:4;675:2;664:9;660:18;652:26;;688:71;756:1;745:9;741:17;732:6;688:71;:::i;:::-;642:124;;;;:::o;772:77::-;809:7;838:5;827:16;;817:32;;;:::o;855:122::-;928:24;946:5;928:24;:::i;:::-;921:5;918:35;908:2;;967:1;964;957:12;908:2;898:79;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "60600",
"executionCost": "111",
"totalCost": "60711"
},
"external": {
"retrieve()": "1115",
"store(uint256)": "20420"
}
},
"methodIdentifiers": {
"retrieve()": "2e64cec1",
"store(uint256)": "6057361d"
}
},
"abi": [
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "num",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "num",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"details": "Store & retrieve value in a variable",
"kind": "dev",
"methods": {
"retrieve()": {
"details": "Return value ",
"returns": {
"_0": "value of 'number'"
}
},
"store(uint256)": {
"details": "Store value in variable",
"params": {
"num": "value to store"
}
}
},
"title": "Storage",
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/1_Storage.sol": "Storage"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/1_Storage.sol": {
"keccak256": "0xb6ee9d528b336942dd70d3b41e2811be10a473776352009fd73f85604f5ed206",
"license": "GPL-3.0",
"urls": [
"bzz-raw://fe52c6e3c04ba5d83ede6cc1a43c45fa43caa435b207f64707afb17d3af1bcf1",
"dweb:/ipfs/QmawU3NM1WNWkBauRudYCiFvuFE1tTLHB98akyBvb9UWwA"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea264697066735822122030833f89c4fec729fd73db88b70fbf568b3bffaf186552a59d3848713e03ff3464736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3F DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 ADDRESS DUP4 EXTCODEHASH DUP10 0xC4 INVALID 0xC7 0x29 REVERT PUSH20 0xDB88B70FBF568B3BFFAF186552A59D3848713E03 SELFDESTRUCT CALLVALUE PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "24:17:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600080fdfea264697066735822122030833f89c4fec729fd73db88b70fbf568b3bffaf186552a59d3848713e03ff3464736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 ADDRESS DUP4 EXTCODEHASH DUP10 0xC4 INVALID 0xC7 0x29 REVERT PUSH20 0xDB88B70FBF568B3BFFAF186552A59D3848713E03 SELFDESTRUCT CALLVALUE PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "24:17:0:-:0;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "12600",
"executionCost": "66",
"totalCost": "12666"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220fa70a1f1e625a5390e2fff425d526589a7cde954f93ac186638d89e99478b0a564736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3F DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 STATICCALL PUSH17 0xA1F1E625A5390E2FFF425D526589A7CDE9 SLOAD 0xF9 GASPRICE 0xC1 DUP7 PUSH4 0x8D89E994 PUSH25 0xB0A564736F6C63430008040033000000000000000000000000 ",
"sourceMap": "24:17:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600080fdfea2646970667358221220fa70a1f1e625a5390e2fff425d526589a7cde954f93ac186638d89e99478b0a564736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 STATICCALL PUSH17 0xA1F1E625A5390E2FFF425D526589A7CDE9 SLOAD 0xF9 GASPRICE 0xC1 DUP7 PUSH4 0x8D89E994 PUSH25 0xB0A564736F6C63430008040033000000000000000000000000 ",
"sourceMap": "24:17:0:-:0;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "12600",
"executionCost": "66",
"totalCost": "12666"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class1/HelloWorld.sol": "Hello"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class1/HelloWorld.sol": {
"keccak256": "0x5c7f81955355153a3d2d906f96cdbed101fa69591a46383ee1011a08894b2fc4",
"urls": [
"bzz-raw://7068bc3a02313f573ca6c4c7fead1f12571b9927f134e9c04f18743fcc12c864",
"dweb:/ipfs/QmV4tYT3fQvrjYo8JryB12gpchV8yS2NbHVz4m11mehA21"
]
}
},
"version": 1
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class1/HelloWorld.sol": "hello"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class1/HelloWorld.sol": {
"keccak256": "0xa9631e37e028d673299ea679bf3e90bdf76537d0ba8359a13f050b68943b3d1f",
"urls": [
"bzz-raw://edabbe0fcf0287b9b168ee1bd37edf21f1b9e3beb69bed58c2720ed84b6d75f9",
"dweb:/ipfs/QmcbjGboWRKhL4ktH6SP53hoDHUqSLtFhSFgPpxUm5EAMh"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5061017c806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063ef5fb05b14610030575b600080fd5b61003861004e565b60405161004591906100c4565b60405180910390f35b60606040518060400160405280600b81526020017f48656c6c6f20576f726c64000000000000000000000000000000000000000000815250905090565b6000610096826100e6565b6100a081856100f1565b93506100b0818560208601610102565b6100b981610135565b840191505092915050565b600060208201905081810360008301526100de818461008b565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610120578082015181840152602081019050610105565b8381111561012f576000848401525b50505050565b6000601f19601f830116905091905056fea264697066735822122024b475e483a2b4f3ce672e47f4e5d22c57e61786362cabeeadadd30409b87cb064736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x17C DUP1 PUSH2 0x20 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 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xEF5FB05B EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xC4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F20576F726C64000000000000000000000000000000000000000000 DUP2 MSTORE POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x96 DUP3 PUSH2 0xE6 JUMP JUMPDEST PUSH2 0xA0 DUP2 DUP6 PUSH2 0xF1 JUMP JUMPDEST SWAP4 POP PUSH2 0xB0 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x102 JUMP JUMPDEST PUSH2 0xB9 DUP2 PUSH2 0x135 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 0xDE DUP2 DUP5 PUSH2 0x8B JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 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 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x120 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x105 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x12F JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x24 0xB4 PUSH22 0xE483A2B4F3CE672E47F4E5D22C57E61786362CABEEAD 0xAD 0xD3 DIV MULMOD 0xB8 PUSH29 0xB064736F6C634300080400330000000000000000000000000000000000 ",
"sourceMap": "24:120:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1394:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "99:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "109:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "156:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "123:32:1"
},
"nodeType": "YulFunctionCall",
"src": "123:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "113:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "171:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "237:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "242:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "178:58:1"
},
"nodeType": "YulFunctionCall",
"src": "178:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "171:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "284:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "291:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "280:3:1"
},
"nodeType": "YulFunctionCall",
"src": "280:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "298:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "303:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "258:21:1"
},
"nodeType": "YulFunctionCall",
"src": "258:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "258:52:1"
},
{
"nodeType": "YulAssignment",
"src": "319:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "330:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "357:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "335:21:1"
},
"nodeType": "YulFunctionCall",
"src": "335:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "326:3:1"
},
"nodeType": "YulFunctionCall",
"src": "326:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "319:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "80:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "87:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "95:3:1",
"type": ""
}
],
"src": "7:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "495:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "505:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "517:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "528:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "513:3:1"
},
"nodeType": "YulFunctionCall",
"src": "513:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "505:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "552:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "563:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "548:3:1"
},
"nodeType": "YulFunctionCall",
"src": "548:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "571:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "577:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "567:3:1"
},
"nodeType": "YulFunctionCall",
"src": "567:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "541:6:1"
},
"nodeType": "YulFunctionCall",
"src": "541:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "541:47:1"
},
{
"nodeType": "YulAssignment",
"src": "597:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "669:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "678:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "605:63:1"
},
"nodeType": "YulFunctionCall",
"src": "605:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "597: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": "467:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "479:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "490:4:1",
"type": ""
}
],
"src": "377:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "755:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "766:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "782:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "776:5:1"
},
"nodeType": "YulFunctionCall",
"src": "776:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "766:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "738:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "748:6:1",
"type": ""
}
],
"src": "696:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "897:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "914:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "919:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "907:6:1"
},
"nodeType": "YulFunctionCall",
"src": "907:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "907:19:1"
},
{
"nodeType": "YulAssignment",
"src": "935:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "954:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "959:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "950:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "935:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "869:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "874:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "885:11:1",
"type": ""
}
],
"src": "801:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1025:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1035:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1044:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1039:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1104:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1129:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1134:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1125:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1125:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "1148:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1153:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1144:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1144:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1138:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1138:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1118:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1118:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "1118:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1065:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1068:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1062:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1062:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1076:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1078:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1087:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1090:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1083:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1083:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1078:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1058:3:1",
"statements": []
},
"src": "1054:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1201:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1251:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1256:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1247:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1240:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1240:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "1240:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1182:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1185:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1179:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1179:13:1"
},
"nodeType": "YulIf",
"src": "1176:2:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "1007:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "1012:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1017:6:1",
"type": ""
}
],
"src": "976:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1337:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1347:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1365:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1372:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1361:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1361:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1381:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "1377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1377:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1357:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1357:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1347:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1320:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "1330:6:1",
"type": ""
}
],
"src": "1289:102:1"
}
]
},
"contents": "{\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 array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506004361061002b5760003560e01c8063ef5fb05b14610030575b600080fd5b61003861004e565b60405161004591906100c4565b60405180910390f35b60606040518060400160405280600b81526020017f48656c6c6f20576f726c64000000000000000000000000000000000000000000815250905090565b6000610096826100e6565b6100a081856100f1565b93506100b0818560208601610102565b6100b981610135565b840191505092915050565b600060208201905081810360008301526100de818461008b565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610120578082015181840152602081019050610105565b8381111561012f576000848401525b50505050565b6000601f19601f830116905091905056fea264697066735822122024b475e483a2b4f3ce672e47f4e5d22c57e61786362cabeeadadd30409b87cb064736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xEF5FB05B EQ PUSH2 0x30 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x38 PUSH2 0x4E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x45 SWAP2 SWAP1 PUSH2 0xC4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F20576F726C64000000000000000000000000000000000000000000 DUP2 MSTORE POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x96 DUP3 PUSH2 0xE6 JUMP JUMPDEST PUSH2 0xA0 DUP2 DUP6 PUSH2 0xF1 JUMP JUMPDEST SWAP4 POP PUSH2 0xB0 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x102 JUMP JUMPDEST PUSH2 0xB9 DUP2 PUSH2 0x135 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 0xDE DUP2 DUP5 PUSH2 0x8B JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 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 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x120 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x105 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x12F JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x24 0xB4 PUSH22 0xE483A2B4F3CE672E47F4E5D22C57E61786362CABEEAD 0xAD 0xD3 DIV MULMOD 0xB8 PUSH29 0xB064736F6C634300080400330000000000000000000000000000000000 ",
"sourceMap": "24:120:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50:92;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;90:13;115:20;;;;;;;;;;;;;;;;;;;50:92;:::o;7:364:1:-;95:3;123:39;156:5;123:39;:::i;:::-;178:71;242:6;237:3;178:71;:::i;:::-;171:78;;258:52;303:6;298:3;291:4;284:5;280:16;258:52;:::i;:::-;335:29;357:6;335:29;:::i;:::-;330:3;326:39;319:46;;99:272;;;;;:::o;377:313::-;490:4;528:2;517:9;513:18;505:26;;577:9;571:4;567:20;563:1;552:9;548:17;541:47;605:78;678:4;669:6;605:78;:::i;:::-;597:86;;495:195;;;;:::o;696:99::-;748:6;782:5;776:12;766:22;;755:40;;;:::o;801:169::-;885:11;919:6;914:3;907:19;959:4;954:3;950:14;935:29;;897:73;;;;:::o;976:307::-;1044:1;1054:113;1068:6;1065:1;1062:13;1054:113;;;1153:1;1148:3;1144:11;1138:18;1134:1;1129:3;1125:11;1118:39;1090:2;1087:1;1083:10;1078:15;;1054:113;;;1185:6;1182:1;1179:13;1176:2;;;1265:1;1256:6;1251:3;1247:16;1240:27;1176:2;1025:258;;;;:::o;1289:102::-;1330:6;1381:2;1377:7;1372:2;1365:5;1361:14;1357:28;1347:38;;1337:54;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "76000",
"executionCost": "123",
"totalCost": "76123"
},
"external": {
"sayHello()": "infinite"
}
},
"methodIdentifiers": {
"sayHello()": "ef5fb05b"
}
},
"abi": [
{
"inputs": [],
"name": "sayHello",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "sayHello",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class1/HelloWorld.sol": "HelloWorld"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class1/HelloWorld.sol": {
"keccak256": "0xe30f797d273a5740bb32f2cfdc5ecb192511f7556c7b2179aec536dcfaea9d55",
"urls": [
"bzz-raw://42af48f271ceedcfc7430aa71855cd486e2b31c2ae6248ae726189970ad99cd3",
"dweb:/ipfs/QmPtguvpkfEaURZo9pz5pWt865w8PuGdDKJLgrpPiX6npm"
]
}
},
"version": 1
}
pragma solidity ^0.8.4;
contract HelloWorld {
function sayHello() public pure returns(string memory) {
return "Hello World";
}
}
{
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610327806100206000396000f3fe60806040526004361061004a5760003560e01c8063133ae30b1461004f57806350312c9e146100785780636d26ec18146100a3578063c71daccb146100ad578063e30081a0146100d8575b600080fd5b34801561005b57600080fd5b5061007660048036038101906100719190610234565b610101565b005b34801561008457600080fd5b5061008d61016d565b60405161009a919061026c565b60405180910390f35b6100ab610175565b005b3480156100b957600080fd5b506100c2610177565b6040516100cf919061026c565b60405180910390f35b3480156100e457600080fd5b506100ff60048036038101906100fa919061020b565b6101b8565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610169573d6000803e3d6000fd5b5050565b600047905090565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1631905090565b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a9050505050565b6000813590506101f0816102c3565b92915050565b600081359050610205816102da565b92915050565b60006020828403121561021d57600080fd5b600061022b848285016101e1565b91505092915050565b60006020828403121561024657600080fd5b6000610254848285016101f6565b91505092915050565b610266816102b9565b82525050565b6000602082019050610281600083018461025d565b92915050565b600061029282610299565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6102cc81610287565b81146102d757600080fd5b50565b6102e3816102b9565b81146102ee57600080fd5b5056fea26469706673582212205f474067967f01f3e39355a81e4eff9d058b18ab9543ce93327f3ef25394cc6564736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x327 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x133AE30B EQ PUSH2 0x4F JUMPI DUP1 PUSH4 0x50312C9E EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x6D26EC18 EQ PUSH2 0xA3 JUMPI DUP1 PUSH4 0xC71DACCB EQ PUSH2 0xAD JUMPI DUP1 PUSH4 0xE30081A0 EQ PUSH2 0xD8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x234 JUMP JUMPDEST PUSH2 0x101 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x84 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x8D PUSH2 0x16D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9A SWAP2 SWAP1 PUSH2 0x26C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAB PUSH2 0x175 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC2 PUSH2 0x177 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x26C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFA SWAP2 SWAP1 PUSH2 0x20B JUMP JUMPDEST PUSH2 0x1B8 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP3 SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x169 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND BALANCE SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1F0 DUP2 PUSH2 0x2C3 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x205 DUP2 PUSH2 0x2DA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x21D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x22B DUP5 DUP3 DUP6 ADD PUSH2 0x1E1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x246 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x254 DUP5 DUP3 DUP6 ADD PUSH2 0x1F6 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x266 DUP2 PUSH2 0x2B9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x281 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x25D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x292 DUP3 PUSH2 0x299 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 PUSH2 0x2CC DUP2 PUSH2 0x287 JUMP JUMPDEST DUP2 EQ PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x2E3 DUP2 PUSH2 0x2B9 JUMP JUMPDEST DUP2 EQ PUSH2 0x2EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x5F SELFBALANCE BLOCKHASH PUSH8 0x967F01F3E39355A8 0x1E 0x4E SELFDESTRUCT SWAP14 SDIV DUP12 XOR 0xAB SWAP6 NUMBER 0xCE SWAP4 ORIGIN PUSH32 0x3EF25394CC6564736F6C63430008040033000000000000000000000000000000 ",
"sourceMap": "2535:697:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1755:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "59:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "69:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "91:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "78:12:1"
},
"nodeType": "YulFunctionCall",
"src": "78:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "69:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "134:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "107:26:1"
},
"nodeType": "YulFunctionCall",
"src": "107:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "107:33:1"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "37:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "45:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "7:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "204:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "214:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "236:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "223:12:1"
},
"nodeType": "YulFunctionCall",
"src": "223:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "214:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "279:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "252:26:1"
},
"nodeType": "YulFunctionCall",
"src": "252:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "252:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "182:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "190:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "198:5:1",
"type": ""
}
],
"src": "152:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "363:196:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "409:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "418:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "421:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "411:6:1"
},
"nodeType": "YulFunctionCall",
"src": "411:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "411:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "384:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "393:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "380:3:1"
},
"nodeType": "YulFunctionCall",
"src": "380:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "405:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "376:3:1"
},
"nodeType": "YulFunctionCall",
"src": "376:32:1"
},
"nodeType": "YulIf",
"src": "373:2:1"
},
{
"nodeType": "YulBlock",
"src": "435:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "450:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "464:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "454:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "479:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "514:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "525:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "510:3:1"
},
"nodeType": "YulFunctionCall",
"src": "510:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "534:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "489:20:1"
},
"nodeType": "YulFunctionCall",
"src": "489:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "479:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "333:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "344:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "356:6:1",
"type": ""
}
],
"src": "297:262:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "631:196:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "677:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "686:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "689:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "679:6:1"
},
"nodeType": "YulFunctionCall",
"src": "679:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "679:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "652:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "661:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "648:3:1"
},
"nodeType": "YulFunctionCall",
"src": "648:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "673:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "644:3:1"
},
"nodeType": "YulFunctionCall",
"src": "644:32:1"
},
"nodeType": "YulIf",
"src": "641:2:1"
},
{
"nodeType": "YulBlock",
"src": "703:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "718:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "732:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "722:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "747:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "782:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "793:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "778:3:1"
},
"nodeType": "YulFunctionCall",
"src": "778:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "802:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "757:20:1"
},
"nodeType": "YulFunctionCall",
"src": "757:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "747:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "601:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "612:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "624:6:1",
"type": ""
}
],
"src": "565:262:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "898:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "915:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "938:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "920:17:1"
},
"nodeType": "YulFunctionCall",
"src": "920:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "908:6:1"
},
"nodeType": "YulFunctionCall",
"src": "908:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "908:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "886:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "893:3:1",
"type": ""
}
],
"src": "833:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1055:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1065:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1077:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1088:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1073:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1073:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1065:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1145:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1158:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1169:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1154:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1154:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1101:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1101:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1101:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1027:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1039:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1050:4:1",
"type": ""
}
],
"src": "957:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1230:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1240:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1269:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "1251:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1251:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1240:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1212:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1222:7:1",
"type": ""
}
],
"src": "1185:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1332:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1342:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1357:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1364:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1353:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1353:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1342:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1314:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1324:7:1",
"type": ""
}
],
"src": "1287:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1464:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1474:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1485:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1474:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1446:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1456:7:1",
"type": ""
}
],
"src": "1419:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1545:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1602:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1611:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1614:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1604:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1604:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1604:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1568:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1593:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1575:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1575:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1565:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1565:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1558:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1558:43:1"
},
"nodeType": "YulIf",
"src": "1555:2:1"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1538:5:1",
"type": ""
}
],
"src": "1502:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1673:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1730:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1739:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1742:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1732:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1732:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1732:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1696:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1721:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1703:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1703:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1693:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1693:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1686:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1686:43:1"
},
"nodeType": "YulIf",
"src": "1683:2:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1666:5:1",
"type": ""
}
],
"src": "1630:122:1"
}
]
},
"contents": "{\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\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_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_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 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": "60806040526004361061004a5760003560e01c8063133ae30b1461004f57806350312c9e146100785780636d26ec18146100a3578063c71daccb146100ad578063e30081a0146100d8575b600080fd5b34801561005b57600080fd5b5061007660048036038101906100719190610234565b610101565b005b34801561008457600080fd5b5061008d61016d565b60405161009a919061026c565b60405180910390f35b6100ab610175565b005b3480156100b957600080fd5b506100c2610177565b6040516100cf919061026c565b60405180910390f35b3480156100e457600080fd5b506100ff60048036038101906100fa919061020b565b6101b8565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610169573d6000803e3d6000fd5b5050565b600047905090565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1631905090565b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a9050505050565b6000813590506101f0816102c3565b92915050565b600081359050610205816102da565b92915050565b60006020828403121561021d57600080fd5b600061022b848285016101e1565b91505092915050565b60006020828403121561024657600080fd5b6000610254848285016101f6565b91505092915050565b610266816102b9565b82525050565b6000602082019050610281600083018461025d565b92915050565b600061029282610299565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6102cc81610287565b81146102d757600080fd5b50565b6102e3816102b9565b81146102ee57600080fd5b5056fea26469706673582212205f474067967f01f3e39355a81e4eff9d058b18ab9543ce93327f3ef25394cc6564736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x133AE30B EQ PUSH2 0x4F JUMPI DUP1 PUSH4 0x50312C9E EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x6D26EC18 EQ PUSH2 0xA3 JUMPI DUP1 PUSH4 0xC71DACCB EQ PUSH2 0xAD JUMPI DUP1 PUSH4 0xE30081A0 EQ PUSH2 0xD8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x234 JUMP JUMPDEST PUSH2 0x101 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x84 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x8D PUSH2 0x16D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9A SWAP2 SWAP1 PUSH2 0x26C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAB PUSH2 0x175 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC2 PUSH2 0x177 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x26C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFA SWAP2 SWAP1 PUSH2 0x20B JUMP JUMPDEST PUSH2 0x1B8 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC DUP3 SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x169 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND BALANCE SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1F0 DUP2 PUSH2 0x2C3 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x205 DUP2 PUSH2 0x2DA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x21D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x22B DUP5 DUP3 DUP6 ADD PUSH2 0x1E1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x246 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x254 DUP5 DUP3 DUP6 ADD PUSH2 0x1F6 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x266 DUP2 PUSH2 0x2B9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x281 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x25D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x292 DUP3 PUSH2 0x299 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 PUSH2 0x2CC DUP2 PUSH2 0x287 JUMP JUMPDEST DUP2 EQ PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x2E3 DUP2 PUSH2 0x2B9 JUMP JUMPDEST DUP2 EQ PUSH2 0x2EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x5F SELFBALANCE BLOCKHASH PUSH8 0x967F01F3E39355A8 0x1E 0x4E SELFDESTRUCT SWAP14 SDIV DUP12 XOR 0xAB SWAP6 NUMBER 0xCE SWAP4 ORIGIN PUSH32 0x3EF25394CC6564736F6C63430008040033000000000000000000000000000000 ",
"sourceMap": "2535:697:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3083:143;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2832:112;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2751:63;;;:::i;:::-;;2962:102;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2647:86;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3083:143;3185:12;;;;;;;;;;;:21;;:30;3207:7;3185:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3083:143;:::o;2832:112::-;2885:4;2912:21;2905:28;;2832:112;:::o;2751:63::-;:::o;2962:102::-;3006:4;3033:12;;;;;;;;;;;:20;;;3026:27;;2962:102;:::o;2647:86::-;2718:4;2702:20;;:12;;;;;;;;;;:20;2647:86;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:139::-;198:5;236:6;223:20;214:29;;252:33;279:5;252:33;:::i;:::-;204:87;;;;:::o;297:262::-;356:6;405:2;393:9;384:7;380:23;376:32;373:2;;;421:1;418;411:12;373:2;464:1;489:53;534:7;525:6;514:9;510:22;489:53;:::i;:::-;479:63;;435:117;363:196;;;;:::o;565:262::-;624:6;673:2;661:9;652:7;648:23;644:32;641:2;;;689:1;686;679:12;641:2;732:1;757:53;802:7;793:6;782:9;778:22;757:53;:::i;:::-;747:63;;703:117;631:196;;;;:::o;833:118::-;920:24;938:5;920:24;:::i;:::-;915:3;908:37;898:53;;:::o;957:222::-;1050:4;1088:2;1077:9;1073:18;1065:26;;1101:71;1169:1;1158:9;1154:17;1145:6;1101:71;:::i;:::-;1055:124;;;;:::o;1185:96::-;1222:7;1251:24;1269:5;1251:24;:::i;:::-;1240:35;;1230:51;;;:::o;1287:126::-;1324:7;1364:42;1357:5;1353:54;1342:65;;1332:81;;;:::o;1419:77::-;1456:7;1485:5;1474:16;;1464:32;;;:::o;1502:122::-;1575:24;1593:5;1575:24;:::i;:::-;1568:5;1565:35;1555:2;;1614:1;1611;1604:12;1555:2;1545:79;:::o;1630:122::-;1703:24;1721:5;1703:24;:::i;:::-;1696:5;1693:35;1683:2;;1742:1;1739;1732:12;1683:2;1673:79;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "161400",
"executionCost": "208",
"totalCost": "161608"
},
"external": {
"checkBalance()": "1923",
"checkContractBalance()": "339",
"receiveMoney()": "142",
"setAddress(address)": "1364",
"transferFunds(uint256)": "infinite"
}
},
"methodIdentifiers": {
"checkBalance()": "c71daccb",
"checkContractBalance()": "50312c9e",
"receiveMoney()": "6d26ec18",
"setAddress(address)": "e30081a0",
"transferFunds(uint256)": "133ae30b"
}
},
"abi": [
{
"inputs": [],
"name": "checkBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "checkContractBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "receiveMoney",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"name": "setAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "transferFunds",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "checkBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "checkContractBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "receiveMoney",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"name": "setAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "transferFunds",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "addressSample"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5061090c806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063291898e31461005157806332a94c89146100825780636efa71d81461009e578063f4c86ca9146100ba575b600080fd5b61006b6004803603810190610066919061066a565b6100eb565b6040516100799291906106db565b60405180910390f35b61009c600480360381019061009791906105af565b61020e565b005b6100b860048036038101906100b39190610603565b610293565b005b6100d460048036038101906100cf919061066a565b610343565b6040516100e29291906106db565b60405180910390f35b606060008083600f8110610128577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01600f84600f8110610163577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff16818054610185906107d6565b80601f01602080910402602001604051908101604052809291908181526020018280546101b1906107d6565b80156101fe5780601f106101d3576101008083540402835291602001916101fe565b820191906000526020600020905b8154815290600101906020018083116101e157829003601f168201915b5050505050915091509150915091565b60108290806001815401808255809150506001900390600052602060002001600090919091909150908051906020019061024992919061047a565b5060118190806001815401808255809150506001900390600052602060002090602091828204019190069091909190916101000a81548160ff021916908360ff1602179055505050565b82600082600f81106102ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190805190602001906102e292919061047a565b5081600f82600f811061031e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff021916908360ff160217905550505050565b6060600060108381548110610381577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001601184815481106103c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090602091828204019190069054906101000a900460ff168180546103f1906107d6565b80601f016020809104026020016040519081016040528092919081815260200182805461041d906107d6565b801561046a5780601f1061043f5761010080835404028352916020019161046a565b820191906000526020600020905b81548152906001019060200180831161044d57829003601f168201915b5050505050915091509150915091565b828054610486906107d6565b90600052602060002090601f0160209004810192826104a857600085556104ef565b82601f106104c157805160ff19168380011785556104ef565b828001600101855582156104ef579182015b828111156104ee5782518255916020019190600101906104d3565b5b5090506104fc9190610500565b5090565b5b80821115610519576000816000905550600101610501565b5090565b600061053061052b84610730565b61070b565b90508281526020810184848401111561054857600080fd5b610553848285610794565b509392505050565b600082601f83011261056c57600080fd5b813561057c84826020860161051d565b91505092915050565b600081359050610594816108a8565b92915050565b6000813590506105a9816108bf565b92915050565b600080604083850312156105c257600080fd5b600083013567ffffffffffffffff8111156105dc57600080fd5b6105e88582860161055b565b92505060206105f98582860161059a565b9150509250929050565b60008060006060848603121561061857600080fd5b600084013567ffffffffffffffff81111561063257600080fd5b61063e8682870161055b565b935050602061064f8682870161059a565b925050604061066086828701610585565b9150509250925092565b60006020828403121561067c57600080fd5b600061068a84828501610585565b91505092915050565b600061069e82610761565b6106a8818561076c565b93506106b88185602086016107a3565b6106c181610897565b840191505092915050565b6106d581610787565b82525050565b600060408201905081810360008301526106f58185610693565b905061070460208301846106cc565b9392505050565b6000610715610726565b90506107218282610808565b919050565b6000604051905090565b600067ffffffffffffffff82111561074b5761074a610868565b5b61075482610897565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156107c15780820151818401526020810190506107a6565b838111156107d0576000848401525b50505050565b600060028204905060018216806107ee57607f821691505b6020821081141561080257610801610839565b5b50919050565b61081182610897565b810181811067ffffffffffffffff821117156108305761082f610868565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6108b18161077d565b81146108bc57600080fd5b50565b6108c881610787565b81146108d357600080fd5b5056fea26469706673582212204974da158dac496fa1bf817f1a30f54fa7dbd8bb93a4068d3f321f349ed357bb64736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x90C DUP1 PUSH2 0x20 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 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x291898E3 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x32A94C89 EQ PUSH2 0x82 JUMPI DUP1 PUSH4 0x6EFA71D8 EQ PUSH2 0x9E JUMPI DUP1 PUSH4 0xF4C86CA9 EQ PUSH2 0xBA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x66A JUMP JUMPDEST PUSH2 0xEB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x79 SWAP3 SWAP2 SWAP1 PUSH2 0x6DB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x97 SWAP2 SWAP1 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x20E JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xB3 SWAP2 SWAP1 PUSH2 0x603 JUMP JUMPDEST PUSH2 0x293 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x66A JUMP JUMPDEST PUSH2 0x343 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xE2 SWAP3 SWAP2 SWAP1 PUSH2 0x6DB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP4 PUSH1 0xF DUP2 LT PUSH2 0x128 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADD PUSH1 0xF DUP5 PUSH1 0xF DUP2 LT PUSH2 0x163 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 DUP1 SLOAD PUSH2 0x185 SWAP1 PUSH2 0x7D6 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 0x1B1 SWAP1 PUSH2 0x7D6 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1FE JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1D3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1FE 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 0x1E1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH1 0x10 DUP3 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 0x249 SWAP3 SWAP2 SWAP1 PUSH2 0x47A JUMP JUMPDEST POP PUSH1 0x11 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 SWAP1 PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x0 DUP3 PUSH1 0xF DUP2 LT PUSH2 0x2CE JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x2E2 SWAP3 SWAP2 SWAP1 PUSH2 0x47A JUMP JUMPDEST POP DUP2 PUSH1 0xF DUP3 PUSH1 0xF DUP2 LT PUSH2 0x31E JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH1 0x10 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x381 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x11 DUP5 DUP2 SLOAD DUP2 LT PUSH2 0x3C5 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 DUP1 SLOAD PUSH2 0x3F1 SWAP1 PUSH2 0x7D6 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 0x41D SWAP1 PUSH2 0x7D6 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x46A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x43F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x46A 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 0x44D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x486 SWAP1 PUSH2 0x7D6 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x4A8 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x4EF JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x4C1 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x4EF JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x4EF JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x4EE JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x4D3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x4FC SWAP2 SWAP1 PUSH2 0x500 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x519 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x501 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x530 PUSH2 0x52B DUP5 PUSH2 0x730 JUMP JUMPDEST PUSH2 0x70B JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x548 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x553 DUP5 DUP3 DUP6 PUSH2 0x794 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x56C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x57C DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x51D JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x594 DUP2 PUSH2 0x8A8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x5A9 DUP2 PUSH2 0x8BF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x5C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5E8 DUP6 DUP3 DUP7 ADD PUSH2 0x55B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x5F9 DUP6 DUP3 DUP7 ADD PUSH2 0x59A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x618 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x632 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x63E DUP7 DUP3 DUP8 ADD PUSH2 0x55B JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x64F DUP7 DUP3 DUP8 ADD PUSH2 0x59A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x660 DUP7 DUP3 DUP8 ADD PUSH2 0x585 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x67C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x68A DUP5 DUP3 DUP6 ADD PUSH2 0x585 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x69E DUP3 PUSH2 0x761 JUMP JUMPDEST PUSH2 0x6A8 DUP2 DUP6 PUSH2 0x76C JUMP JUMPDEST SWAP4 POP PUSH2 0x6B8 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x7A3 JUMP JUMPDEST PUSH2 0x6C1 DUP2 PUSH2 0x897 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x6D5 DUP2 PUSH2 0x787 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x6F5 DUP2 DUP6 PUSH2 0x693 JUMP JUMPDEST SWAP1 POP PUSH2 0x704 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x6CC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x715 PUSH2 0x726 JUMP JUMPDEST SWAP1 POP PUSH2 0x721 DUP3 DUP3 PUSH2 0x808 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 0x74B JUMPI PUSH2 0x74A PUSH2 0x868 JUMP JUMPDEST JUMPDEST PUSH2 0x754 DUP3 PUSH2 0x897 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 PUSH1 0x0 PUSH1 0xFF DUP3 AND 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 0x7C1 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x7A6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x7D0 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 0x7EE JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x802 JUMPI PUSH2 0x801 PUSH2 0x839 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x811 DUP3 PUSH2 0x897 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x830 JUMPI PUSH2 0x82F PUSH2 0x868 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x8B1 DUP2 PUSH2 0x77D JUMP JUMPDEST DUP2 EQ PUSH2 0x8BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x8C8 DUP2 PUSH2 0x787 JUMP JUMPDEST DUP2 EQ PUSH2 0x8D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x49 PUSH21 0xDA158DAC496FA1BF817F1A30F54FA7DBD8BB93A406 DUP14 EXTCODEHASH ORIGIN 0x1F CALLVALUE SWAP15 0xD3 JUMPI 0xBB PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "469:906:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:6103:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261: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:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:1"
},
"nodeType": "YulFunctionCall",
"src": "282:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:12: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:2:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:1"
},
"nodeType": "YulFunctionCall",
"src": "305:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "305: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:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "434:211:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "483:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "492:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "495:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "485:6:1"
},
"nodeType": "YulFunctionCall",
"src": "485:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "485:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "462:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "470:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:1"
},
"nodeType": "YulFunctionCall",
"src": "458:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "477:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "454:3:1"
},
"nodeType": "YulFunctionCall",
"src": "454:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "447:6:1"
},
"nodeType": "YulFunctionCall",
"src": "447:35:1"
},
"nodeType": "YulIf",
"src": "444:2:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "508:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "535:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "522:12:1"
},
"nodeType": "YulFunctionCall",
"src": "522:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "512:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "551:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "612:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "620:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "608:3:1"
},
"nodeType": "YulFunctionCall",
"src": "608:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "627:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "635:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "560:47:1"
},
"nodeType": "YulFunctionCall",
"src": "560:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "551:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "412:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "420:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "428:5:1",
"type": ""
}
],
"src": "372:273:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "703:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "713:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "735:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "722:12:1"
},
"nodeType": "YulFunctionCall",
"src": "722:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "713:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "778:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "751:26:1"
},
"nodeType": "YulFunctionCall",
"src": "751:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "751:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "681:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "689:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "697:5:1",
"type": ""
}
],
"src": "651:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "846:85:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "856:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "878:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "865:12:1"
},
"nodeType": "YulFunctionCall",
"src": "865:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "856:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "919:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint8",
"nodeType": "YulIdentifier",
"src": "894:24:1"
},
"nodeType": "YulFunctionCall",
"src": "894:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "894:31:1"
}
]
},
"name": "abi_decode_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "824:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "832:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "840:5:1",
"type": ""
}
],
"src": "796:135:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1028:425:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1074:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1083:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1086:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1076:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1076:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1076:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1049:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1058:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1045:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1045:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1070:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1041:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1041:32:1"
},
"nodeType": "YulIf",
"src": "1038:2:1"
},
{
"nodeType": "YulBlock",
"src": "1100:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1115:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1146:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1157:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1142:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1129:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1129:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1119:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1207:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1216:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1219:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1209:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1209:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1209:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1179:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1187:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1176:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1176:30:1"
},
"nodeType": "YulIf",
"src": "1173:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1237:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1282:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1293:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1278:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1278:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1302:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1247:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1247:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1237:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1330:116:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1345:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1359:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1349:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1375:61:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1408:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1419:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1404:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1404:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1428:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint8",
"nodeType": "YulIdentifier",
"src": "1385:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1385:51:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1375:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "990:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1001:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1013:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1021:6:1",
"type": ""
}
],
"src": "937:516:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1567:553:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1613:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1622:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1625:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1615:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1615:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1615:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1588:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1597:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1584:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1584:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1609:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1580:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1580:32:1"
},
"nodeType": "YulIf",
"src": "1577:2:1"
},
{
"nodeType": "YulBlock",
"src": "1639:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1654:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1685:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1696:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1681:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1681:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1668:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1658:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1746:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1755:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1758:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1748:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1748:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1748:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1718:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1726:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1715:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1715:30:1"
},
"nodeType": "YulIf",
"src": "1712:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1776:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1821:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1832:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1817:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1817:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1841:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1786:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1786:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1776:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1869:116:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1884:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1898:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1888:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1914:61:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1947:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1958:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1943:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1943:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1967:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint8",
"nodeType": "YulIdentifier",
"src": "1924:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1924:51:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1914:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1995:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2010:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2024:2:1",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2014:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2040:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2075:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2086:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2071:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2071:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2095:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2050:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2050:53:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "2040:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint8t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1521:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1532:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1544:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1552:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1560:6:1",
"type": ""
}
],
"src": "1459:661:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2192:196:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2238:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2247:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2250:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2240:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2240:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "2240:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2213:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2222:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2209:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2209:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2234:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2205:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2205:32:1"
},
"nodeType": "YulIf",
"src": "2202:2:1"
},
{
"nodeType": "YulBlock",
"src": "2264:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2279:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2293:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2283:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2308:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2343:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2354:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2339:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2339:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2363:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2318:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2318:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2308:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2162:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2173:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2185:6:1",
"type": ""
}
],
"src": "2126:262:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2486:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2496:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2543:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2510:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2510:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2500:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2558:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2624:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2629:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2565:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2565:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2558:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2671:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2678:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2667:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2667:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2685:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2690:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2645:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2645:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2645:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2706:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2717:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2744:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2722:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2722:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2713:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2713:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2706:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2467:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2474:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2482:3:1",
"type": ""
}
],
"src": "2394:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2825:51:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2842:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2863:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "2847:15:1"
},
"nodeType": "YulFunctionCall",
"src": "2847:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2835:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2835:35:1"
},
"nodeType": "YulExpressionStatement",
"src": "2835:35:1"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2813:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2820:3:1",
"type": ""
}
],
"src": "2764:112:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3024:273:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3034:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3046:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3057:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3042:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3042:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3034:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3081:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3092:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3077:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3077:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3100:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3106:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3096:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3096:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3070:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3070:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "3070:47:1"
},
{
"nodeType": "YulAssignment",
"src": "3126:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3198:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3207:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3134:63:1"
},
"nodeType": "YulFunctionCall",
"src": "3134:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3126:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "3262:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3275:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3286:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3271:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3271:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "3222:39:1"
},
"nodeType": "YulFunctionCall",
"src": "3222:68:1"
},
"nodeType": "YulExpressionStatement",
"src": "3222:68:1"
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr_t_uint8__to_t_string_memory_ptr_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2988:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3000:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3008:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3019:4:1",
"type": ""
}
],
"src": "2882:415:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3344:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3354:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "3364:18:1"
},
"nodeType": "YulFunctionCall",
"src": "3364:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3354:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3413:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3421:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "3393:19:1"
},
"nodeType": "YulFunctionCall",
"src": "3393:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "3393:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3328:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3337:6:1",
"type": ""
}
],
"src": "3303:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3478:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3488:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3504:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3498:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3498:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3488:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3471:6:1",
"type": ""
}
],
"src": "3438:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3586:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3691:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3693:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3693:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3693:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3663:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3671:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3660:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3660:30:1"
},
"nodeType": "YulIf",
"src": "3657:2:1"
},
{
"nodeType": "YulAssignment",
"src": "3723:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3753:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3731:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3731:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3723:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3797:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3809:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3815:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3805:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3805:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3797:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3570:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3581:4:1",
"type": ""
}
],
"src": "3519:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3892:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3903:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3919:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3913:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3913:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3903:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3875:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3885:6:1",
"type": ""
}
],
"src": "3833:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4034:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4051:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4056:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4044:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4044:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4044:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4072:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4091:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4096:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4087:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4087:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4072:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4006:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4011:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4022:11:1",
"type": ""
}
],
"src": "3938:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4158:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4168:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "4179:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4168:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4140:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4150:7:1",
"type": ""
}
],
"src": "4113:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4239:43:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4249:27:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4264:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4271:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4260:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4260:16:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4249:7:1"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4221:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4231:7:1",
"type": ""
}
],
"src": "4196:86:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4339:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4362:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4367:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4372:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "4349:12:1"
},
"nodeType": "YulFunctionCall",
"src": "4349:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "4349:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4420:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4425:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4416:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4416:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4434:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4409:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4409:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4409:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4321:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4326:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4331:6:1",
"type": ""
}
],
"src": "4288:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4497:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4507:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4516:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "4511:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4576:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4601:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4606:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4597:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4597:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4620:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4625:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4616:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4616:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4610:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4610:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4590:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4590:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "4590:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4537:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4540:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4534:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4534:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "4548:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4550:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4559:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4562:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4555:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4555:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4550:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "4530:3:1",
"statements": []
},
"src": "4526:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4673:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4723:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4728:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4719:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4719:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4737:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4712:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4712:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4712:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4654:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4657:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4651:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4651:13:1"
},
"nodeType": "YulIf",
"src": "4648:2:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4479:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4484:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4489:6:1",
"type": ""
}
],
"src": "4448:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4812:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4822:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4836:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4842:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4832:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4832:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4822:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4853:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4883:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4889:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4879:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4879:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "4857:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4930:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4944:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4958:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4966:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4954:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4954:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4944:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4910:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4903:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4903:26:1"
},
"nodeType": "YulIf",
"src": "4900:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5033:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "5047:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5047:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5047:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4997:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5020:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5028:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5017:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5017:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4994:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4994:38:1"
},
"nodeType": "YulIf",
"src": "4991:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "4796:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4805:6:1",
"type": ""
}
],
"src": "4761:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5130:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5140:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5162:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5192:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5170:21:1"
},
"nodeType": "YulFunctionCall",
"src": "5170:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5158:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5158:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "5144:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5309:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5311:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5311:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5311:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5252:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5264:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5249:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5249:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5288:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5300:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5285:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5285:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "5246:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5246:62:1"
},
"nodeType": "YulIf",
"src": "5243:2:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5347:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5351:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5340:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5340:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "5340:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5116:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5124:4:1",
"type": ""
}
],
"src": "5087:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5402:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5419:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5422:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5412:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5412:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5412:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5516:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5519:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5509:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5509:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5509:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5540:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5543:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5533:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5533:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5533:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "5374:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5588:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5605:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5608:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5598:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5598:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5598:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5702:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5705:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5695:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5695:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5695:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5726:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5729:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5719:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5719:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5719:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "5560:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5794:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5804:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5822:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5829:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5818:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5818:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5838:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "5834:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5834:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5814:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5814:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "5804:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5777:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "5787:6:1",
"type": ""
}
],
"src": "5746:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5897:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5954:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5963:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5966:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5956:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5956:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5956:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5920:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5945:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "5927:17:1"
},
"nodeType": "YulFunctionCall",
"src": "5927:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5917:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5917:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5910:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5910:43:1"
},
"nodeType": "YulIf",
"src": "5907:2:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5890:5:1",
"type": ""
}
],
"src": "5854:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6023:77:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6078:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6087:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6090:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6080:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6080:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6080:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6046:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6069:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "6053:15:1"
},
"nodeType": "YulFunctionCall",
"src": "6053:22:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6043:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6043:33:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6036:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6036:41:1"
},
"nodeType": "YulIf",
"src": "6033:2:1"
}
]
},
"name": "validator_revert_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6016:5:1",
"type": ""
}
],
"src": "5982:118: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(0, 0) }\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(0, 0) }\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_t_uint8(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint8(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint8(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\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_uint8(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint8t_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\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_uint8(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\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_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_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_string_memory_ptr_t_uint8__to_t_string_memory_ptr_t_uint8__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 abi_encode_t_uint8_to_t_uint8_fromStack(value1, add(headStart, 32))\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 cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\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 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 function validator_revert_t_uint8(value) {\n if iszero(eq(value, cleanup_t_uint8(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506004361061004c5760003560e01c8063291898e31461005157806332a94c89146100825780636efa71d81461009e578063f4c86ca9146100ba575b600080fd5b61006b6004803603810190610066919061066a565b6100eb565b6040516100799291906106db565b60405180910390f35b61009c600480360381019061009791906105af565b61020e565b005b6100b860048036038101906100b39190610603565b610293565b005b6100d460048036038101906100cf919061066a565b610343565b6040516100e29291906106db565b60405180910390f35b606060008083600f8110610128577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01600f84600f8110610163577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff16818054610185906107d6565b80601f01602080910402602001604051908101604052809291908181526020018280546101b1906107d6565b80156101fe5780601f106101d3576101008083540402835291602001916101fe565b820191906000526020600020905b8154815290600101906020018083116101e157829003601f168201915b5050505050915091509150915091565b60108290806001815401808255809150506001900390600052602060002001600090919091909150908051906020019061024992919061047a565b5060118190806001815401808255809150506001900390600052602060002090602091828204019190069091909190916101000a81548160ff021916908360ff1602179055505050565b82600082600f81106102ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0190805190602001906102e292919061047a565b5081600f82600f811061031e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff021916908360ff160217905550505050565b6060600060108381548110610381577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001601184815481106103c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090602091828204019190069054906101000a900460ff168180546103f1906107d6565b80601f016020809104026020016040519081016040528092919081815260200182805461041d906107d6565b801561046a5780601f1061043f5761010080835404028352916020019161046a565b820191906000526020600020905b81548152906001019060200180831161044d57829003601f168201915b5050505050915091509150915091565b828054610486906107d6565b90600052602060002090601f0160209004810192826104a857600085556104ef565b82601f106104c157805160ff19168380011785556104ef565b828001600101855582156104ef579182015b828111156104ee5782518255916020019190600101906104d3565b5b5090506104fc9190610500565b5090565b5b80821115610519576000816000905550600101610501565b5090565b600061053061052b84610730565b61070b565b90508281526020810184848401111561054857600080fd5b610553848285610794565b509392505050565b600082601f83011261056c57600080fd5b813561057c84826020860161051d565b91505092915050565b600081359050610594816108a8565b92915050565b6000813590506105a9816108bf565b92915050565b600080604083850312156105c257600080fd5b600083013567ffffffffffffffff8111156105dc57600080fd5b6105e88582860161055b565b92505060206105f98582860161059a565b9150509250929050565b60008060006060848603121561061857600080fd5b600084013567ffffffffffffffff81111561063257600080fd5b61063e8682870161055b565b935050602061064f8682870161059a565b925050604061066086828701610585565b9150509250925092565b60006020828403121561067c57600080fd5b600061068a84828501610585565b91505092915050565b600061069e82610761565b6106a8818561076c565b93506106b88185602086016107a3565b6106c181610897565b840191505092915050565b6106d581610787565b82525050565b600060408201905081810360008301526106f58185610693565b905061070460208301846106cc565b9392505050565b6000610715610726565b90506107218282610808565b919050565b6000604051905090565b600067ffffffffffffffff82111561074b5761074a610868565b5b61075482610897565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156107c15780820151818401526020810190506107a6565b838111156107d0576000848401525b50505050565b600060028204905060018216806107ee57607f821691505b6020821081141561080257610801610839565b5b50919050565b61081182610897565b810181811067ffffffffffffffff821117156108305761082f610868565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6108b18161077d565b81146108bc57600080fd5b50565b6108c881610787565b81146108d357600080fd5b5056fea26469706673582212204974da158dac496fa1bf817f1a30f54fa7dbd8bb93a4068d3f321f349ed357bb64736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x291898E3 EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x32A94C89 EQ PUSH2 0x82 JUMPI DUP1 PUSH4 0x6EFA71D8 EQ PUSH2 0x9E JUMPI DUP1 PUSH4 0xF4C86CA9 EQ PUSH2 0xBA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x66A JUMP JUMPDEST PUSH2 0xEB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x79 SWAP3 SWAP2 SWAP1 PUSH2 0x6DB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x97 SWAP2 SWAP1 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x20E JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xB3 SWAP2 SWAP1 PUSH2 0x603 JUMP JUMPDEST PUSH2 0x293 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x66A JUMP JUMPDEST PUSH2 0x343 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xE2 SWAP3 SWAP2 SWAP1 PUSH2 0x6DB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP4 PUSH1 0xF DUP2 LT PUSH2 0x128 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADD PUSH1 0xF DUP5 PUSH1 0xF DUP2 LT PUSH2 0x163 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 DUP1 SLOAD PUSH2 0x185 SWAP1 PUSH2 0x7D6 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 0x1B1 SWAP1 PUSH2 0x7D6 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1FE JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1D3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1FE 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 0x1E1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH1 0x10 DUP3 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 0x249 SWAP3 SWAP2 SWAP1 PUSH2 0x47A JUMP JUMPDEST POP PUSH1 0x11 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 SWAP1 PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x0 DUP3 PUSH1 0xF DUP2 LT PUSH2 0x2CE JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x2E2 SWAP3 SWAP2 SWAP1 PUSH2 0x47A JUMP JUMPDEST POP DUP2 PUSH1 0xF DUP3 PUSH1 0xF DUP2 LT PUSH2 0x31E JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH1 0x10 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x381 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x11 DUP5 DUP2 SLOAD DUP2 LT PUSH2 0x3C5 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 DUP1 SLOAD PUSH2 0x3F1 SWAP1 PUSH2 0x7D6 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 0x41D SWAP1 PUSH2 0x7D6 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x46A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x43F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x46A 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 0x44D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x486 SWAP1 PUSH2 0x7D6 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x4A8 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x4EF JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x4C1 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x4EF JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x4EF JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x4EE JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x4D3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x4FC SWAP2 SWAP1 PUSH2 0x500 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x519 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x501 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x530 PUSH2 0x52B DUP5 PUSH2 0x730 JUMP JUMPDEST PUSH2 0x70B JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x548 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x553 DUP5 DUP3 DUP6 PUSH2 0x794 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x56C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x57C DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x51D JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x594 DUP2 PUSH2 0x8A8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x5A9 DUP2 PUSH2 0x8BF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x5C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5E8 DUP6 DUP3 DUP7 ADD PUSH2 0x55B JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x5F9 DUP6 DUP3 DUP7 ADD PUSH2 0x59A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x618 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x632 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x63E DUP7 DUP3 DUP8 ADD PUSH2 0x55B JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x64F DUP7 DUP3 DUP8 ADD PUSH2 0x59A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x660 DUP7 DUP3 DUP8 ADD PUSH2 0x585 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x67C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x68A DUP5 DUP3 DUP6 ADD PUSH2 0x585 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x69E DUP3 PUSH2 0x761 JUMP JUMPDEST PUSH2 0x6A8 DUP2 DUP6 PUSH2 0x76C JUMP JUMPDEST SWAP4 POP PUSH2 0x6B8 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x7A3 JUMP JUMPDEST PUSH2 0x6C1 DUP2 PUSH2 0x897 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x6D5 DUP2 PUSH2 0x787 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x6F5 DUP2 DUP6 PUSH2 0x693 JUMP JUMPDEST SWAP1 POP PUSH2 0x704 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x6CC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x715 PUSH2 0x726 JUMP JUMPDEST SWAP1 POP PUSH2 0x721 DUP3 DUP3 PUSH2 0x808 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 0x74B JUMPI PUSH2 0x74A PUSH2 0x868 JUMP JUMPDEST JUMPDEST PUSH2 0x754 DUP3 PUSH2 0x897 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 PUSH1 0x0 PUSH1 0xFF DUP3 AND 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 0x7C1 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x7A6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x7D0 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 0x7EE JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x802 JUMPI PUSH2 0x801 PUSH2 0x839 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x811 DUP3 PUSH2 0x897 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x830 JUMPI PUSH2 0x82F PUSH2 0x868 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x8B1 DUP2 PUSH2 0x77D JUMP JUMPDEST DUP2 EQ PUSH2 0x8BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x8C8 DUP2 PUSH2 0x787 JUMP JUMPDEST DUP2 EQ PUSH2 0x8D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x49 PUSH21 0xDA158DAC496FA1BF817F1A30F54FA7DBD8BB93A406 DUP14 EXTCODEHASH ORIGIN 0x1F CALLVALUE SWAP15 0xD3 JUMPI 0xBB PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "469:906:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;869:163;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;1050:148;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;688:163;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1216:153;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;869:163;939:13;954:5;982:4;987:6;982:12;;;;;;;;;;;;;;;;996:3;1000:6;996:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;974:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;869:163;;;:::o;1050:148::-;1129:11;1146:5;1129:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1166:10;1182:4;1166:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1050:148;;:::o;688:163::-;803:5;788:4;793:6;788:12;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;:::i;:::-;;836:4;822:3;826:6;822:11;;;;;;;;;;;;;;;;;;;;;;;;:18;;;;;;;;;;;;;;;;;;688:163;;;:::o;1216:153::-;1275:13;1290:5;1318:11;1330:6;1318:19;;;;;;;;;;;;;;;;;;;;;;;1339:10;1350:6;1339:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1310:48;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1216:153;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345: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:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;372:273::-;428:5;477:3;470:4;462:6;458:17;454:27;444:2;;495:1;492;485:12;444:2;535:6;522:20;560:79;635:3;627:6;620:4;612:6;608:17;560:79;:::i;:::-;551:88;;434:211;;;;;:::o;651:139::-;697:5;735:6;722:20;713:29;;751:33;778:5;751:33;:::i;:::-;703:87;;;;:::o;796:135::-;840:5;878:6;865:20;856:29;;894:31;919:5;894:31;:::i;:::-;846:85;;;;:::o;937:516::-;1013:6;1021;1070:2;1058:9;1049:7;1045:23;1041:32;1038:2;;;1086:1;1083;1076:12;1038:2;1157:1;1146:9;1142:17;1129:31;1187:18;1179:6;1176:30;1173:2;;;1219:1;1216;1209:12;1173:2;1247:63;1302:7;1293:6;1282:9;1278:22;1247:63;:::i;:::-;1237:73;;1100:220;1359:2;1385:51;1428:7;1419:6;1408:9;1404:22;1385:51;:::i;:::-;1375:61;;1330:116;1028:425;;;;;:::o;1459:661::-;1544:6;1552;1560;1609:2;1597:9;1588:7;1584:23;1580:32;1577:2;;;1625:1;1622;1615:12;1577:2;1696:1;1685:9;1681:17;1668:31;1726:18;1718:6;1715:30;1712:2;;;1758:1;1755;1748:12;1712:2;1786:63;1841:7;1832:6;1821:9;1817:22;1786:63;:::i;:::-;1776:73;;1639:220;1898:2;1924:51;1967:7;1958:6;1947:9;1943:22;1924:51;:::i;:::-;1914:61;;1869:116;2024:2;2050:53;2095:7;2086:6;2075:9;2071:22;2050:53;:::i;:::-;2040:63;;1995:118;1567:553;;;;;:::o;2126:262::-;2185:6;2234:2;2222:9;2213:7;2209:23;2205:32;2202:2;;;2250:1;2247;2240:12;2202:2;2293:1;2318:53;2363:7;2354:6;2343:9;2339:22;2318:53;:::i;:::-;2308:63;;2264:117;2192:196;;;;:::o;2394:364::-;2482:3;2510:39;2543:5;2510:39;:::i;:::-;2565:71;2629:6;2624:3;2565:71;:::i;:::-;2558:78;;2645:52;2690:6;2685:3;2678:4;2671:5;2667:16;2645:52;:::i;:::-;2722:29;2744:6;2722:29;:::i;:::-;2717:3;2713:39;2706:46;;2486:272;;;;;:::o;2764:112::-;2847:22;2863:5;2847:22;:::i;:::-;2842:3;2835:35;2825:51;;:::o;2882:415::-;3019:4;3057:2;3046:9;3042:18;3034:26;;3106:9;3100:4;3096:20;3092:1;3081:9;3077:17;3070:47;3134:78;3207:4;3198:6;3134:78;:::i;:::-;3126:86;;3222:68;3286:2;3275:9;3271:18;3262:6;3222:68;:::i;:::-;3024:273;;;;;:::o;3303:129::-;3337:6;3364:20;;:::i;:::-;3354:30;;3393:33;3421:4;3413:6;3393:33;:::i;:::-;3344:88;;;:::o;3438:75::-;3471:6;3504:2;3498:9;3488:19;;3478:35;:::o;3519:308::-;3581:4;3671:18;3663:6;3660:30;3657:2;;;3693:18;;:::i;:::-;3657:2;3731:29;3753:6;3731:29;:::i;:::-;3723:37;;3815:4;3809;3805:15;3797:23;;3586:241;;;:::o;3833:99::-;3885:6;3919:5;3913:12;3903:22;;3892:40;;;:::o;3938:169::-;4022:11;4056:6;4051:3;4044:19;4096:4;4091:3;4087:14;4072:29;;4034:73;;;;:::o;4113:77::-;4150:7;4179:5;4168:16;;4158:32;;;:::o;4196:86::-;4231:7;4271:4;4264:5;4260:16;4249:27;;4239:43;;;:::o;4288:154::-;4372:6;4367:3;4362;4349:30;4434:1;4425:6;4420:3;4416:16;4409:27;4339:103;;;:::o;4448:307::-;4516:1;4526:113;4540:6;4537:1;4534:13;4526:113;;;4625:1;4620:3;4616:11;4610:18;4606:1;4601:3;4597:11;4590:39;4562:2;4559:1;4555:10;4550:15;;4526:113;;;4657:6;4654:1;4651:13;4648:2;;;4737:1;4728:6;4723:3;4719:16;4712:27;4648:2;4497:258;;;;:::o;4761:320::-;4805:6;4842:1;4836:4;4832:12;4822:22;;4889:1;4883:4;4879:12;4910:18;4900:2;;4966:4;4958:6;4954:17;4944:27;;4900:2;5028;5020:6;5017:14;4997:18;4994:38;4991:2;;;5047:18;;:::i;:::-;4991:2;4812:269;;;;:::o;5087:281::-;5170:27;5192:4;5170:27;:::i;:::-;5162:6;5158:40;5300:6;5288:10;5285:22;5264:18;5252:10;5249:34;5246:62;5243:2;;;5311:18;;:::i;:::-;5243:2;5351:10;5347:2;5340:22;5130:238;;;:::o;5374:180::-;5422:77;5419:1;5412:88;5519:4;5516:1;5509:15;5543:4;5540:1;5533:15;5560:180;5608:77;5605:1;5598:88;5705:4;5702:1;5695:15;5729:4;5726:1;5719:15;5746:102;5787:6;5838:2;5834:7;5829:2;5822:5;5818:14;5814:28;5804:38;;5794:54;;;:::o;5854:122::-;5927:24;5945:5;5927:24;:::i;:::-;5920:5;5917:35;5907:2;;5966:1;5963;5956:12;5907:2;5897:79;:::o;5982:118::-;6053:22;6069:5;6053:22;:::i;:::-;6046:5;6043:33;6033:2;;6090:1;6087;6080:12;6033:2;6023:77;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "463200",
"executionCost": "499",
"totalCost": "463699"
},
"external": {
"getDataFromFixedLengthArray(uint256)": "infinite",
"getDynamicArray(uint256)": "infinite",
"setDataToFixLengthArray(string,uint8,uint256)": "infinite",
"setDynamicArray(string,uint8)": "infinite"
}
},
"methodIdentifiers": {
"getDataFromFixedLengthArray(uint256)": "291898e3",
"getDynamicArray(uint256)": "f4c86ca9",
"setDataToFixLengthArray(string,uint8,uint256)": "6efa71d8",
"setDynamicArray(string,uint8)": "32a94c89"
}
},
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_index",
"type": "uint256"
}
],
"name": "getDataFromFixedLengthArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_index",
"type": "uint256"
}
],
"name": "getDynamicArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "_index",
"type": "uint256"
}
],
"name": "setDataToFixLengthArray",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
}
],
"name": "setDynamicArray",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_index",
"type": "uint256"
}
],
"name": "getDataFromFixedLengthArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_index",
"type": "uint256"
}
],
"name": "getDynamicArray",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "_index",
"type": "uint256"
}
],
"name": "setDataToFixLengthArray",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
}
],
"name": "setDynamicArray",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "arraySample"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506101fb806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80637558a4ce14610046578063829b444b14610050578063de8133171461005a575b600080fd5b61004e610078565b005b6100586100ca565b005b61006261011d565b60405161006f9190610142565b60405180910390f35b60016000806101000a81548160ff021916908360028111156100c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b6002600060016101000a81548160ff02191690836002811115610116577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b60008060019054906101000a900460ff16905090565b61013c81610170565b82525050565b60006020820190506101576000830184610133565b92915050565b600081905061016b826101b1565b919050565b600061017b8261015d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106101c2576101c1610182565b5b5056fea26469706673582212202ea0df8efc952700aec70cca1897f932205f93bbee4b4b32c6117bdfef8bfdb264736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1FB DUP1 PUSH2 0x20 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 0x7558A4CE EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x829B444B EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0xDE813317 EQ PUSH2 0x5A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x78 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x58 PUSH2 0xCA JUMP JUMPDEST STOP JUMPDEST PUSH2 0x62 PUSH2 0x11D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6F SWAP2 SWAP1 PUSH2 0x142 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xC3 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST MUL OR SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 PUSH1 0x1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x116 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST MUL OR SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x13C DUP2 PUSH2 0x170 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x157 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x133 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP PUSH2 0x16B DUP3 PUSH2 0x1B1 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17B DUP3 PUSH2 0x15D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x1C2 JUMPI PUSH2 0x1C1 PUSH2 0x182 JUMP JUMPDEST JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2E LOG0 0xDF DUP15 0xFC SWAP6 0x27 STOP 0xAE 0xC7 0xC 0xCA XOR SWAP8 0xF9 ORIGIN KECCAK256 0x5F SWAP4 0xBB 0xEE 0x4B 0x4B ORIGIN 0xC6 GT PUSH28 0xDFEF8BFDB264736F6C63430008040033000000000000000000000000 ",
"sourceMap": "1396:474:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1000:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "82:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "99:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "145:5:1"
}
],
"functionName": {
"name": "convert_t_enum$_carColor_$143_to_t_uint8",
"nodeType": "YulIdentifier",
"src": "104:40:1"
},
"nodeType": "YulFunctionCall",
"src": "104:47:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "92:6:1"
},
"nodeType": "YulFunctionCall",
"src": "92:60:1"
},
"nodeType": "YulExpressionStatement",
"src": "92:60:1"
}
]
},
"name": "abi_encode_t_enum$_carColor_$143_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "70:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "77:3:1",
"type": ""
}
],
"src": "7:151:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "272:134:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "282:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "294:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "305:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "290:3:1"
},
"nodeType": "YulFunctionCall",
"src": "290:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "282:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "372:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "385:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "396:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "381:3:1"
},
"nodeType": "YulFunctionCall",
"src": "381:17:1"
}
],
"functionName": {
"name": "abi_encode_t_enum$_carColor_$143_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "318:53:1"
},
"nodeType": "YulFunctionCall",
"src": "318:81:1"
},
"nodeType": "YulExpressionStatement",
"src": "318:81:1"
}
]
},
"name": "abi_encode_tuple_t_enum$_carColor_$143__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "244:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "256:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "267:4:1",
"type": ""
}
],
"src": "164:242:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "469:78:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "479:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "490:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "479:7:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "535:5:1"
}
],
"functionName": {
"name": "validator_assert_t_enum$_carColor_$143",
"nodeType": "YulIdentifier",
"src": "496:38:1"
},
"nodeType": "YulFunctionCall",
"src": "496:45:1"
},
"nodeType": "YulExpressionStatement",
"src": "496:45:1"
}
]
},
"name": "cleanup_t_enum$_carColor_$143",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "451:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "461:7:1",
"type": ""
}
],
"src": "412:135:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "623:65:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "633:49:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "676:5:1"
}
],
"functionName": {
"name": "cleanup_t_enum$_carColor_$143",
"nodeType": "YulIdentifier",
"src": "646:29:1"
},
"nodeType": "YulFunctionCall",
"src": "646:36:1"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "633:9:1"
}
]
}
]
},
"name": "convert_t_enum$_carColor_$143_to_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "603:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "613:9:1",
"type": ""
}
],
"src": "553:135:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "722:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "739:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "742:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "732:6:1"
},
"nodeType": "YulFunctionCall",
"src": "732:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "732:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "836:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "839:4:1",
"type": "",
"value": "0x21"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "829:6:1"
},
"nodeType": "YulFunctionCall",
"src": "829:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "829:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "860:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "863:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "853:6:1"
},
"nodeType": "YulFunctionCall",
"src": "853:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "853:15:1"
}
]
},
"name": "panic_error_0x21",
"nodeType": "YulFunctionDefinition",
"src": "694:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "935:62:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "969:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x21",
"nodeType": "YulIdentifier",
"src": "971:16:1"
},
"nodeType": "YulFunctionCall",
"src": "971:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "971:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "958:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "965:1:1",
"type": "",
"value": "3"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "955:2:1"
},
"nodeType": "YulFunctionCall",
"src": "955:12:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "948:6:1"
},
"nodeType": "YulFunctionCall",
"src": "948:20:1"
},
"nodeType": "YulIf",
"src": "945:2:1"
}
]
},
"name": "validator_assert_t_enum$_carColor_$143",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "928:5:1",
"type": ""
}
],
"src": "880:117:1"
}
]
},
"contents": "{\n\n function abi_encode_t_enum$_carColor_$143_to_t_uint8_fromStack(value, pos) {\n mstore(pos, convert_t_enum$_carColor_$143_to_t_uint8(value))\n }\n\n function abi_encode_tuple_t_enum$_carColor_$143__to_t_uint8__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_enum$_carColor_$143_to_t_uint8_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_enum$_carColor_$143(value) -> cleaned {\n cleaned := value validator_assert_t_enum$_carColor_$143(value)\n }\n\n function convert_t_enum$_carColor_$143_to_t_uint8(value) -> converted {\n converted := cleanup_t_enum$_carColor_$143(value)\n }\n\n function panic_error_0x21() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n\n function validator_assert_t_enum$_carColor_$143(value) {\n if iszero(lt(value, 3)) { panic_error_0x21() }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100415760003560e01c80637558a4ce14610046578063829b444b14610050578063de8133171461005a575b600080fd5b61004e610078565b005b6100586100ca565b005b61006261011d565b60405161006f9190610142565b60405180910390f35b60016000806101000a81548160ff021916908360028111156100c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b6002600060016101000a81548160ff02191690836002811115610116577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b60008060019054906101000a900460ff16905090565b61013c81610170565b82525050565b60006020820190506101576000830184610133565b92915050565b600081905061016b826101b1565b919050565b600061017b8261015d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106101c2576101c1610182565b5b5056fea26469706673582212202ea0df8efc952700aec70cca1897f932205f93bbee4b4b32c6117bdfef8bfdb264736f6c63430008040033",
"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 0x7558A4CE EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x829B444B EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0xDE813317 EQ PUSH2 0x5A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x78 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x58 PUSH2 0xCA JUMP JUMPDEST STOP JUMPDEST PUSH2 0x62 PUSH2 0x11D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6F SWAP2 SWAP1 PUSH2 0x142 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xC3 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST MUL OR SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 PUSH1 0x1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x116 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST MUL OR SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x13C DUP2 PUSH2 0x170 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x157 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x133 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP PUSH2 0x16B DUP3 PUSH2 0x1B1 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x17B DUP3 PUSH2 0x15D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x1C2 JUMPI PUSH2 0x1C1 PUSH2 0x182 JUMP JUMPDEST JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2E LOG0 0xDF DUP15 0xFC SWAP6 0x27 STOP 0xAE 0xC7 0xC 0xCA XOR SWAP8 0xF9 ORIGIN KECCAK256 0x5F SWAP4 0xBB 0xEE 0x4B 0x4B ORIGIN 0xC6 GT PUSH28 0xDFEF8BFDB264736F6C63430008040033000000000000000000000000 ",
"sourceMap": "1396:474:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1544:89;;;:::i;:::-;;1651:90;;;:::i;:::-;;1759:105;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1544:89;1608:14;1592:13;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1544:89::o;1651:90::-;1717:13;1700:14;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1651:90::o;1759:105::-;1808:8;1839:14;;;;;;;;;;;1832:21;;1759:105;:::o;7:151:1:-;104:47;145:5;104:47;:::i;:::-;99:3;92:60;82:76;;:::o;164:242::-;267:4;305:2;294:9;290:18;282:26;;318:81;396:1;385:9;381:17;372:6;318:81;:::i;:::-;272:134;;;;:::o;412:135::-;461:7;490:5;479:16;;496:45;535:5;496:45;:::i;:::-;469:78;;;:::o;553:135::-;613:9;646:36;676:5;646:36;:::i;:::-;633:49;;623:65;;;:::o;694:180::-;742:77;739:1;732:88;839:4;836:1;829:15;863:4;860:1;853:15;880:117;965:1;958:5;955:12;945:2;;971:18;;:::i;:::-;945:2;935:62;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "101400",
"executionCost": "147",
"totalCost": "101547"
},
"external": {
"getVivekCarColor()": "1340",
"setMarkCarColor()": "21009",
"setVivekCarColor()": "21081"
}
},
"methodIdentifiers": {
"getVivekCarColor()": "de813317",
"setMarkCarColor()": "7558a4ce",
"setVivekCarColor()": "829b444b"
}
},
"abi": [
{
"inputs": [],
"name": "getVivekCarColor",
"outputs": [
{
"internalType": "enum enumSample.carColor",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "setMarkCarColor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "setVivekCarColor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "getVivekCarColor",
"outputs": [
{
"internalType": "enum enumSample.carColor",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "setMarkCarColor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "setVivekCarColor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "enumSample"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212204c8753a39288c9b23db78733326011543f99646508e4036437d858fe31cb6bd064736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3F DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x4C DUP8 MSTORE8 LOG3 SWAP3 DUP9 0xC9 0xB2 RETURNDATASIZE 0xB7 DUP8 CALLER ORIGIN PUSH1 0x11 SLOAD EXTCODEHASH SWAP10 PUSH5 0x6508E40364 CALLDATACOPY 0xD8 PC INVALID BALANCE 0xCB PUSH12 0xD064736F6C63430008040033 ",
"sourceMap": "24:28:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600080fdfea26469706673582212204c8753a39288c9b23db78733326011543f99646508e4036437d858fe31cb6bd064736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x4C DUP8 MSTORE8 LOG3 SWAP3 DUP9 0xC9 0xB2 RETURNDATASIZE 0xB7 DUP8 CALLER ORIGIN PUSH1 0x11 SLOAD EXTCODEHASH SWAP10 PUSH5 0x6508E40364 CALLDATACOPY 0xD8 PC INVALID BALANCE 0xCB PUSH12 0xD064736F6C63430008040033 ",
"sourceMap": "24:28:0:-:0;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "12600",
"executionCost": "66",
"totalCost": "12666"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "HelloWorld"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x08cc765189e097829164b084fb33289bece2d8cb459e529b4b6fa66326c47323",
"urls": [
"bzz-raw://be92ea532727bb69f43704c2c8a393fb6e4980c5469b309b5444e731d24663dd",
"dweb:/ipfs/QmXXBgps4y6MHYXJa4MX1tm9jo6QU1MCoQVm9iC2ui3sic"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5061052b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806366abf6891461003b578063a416b32314610057575b600080fd5b6100556004803603810190610050919061029f565b610087565b005b610071600480360381019061006c9190610276565b6100b2565b60405161007e919061032c565b60405180910390f35b8060008084815260200190815260200160002090805190602001906100ad929190610156565b505050565b606060008083815260200190815260200160002080546100d19061040c565b80601f01602080910402602001604051908101604052809291908181526020018280546100fd9061040c565b801561014a5780601f1061011f5761010080835404028352916020019161014a565b820191906000526020600020905b81548152906001019060200180831161012d57829003601f168201915b50505050509050919050565b8280546101629061040c565b90600052602060002090601f01602090048101928261018457600085556101cb565b82601f1061019d57805160ff19168380011785556101cb565b828001600101855582156101cb579182015b828111156101ca5782518255916020019190600101906101af565b5b5090506101d891906101dc565b5090565b5b808211156101f55760008160009055506001016101dd565b5090565b600061020c61020784610373565b61034e565b90508281526020810184848401111561022457600080fd5b61022f8482856103ca565b509392505050565b600082601f83011261024857600080fd5b81356102588482602086016101f9565b91505092915050565b600081359050610270816104de565b92915050565b60006020828403121561028857600080fd5b600061029684828501610261565b91505092915050565b600080604083850312156102b257600080fd5b60006102c085828601610261565b925050602083013567ffffffffffffffff8111156102dd57600080fd5b6102e985828601610237565b9150509250929050565b60006102fe826103a4565b61030881856103af565b93506103188185602086016103d9565b610321816104cd565b840191505092915050565b6000602082019050818103600083015261034681846102f3565b905092915050565b6000610358610369565b9050610364828261043e565b919050565b6000604051905090565b600067ffffffffffffffff82111561038e5761038d61049e565b5b610397826104cd565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b82818337600083830152505050565b60005b838110156103f75780820151818401526020810190506103dc565b83811115610406576000848401525b50505050565b6000600282049050600182168061042457607f821691505b602082108114156104385761043761046f565b5b50919050565b610447826104cd565b810181811067ffffffffffffffff821117156104665761046561049e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6104e7816103c0565b81146104f257600080fd5b5056fea2646970667358221220be0aa5c8c2fa2b0ac54d50558bb2051c695b1d20d2bcd25ffd8fabf8ab7ded5764736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x52B DUP1 PUSH2 0x20 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 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x66ABF689 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xA416B323 EQ PUSH2 0x57 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x55 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x29F JUMP JUMPDEST PUSH2 0x87 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x71 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6C SWAP2 SWAP1 PUSH2 0x276 JUMP JUMPDEST PUSH2 0xB2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7E SWAP2 SWAP1 PUSH2 0x32C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xAD SWAP3 SWAP2 SWAP1 PUSH2 0x156 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP1 SLOAD PUSH2 0xD1 SWAP1 PUSH2 0x40C 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 0xFD SWAP1 PUSH2 0x40C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x14A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x11F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x14A 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 0x12D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x162 SWAP1 PUSH2 0x40C JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x184 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1CB JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x19D JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1CB JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1CB JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1CA JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1AF JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1D8 SWAP2 SWAP1 PUSH2 0x1DC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1F5 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1DD JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x20C PUSH2 0x207 DUP5 PUSH2 0x373 JUMP JUMPDEST PUSH2 0x34E JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x224 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x22F DUP5 DUP3 DUP6 PUSH2 0x3CA JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x248 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x258 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x270 DUP2 PUSH2 0x4DE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x288 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x296 DUP5 DUP3 DUP6 ADD PUSH2 0x261 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2C0 DUP6 DUP3 DUP7 ADD PUSH2 0x261 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2E9 DUP6 DUP3 DUP7 ADD PUSH2 0x237 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2FE DUP3 PUSH2 0x3A4 JUMP JUMPDEST PUSH2 0x308 DUP2 DUP6 PUSH2 0x3AF JUMP JUMPDEST SWAP4 POP PUSH2 0x318 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x3D9 JUMP JUMPDEST PUSH2 0x321 DUP2 PUSH2 0x4CD 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 0x346 DUP2 DUP5 PUSH2 0x2F3 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x358 PUSH2 0x369 JUMP JUMPDEST SWAP1 POP PUSH2 0x364 DUP3 DUP3 PUSH2 0x43E 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 0x38E JUMPI PUSH2 0x38D PUSH2 0x49E JUMP JUMPDEST JUMPDEST PUSH2 0x397 DUP3 PUSH2 0x4CD 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 0x3F7 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x3DC JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x406 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 0x424 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x438 JUMPI PUSH2 0x437 PUSH2 0x46F JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x447 DUP3 PUSH2 0x4CD JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x466 JUMPI PUSH2 0x465 PUSH2 0x49E 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4E7 DUP2 PUSH2 0x3C0 JUMP JUMPDEST DUP2 EQ PUSH2 0x4F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE EXP 0xA5 0xC8 0xC2 STATICCALL 0x2B EXP 0xC5 0x4D POP SSTORE DUP12 0xB2 SDIV SHR PUSH10 0x5B1D20D2BCD25FFD8FAB 0xF8 0xAB PUSH30 0xED5764736F6C634300080400330000000000000000000000000000000000 ",
"sourceMap": "3271:404:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:4863:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261: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:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:1"
},
"nodeType": "YulFunctionCall",
"src": "282:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:12: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:2:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:1"
},
"nodeType": "YulFunctionCall",
"src": "305:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "305: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:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "434:211:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "483:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "492:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "495:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "485:6:1"
},
"nodeType": "YulFunctionCall",
"src": "485:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "485:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "462:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "470:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:1"
},
"nodeType": "YulFunctionCall",
"src": "458:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "477:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "454:3:1"
},
"nodeType": "YulFunctionCall",
"src": "454:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "447:6:1"
},
"nodeType": "YulFunctionCall",
"src": "447:35:1"
},
"nodeType": "YulIf",
"src": "444:2:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "508:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "535:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "522:12:1"
},
"nodeType": "YulFunctionCall",
"src": "522:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "512:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "551:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "612:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "620:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "608:3:1"
},
"nodeType": "YulFunctionCall",
"src": "608:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "627:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "635:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "560:47:1"
},
"nodeType": "YulFunctionCall",
"src": "560:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "551:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "412:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "420:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "428:5:1",
"type": ""
}
],
"src": "372:273:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "703:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "713:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "735:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "722:12:1"
},
"nodeType": "YulFunctionCall",
"src": "722:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "713:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "778:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "751:26:1"
},
"nodeType": "YulFunctionCall",
"src": "751:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "751:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "681:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "689:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "697:5:1",
"type": ""
}
],
"src": "651:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "862:196:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "908:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "917:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "920:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "910:6:1"
},
"nodeType": "YulFunctionCall",
"src": "910:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "910:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "883:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "892:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "879:3:1"
},
"nodeType": "YulFunctionCall",
"src": "879:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "904:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "875:3:1"
},
"nodeType": "YulFunctionCall",
"src": "875:32:1"
},
"nodeType": "YulIf",
"src": "872:2:1"
},
{
"nodeType": "YulBlock",
"src": "934:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "949:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "963:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "953:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "978:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1013:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1024:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1009:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1009:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1033:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "988:20:1"
},
"nodeType": "YulFunctionCall",
"src": "988:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "978:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "832:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "843:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "855:6:1",
"type": ""
}
],
"src": "796:262:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1157:427:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1203:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1212:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1215:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1205:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1205:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1178:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1187:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1174:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1174:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1199:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1170:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1170:32:1"
},
"nodeType": "YulIf",
"src": "1167:2:1"
},
{
"nodeType": "YulBlock",
"src": "1229:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1244:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1258:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1248:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1273:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1308:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1319:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1304:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1304:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1328:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1283:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1283:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1273:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1356:221:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1371:46:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1402:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1413:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1398:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1398:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1385:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1385:32:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1375:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1464:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1473:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1476:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1466:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1466:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1466:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1436:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1444:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1433:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1433:30:1"
},
"nodeType": "YulIf",
"src": "1430:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1494:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1539:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1550:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1535:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1535:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1559:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1504:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1504:63:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1494:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1119:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1130:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1142:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1150:6:1",
"type": ""
}
],
"src": "1064:520:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1682:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1692:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1739:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1706:32:1"
},
"nodeType": "YulFunctionCall",
"src": "1706:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1696:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1754:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1820:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1825:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1761:58:1"
},
"nodeType": "YulFunctionCall",
"src": "1761:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1754:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1867:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1874:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1863:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1863:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1881:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1886:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "1841:21:1"
},
"nodeType": "YulFunctionCall",
"src": "1841:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "1841:52:1"
},
{
"nodeType": "YulAssignment",
"src": "1902:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1913:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1940:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "1918:21:1"
},
"nodeType": "YulFunctionCall",
"src": "1918:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1909:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1909:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1902:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1663:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1670:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1678:3:1",
"type": ""
}
],
"src": "1590:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2078:195:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2088:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2100:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2111:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2096:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2096:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2088:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2135:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2146:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2131:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2131:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2154:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2160:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2150:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2150:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2124:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2124:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "2124:47:1"
},
{
"nodeType": "YulAssignment",
"src": "2180:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2252:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2261:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2188:63:1"
},
"nodeType": "YulFunctionCall",
"src": "2188:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2180: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": "2050:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2062:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2073:4:1",
"type": ""
}
],
"src": "1960:313:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2320:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2330:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "2340:18:1"
},
"nodeType": "YulFunctionCall",
"src": "2340:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2330:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2389:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2397:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "2369:19:1"
},
"nodeType": "YulFunctionCall",
"src": "2369:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "2369:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2304:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2313:6:1",
"type": ""
}
],
"src": "2279:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2454:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2464:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2480:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2474:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2474:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2464:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2447:6:1",
"type": ""
}
],
"src": "2414:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2562:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2667:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2669:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2669:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2669:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2639:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2647:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2636:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2636:30:1"
},
"nodeType": "YulIf",
"src": "2633:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2699:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2729:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2707:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2707:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2699:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2773:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2785:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2791:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2781:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2781:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2773:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2546:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2557:4:1",
"type": ""
}
],
"src": "2495:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2868:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2879:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2895:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2889:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2889:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2879:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2851:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2861:6:1",
"type": ""
}
],
"src": "2809:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3010:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3027:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3032:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3020:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3020:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "3020:19:1"
},
{
"nodeType": "YulAssignment",
"src": "3048:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3067:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3072:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3063:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "3048:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2982:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2987:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2998:11:1",
"type": ""
}
],
"src": "2914:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3134:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3144:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3155:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3144:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3116:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3126:7:1",
"type": ""
}
],
"src": "3089:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3223:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3246:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3251:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3256:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "3233:12:1"
},
"nodeType": "YulFunctionCall",
"src": "3233:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "3233:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3304:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3309:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3300:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3300:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3318:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3293:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3293:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "3293:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3205:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3210:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3215:6:1",
"type": ""
}
],
"src": "3172:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3381:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3391:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3400:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "3395:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3460:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3485:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3490:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3481:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3481:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3504:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3509:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3500:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3500:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3494:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3494:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3474:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3474:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "3474:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3421:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3424:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3418:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3418:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "3432:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3434:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3443:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3446:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3439:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3439:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3434:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "3414:3:1",
"statements": []
},
"src": "3410:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3557:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3607:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3612:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3603:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3603:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3621:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3596:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3596:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "3596:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3538:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3541:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3535:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3535:13:1"
},
"nodeType": "YulIf",
"src": "3532:2:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3363:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3368:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3373:6:1",
"type": ""
}
],
"src": "3332:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3696:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3706:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3720:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3726:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "3716:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3716:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3706:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "3737:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3767:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3773:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3763:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3763:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "3741:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3814:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3828:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3842:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3850:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3838:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3838:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3828:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "3794:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3787:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3787:26:1"
},
"nodeType": "YulIf",
"src": "3784:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3917:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "3931:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3931:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3931:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "3881:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3904:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3912:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3901:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3901:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3878:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3878:38:1"
},
"nodeType": "YulIf",
"src": "3875:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "3680:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3689:6:1",
"type": ""
}
],
"src": "3645:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4014:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4024:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4046:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4076:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "4054:21:1"
},
"nodeType": "YulFunctionCall",
"src": "4054:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4042:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4042:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "4028:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4193:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4195:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4195:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4195:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4136:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4148:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4133:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4133:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4172:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4184:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4169:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4169:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "4130:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4130:62:1"
},
"nodeType": "YulIf",
"src": "4127:2:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4231:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4235:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4224:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4224:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "4224:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4000:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4008:4:1",
"type": ""
}
],
"src": "3971:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4286:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4303:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4306:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4296:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4296:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "4296:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4400:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4403:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4393:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4393:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "4393:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4424:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4427:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4417:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4417:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "4417:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "4258:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4472:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4489:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4492:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4482:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4482:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "4482:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4586:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4589:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4579:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4579:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "4579:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4610:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4613:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4603:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4603:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "4603:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "4444:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4678:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4688:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4706:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4713:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4702:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4702:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4722:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4718:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4718:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4698:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4698:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "4688:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4661:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "4671:6:1",
"type": ""
}
],
"src": "4630:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4781:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4838:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4847:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4850:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4840:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4840:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4840:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4804:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4829:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "4811:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4811:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4801:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4801:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4794:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4794:43:1"
},
"nodeType": "YulIf",
"src": "4791:2:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4774:5:1",
"type": ""
}
],
"src": "4738: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(0, 0) }\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(0, 0) }\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_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\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_ptr(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\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(0, 0) }\n\n value1 := 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 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 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": "608060405234801561001057600080fd5b50600436106100365760003560e01c806366abf6891461003b578063a416b32314610057575b600080fd5b6100556004803603810190610050919061029f565b610087565b005b610071600480360381019061006c9190610276565b6100b2565b60405161007e919061032c565b60405180910390f35b8060008084815260200190815260200160002090805190602001906100ad929190610156565b505050565b606060008083815260200190815260200160002080546100d19061040c565b80601f01602080910402602001604051908101604052809291908181526020018280546100fd9061040c565b801561014a5780601f1061011f5761010080835404028352916020019161014a565b820191906000526020600020905b81548152906001019060200180831161012d57829003601f168201915b50505050509050919050565b8280546101629061040c565b90600052602060002090601f01602090048101928261018457600085556101cb565b82601f1061019d57805160ff19168380011785556101cb565b828001600101855582156101cb579182015b828111156101ca5782518255916020019190600101906101af565b5b5090506101d891906101dc565b5090565b5b808211156101f55760008160009055506001016101dd565b5090565b600061020c61020784610373565b61034e565b90508281526020810184848401111561022457600080fd5b61022f8482856103ca565b509392505050565b600082601f83011261024857600080fd5b81356102588482602086016101f9565b91505092915050565b600081359050610270816104de565b92915050565b60006020828403121561028857600080fd5b600061029684828501610261565b91505092915050565b600080604083850312156102b257600080fd5b60006102c085828601610261565b925050602083013567ffffffffffffffff8111156102dd57600080fd5b6102e985828601610237565b9150509250929050565b60006102fe826103a4565b61030881856103af565b93506103188185602086016103d9565b610321816104cd565b840191505092915050565b6000602082019050818103600083015261034681846102f3565b905092915050565b6000610358610369565b9050610364828261043e565b919050565b6000604051905090565b600067ffffffffffffffff82111561038e5761038d61049e565b5b610397826104cd565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b82818337600083830152505050565b60005b838110156103f75780820151818401526020810190506103dc565b83811115610406576000848401525b50505050565b6000600282049050600182168061042457607f821691505b602082108114156104385761043761046f565b5b50919050565b610447826104cd565b810181811067ffffffffffffffff821117156104665761046561049e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6104e7816103c0565b81146104f257600080fd5b5056fea2646970667358221220be0aa5c8c2fa2b0ac54d50558bb2051c695b1d20d2bcd25ffd8fabf8ab7ded5764736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x66ABF689 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xA416B323 EQ PUSH2 0x57 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x55 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x29F JUMP JUMPDEST PUSH2 0x87 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x71 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6C SWAP2 SWAP1 PUSH2 0x276 JUMP JUMPDEST PUSH2 0xB2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7E SWAP2 SWAP1 PUSH2 0x32C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xAD SWAP3 SWAP2 SWAP1 PUSH2 0x156 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP1 SLOAD PUSH2 0xD1 SWAP1 PUSH2 0x40C 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 0xFD SWAP1 PUSH2 0x40C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x14A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x11F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x14A 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 0x12D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x162 SWAP1 PUSH2 0x40C JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x184 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1CB JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x19D JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1CB JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1CB JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1CA JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1AF JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1D8 SWAP2 SWAP1 PUSH2 0x1DC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1F5 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1DD JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x20C PUSH2 0x207 DUP5 PUSH2 0x373 JUMP JUMPDEST PUSH2 0x34E JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x224 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x22F DUP5 DUP3 DUP6 PUSH2 0x3CA JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x248 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x258 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x270 DUP2 PUSH2 0x4DE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x288 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x296 DUP5 DUP3 DUP6 ADD PUSH2 0x261 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2C0 DUP6 DUP3 DUP7 ADD PUSH2 0x261 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2E9 DUP6 DUP3 DUP7 ADD PUSH2 0x237 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2FE DUP3 PUSH2 0x3A4 JUMP JUMPDEST PUSH2 0x308 DUP2 DUP6 PUSH2 0x3AF JUMP JUMPDEST SWAP4 POP PUSH2 0x318 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x3D9 JUMP JUMPDEST PUSH2 0x321 DUP2 PUSH2 0x4CD 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 0x346 DUP2 DUP5 PUSH2 0x2F3 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x358 PUSH2 0x369 JUMP JUMPDEST SWAP1 POP PUSH2 0x364 DUP3 DUP3 PUSH2 0x43E 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 0x38E JUMPI PUSH2 0x38D PUSH2 0x49E JUMP JUMPDEST JUMPDEST PUSH2 0x397 DUP3 PUSH2 0x4CD 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 0x3F7 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x3DC JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x406 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 0x424 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x438 JUMPI PUSH2 0x437 PUSH2 0x46F JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x447 DUP3 PUSH2 0x4CD JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x466 JUMPI PUSH2 0x465 PUSH2 0x49E 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4E7 DUP2 PUSH2 0x3C0 JUMP JUMPDEST DUP2 EQ PUSH2 0x4F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE EXP 0xA5 0xC8 0xC2 STATICCALL 0x2B EXP 0xC5 0x4D POP SSTORE DUP12 0xB2 SDIV SHR PUSH10 0x5B1D20D2BCD25FFD8FAB 0xF8 0xAB PUSH30 0xED5764736F6C634300080400330000000000000000000000000000000000 ",
"sourceMap": "3271:404:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3435:113;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3558;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3435;3531:10;3512:8;:18;3521:8;3512:18;;;;;;;;;;;:29;;;;;;;;;;;;:::i;:::-;;3435:113;;:::o;3558:::-;3615:13;3646:8;:18;3655:8;3646:18;;;;;;;;;;;3639:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3558:113;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345: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:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;372:273::-;428:5;477:3;470:4;462:6;458:17;454:27;444:2;;495:1;492;485:12;444:2;535:6;522:20;560:79;635:3;627:6;620:4;612:6;608:17;560:79;:::i;:::-;551:88;;434:211;;;;;:::o;651:139::-;697:5;735:6;722:20;713:29;;751:33;778:5;751:33;:::i;:::-;703:87;;;;:::o;796:262::-;855:6;904:2;892:9;883:7;879:23;875:32;872:2;;;920:1;917;910:12;872:2;963:1;988:53;1033:7;1024:6;1013:9;1009:22;988:53;:::i;:::-;978:63;;934:117;862:196;;;;:::o;1064:520::-;1142:6;1150;1199:2;1187:9;1178:7;1174:23;1170:32;1167:2;;;1215:1;1212;1205:12;1167:2;1258:1;1283:53;1328:7;1319:6;1308:9;1304:22;1283:53;:::i;:::-;1273:63;;1229:117;1413:2;1402:9;1398:18;1385:32;1444:18;1436:6;1433:30;1430:2;;;1476:1;1473;1466:12;1430:2;1504:63;1559:7;1550:6;1539:9;1535:22;1504:63;:::i;:::-;1494:73;;1356:221;1157:427;;;;;:::o;1590:364::-;1678:3;1706:39;1739:5;1706:39;:::i;:::-;1761:71;1825:6;1820:3;1761:71;:::i;:::-;1754:78;;1841:52;1886:6;1881:3;1874:4;1867:5;1863:16;1841:52;:::i;:::-;1918:29;1940:6;1918:29;:::i;:::-;1913:3;1909:39;1902:46;;1682:272;;;;;:::o;1960:313::-;2073:4;2111:2;2100:9;2096:18;2088:26;;2160:9;2154:4;2150:20;2146:1;2135:9;2131:17;2124:47;2188:78;2261:4;2252:6;2188:78;:::i;:::-;2180:86;;2078:195;;;;:::o;2279:129::-;2313:6;2340:20;;:::i;:::-;2330:30;;2369:33;2397:4;2389:6;2369:33;:::i;:::-;2320:88;;;:::o;2414:75::-;2447:6;2480:2;2474:9;2464:19;;2454:35;:::o;2495:308::-;2557:4;2647:18;2639:6;2636:30;2633:2;;;2669:18;;:::i;:::-;2633:2;2707:29;2729:6;2707:29;:::i;:::-;2699:37;;2791:4;2785;2781:15;2773:23;;2562:241;;;:::o;2809:99::-;2861:6;2895:5;2889:12;2879:22;;2868:40;;;:::o;2914:169::-;2998:11;3032:6;3027:3;3020:19;3072:4;3067:3;3063:14;3048:29;;3010:73;;;;:::o;3089:77::-;3126:7;3155:5;3144:16;;3134:32;;;:::o;3172:154::-;3256:6;3251:3;3246;3233:30;3318:1;3309:6;3304:3;3300:16;3293:27;3223:103;;;:::o;3332:307::-;3400:1;3410:113;3424:6;3421:1;3418:13;3410:113;;;3509:1;3504:3;3500:11;3494:18;3490:1;3485:3;3481:11;3474:39;3446:2;3443:1;3439:10;3434:15;;3410:113;;;3541:6;3538:1;3535:13;3532:2;;;3621:1;3612:6;3607:3;3603:16;3596:27;3532:2;3381:258;;;;:::o;3645:320::-;3689:6;3726:1;3720:4;3716:12;3706:22;;3773:1;3767:4;3763:12;3794:18;3784:2;;3850:4;3842:6;3838:17;3828:27;;3784:2;3912;3904:6;3901:14;3881:18;3878:38;3875:2;;;3931:18;;:::i;:::-;3875:2;3696:269;;;;:::o;3971:281::-;4054:27;4076:4;4054:27;:::i;:::-;4046:6;4042:40;4184:6;4172:10;4169:22;4148:18;4136:10;4133:34;4130:62;4127:2;;;4195:18;;:::i;:::-;4127:2;4235:10;4231:2;4224:22;4014:238;;;:::o;4258:180::-;4306:77;4303:1;4296:88;4403:4;4400:1;4393:15;4427:4;4424:1;4417:15;4444:180;4492:77;4489:1;4482:88;4589:4;4586:1;4579:15;4613:4;4610:1;4603:15;4630:102;4671:6;4722:2;4718:7;4713:2;4706:5;4702:14;4698:28;4688:38;;4678:54;;;:::o;4738:122::-;4811:24;4829:5;4811:24;:::i;:::-;4804:5;4801:35;4791:2;;4850:1;4847;4840:12;4791:2;4781:79;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "264600",
"executionCost": "306",
"totalCost": "264906"
},
"external": {
"addChild(uint256,string)": "infinite",
"getChildByNo(uint256)": "infinite"
}
},
"methodIdentifiers": {
"addChild(uint256,string)": "66abf689",
"getChildByNo(uint256)": "a416b323"
}
},
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_childNo",
"type": "uint256"
},
{
"internalType": "string",
"name": "_childName",
"type": "string"
}
],
"name": "addChild",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_childNo",
"type": "uint256"
}
],
"name": "getChildByNo",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_childNo",
"type": "uint256"
},
{
"internalType": "string",
"name": "_childName",
"type": "string"
}
],
"name": "addChild",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_childNo",
"type": "uint256"
}
],
"name": "getChildByNo",
"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/class2/soliditylearning.sol": "mappingContract"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610477806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80631b86d170146100465780633e8a80091461006257806357e2c79d1461007e575b600080fd5b610060600480360381019061005b9190610269565b61009a565b005b61007c60048036038101906100779190610228565b6100d0565b005b610098600480360381019061009391906102bd565b6100ea565b005b81600090805190602001906100b0929190610108565b5080600160006101000a81548160ff021916908360ff1602179055505050565b80600090805190602001906100e6929190610108565b5050565b80600160006101000a81548160ff021916908360ff16021790555050565b82805461011490610358565b90600052602060002090601f016020900481019282610136576000855561017d565b82601f1061014f57805160ff191683800117855561017d565b8280016001018555821561017d579182015b8281111561017c578251825591602001919060010190610161565b5b50905061018a919061018e565b5090565b5b808211156101a757600081600090555060010161018f565b5090565b60006101be6101b98461030b565b6102e6565b9050828152602081018484840111156101d657600080fd5b6101e1848285610349565b509392505050565b600082601f8301126101fa57600080fd5b813561020a8482602086016101ab565b91505092915050565b6000813590506102228161042a565b92915050565b60006020828403121561023a57600080fd5b600082013567ffffffffffffffff81111561025457600080fd5b610260848285016101e9565b91505092915050565b6000806040838503121561027c57600080fd5b600083013567ffffffffffffffff81111561029657600080fd5b6102a2858286016101e9565b92505060206102b385828601610213565b9150509250929050565b6000602082840312156102cf57600080fd5b60006102dd84828501610213565b91505092915050565b60006102f0610301565b90506102fc828261038a565b919050565b6000604051905090565b600067ffffffffffffffff821115610326576103256103ea565b5b61032f82610419565b9050602081019050919050565b600060ff82169050919050565b82818337600083830152505050565b6000600282049050600182168061037057607f821691505b60208210811415610384576103836103bb565b5b50919050565b61039382610419565b810181811067ffffffffffffffff821117156103b2576103b16103ea565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6104338161033c565b811461043e57600080fd5b5056fea264697066735822122020314e10f2a0cd693d855aed656d11692671069a752bea5ca77dd923ca0001e664736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x477 DUP1 PUSH2 0x20 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 0x1B86D170 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3E8A8009 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x57E2C79D EQ PUSH2 0x7E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x269 JUMP JUMPDEST PUSH2 0x9A JUMP JUMPDEST STOP JUMPDEST PUSH2 0x7C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x77 SWAP2 SWAP1 PUSH2 0x228 JUMP JUMPDEST PUSH2 0xD0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x98 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x93 SWAP2 SWAP1 PUSH2 0x2BD JUMP JUMPDEST PUSH2 0xEA JUMP JUMPDEST STOP JUMPDEST DUP2 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xB0 SWAP3 SWAP2 SWAP1 PUSH2 0x108 JUMP JUMPDEST POP DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xE6 SWAP3 SWAP2 SWAP1 PUSH2 0x108 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x114 SWAP1 PUSH2 0x358 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x136 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x17D JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x14F JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x17D JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x17D JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x17C JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x161 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x18A SWAP2 SWAP1 PUSH2 0x18E JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1A7 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x18F JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1BE PUSH2 0x1B9 DUP5 PUSH2 0x30B JUMP JUMPDEST PUSH2 0x2E6 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x1D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1E1 DUP5 DUP3 DUP6 PUSH2 0x349 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x1FA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x20A DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1AB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x222 DUP2 PUSH2 0x42A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x23A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x254 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x260 DUP5 DUP3 DUP6 ADD PUSH2 0x1E9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x27C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x296 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2A2 DUP6 DUP3 DUP7 ADD PUSH2 0x1E9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x2B3 DUP6 DUP3 DUP7 ADD PUSH2 0x213 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2DD DUP5 DUP3 DUP6 ADD PUSH2 0x213 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2F0 PUSH2 0x301 JUMP JUMPDEST SWAP1 POP PUSH2 0x2FC DUP3 DUP3 PUSH2 0x38A 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 0x326 JUMPI PUSH2 0x325 PUSH2 0x3EA JUMP JUMPDEST JUMPDEST PUSH2 0x32F DUP3 PUSH2 0x419 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x370 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x384 JUMPI PUSH2 0x383 PUSH2 0x3BB JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x393 DUP3 PUSH2 0x419 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x3B2 JUMPI PUSH2 0x3B1 PUSH2 0x3EA 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x433 DUP2 PUSH2 0x33C JUMP JUMPDEST DUP2 EQ PUSH2 0x43E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 KECCAK256 BALANCE 0x4E LT CALLCODE LOG0 0xCD PUSH10 0x3D855AED656D11692671 MOD SWAP11 PUSH22 0x2BEA5CA77DD923CA0001E664736F6C63430008040033 ",
"sourceMap": "4200:352:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3955:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261: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:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:1"
},
"nodeType": "YulFunctionCall",
"src": "282:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:12: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:2:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:1"
},
"nodeType": "YulFunctionCall",
"src": "305:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "305: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:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "434:211:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "483:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "492:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "495:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "485:6:1"
},
"nodeType": "YulFunctionCall",
"src": "485:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "485:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "462:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "470:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:1"
},
"nodeType": "YulFunctionCall",
"src": "458:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "477:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "454:3:1"
},
"nodeType": "YulFunctionCall",
"src": "454:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "447:6:1"
},
"nodeType": "YulFunctionCall",
"src": "447:35:1"
},
"nodeType": "YulIf",
"src": "444:2:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "508:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "535:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "522:12:1"
},
"nodeType": "YulFunctionCall",
"src": "522:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "512:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "551:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "612:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "620:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "608:3:1"
},
"nodeType": "YulFunctionCall",
"src": "608:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "627:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "635:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "560:47:1"
},
"nodeType": "YulFunctionCall",
"src": "560:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "551:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "412:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "420:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "428:5:1",
"type": ""
}
],
"src": "372:273:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "701:85:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "711:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "733:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "720:12:1"
},
"nodeType": "YulFunctionCall",
"src": "720:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "711:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "774:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint8",
"nodeType": "YulIdentifier",
"src": "749:24:1"
},
"nodeType": "YulFunctionCall",
"src": "749:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "749:31:1"
}
]
},
"name": "abi_decode_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "679:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "687:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "695:5:1",
"type": ""
}
],
"src": "651:135:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "868:299:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "914:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "923:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "926:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "916:6:1"
},
"nodeType": "YulFunctionCall",
"src": "916:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "916:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "889:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "898:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "885:3:1"
},
"nodeType": "YulFunctionCall",
"src": "885:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "910:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "881:3:1"
},
"nodeType": "YulFunctionCall",
"src": "881:32:1"
},
"nodeType": "YulIf",
"src": "878:2:1"
},
{
"nodeType": "YulBlock",
"src": "940:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "955:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "986:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "997:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "982:3:1"
},
"nodeType": "YulFunctionCall",
"src": "982:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "969:12:1"
},
"nodeType": "YulFunctionCall",
"src": "969:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "959:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1047:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1056:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1059:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1049:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1049:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1049:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1019:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1027:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1016:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1016:30:1"
},
"nodeType": "YulIf",
"src": "1013:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1077:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1122:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1133:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1118:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1118:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1142:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1087:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1087:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1077:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "838:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "849:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "861:6:1",
"type": ""
}
],
"src": "792:375:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1264:425:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1310:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1319:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1322:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1312:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1312:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1312:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1285:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1294:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1281:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1281:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1306:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1277:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1277:32:1"
},
"nodeType": "YulIf",
"src": "1274:2:1"
},
{
"nodeType": "YulBlock",
"src": "1336:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1351:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1382:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1393:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1378:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1378:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1365:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1365:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1355:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1443:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1452:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1455:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1445:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1445:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1415:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1423:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1412:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1412:30:1"
},
"nodeType": "YulIf",
"src": "1409:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1473:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1518:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1529:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1514:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1514:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1538:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1483:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1483:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1473:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1566:116:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1581:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1595:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1585:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1611:61:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1644:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1655:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1640:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1640:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1664:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint8",
"nodeType": "YulIdentifier",
"src": "1621:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1621:51:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1611:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1226:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1237:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1249:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1257:6:1",
"type": ""
}
],
"src": "1173:516:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1759:194:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1805:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1814:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1817:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1807:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1807:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1807:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1780:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1789:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1776:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1776:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1801:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1772:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1772:32:1"
},
"nodeType": "YulIf",
"src": "1769:2:1"
},
{
"nodeType": "YulBlock",
"src": "1831:115:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1846:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1860:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1850:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1875:61:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1908:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1919:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1904:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1904:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1928:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint8",
"nodeType": "YulIdentifier",
"src": "1885:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1885:51:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1875:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1729:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1740:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1752:6:1",
"type": ""
}
],
"src": "1695:258:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2000:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2010:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "2020:18:1"
},
"nodeType": "YulFunctionCall",
"src": "2020:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2010:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2069:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2077:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "2049:19:1"
},
"nodeType": "YulFunctionCall",
"src": "2049:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "2049:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1984:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1993:6:1",
"type": ""
}
],
"src": "1959:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2134:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2144:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2160:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2154:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2154:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2144:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2127:6:1",
"type": ""
}
],
"src": "2094:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2242:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2347:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2349:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2349:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2349:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2319:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2327:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2316:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2316:30:1"
},
"nodeType": "YulIf",
"src": "2313:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2379:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2409:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2387:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2387:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2379:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2453:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2465:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2471:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2461:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2461:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2453:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2226:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2237:4:1",
"type": ""
}
],
"src": "2175:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2532:43:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2542:27:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2557:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2564:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2553:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2553:16:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2542:7:1"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2514:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2524:7:1",
"type": ""
}
],
"src": "2489:86:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2632:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2655:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2660:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2665:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "2642:12:1"
},
"nodeType": "YulFunctionCall",
"src": "2642:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "2642:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2713:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2718:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2709:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2709:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2727:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2702:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2702:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "2702:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2614:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2619:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2624:6:1",
"type": ""
}
],
"src": "2581:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2792:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2802:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2816:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2822:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2812:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2812:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2802:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2833:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2863:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2869:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2859:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2859:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2837:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2910:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2924:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2938:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2946:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2934:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2934:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2924:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2890:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2883:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2883:26:1"
},
"nodeType": "YulIf",
"src": "2880:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3013:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "3027:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3027:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3027:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2977:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3000:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3008:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2997:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2997:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2974:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2974:38:1"
},
"nodeType": "YulIf",
"src": "2971:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2776:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2785:6:1",
"type": ""
}
],
"src": "2741:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3110:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3120:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3142:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3172:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3150:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3150:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3138:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3138:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "3124:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3289:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3291:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3291:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3291:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3232:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3244:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3229:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3229:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3268:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3280:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3265:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3265:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "3226:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3226:62:1"
},
"nodeType": "YulIf",
"src": "3223:2:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3327:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3331:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3320:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3320:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "3320:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3096:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3104:4:1",
"type": ""
}
],
"src": "3067:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3382:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3399:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3402:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3392:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3392:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3392:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3496:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3499:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3489:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3489:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3489:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3520:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3523:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3513:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3513:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3513:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "3354:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3568:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3585:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3588:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3578:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3578:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3578:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3682:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3685:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3675:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3675:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3675:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3706:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3709:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3699:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3699:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3699:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "3540:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3774:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3784:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3802:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3809:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3798:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3798:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3818:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3814:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3814:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3794:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3794:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "3784:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3757:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "3767:6:1",
"type": ""
}
],
"src": "3726:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3875:77:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3930:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3939:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3942:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3932:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3932:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3932:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3898:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3921:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "3905:15:1"
},
"nodeType": "YulFunctionCall",
"src": "3905:22:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3895:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3895:33:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3888:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3888:41:1"
},
"nodeType": "YulIf",
"src": "3885:2:1"
}
]
},
"name": "validator_revert_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3868:5:1",
"type": ""
}
],
"src": "3834:118: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(0, 0) }\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(0, 0) }\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_uint8(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint8(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint8(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\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_uint8(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint8(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint8(add(headStart, offset), dataEnd)\n }\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 cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\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 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 round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint8(value) {\n if iszero(eq(value, cleanup_t_uint8(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100415760003560e01c80631b86d170146100465780633e8a80091461006257806357e2c79d1461007e575b600080fd5b610060600480360381019061005b9190610269565b61009a565b005b61007c60048036038101906100779190610228565b6100d0565b005b610098600480360381019061009391906102bd565b6100ea565b005b81600090805190602001906100b0929190610108565b5080600160006101000a81548160ff021916908360ff1602179055505050565b80600090805190602001906100e6929190610108565b5050565b80600160006101000a81548160ff021916908360ff16021790555050565b82805461011490610358565b90600052602060002090601f016020900481019282610136576000855561017d565b82601f1061014f57805160ff191683800117855561017d565b8280016001018555821561017d579182015b8281111561017c578251825591602001919060010190610161565b5b50905061018a919061018e565b5090565b5b808211156101a757600081600090555060010161018f565b5090565b60006101be6101b98461030b565b6102e6565b9050828152602081018484840111156101d657600080fd5b6101e1848285610349565b509392505050565b600082601f8301126101fa57600080fd5b813561020a8482602086016101ab565b91505092915050565b6000813590506102228161042a565b92915050565b60006020828403121561023a57600080fd5b600082013567ffffffffffffffff81111561025457600080fd5b610260848285016101e9565b91505092915050565b6000806040838503121561027c57600080fd5b600083013567ffffffffffffffff81111561029657600080fd5b6102a2858286016101e9565b92505060206102b385828601610213565b9150509250929050565b6000602082840312156102cf57600080fd5b60006102dd84828501610213565b91505092915050565b60006102f0610301565b90506102fc828261038a565b919050565b6000604051905090565b600067ffffffffffffffff821115610326576103256103ea565b5b61032f82610419565b9050602081019050919050565b600060ff82169050919050565b82818337600083830152505050565b6000600282049050600182168061037057607f821691505b60208210811415610384576103836103bb565b5b50919050565b61039382610419565b810181811067ffffffffffffffff821117156103b2576103b16103ea565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6104338161033c565b811461043e57600080fd5b5056fea264697066735822122020314e10f2a0cd693d855aed656d11692671069a752bea5ca77dd923ca0001e664736f6c63430008040033",
"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 0x1B86D170 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3E8A8009 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x57E2C79D EQ PUSH2 0x7E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x269 JUMP JUMPDEST PUSH2 0x9A JUMP JUMPDEST STOP JUMPDEST PUSH2 0x7C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x77 SWAP2 SWAP1 PUSH2 0x228 JUMP JUMPDEST PUSH2 0xD0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x98 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x93 SWAP2 SWAP1 PUSH2 0x2BD JUMP JUMPDEST PUSH2 0xEA JUMP JUMPDEST STOP JUMPDEST DUP2 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xB0 SWAP3 SWAP2 SWAP1 PUSH2 0x108 JUMP JUMPDEST POP DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xE6 SWAP3 SWAP2 SWAP1 PUSH2 0x108 JUMP JUMPDEST POP POP JUMP JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x114 SWAP1 PUSH2 0x358 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x136 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x17D JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x14F JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x17D JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x17D JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x17C JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x161 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x18A SWAP2 SWAP1 PUSH2 0x18E JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1A7 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x18F JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1BE PUSH2 0x1B9 DUP5 PUSH2 0x30B JUMP JUMPDEST PUSH2 0x2E6 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x1D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1E1 DUP5 DUP3 DUP6 PUSH2 0x349 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x1FA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x20A DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1AB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x222 DUP2 PUSH2 0x42A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x23A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x254 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x260 DUP5 DUP3 DUP6 ADD PUSH2 0x1E9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x27C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x296 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2A2 DUP6 DUP3 DUP7 ADD PUSH2 0x1E9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x2B3 DUP6 DUP3 DUP7 ADD PUSH2 0x213 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x2DD DUP5 DUP3 DUP6 ADD PUSH2 0x213 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2F0 PUSH2 0x301 JUMP JUMPDEST SWAP1 POP PUSH2 0x2FC DUP3 DUP3 PUSH2 0x38A 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 0x326 JUMPI PUSH2 0x325 PUSH2 0x3EA JUMP JUMPDEST JUMPDEST PUSH2 0x32F DUP3 PUSH2 0x419 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x370 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x384 JUMPI PUSH2 0x383 PUSH2 0x3BB JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x393 DUP3 PUSH2 0x419 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x3B2 JUMPI PUSH2 0x3B1 PUSH2 0x3EA 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x433 DUP2 PUSH2 0x33C JUMP JUMPDEST DUP2 EQ PUSH2 0x43E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 KECCAK256 BALANCE 0x4E LT CALLCODE LOG0 0xCD PUSH10 0x3D855AED656D11692671 MOD SWAP11 PUSH22 0x2BEA5CA77DD923CA0001E664736F6C63430008040033 ",
"sourceMap": "4200:352:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4275:113;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4398:74;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4482:63;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4275:113;4349:5;4344:4;:10;;;;;;;;;;;;:::i;:::-;;4368:4;4364:3;;:8;;;;;;;;;;;;;;;;;;4275:113;;:::o;4398:74::-;4460:5;4455:4;:10;;;;;;;;;;;;:::i;:::-;;4398:74;:::o;4482:63::-;4534:4;4530:3;;:8;;;;;;;;;;;;;;;;;;4482:63;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345: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:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;372:273::-;428:5;477:3;470:4;462:6;458:17;454:27;444:2;;495:1;492;485:12;444:2;535:6;522:20;560:79;635:3;627:6;620:4;612:6;608:17;560:79;:::i;:::-;551:88;;434:211;;;;;:::o;651:135::-;695:5;733:6;720:20;711:29;;749:31;774:5;749:31;:::i;:::-;701:85;;;;:::o;792:375::-;861:6;910:2;898:9;889:7;885:23;881:32;878:2;;;926:1;923;916:12;878:2;997:1;986:9;982:17;969:31;1027:18;1019:6;1016:30;1013:2;;;1059:1;1056;1049:12;1013:2;1087:63;1142:7;1133:6;1122:9;1118:22;1087:63;:::i;:::-;1077:73;;940:220;868:299;;;;:::o;1173:516::-;1249:6;1257;1306:2;1294:9;1285:7;1281:23;1277:32;1274:2;;;1322:1;1319;1312:12;1274:2;1393:1;1382:9;1378:17;1365:31;1423:18;1415:6;1412:30;1409:2;;;1455:1;1452;1445:12;1409:2;1483:63;1538:7;1529:6;1518:9;1514:22;1483:63;:::i;:::-;1473:73;;1336:220;1595:2;1621:51;1664:7;1655:6;1644:9;1640:22;1621:51;:::i;:::-;1611:61;;1566:116;1264:425;;;;;:::o;1695:258::-;1752:6;1801:2;1789:9;1780:7;1776:23;1772:32;1769:2;;;1817:1;1814;1807:12;1769:2;1860:1;1885:51;1928:7;1919:6;1908:9;1904:22;1885:51;:::i;:::-;1875:61;;1831:115;1759:194;;;;:::o;1959:129::-;1993:6;2020:20;;:::i;:::-;2010:30;;2049:33;2077:4;2069:6;2049:33;:::i;:::-;2000:88;;;:::o;2094:75::-;2127:6;2160:2;2154:9;2144:19;;2134:35;:::o;2175:308::-;2237:4;2327:18;2319:6;2316:30;2313:2;;;2349:18;;:::i;:::-;2313:2;2387:29;2409:6;2387:29;:::i;:::-;2379:37;;2471:4;2465;2461:15;2453:23;;2242:241;;;:::o;2489:86::-;2524:7;2564:4;2557:5;2553:16;2542:27;;2532:43;;;:::o;2581:154::-;2665:6;2660:3;2655;2642:30;2727:1;2718:6;2713:3;2709:16;2702:27;2632:103;;;:::o;2741:320::-;2785:6;2822:1;2816:4;2812:12;2802:22;;2869:1;2863:4;2859:12;2890:18;2880:2;;2946:4;2938:6;2934:17;2924:27;;2880:2;3008;3000:6;2997:14;2977:18;2974:38;2971:2;;;3027:18;;:::i;:::-;2971:2;2792:269;;;;:::o;3067:281::-;3150:27;3172:4;3150:27;:::i;:::-;3142:6;3138:40;3280:6;3268:10;3265:22;3244:18;3232:10;3229:34;3226:62;3223:2;;;3291:18;;:::i;:::-;3223:2;3331:10;3327:2;3320:22;3110:238;;;:::o;3354:180::-;3402:77;3399:1;3392:88;3499:4;3496:1;3489:15;3523:4;3520:1;3513:15;3540:180;3588:77;3585:1;3578:88;3685:4;3682:1;3675:15;3709:4;3706:1;3699:15;3726:102;3767:6;3818:2;3814:7;3809:2;3802:5;3798:14;3794:28;3784:38;;3774:54;;;:::o;3834:118::-;3905:22;3921:5;3905:22;:::i;:::-;3898:5;3895:33;3885:2;;3942:1;3939;3932:12;3885:2;3875:77;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "228600",
"executionCost": "269",
"totalCost": "228869"
},
"external": {
"setDetails(string)": "infinite",
"setDetails(string,uint8)": "infinite",
"setDetails(uint8)": "21301"
}
},
"methodIdentifiers": {
"setDetails(string)": "3e8a8009",
"setDetails(string,uint8)": "1b86d170",
"setDetails(uint8)": "57e2c79d"
}
},
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
}
],
"name": "setDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
}
],
"name": "setDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
}
],
"name": "setDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
}
],
"name": "setDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
}
],
"name": "setDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
}
],
"name": "setDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "overloadingSample"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506105a8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806397b7bd581461003b578063bc65865914610057575b600080fd5b610055600480360381019061005091906102ab565b610077565b005b61005f6100bd565b60405161006e93929190610369565b60405180910390f35b8260008001908051906020019061008f929190610176565b5081600060010160006101000a81548160ff021916908360ff16021790555080600060020181905550505050565b606060008060008001600060010160009054906101000a900460ff166000600201548280546100eb90610472565b80601f016020809104026020016040519081016040528092919081815260200182805461011790610472565b80156101645780601f1061013957610100808354040283529160200191610164565b820191906000526020600020905b81548152906001019060200180831161014757829003601f168201915b50505050509250925092509250909192565b82805461018290610472565b90600052602060002090601f0160209004810192826101a457600085556101eb565b82601f106101bd57805160ff19168380011785556101eb565b828001600101855582156101eb579182015b828111156101ea5782518255916020019190600101906101cf565b5b5090506101f891906101fc565b5090565b5b808211156102155760008160009055506001016101fd565b5090565b600061022c610227846103cc565b6103a7565b90508281526020810184848401111561024457600080fd5b61024f848285610430565b509392505050565b600082601f83011261026857600080fd5b8135610278848260208601610219565b91505092915050565b60008135905061029081610544565b92915050565b6000813590506102a58161055b565b92915050565b6000806000606084860312156102c057600080fd5b600084013567ffffffffffffffff8111156102da57600080fd5b6102e686828701610257565b93505060206102f786828701610296565b925050604061030886828701610281565b9150509250925092565b600061031d826103fd565b6103278185610408565b935061033781856020860161043f565b61034081610533565b840191505092915050565b61035481610419565b82525050565b61036381610423565b82525050565b600060608201905081810360008301526103838186610312565b9050610392602083018561035a565b61039f604083018461034b565b949350505050565b60006103b16103c2565b90506103bd82826104a4565b919050565b6000604051905090565b600067ffffffffffffffff8211156103e7576103e6610504565b5b6103f082610533565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561045d578082015181840152602081019050610442565b8381111561046c576000848401525b50505050565b6000600282049050600182168061048a57607f821691505b6020821081141561049e5761049d6104d5565b5b50919050565b6104ad82610533565b810181811067ffffffffffffffff821117156104cc576104cb610504565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61054d81610419565b811461055857600080fd5b50565b61056481610423565b811461056f57600080fd5b5056fea2646970667358221220345fe1a18e45d6e5b7adb2252460e1d82c99834e5b37637eb44049690b68818564736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x5A8 DUP1 PUSH2 0x20 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 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x97B7BD58 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xBC658659 EQ PUSH2 0x57 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x55 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x2AB JUMP JUMPDEST PUSH2 0x77 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x5F PUSH2 0xBD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6E SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x369 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP3 PUSH1 0x0 DUP1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x8F SWAP3 SWAP2 SWAP1 PUSH2 0x176 JUMP JUMPDEST POP DUP2 PUSH1 0x0 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP DUP1 PUSH1 0x0 PUSH1 0x2 ADD DUP2 SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 ADD PUSH1 0x0 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH1 0x0 PUSH1 0x2 ADD SLOAD DUP3 DUP1 SLOAD PUSH2 0xEB SWAP1 PUSH2 0x472 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 0x117 SWAP1 PUSH2 0x472 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x164 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x139 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x164 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 0x147 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP3 POP SWAP3 POP SWAP3 POP SWAP3 POP SWAP1 SWAP2 SWAP3 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x182 SWAP1 PUSH2 0x472 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1EB JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x1BD JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1EB JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1EB JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1EA JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1CF JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1F8 SWAP2 SWAP1 PUSH2 0x1FC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x215 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1FD JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x22C PUSH2 0x227 DUP5 PUSH2 0x3CC JUMP JUMPDEST PUSH2 0x3A7 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x244 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x24F DUP5 DUP3 DUP6 PUSH2 0x430 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x268 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x278 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x219 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x290 DUP2 PUSH2 0x544 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x2A5 DUP2 PUSH2 0x55B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x2C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2DA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2E6 DUP7 DUP3 DUP8 ADD PUSH2 0x257 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x2F7 DUP7 DUP3 DUP8 ADD PUSH2 0x296 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x308 DUP7 DUP3 DUP8 ADD PUSH2 0x281 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x31D DUP3 PUSH2 0x3FD JUMP JUMPDEST PUSH2 0x327 DUP2 DUP6 PUSH2 0x408 JUMP JUMPDEST SWAP4 POP PUSH2 0x337 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x43F JUMP JUMPDEST PUSH2 0x340 DUP2 PUSH2 0x533 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x354 DUP2 PUSH2 0x419 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x363 DUP2 PUSH2 0x423 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x383 DUP2 DUP7 PUSH2 0x312 JUMP JUMPDEST SWAP1 POP PUSH2 0x392 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x35A JUMP JUMPDEST PUSH2 0x39F PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x34B JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3B1 PUSH2 0x3C2 JUMP JUMPDEST SWAP1 POP PUSH2 0x3BD DUP3 DUP3 PUSH2 0x4A4 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 0x3E7 JUMPI PUSH2 0x3E6 PUSH2 0x504 JUMP JUMPDEST JUMPDEST PUSH2 0x3F0 DUP3 PUSH2 0x533 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 PUSH1 0x0 PUSH1 0xFF DUP3 AND 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 0x45D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x442 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x46C 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 0x48A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x49E JUMPI PUSH2 0x49D PUSH2 0x4D5 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4AD DUP3 PUSH2 0x533 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x4CC JUMPI PUSH2 0x4CB PUSH2 0x504 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x54D DUP2 PUSH2 0x419 JUMP JUMPDEST DUP2 EQ PUSH2 0x558 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x564 DUP2 PUSH2 0x423 JUMP JUMPDEST DUP2 EQ PUSH2 0x56F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLVALUE 0x5F 0xE1 LOG1 DUP15 GASLIMIT 0xD6 0xE5 0xB7 0xAD 0xB2 0x25 0x24 PUSH1 0xE1 0xD8 0x2C SWAP10 DUP4 0x4E JUMPDEST CALLDATACOPY PUSH4 0x7EB44049 PUSH10 0xB68818564736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "1898:606:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:5547:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261: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:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:1"
},
"nodeType": "YulFunctionCall",
"src": "282:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:12: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:2:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:1"
},
"nodeType": "YulFunctionCall",
"src": "305:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "305: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:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "434:211:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "483:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "492:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "495:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "485:6:1"
},
"nodeType": "YulFunctionCall",
"src": "485:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "485:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "462:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "470:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:1"
},
"nodeType": "YulFunctionCall",
"src": "458:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "477:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "454:3:1"
},
"nodeType": "YulFunctionCall",
"src": "454:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "447:6:1"
},
"nodeType": "YulFunctionCall",
"src": "447:35:1"
},
"nodeType": "YulIf",
"src": "444:2:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "508:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "535:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "522:12:1"
},
"nodeType": "YulFunctionCall",
"src": "522:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "512:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "551:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "612:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "620:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "608:3:1"
},
"nodeType": "YulFunctionCall",
"src": "608:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "627:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "635:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "560:47:1"
},
"nodeType": "YulFunctionCall",
"src": "560:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "551:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "412:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "420:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "428:5:1",
"type": ""
}
],
"src": "372:273:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "703:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "713:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "735:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "722:12:1"
},
"nodeType": "YulFunctionCall",
"src": "722:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "713:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "778:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "751:26:1"
},
"nodeType": "YulFunctionCall",
"src": "751:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "751:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "681:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "689:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "697:5:1",
"type": ""
}
],
"src": "651:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "846:85:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "856:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "878:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "865:12:1"
},
"nodeType": "YulFunctionCall",
"src": "865:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "856:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "919:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint8",
"nodeType": "YulIdentifier",
"src": "894:24:1"
},
"nodeType": "YulFunctionCall",
"src": "894:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "894:31:1"
}
]
},
"name": "abi_decode_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "824:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "832:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "840:5:1",
"type": ""
}
],
"src": "796:135:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1045:553:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1091:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1100:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1103:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1093:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1093:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1093:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1066:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1075:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1062:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1062:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1087:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1058:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1058:32:1"
},
"nodeType": "YulIf",
"src": "1055:2:1"
},
{
"nodeType": "YulBlock",
"src": "1117:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1132:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1163:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1174:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1159:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1159:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1146:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1136:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1224:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1233:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1236:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1226:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1226:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1196:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1204:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1193:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1193:30:1"
},
"nodeType": "YulIf",
"src": "1190:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1254:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1299:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1310:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1295:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1295:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1319:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1264:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1264:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1254:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1347:116:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1362:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1376:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1366:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1392:61:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1425:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1436:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1421:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1421:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1445:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint8",
"nodeType": "YulIdentifier",
"src": "1402:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1402:51:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1392:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1473:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1488:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1502:2:1",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1492:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1518:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1553:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1564:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1549:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1549:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1573:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1528:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1528:53:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1518:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint8t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "999:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1010:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1022:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1030:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1038:6:1",
"type": ""
}
],
"src": "937:661:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1696:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1706:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1753:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1720:32:1"
},
"nodeType": "YulFunctionCall",
"src": "1720:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1710:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1768:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1834:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1839:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1775:58:1"
},
"nodeType": "YulFunctionCall",
"src": "1775:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1768:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1881:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1888:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1877:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1877:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1895:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1900:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "1855:21:1"
},
"nodeType": "YulFunctionCall",
"src": "1855:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "1855:52:1"
},
{
"nodeType": "YulAssignment",
"src": "1916:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1927:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1954:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "1932:21:1"
},
"nodeType": "YulFunctionCall",
"src": "1932:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1923:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1923:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1916:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1677:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1684:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1692:3:1",
"type": ""
}
],
"src": "1604:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2039:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2056:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2079:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2061:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2061:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2049:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2049:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "2049:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2027:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2034:3:1",
"type": ""
}
],
"src": "1974:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2159:51:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2176:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2197:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "2181:15:1"
},
"nodeType": "YulFunctionCall",
"src": "2181:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2169:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2169:35:1"
},
"nodeType": "YulExpressionStatement",
"src": "2169:35:1"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2147:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2154:3:1",
"type": ""
}
],
"src": "2098:112:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2386:355:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2396:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2408:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2419:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2404:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2404:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2396:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2443:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2454:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2439:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2439:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2462:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2468:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2458:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2458:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2432:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2432:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "2432:47:1"
},
{
"nodeType": "YulAssignment",
"src": "2488:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2560:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2569:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2496:63:1"
},
"nodeType": "YulFunctionCall",
"src": "2496:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2488:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2624:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2637:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2648:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2633:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2633:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "2584:39:1"
},
"nodeType": "YulFunctionCall",
"src": "2584:68:1"
},
"nodeType": "YulExpressionStatement",
"src": "2584:68:1"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "2706:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2719:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2730:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2715:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2715:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "2662:43:1"
},
"nodeType": "YulFunctionCall",
"src": "2662:72:1"
},
"nodeType": "YulExpressionStatement",
"src": "2662:72:1"
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr_t_uint8_t_uint256__to_t_string_memory_ptr_t_uint8_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2342:9:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "2354:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2362:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2370:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2381:4:1",
"type": ""
}
],
"src": "2216:525:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2788:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2798:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "2808:18:1"
},
"nodeType": "YulFunctionCall",
"src": "2808:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2798:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2857:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2865:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "2837:19:1"
},
"nodeType": "YulFunctionCall",
"src": "2837:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "2837:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2772:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2781:6:1",
"type": ""
}
],
"src": "2747:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2922:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2932:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2948:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2942:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2942:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2932:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2915:6:1",
"type": ""
}
],
"src": "2882:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3030:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3135:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3137:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3137:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3137:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3107:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3115:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3104:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3104:30:1"
},
"nodeType": "YulIf",
"src": "3101:2:1"
},
{
"nodeType": "YulAssignment",
"src": "3167:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3197:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3175:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3175:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3167:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3241:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3253:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3259:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3249:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3249:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3241:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3014:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3025:4:1",
"type": ""
}
],
"src": "2963:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3336:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3347:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3363:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3357:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3357:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3347:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3319:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3329:6:1",
"type": ""
}
],
"src": "3277:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3478:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3495:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3500:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3488:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3488:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "3488:19:1"
},
{
"nodeType": "YulAssignment",
"src": "3516:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3535:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3540:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3531:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3531:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "3516:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3450:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3455:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "3466:11:1",
"type": ""
}
],
"src": "3382:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3602:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3612:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3623:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3612:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3584:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3594:7:1",
"type": ""
}
],
"src": "3557:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3683:43:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3693:27:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3708:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3715:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3704:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3704:16:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3693:7:1"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3665:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3675:7:1",
"type": ""
}
],
"src": "3640:86:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3783:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3806:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3811:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3816:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "3793:12:1"
},
"nodeType": "YulFunctionCall",
"src": "3793:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "3793:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3864:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3869:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3860:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3878:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3853:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3853:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "3853:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3765:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3770:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3775:6:1",
"type": ""
}
],
"src": "3732:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3941:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3951:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3960:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "3955:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4020:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4045:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4050:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4041:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4041:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4064:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4069:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4060:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4060:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4054:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4054:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4034:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4034:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "4034:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3981:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3984:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3978:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3978:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "3992:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3994:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4003:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4006:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3999:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3999:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3994:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "3974:3:1",
"statements": []
},
"src": "3970:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4117:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4167:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4172:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4163:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4163:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4181:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4156:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4156:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4156:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4098:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4101:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4095:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4095:13:1"
},
"nodeType": "YulIf",
"src": "4092:2:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3923:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3928:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3933:6:1",
"type": ""
}
],
"src": "3892:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4256:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4266:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4280:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4286:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4276:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4276:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4266:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4297:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4327:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4333:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4323:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4323:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "4301:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4374:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4388:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4402:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4410:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4398:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4398:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4388:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4354:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4347:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4347:26:1"
},
"nodeType": "YulIf",
"src": "4344:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4477:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "4491:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4491:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4491:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4441:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4464:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4472:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4461:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4461:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4438:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4438:38:1"
},
"nodeType": "YulIf",
"src": "4435:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "4240:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4249:6:1",
"type": ""
}
],
"src": "4205:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4574:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4584:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4606:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4636:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "4614:21:1"
},
"nodeType": "YulFunctionCall",
"src": "4614:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4602:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4602:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "4588:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4753:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4755:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4755:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4755:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4696:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4708:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4693:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4693:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4732:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4744:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4729:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4729:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "4690:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4690:62:1"
},
"nodeType": "YulIf",
"src": "4687:2:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4791:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4795:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4784:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4784:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "4784:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4560:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4568:4:1",
"type": ""
}
],
"src": "4531:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4846:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4863:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4866:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4856:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4856:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "4856:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4960:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4963:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4953:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4953:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "4953:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4984:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4987:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4977:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4977:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "4977:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "4818:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5032:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5049:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5052:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5042:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5042:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5042:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5146:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5149:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5139:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5139:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5139:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5170:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5173:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5163:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5163:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5163:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "5004:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5238:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5248:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5266:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5273:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5262:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5262:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5282:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "5278:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5278:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5258:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5258:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "5248:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5221:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "5231:6:1",
"type": ""
}
],
"src": "5190:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5341:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5398:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5407:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5410:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5400:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5400:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5400:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5364:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5389:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "5371:17:1"
},
"nodeType": "YulFunctionCall",
"src": "5371:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5361:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5361:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5354:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5354:43:1"
},
"nodeType": "YulIf",
"src": "5351:2:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5334:5:1",
"type": ""
}
],
"src": "5298:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5467:77:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5522:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5531:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5534:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5524:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5524:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5524:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5490:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5513:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "5497:15:1"
},
"nodeType": "YulFunctionCall",
"src": "5497:22:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5487:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5487:33:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5480:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5480:41:1"
},
"nodeType": "YulIf",
"src": "5477:2:1"
}
]
},
"name": "validator_revert_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5460:5:1",
"type": ""
}
],
"src": "5426:118: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(0, 0) }\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(0, 0) }\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_t_uint8(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint8(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint8t_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\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_uint8(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_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_t_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_string_memory_ptr_t_uint8_t_uint256__to_t_string_memory_ptr_t_uint8_t_uint256__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\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 abi_encode_t_uint8_to_t_uint8_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value2, add(headStart, 64))\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 cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\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 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 function validator_revert_t_uint8(value) {\n if iszero(eq(value, cleanup_t_uint8(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100365760003560e01c806397b7bd581461003b578063bc65865914610057575b600080fd5b610055600480360381019061005091906102ab565b610077565b005b61005f6100bd565b60405161006e93929190610369565b60405180910390f35b8260008001908051906020019061008f929190610176565b5081600060010160006101000a81548160ff021916908360ff16021790555080600060020181905550505050565b606060008060008001600060010160009054906101000a900460ff166000600201548280546100eb90610472565b80601f016020809104026020016040519081016040528092919081815260200182805461011790610472565b80156101645780601f1061013957610100808354040283529160200191610164565b820191906000526020600020905b81548152906001019060200180831161014757829003601f168201915b50505050509250925092509250909192565b82805461018290610472565b90600052602060002090601f0160209004810192826101a457600085556101eb565b82601f106101bd57805160ff19168380011785556101eb565b828001600101855582156101eb579182015b828111156101ea5782518255916020019190600101906101cf565b5b5090506101f891906101fc565b5090565b5b808211156102155760008160009055506001016101fd565b5090565b600061022c610227846103cc565b6103a7565b90508281526020810184848401111561024457600080fd5b61024f848285610430565b509392505050565b600082601f83011261026857600080fd5b8135610278848260208601610219565b91505092915050565b60008135905061029081610544565b92915050565b6000813590506102a58161055b565b92915050565b6000806000606084860312156102c057600080fd5b600084013567ffffffffffffffff8111156102da57600080fd5b6102e686828701610257565b93505060206102f786828701610296565b925050604061030886828701610281565b9150509250925092565b600061031d826103fd565b6103278185610408565b935061033781856020860161043f565b61034081610533565b840191505092915050565b61035481610419565b82525050565b61036381610423565b82525050565b600060608201905081810360008301526103838186610312565b9050610392602083018561035a565b61039f604083018461034b565b949350505050565b60006103b16103c2565b90506103bd82826104a4565b919050565b6000604051905090565b600067ffffffffffffffff8211156103e7576103e6610504565b5b6103f082610533565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561045d578082015181840152602081019050610442565b8381111561046c576000848401525b50505050565b6000600282049050600182168061048a57607f821691505b6020821081141561049e5761049d6104d5565b5b50919050565b6104ad82610533565b810181811067ffffffffffffffff821117156104cc576104cb610504565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61054d81610419565b811461055857600080fd5b50565b61056481610423565b811461056f57600080fd5b5056fea2646970667358221220345fe1a18e45d6e5b7adb2252460e1d82c99834e5b37637eb44049690b68818564736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x97B7BD58 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xBC658659 EQ PUSH2 0x57 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x55 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x2AB JUMP JUMPDEST PUSH2 0x77 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x5F PUSH2 0xBD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6E SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x369 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP3 PUSH1 0x0 DUP1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x8F SWAP3 SWAP2 SWAP1 PUSH2 0x176 JUMP JUMPDEST POP DUP2 PUSH1 0x0 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP DUP1 PUSH1 0x0 PUSH1 0x2 ADD DUP2 SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 ADD PUSH1 0x0 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH1 0x0 PUSH1 0x2 ADD SLOAD DUP3 DUP1 SLOAD PUSH2 0xEB SWAP1 PUSH2 0x472 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 0x117 SWAP1 PUSH2 0x472 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x164 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x139 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x164 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 0x147 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP3 POP SWAP3 POP SWAP3 POP SWAP3 POP SWAP1 SWAP2 SWAP3 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x182 SWAP1 PUSH2 0x472 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x1A4 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1EB JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x1BD JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1EB JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1EB JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1EA JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x1CF JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1F8 SWAP2 SWAP1 PUSH2 0x1FC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x215 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1FD JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x22C PUSH2 0x227 DUP5 PUSH2 0x3CC JUMP JUMPDEST PUSH2 0x3A7 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x244 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x24F DUP5 DUP3 DUP6 PUSH2 0x430 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x268 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x278 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x219 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x290 DUP2 PUSH2 0x544 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x2A5 DUP2 PUSH2 0x55B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x2C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2DA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2E6 DUP7 DUP3 DUP8 ADD PUSH2 0x257 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x2F7 DUP7 DUP3 DUP8 ADD PUSH2 0x296 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x308 DUP7 DUP3 DUP8 ADD PUSH2 0x281 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x31D DUP3 PUSH2 0x3FD JUMP JUMPDEST PUSH2 0x327 DUP2 DUP6 PUSH2 0x408 JUMP JUMPDEST SWAP4 POP PUSH2 0x337 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x43F JUMP JUMPDEST PUSH2 0x340 DUP2 PUSH2 0x533 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x354 DUP2 PUSH2 0x419 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x363 DUP2 PUSH2 0x423 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x383 DUP2 DUP7 PUSH2 0x312 JUMP JUMPDEST SWAP1 POP PUSH2 0x392 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x35A JUMP JUMPDEST PUSH2 0x39F PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x34B JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3B1 PUSH2 0x3C2 JUMP JUMPDEST SWAP1 POP PUSH2 0x3BD DUP3 DUP3 PUSH2 0x4A4 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 0x3E7 JUMPI PUSH2 0x3E6 PUSH2 0x504 JUMP JUMPDEST JUMPDEST PUSH2 0x3F0 DUP3 PUSH2 0x533 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 PUSH1 0x0 PUSH1 0xFF DUP3 AND 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 0x45D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x442 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x46C 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 0x48A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x49E JUMPI PUSH2 0x49D PUSH2 0x4D5 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4AD DUP3 PUSH2 0x533 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x4CC JUMPI PUSH2 0x4CB PUSH2 0x504 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x54D DUP2 PUSH2 0x419 JUMP JUMPDEST DUP2 EQ PUSH2 0x558 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x564 DUP2 PUSH2 0x423 JUMP JUMPDEST DUP2 EQ PUSH2 0x56F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLVALUE 0x5F 0xE1 LOG1 DUP15 GASLIMIT 0xD6 0xE5 0xB7 0xAD 0xB2 0x25 0x24 PUSH1 0xE1 0xD8 0x2C SWAP10 DUP4 0x4E JUMPDEST CALLDATACOPY PUSH4 0x7EB44049 PUSH10 0xB68818564736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "1898:606:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2088:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2326:172;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;2088:220;2206:5;2185:13;:18;;:26;;;;;;;;;;;;:::i;:::-;;2246:4;2226:13;:17;;;:24;;;;;;;;;;;;;;;;;;2289:8;2265:13;:21;;:32;;;;2088:220;;;:::o;2326:172::-;2376:13;2391:5;2398:4;2426:13;:18;;2446:13;:17;;;;;;;;;;;;2465:13;:21;;;2418:69;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2326:172;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345: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:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;372:273::-;428:5;477:3;470:4;462:6;458:17;454:27;444:2;;495:1;492;485:12;444:2;535:6;522:20;560:79;635:3;627:6;620:4;612:6;608:17;560:79;:::i;:::-;551:88;;434:211;;;;;:::o;651:139::-;697:5;735:6;722:20;713:29;;751:33;778:5;751:33;:::i;:::-;703:87;;;;:::o;796:135::-;840:5;878:6;865:20;856:29;;894:31;919:5;894:31;:::i;:::-;846:85;;;;:::o;937:661::-;1022:6;1030;1038;1087:2;1075:9;1066:7;1062:23;1058:32;1055:2;;;1103:1;1100;1093:12;1055:2;1174:1;1163:9;1159:17;1146:31;1204:18;1196:6;1193:30;1190:2;;;1236:1;1233;1226:12;1190:2;1264:63;1319:7;1310:6;1299:9;1295:22;1264:63;:::i;:::-;1254:73;;1117:220;1376:2;1402:51;1445:7;1436:6;1425:9;1421:22;1402:51;:::i;:::-;1392:61;;1347:116;1502:2;1528:53;1573:7;1564:6;1553:9;1549:22;1528:53;:::i;:::-;1518:63;;1473:118;1045:553;;;;;:::o;1604:364::-;1692:3;1720:39;1753:5;1720:39;:::i;:::-;1775:71;1839:6;1834:3;1775:71;:::i;:::-;1768:78;;1855:52;1900:6;1895:3;1888:4;1881:5;1877:16;1855:52;:::i;:::-;1932:29;1954:6;1932:29;:::i;:::-;1927:3;1923:39;1916:46;;1696:272;;;;;:::o;1974:118::-;2061:24;2079:5;2061:24;:::i;:::-;2056:3;2049:37;2039:53;;:::o;2098:112::-;2181:22;2197:5;2181:22;:::i;:::-;2176:3;2169:35;2159:51;;:::o;2216:525::-;2381:4;2419:2;2408:9;2404:18;2396:26;;2468:9;2462:4;2458:20;2454:1;2443:9;2439:17;2432:47;2496:78;2569:4;2560:6;2496:78;:::i;:::-;2488:86;;2584:68;2648:2;2637:9;2633:18;2624:6;2584:68;:::i;:::-;2662:72;2730:2;2719:9;2715:18;2706:6;2662:72;:::i;:::-;2386:355;;;;;;:::o;2747:129::-;2781:6;2808:20;;:::i;:::-;2798:30;;2837:33;2865:4;2857:6;2837:33;:::i;:::-;2788:88;;;:::o;2882:75::-;2915:6;2948:2;2942:9;2932:19;;2922:35;:::o;2963:308::-;3025:4;3115:18;3107:6;3104:30;3101:2;;;3137:18;;:::i;:::-;3101:2;3175:29;3197:6;3175:29;:::i;:::-;3167:37;;3259:4;3253;3249:15;3241:23;;3030:241;;;:::o;3277:99::-;3329:6;3363:5;3357:12;3347:22;;3336:40;;;:::o;3382:169::-;3466:11;3500:6;3495:3;3488:19;3540:4;3535:3;3531:14;3516:29;;3478:73;;;;:::o;3557:77::-;3594:7;3623:5;3612:16;;3602:32;;;:::o;3640:86::-;3675:7;3715:4;3708:5;3704:16;3693:27;;3683:43;;;:::o;3732:154::-;3816:6;3811:3;3806;3793:30;3878:1;3869:6;3864:3;3860:16;3853:27;3783:103;;;:::o;3892:307::-;3960:1;3970:113;3984:6;3981:1;3978:13;3970:113;;;4069:1;4064:3;4060:11;4054:18;4050:1;4045:3;4041:11;4034:39;4006:2;4003:1;3999:10;3994:15;;3970:113;;;4101:6;4098:1;4095:13;4092:2;;;4181:1;4172:6;4167:3;4163:16;4156:27;4092:2;3941:258;;;;:::o;4205:320::-;4249:6;4286:1;4280:4;4276:12;4266:22;;4333:1;4327:4;4323:12;4354:18;4344:2;;4410:4;4402:6;4398:17;4388:27;;4344:2;4472;4464:6;4461:14;4441:18;4438:38;4435:2;;;4491:18;;:::i;:::-;4435:2;4256:269;;;;:::o;4531:281::-;4614:27;4636:4;4614:27;:::i;:::-;4606:6;4602:40;4744:6;4732:10;4729:22;4708:18;4696:10;4693:34;4690:62;4687:2;;;4755:18;;:::i;:::-;4687:2;4795:10;4791:2;4784:22;4574:238;;;:::o;4818:180::-;4866:77;4863:1;4856:88;4963:4;4960:1;4953:15;4987:4;4984:1;4977:15;5004:180;5052:77;5049:1;5042:88;5149:4;5146:1;5139:15;5173:4;5170:1;5163:15;5190:102;5231:6;5282:2;5278:7;5273:2;5266:5;5262:14;5258:28;5248:38;;5238:54;;;:::o;5298:122::-;5371:24;5389:5;5371:24;:::i;:::-;5364:5;5361:35;5351:2;;5410:1;5407;5400:12;5351:2;5341:79;:::o;5426:118::-;5497:22;5513:5;5497:22;:::i;:::-;5490:5;5487:33;5477:2;;5534:1;5531;5524:12;5477:2;5467:77;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "289600",
"executionCost": "331",
"totalCost": "289931"
},
"external": {
"getStudentDetails()": "infinite",
"setStudentDetails(string,uint8,uint256)": "infinite"
}
},
"methodIdentifiers": {
"getStudentDetails()": "bc658659",
"setStudentDetails(string,uint8,uint256)": "97b7bd58"
}
},
"abi": [
{
"inputs": [],
"name": "getStudentDetails",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "_phoneno",
"type": "uint256"
}
],
"name": "setStudentDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "getStudentDetails",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "_phoneno",
"type": "uint256"
}
],
"name": "setStudentDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "structSample"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506105f4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806373ec9ad11461003b57806375c2f8f014610057575b600080fd5b610055600480360381019061005091906102eb565b610088565b005b610071600480360381019061006c9190610352565b6100e5565b60405161007f9291906103c3565b60405180910390f35b8260008083815260200190815260200160002060000190805190602001906100b19291906101b6565b508160008083815260200190815260200160002060010160006101000a81548160ff021916908360ff160217905550505050565b6060600080600084815260200190815260200160002060000160008085815260200190815260200160002060010160009054906101000a900460ff1681805461012d906104be565b80601f0160208091040260200160405190810160405280929190818152602001828054610159906104be565b80156101a65780601f1061017b576101008083540402835291602001916101a6565b820191906000526020600020905b81548152906001019060200180831161018957829003601f168201915b5050505050915091509150915091565b8280546101c2906104be565b90600052602060002090601f0160209004810192826101e4576000855561022b565b82601f106101fd57805160ff191683800117855561022b565b8280016001018555821561022b579182015b8281111561022a57825182559160200191906001019061020f565b5b509050610238919061023c565b5090565b5b8082111561025557600081600090555060010161023d565b5090565b600061026c61026784610418565b6103f3565b90508281526020810184848401111561028457600080fd5b61028f84828561047c565b509392505050565b600082601f8301126102a857600080fd5b81356102b8848260208601610259565b91505092915050565b6000813590506102d081610590565b92915050565b6000813590506102e5816105a7565b92915050565b60008060006060848603121561030057600080fd5b600084013567ffffffffffffffff81111561031a57600080fd5b61032686828701610297565b9350506020610337868287016102d6565b9250506040610348868287016102c1565b9150509250925092565b60006020828403121561036457600080fd5b6000610372848285016102c1565b91505092915050565b600061038682610449565b6103908185610454565b93506103a081856020860161048b565b6103a98161057f565b840191505092915050565b6103bd8161046f565b82525050565b600060408201905081810360008301526103dd818561037b565b90506103ec60208301846103b4565b9392505050565b60006103fd61040e565b905061040982826104f0565b919050565b6000604051905090565b600067ffffffffffffffff82111561043357610432610550565b5b61043c8261057f565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156104a957808201518184015260208101905061048e565b838111156104b8576000848401525b50505050565b600060028204905060018216806104d657607f821691505b602082108114156104ea576104e9610521565b5b50919050565b6104f98261057f565b810181811067ffffffffffffffff8211171561051857610517610550565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61059981610465565b81146105a457600080fd5b50565b6105b08161046f565b81146105bb57600080fd5b5056fea2646970667358221220042fd7dd9e26a5828e3bc7838107b4c7843e38994f59344e82181149dfd208b264736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x5F4 DUP1 PUSH2 0x20 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 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x73EC9AD1 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x75C2F8F0 EQ PUSH2 0x57 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x55 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x2EB JUMP JUMPDEST PUSH2 0x88 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x71 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6C SWAP2 SWAP1 PUSH2 0x352 JUMP JUMPDEST PUSH2 0xE5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7F SWAP3 SWAP2 SWAP1 PUSH2 0x3C3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP3 PUSH1 0x0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xB1 SWAP3 SWAP2 SWAP1 PUSH2 0x1B6 JUMP JUMPDEST POP DUP2 PUSH1 0x0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD PUSH1 0x0 DUP1 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 DUP1 SLOAD PUSH2 0x12D SWAP1 PUSH2 0x4BE 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 0x159 SWAP1 PUSH2 0x4BE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1A6 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x17B JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1A6 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 0x189 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x1C2 SWAP1 PUSH2 0x4BE JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x1E4 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x22B JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x1FD JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x22B JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x22B JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x22A JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x20F JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x238 SWAP2 SWAP1 PUSH2 0x23C JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x255 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x23D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x26C PUSH2 0x267 DUP5 PUSH2 0x418 JUMP JUMPDEST PUSH2 0x3F3 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x284 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x28F DUP5 DUP3 DUP6 PUSH2 0x47C JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x2A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x2B8 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x259 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x2D0 DUP2 PUSH2 0x590 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x2E5 DUP2 PUSH2 0x5A7 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x300 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x31A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x326 DUP7 DUP3 DUP8 ADD PUSH2 0x297 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x337 DUP7 DUP3 DUP8 ADD PUSH2 0x2D6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x348 DUP7 DUP3 DUP8 ADD PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x364 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x372 DUP5 DUP3 DUP6 ADD PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x386 DUP3 PUSH2 0x449 JUMP JUMPDEST PUSH2 0x390 DUP2 DUP6 PUSH2 0x454 JUMP JUMPDEST SWAP4 POP PUSH2 0x3A0 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x48B JUMP JUMPDEST PUSH2 0x3A9 DUP2 PUSH2 0x57F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x3BD DUP2 PUSH2 0x46F JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3DD DUP2 DUP6 PUSH2 0x37B JUMP JUMPDEST SWAP1 POP PUSH2 0x3EC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x3B4 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3FD PUSH2 0x40E JUMP JUMPDEST SWAP1 POP PUSH2 0x409 DUP3 DUP3 PUSH2 0x4F0 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 0x433 JUMPI PUSH2 0x432 PUSH2 0x550 JUMP JUMPDEST JUMPDEST PUSH2 0x43C DUP3 PUSH2 0x57F 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 PUSH1 0x0 PUSH1 0xFF DUP3 AND 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 0x4A9 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x48E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x4B8 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 0x4D6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x4EA JUMPI PUSH2 0x4E9 PUSH2 0x521 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4F9 DUP3 PUSH2 0x57F JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x518 JUMPI PUSH2 0x517 PUSH2 0x550 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x599 DUP2 PUSH2 0x465 JUMP JUMPDEST DUP2 EQ PUSH2 0x5A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x5B0 DUP2 PUSH2 0x46F JUMP JUMPDEST DUP2 EQ PUSH2 0x5BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DIV 0x2F 0xD7 0xDD SWAP15 0x26 0xA5 DUP3 DUP15 EXTCODESIZE 0xC7 DUP4 DUP2 SMOD 0xB4 0xC7 DUP5 RETURNDATACOPY CODESIZE SWAP10 0x4F MSIZE CALLVALUE 0x4E DUP3 XOR GT 0x49 0xDF 0xD2 ADDMOD 0xB2 PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "3682:508:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:5581:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261: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:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:1"
},
"nodeType": "YulFunctionCall",
"src": "282:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:12: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:2:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:1"
},
"nodeType": "YulFunctionCall",
"src": "305:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "305: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:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "434:211:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "483:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "492:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "495:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "485:6:1"
},
"nodeType": "YulFunctionCall",
"src": "485:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "485:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "462:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "470:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:1"
},
"nodeType": "YulFunctionCall",
"src": "458:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "477:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "454:3:1"
},
"nodeType": "YulFunctionCall",
"src": "454:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "447:6:1"
},
"nodeType": "YulFunctionCall",
"src": "447:35:1"
},
"nodeType": "YulIf",
"src": "444:2:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "508:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "535:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "522:12:1"
},
"nodeType": "YulFunctionCall",
"src": "522:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "512:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "551:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "612:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "620:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "608:3:1"
},
"nodeType": "YulFunctionCall",
"src": "608:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "627:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "635:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "560:47:1"
},
"nodeType": "YulFunctionCall",
"src": "560:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "551:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "412:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "420:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "428:5:1",
"type": ""
}
],
"src": "372:273:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "703:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "713:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "735:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "722:12:1"
},
"nodeType": "YulFunctionCall",
"src": "722:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "713:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "778:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "751:26:1"
},
"nodeType": "YulFunctionCall",
"src": "751:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "751:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "681:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "689:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "697:5:1",
"type": ""
}
],
"src": "651:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "846:85:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "856:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "878:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "865:12:1"
},
"nodeType": "YulFunctionCall",
"src": "865:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "856:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "919:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint8",
"nodeType": "YulIdentifier",
"src": "894:24:1"
},
"nodeType": "YulFunctionCall",
"src": "894:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "894:31:1"
}
]
},
"name": "abi_decode_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "824:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "832:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "840:5:1",
"type": ""
}
],
"src": "796:135:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1045:553:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1091:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1100:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1103:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1093:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1093:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1093:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1066:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1075:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1062:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1062:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1087:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1058:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1058:32:1"
},
"nodeType": "YulIf",
"src": "1055:2:1"
},
{
"nodeType": "YulBlock",
"src": "1117:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1132:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1163:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1174:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1159:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1159:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1146:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1136:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1224:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1233:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1236:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1226:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1226:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1196:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1204:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1193:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1193:30:1"
},
"nodeType": "YulIf",
"src": "1190:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1254:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1299:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1310:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1295:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1295:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1319:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1264:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1264:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1254:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1347:116:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1362:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1376:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1366:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1392:61:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1425:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1436:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1421:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1421:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1445:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint8",
"nodeType": "YulIdentifier",
"src": "1402:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1402:51:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1392:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1473:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1488:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1502:2:1",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1492:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1518:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1553:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1564:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1549:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1549:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1573:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1528:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1528:53:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1518:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint8t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "999:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1010:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1022:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1030:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1038:6:1",
"type": ""
}
],
"src": "937:661:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1670:196:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1716:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1725:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1728:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1718:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1718:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1718:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1691:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1700:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1687:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1687:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1712:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1683:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1683:32:1"
},
"nodeType": "YulIf",
"src": "1680:2:1"
},
{
"nodeType": "YulBlock",
"src": "1742:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1757:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1771:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1761:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1786:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1821:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1832:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1817:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1817:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1841:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1796:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1796:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1786:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1640:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1651:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1663:6:1",
"type": ""
}
],
"src": "1604:262:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1964:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1974:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2021:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1988:32:1"
},
"nodeType": "YulFunctionCall",
"src": "1988:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1978:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2036:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2102:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2107:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2043:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2043:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2036:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2149:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2156:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2145:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2145:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2163:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2168:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2123:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2123:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2123:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2184:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2195:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2222:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2200:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2200:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2191:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2191:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2184:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1945:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1952:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1960:3:1",
"type": ""
}
],
"src": "1872:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2303:51:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2320:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2341:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "2325:15:1"
},
"nodeType": "YulFunctionCall",
"src": "2325:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2313:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2313:35:1"
},
"nodeType": "YulExpressionStatement",
"src": "2313:35:1"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2291:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2298:3:1",
"type": ""
}
],
"src": "2242:112:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2502:273:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2512:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2524:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2535:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2520:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2520:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2512:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2559:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2570:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2555:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2555:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2578:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2584:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2574:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2574:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2548:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2548:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "2548:47:1"
},
{
"nodeType": "YulAssignment",
"src": "2604:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2676:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2685:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2612:63:1"
},
"nodeType": "YulFunctionCall",
"src": "2612:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2604:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2740:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2753:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2764:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2749:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2749:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "2700:39:1"
},
"nodeType": "YulFunctionCall",
"src": "2700:68:1"
},
"nodeType": "YulExpressionStatement",
"src": "2700:68:1"
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr_t_uint8__to_t_string_memory_ptr_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2466:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2478:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2486:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2497:4:1",
"type": ""
}
],
"src": "2360:415:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2822:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2832:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "2842:18:1"
},
"nodeType": "YulFunctionCall",
"src": "2842:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2832:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2891:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2899:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "2871:19:1"
},
"nodeType": "YulFunctionCall",
"src": "2871:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "2871:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2806:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2815:6:1",
"type": ""
}
],
"src": "2781:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2956:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2966:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2982:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2976:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2976:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2966:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2949:6:1",
"type": ""
}
],
"src": "2916:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3064:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3169:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3171:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3171:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3171:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3149:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3138:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3138:30:1"
},
"nodeType": "YulIf",
"src": "3135:2:1"
},
{
"nodeType": "YulAssignment",
"src": "3201:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3231:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3209:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3209:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3201:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3275:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3287:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3293:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3283:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3283:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3275:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3048:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3059:4:1",
"type": ""
}
],
"src": "2997:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3370:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3381:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3397:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3391:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3391:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3381:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3353:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3363:6:1",
"type": ""
}
],
"src": "3311:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3512:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3529:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3534:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3522:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3522:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "3522:19:1"
},
{
"nodeType": "YulAssignment",
"src": "3550:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3569:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3574:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3565:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3565:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "3550:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3484:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3489:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "3500:11:1",
"type": ""
}
],
"src": "3416:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3636:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3646:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3657:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3646:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3618:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3628:7:1",
"type": ""
}
],
"src": "3591:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3717:43:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3727:27:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3742:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3749:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3738:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3738:16:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3727:7:1"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3699:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3709:7:1",
"type": ""
}
],
"src": "3674:86:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3817:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3840:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3845:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3850:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "3827:12:1"
},
"nodeType": "YulFunctionCall",
"src": "3827:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "3827:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3898:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3903:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3894:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3894:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3912:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3887:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3887:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "3887:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3799:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3804:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3809:6:1",
"type": ""
}
],
"src": "3766:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3975:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3985:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3994:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "3989:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4054:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4079:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4084:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4075:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4075:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4098:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4103:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4094:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4094:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4088:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4088:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4068:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4068:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "4068:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4015:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4018:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4012:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4012:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "4026:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4028:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4037:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4040:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4033:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4033:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4028:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "4008:3:1",
"statements": []
},
"src": "4004:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4151:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4201:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4206:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4197:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4197:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4215:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4190:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4190:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4190:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4132:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4135:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4129:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4129:13:1"
},
"nodeType": "YulIf",
"src": "4126:2:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3957:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3962:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3967:6:1",
"type": ""
}
],
"src": "3926:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4290:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4300:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4314:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4320:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4310:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4310:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4300:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4331:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4361:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4367:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4357:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4357:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "4335:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4408:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4422:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4436:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4444:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4432:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4432:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4422:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4388:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4381:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4381:26:1"
},
"nodeType": "YulIf",
"src": "4378:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4511:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "4525:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4525:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4525:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4475:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4498:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4506:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4495:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4495:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4472:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4472:38:1"
},
"nodeType": "YulIf",
"src": "4469:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "4274:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4283:6:1",
"type": ""
}
],
"src": "4239:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4608:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4618:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4640:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4670:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "4648:21:1"
},
"nodeType": "YulFunctionCall",
"src": "4648:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4636:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4636:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "4622:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4787:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4789:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4789:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4789:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4730:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4742:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4727:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4727:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4766:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4778:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4763:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4763:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "4724:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4724:62:1"
},
"nodeType": "YulIf",
"src": "4721:2:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4825:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "4829:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4818:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4818:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "4818:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4594:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4602:4:1",
"type": ""
}
],
"src": "4565:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4880:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4897:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4900:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4890:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4890:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "4890:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4994:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4997:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4987:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4987:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "4987:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5018:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5021:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5011:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5011:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5011:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "4852:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5066:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5083:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5086:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5076:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5076:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5076:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5180:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5183:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5173:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5173:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5173:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5204:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5207:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5197:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5197:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "5197:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "5038:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5272:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5282:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5300:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5307:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5296:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5296:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5316:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "5312:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5312:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5292:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5292:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "5282:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5255:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "5265:6:1",
"type": ""
}
],
"src": "5224:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5375:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5432:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5441:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5444:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5434:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5434:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5434:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5398:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5423:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "5405:17:1"
},
"nodeType": "YulFunctionCall",
"src": "5405:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5395:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5395:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5388:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5388:43:1"
},
"nodeType": "YulIf",
"src": "5385:2:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5368:5:1",
"type": ""
}
],
"src": "5332:122:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5501:77:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5556:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5565:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5568:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5558:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5558:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "5558:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5524:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5547:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "5531:15:1"
},
"nodeType": "YulFunctionCall",
"src": "5531:22:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5521:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5521:33:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5514:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5514:41:1"
},
"nodeType": "YulIf",
"src": "5511:2:1"
}
]
},
"name": "validator_revert_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5494:5:1",
"type": ""
}
],
"src": "5460:118: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(0, 0) }\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(0, 0) }\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_t_uint8(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint8(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint8t_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\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_uint8(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\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_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_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_string_memory_ptr_t_uint8__to_t_string_memory_ptr_t_uint8__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 abi_encode_t_uint8_to_t_uint8_fromStack(value1, add(headStart, 32))\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 cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\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 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 function validator_revert_t_uint8(value) {\n if iszero(eq(value, cleanup_t_uint8(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100365760003560e01c806373ec9ad11461003b57806375c2f8f014610057575b600080fd5b610055600480360381019061005091906102eb565b610088565b005b610071600480360381019061006c9190610352565b6100e5565b60405161007f9291906103c3565b60405180910390f35b8260008083815260200190815260200160002060000190805190602001906100b19291906101b6565b508160008083815260200190815260200160002060010160006101000a81548160ff021916908360ff160217905550505050565b6060600080600084815260200190815260200160002060000160008085815260200190815260200160002060010160009054906101000a900460ff1681805461012d906104be565b80601f0160208091040260200160405190810160405280929190818152602001828054610159906104be565b80156101a65780601f1061017b576101008083540402835291602001916101a6565b820191906000526020600020905b81548152906001019060200180831161018957829003601f168201915b5050505050915091509150915091565b8280546101c2906104be565b90600052602060002090601f0160209004810192826101e4576000855561022b565b82601f106101fd57805160ff191683800117855561022b565b8280016001018555821561022b579182015b8281111561022a57825182559160200191906001019061020f565b5b509050610238919061023c565b5090565b5b8082111561025557600081600090555060010161023d565b5090565b600061026c61026784610418565b6103f3565b90508281526020810184848401111561028457600080fd5b61028f84828561047c565b509392505050565b600082601f8301126102a857600080fd5b81356102b8848260208601610259565b91505092915050565b6000813590506102d081610590565b92915050565b6000813590506102e5816105a7565b92915050565b60008060006060848603121561030057600080fd5b600084013567ffffffffffffffff81111561031a57600080fd5b61032686828701610297565b9350506020610337868287016102d6565b9250506040610348868287016102c1565b9150509250925092565b60006020828403121561036457600080fd5b6000610372848285016102c1565b91505092915050565b600061038682610449565b6103908185610454565b93506103a081856020860161048b565b6103a98161057f565b840191505092915050565b6103bd8161046f565b82525050565b600060408201905081810360008301526103dd818561037b565b90506103ec60208301846103b4565b9392505050565b60006103fd61040e565b905061040982826104f0565b919050565b6000604051905090565b600067ffffffffffffffff82111561043357610432610550565b5b61043c8261057f565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156104a957808201518184015260208101905061048e565b838111156104b8576000848401525b50505050565b600060028204905060018216806104d657607f821691505b602082108114156104ea576104e9610521565b5b50919050565b6104f98261057f565b810181811067ffffffffffffffff8211171561051857610517610550565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61059981610465565b81146105a457600080fd5b50565b6105b08161046f565b81146105bb57600080fd5b5056fea2646970667358221220042fd7dd9e26a5828e3bc7838107b4c7843e38994f59344e82181149dfd208b264736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x73EC9AD1 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x75C2F8F0 EQ PUSH2 0x57 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x55 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x2EB JUMP JUMPDEST PUSH2 0x88 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x71 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6C SWAP2 SWAP1 PUSH2 0x352 JUMP JUMPDEST PUSH2 0xE5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x7F SWAP3 SWAP2 SWAP1 PUSH2 0x3C3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP3 PUSH1 0x0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xB1 SWAP3 SWAP2 SWAP1 PUSH2 0x1B6 JUMP JUMPDEST POP DUP2 PUSH1 0x0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD PUSH1 0x0 DUP1 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 DUP1 SLOAD PUSH2 0x12D SWAP1 PUSH2 0x4BE 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 0x159 SWAP1 PUSH2 0x4BE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1A6 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x17B JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1A6 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 0x189 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x1C2 SWAP1 PUSH2 0x4BE JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x1E4 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x22B JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x1FD JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x22B JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x22B JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x22A JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x20F JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x238 SWAP2 SWAP1 PUSH2 0x23C JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x255 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x23D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x26C PUSH2 0x267 DUP5 PUSH2 0x418 JUMP JUMPDEST PUSH2 0x3F3 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x284 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x28F DUP5 DUP3 DUP6 PUSH2 0x47C JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x2A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x2B8 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x259 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x2D0 DUP2 PUSH2 0x590 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x2E5 DUP2 PUSH2 0x5A7 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x300 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x31A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x326 DUP7 DUP3 DUP8 ADD PUSH2 0x297 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x337 DUP7 DUP3 DUP8 ADD PUSH2 0x2D6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x348 DUP7 DUP3 DUP8 ADD PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x364 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x372 DUP5 DUP3 DUP6 ADD PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x386 DUP3 PUSH2 0x449 JUMP JUMPDEST PUSH2 0x390 DUP2 DUP6 PUSH2 0x454 JUMP JUMPDEST SWAP4 POP PUSH2 0x3A0 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x48B JUMP JUMPDEST PUSH2 0x3A9 DUP2 PUSH2 0x57F JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x3BD DUP2 PUSH2 0x46F JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3DD DUP2 DUP6 PUSH2 0x37B JUMP JUMPDEST SWAP1 POP PUSH2 0x3EC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x3B4 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3FD PUSH2 0x40E JUMP JUMPDEST SWAP1 POP PUSH2 0x409 DUP3 DUP3 PUSH2 0x4F0 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 0x433 JUMPI PUSH2 0x432 PUSH2 0x550 JUMP JUMPDEST JUMPDEST PUSH2 0x43C DUP3 PUSH2 0x57F 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 PUSH1 0x0 PUSH1 0xFF DUP3 AND 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 0x4A9 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x48E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x4B8 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 0x4D6 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x4EA JUMPI PUSH2 0x4E9 PUSH2 0x521 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x4F9 DUP3 PUSH2 0x57F JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x518 JUMPI PUSH2 0x517 PUSH2 0x550 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x599 DUP2 PUSH2 0x465 JUMP JUMPDEST DUP2 EQ PUSH2 0x5A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x5B0 DUP2 PUSH2 0x46F JUMP JUMPDEST DUP2 EQ PUSH2 0x5BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DIV 0x2F 0xD7 0xDD SWAP15 0x26 0xA5 DUP3 DUP15 EXTCODESIZE 0xC7 DUP4 DUP2 SMOD 0xB4 0xC7 DUP5 RETURNDATACOPY CODESIZE SWAP10 0x4F MSIZE CALLVALUE 0x4E DUP3 XOR GT 0x49 0xDF 0xD2 ADDMOD 0xB2 PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "3682:508:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3864:159;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4041:143;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;3864:159;3969:5;3948:8;:13;3957:3;3948:13;;;;;;;;;;;:18;;:26;;;;;;;;;;;;:::i;:::-;;4008:4;3988:8;:13;3997:3;3988:13;;;;;;;;;;;:17;;;:24;;;;;;;;;;;;;;;;;;3864:159;;;:::o;4041:143::-;4092:13;4107:5;4135:8;:13;4144:3;4135:13;;;;;;;;;;;:18;;4155:8;:13;4164:3;4155:13;;;;;;;;;;;:17;;;;;;;;;;;;4127:46;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4041:143;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345: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:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;372:273::-;428:5;477:3;470:4;462:6;458:17;454:27;444:2;;495:1;492;485:12;444:2;535:6;522:20;560:79;635:3;627:6;620:4;612:6;608:17;560:79;:::i;:::-;551:88;;434:211;;;;;:::o;651:139::-;697:5;735:6;722:20;713:29;;751:33;778:5;751:33;:::i;:::-;703:87;;;;:::o;796:135::-;840:5;878:6;865:20;856:29;;894:31;919:5;894:31;:::i;:::-;846:85;;;;:::o;937:661::-;1022:6;1030;1038;1087:2;1075:9;1066:7;1062:23;1058:32;1055:2;;;1103:1;1100;1093:12;1055:2;1174:1;1163:9;1159:17;1146:31;1204:18;1196:6;1193:30;1190:2;;;1236:1;1233;1226:12;1190:2;1264:63;1319:7;1310:6;1299:9;1295:22;1264:63;:::i;:::-;1254:73;;1117:220;1376:2;1402:51;1445:7;1436:6;1425:9;1421:22;1402:51;:::i;:::-;1392:61;;1347:116;1502:2;1528:53;1573:7;1564:6;1553:9;1549:22;1528:53;:::i;:::-;1518:63;;1473:118;1045:553;;;;;:::o;1604:262::-;1663:6;1712:2;1700:9;1691:7;1687:23;1683:32;1680:2;;;1728:1;1725;1718:12;1680:2;1771:1;1796:53;1841:7;1832:6;1821:9;1817:22;1796:53;:::i;:::-;1786:63;;1742:117;1670:196;;;;:::o;1872:364::-;1960:3;1988:39;2021:5;1988:39;:::i;:::-;2043:71;2107:6;2102:3;2043:71;:::i;:::-;2036:78;;2123:52;2168:6;2163:3;2156:4;2149:5;2145:16;2123:52;:::i;:::-;2200:29;2222:6;2200:29;:::i;:::-;2195:3;2191:39;2184:46;;1964:272;;;;;:::o;2242:112::-;2325:22;2341:5;2325:22;:::i;:::-;2320:3;2313:35;2303:51;;:::o;2360:415::-;2497:4;2535:2;2524:9;2520:18;2512:26;;2584:9;2578:4;2574:20;2570:1;2559:9;2555:17;2548:47;2612:78;2685:4;2676:6;2612:78;:::i;:::-;2604:86;;2700:68;2764:2;2753:9;2749:18;2740:6;2700:68;:::i;:::-;2502:273;;;;;:::o;2781:129::-;2815:6;2842:20;;:::i;:::-;2832:30;;2871:33;2899:4;2891:6;2871:33;:::i;:::-;2822:88;;;:::o;2916:75::-;2949:6;2982:2;2976:9;2966:19;;2956:35;:::o;2997:308::-;3059:4;3149:18;3141:6;3138:30;3135:2;;;3171:18;;:::i;:::-;3135:2;3209:29;3231:6;3209:29;:::i;:::-;3201:37;;3293:4;3287;3283:15;3275:23;;3064:241;;;:::o;3311:99::-;3363:6;3397:5;3391:12;3381:22;;3370:40;;;:::o;3416:169::-;3500:11;3534:6;3529:3;3522:19;3574:4;3569:3;3565:14;3550:29;;3512:73;;;;:::o;3591:77::-;3628:7;3657:5;3646:16;;3636:32;;;:::o;3674:86::-;3709:7;3749:4;3742:5;3738:16;3727:27;;3717:43;;;:::o;3766:154::-;3850:6;3845:3;3840;3827:30;3912:1;3903:6;3898:3;3894:16;3887:27;3817:103;;;:::o;3926:307::-;3994:1;4004:113;4018:6;4015:1;4012:13;4004:113;;;4103:1;4098:3;4094:11;4088:18;4084:1;4079:3;4075:11;4068:39;4040:2;4037:1;4033:10;4028:15;;4004:113;;;4135:6;4132:1;4129:13;4126:2;;;4215:1;4206:6;4201:3;4197:16;4190:27;4126:2;3975:258;;;;:::o;4239:320::-;4283:6;4320:1;4314:4;4310:12;4300:22;;4367:1;4361:4;4357:12;4388:18;4378:2;;4444:4;4436:6;4432:17;4422:27;;4378:2;4506;4498:6;4495:14;4475:18;4472:38;4469:2;;;4525:18;;:::i;:::-;4469:2;4290:269;;;;:::o;4565:281::-;4648:27;4670:4;4648:27;:::i;:::-;4640:6;4636:40;4778:6;4766:10;4763:22;4742:18;4730:10;4727:34;4724:62;4721:2;;;4789:18;;:::i;:::-;4721:2;4829:10;4825:2;4818:22;4608:238;;;:::o;4852:180::-;4900:77;4897:1;4890:88;4997:4;4994:1;4987:15;5021:4;5018:1;5011:15;5038:180;5086:77;5083:1;5076:88;5183:4;5180:1;5173:15;5207:4;5204:1;5197:15;5224:102;5265:6;5316:2;5312:7;5307:2;5300:5;5296:14;5292:28;5282:38;;5272:54;;;:::o;5332:122::-;5405:24;5423:5;5405:24;:::i;:::-;5398:5;5395:35;5385:2;;5444:1;5441;5434:12;5385:2;5375:79;:::o;5460:118::-;5531:22;5547:5;5531:22;:::i;:::-;5524:5;5521:33;5511:2;;5568:1;5565;5558:12;5511:2;5501:77;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "304800",
"executionCost": "343",
"totalCost": "305143"
},
"external": {
"addStudent(string,uint8,uint256)": "infinite",
"getStudents(uint256)": "infinite"
}
},
"methodIdentifiers": {
"addStudent(string,uint8,uint256)": "73ec9ad1",
"getStudents(uint256)": "75c2f8f0"
}
},
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
}
],
"name": "addStudent",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
}
],
"name": "getStudents",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
}
],
"name": "addStudent",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_id",
"type": "uint256"
}
],
"name": "getStudents",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "studentSampleView"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220c16d660c40e8582a30016e01331d13b311b8bc8abf4ce1ba341e25dac9d17d8064736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3F DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC1 PUSH14 0x660C40E8582A30016E01331D13B3 GT 0xB8 0xBC DUP11 0xBF 0x4C 0xE1 0xBA CALLVALUE 0x1E 0x25 0xDA 0xC9 0xD1 PUSH30 0x8064736F6C63430008040033000000000000000000000000000000000000 ",
"sourceMap": "24:26:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600080fdfea2646970667358221220c16d660c40e8582a30016e01331d13b311b8bc8abf4ce1ba341e25dac9d17d8064736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC1 PUSH14 0x660C40E8582A30016E01331D13B3 GT 0xB8 0xBC DUP11 0xBF 0x4C 0xE1 0xBA CALLVALUE 0x1E 0x25 0xDA 0xC9 0xD1 PUSH30 0x8064736F6C63430008040033000000000000000000000000000000000000 ",
"sourceMap": "24:26:0:-:0;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "12600",
"executionCost": "66",
"totalCost": "12666"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "variable"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0xca9e1d7a4a701a7d83caabb9fae2f4970a1735f3df50ef2c1c2d4a7ed1d4cfb4",
"urls": [
"bzz-raw://8e604403dd43580f7193bd87d119e56c630ac7ee2d91ba108c6332a7e8eefba4",
"dweb:/ipfs/QmQczyMeYtAk6wbL3Wttoh7tkXCdGH6cJEBFpoFvT85TKD"
]
}
},
"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
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610485806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806323e898e91461003b5780633c5c94c214610045575b600080fd5b610043610061565b005b61005f600480360381019061005a919061026a565b6100e5565b005b6040518060400160405280600681526020017f4761757261760000000000000000000000000000000000000000000000000000815250600190805190602001906100ac929190610135565b50601e6000806101000a81548160ff021916908360ff1602179055506001600260006101000a81548160ff021916908315150217905550565b82600190805190602001906100fb929190610135565b50816000806101000a81548160ff021916908360ff16021790555080600260006101000a81548160ff021916908315150217905550505050565b8280546101419061034f565b90600052602060002090601f01602090048101928261016357600085556101aa565b82601f1061017c57805160ff19168380011785556101aa565b828001600101855582156101aa579182015b828111156101a957825182559160200191906001019061018e565b5b5090506101b791906101bb565b5090565b5b808211156101d45760008160009055506001016101bc565b5090565b60006101eb6101e6846102f6565b6102d1565b90508281526020810184848401111561020357600080fd5b61020e848285610340565b509392505050565b60008135905061022581610421565b92915050565b600082601f83011261023c57600080fd5b813561024c8482602086016101d8565b91505092915050565b60008135905061026481610438565b92915050565b60008060006060848603121561027f57600080fd5b600084013567ffffffffffffffff81111561029957600080fd5b6102a58682870161022b565b93505060206102b686828701610255565b92505060406102c786828701610216565b9150509250925092565b60006102db6102ec565b90506102e78282610381565b919050565b6000604051905090565b600067ffffffffffffffff821115610311576103106103e1565b5b61031a82610410565b9050602081019050919050565b60008115159050919050565b600060ff82169050919050565b82818337600083830152505050565b6000600282049050600182168061036757607f821691505b6020821081141561037b5761037a6103b2565b5b50919050565b61038a82610410565b810181811067ffffffffffffffff821117156103a9576103a86103e1565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61042a81610327565b811461043557600080fd5b50565b61044181610333565b811461044c57600080fd5b5056fea26469706673582212205f16711d3533e24d5895630b5151c1d86d5414145939470ab506bde35fedcd7e64736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x485 DUP1 PUSH2 0x20 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 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x23E898E9 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x3C5C94C2 EQ PUSH2 0x45 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x61 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x5F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5A SWAP2 SWAP1 PUSH2 0x26A JUMP JUMPDEST PUSH2 0xE5 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4761757261760000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xAC SWAP3 SWAP2 SWAP1 PUSH2 0x135 JUMP JUMPDEST POP PUSH1 0x1E PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x1 PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP JUMP JUMPDEST DUP3 PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xFB SWAP3 SWAP2 SWAP1 PUSH2 0x135 JUMP JUMPDEST POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP DUP1 PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x141 SWAP1 PUSH2 0x34F JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x163 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1AA JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x17C JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1AA JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1AA JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1A9 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x18E JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1B7 SWAP2 SWAP1 PUSH2 0x1BB JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1D4 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1BC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1EB PUSH2 0x1E6 DUP5 PUSH2 0x2F6 JUMP JUMPDEST PUSH2 0x2D1 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x203 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x20E DUP5 DUP3 DUP6 PUSH2 0x340 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x225 DUP2 PUSH2 0x421 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x23C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x24C DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1D8 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x264 DUP2 PUSH2 0x438 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x27F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x299 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2A5 DUP7 DUP3 DUP8 ADD PUSH2 0x22B JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x2B6 DUP7 DUP3 DUP8 ADD PUSH2 0x255 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x2C7 DUP7 DUP3 DUP8 ADD PUSH2 0x216 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2DB PUSH2 0x2EC JUMP JUMPDEST SWAP1 POP PUSH2 0x2E7 DUP3 DUP3 PUSH2 0x381 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 0x311 JUMPI PUSH2 0x310 PUSH2 0x3E1 JUMP JUMPDEST JUMPDEST PUSH2 0x31A DUP3 PUSH2 0x410 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x367 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x37B JUMPI PUSH2 0x37A PUSH2 0x3B2 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x38A DUP3 PUSH2 0x410 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x3A9 JUMPI PUSH2 0x3A8 PUSH2 0x3E1 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x42A DUP2 PUSH2 0x327 JUMP JUMPDEST DUP2 EQ PUSH2 0x435 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x441 DUP2 PUSH2 0x333 JUMP JUMPDEST DUP2 EQ PUSH2 0x44C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x5F AND PUSH18 0x1D3533E24D5895630B5151C1D86D54141459 CODECOPY SELFBALANCE EXP 0xB5 MOD 0xBD 0xE3 0x5F 0xED 0xCD PUSH31 0x64736F6C634300080400330000000000000000000000000000000000000000 ",
"sourceMap": "25:434:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3806:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261: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:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:1"
},
"nodeType": "YulFunctionCall",
"src": "282:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:12: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:2:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:1"
},
"nodeType": "YulFunctionCall",
"src": "305:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "305: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:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "407:84:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "417:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "439:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "426:12:1"
},
"nodeType": "YulFunctionCall",
"src": "426:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "417:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "479:5:1"
}
],
"functionName": {
"name": "validator_revert_t_bool",
"nodeType": "YulIdentifier",
"src": "455:23:1"
},
"nodeType": "YulFunctionCall",
"src": "455:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "455:30:1"
}
]
},
"name": "abi_decode_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "385:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "393:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "401:5:1",
"type": ""
}
],
"src": "358:133:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "573:211:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "622:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "631:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "634:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "624:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "624:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "601:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "609:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "597:3:1"
},
"nodeType": "YulFunctionCall",
"src": "597:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "616:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "593:3:1"
},
"nodeType": "YulFunctionCall",
"src": "593:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "586:6:1"
},
"nodeType": "YulFunctionCall",
"src": "586:35:1"
},
"nodeType": "YulIf",
"src": "583:2:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "647:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "674:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "661:12:1"
},
"nodeType": "YulFunctionCall",
"src": "661:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "651:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "690:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "751:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "759:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "747:3:1"
},
"nodeType": "YulFunctionCall",
"src": "747:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "766:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "774:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "699:47:1"
},
"nodeType": "YulFunctionCall",
"src": "699:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "690:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "551:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "559:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "567:5:1",
"type": ""
}
],
"src": "511:273:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "840:85:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "850:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "872:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "859:12:1"
},
"nodeType": "YulFunctionCall",
"src": "859:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "850:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "913:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint8",
"nodeType": "YulIdentifier",
"src": "888:24:1"
},
"nodeType": "YulFunctionCall",
"src": "888:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "888:31:1"
}
]
},
"name": "abi_decode_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "818:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "826:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "834:5:1",
"type": ""
}
],
"src": "790:135:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1036:550:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1082:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1091:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1094:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1084:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1084:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1084:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1057:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1066:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1053:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1053:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1078:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1049:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1049:32:1"
},
"nodeType": "YulIf",
"src": "1046:2:1"
},
{
"nodeType": "YulBlock",
"src": "1108:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1123:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1154:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1165:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1150:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1150:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1137:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1137:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1127:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1215:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1224:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1227:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1217:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1217:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1217:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1187:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1195:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1184:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1184:30:1"
},
"nodeType": "YulIf",
"src": "1181:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1245:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1290:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1301:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1286:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1286:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1310:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1255:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1255:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1245:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1338:116:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1353:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1367:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1357:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1383:61:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1416:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1427:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1412:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1412:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1436:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint8",
"nodeType": "YulIdentifier",
"src": "1393:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:51:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1383:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1464:115:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1479:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1493:2:1",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1483:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1509:60:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1541:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1552:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1537:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1537:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1561:7:1"
}
],
"functionName": {
"name": "abi_decode_t_bool",
"nodeType": "YulIdentifier",
"src": "1519:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1519:50:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1509:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint8t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "990:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1001:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1013:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1021:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1029:6:1",
"type": ""
}
],
"src": "931:655:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1633:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1643:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "1653:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1653:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1643:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1702:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "1710:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "1682:19:1"
},
"nodeType": "YulFunctionCall",
"src": "1682:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "1682:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1617:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1626:6:1",
"type": ""
}
],
"src": "1592:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1767:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1777:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1793:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1787:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1787:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1777:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1760:6:1",
"type": ""
}
],
"src": "1727:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1875:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1980:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "1982:16:1"
},
"nodeType": "YulFunctionCall",
"src": "1982:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "1982:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1952:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1960:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1949:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1949:30:1"
},
"nodeType": "YulIf",
"src": "1946:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2012:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2042:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2020:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2020:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2012:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2086:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2098:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2104:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2094:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2094:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2086:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1859:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1870:4:1",
"type": ""
}
],
"src": "1808:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2164:48:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2174:32:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2199:5:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2192:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2192:13:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2185:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2185:21:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2174:7:1"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2146:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2156:7:1",
"type": ""
}
],
"src": "2122:90:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2261:43:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2271:27:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2286:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2293:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2282:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2282:16:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2271:7:1"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2243:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2253:7:1",
"type": ""
}
],
"src": "2218:86:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2361:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2384:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2389:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2394:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "2371:12:1"
},
"nodeType": "YulFunctionCall",
"src": "2371:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "2371:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2442:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2447:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2438:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2438:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2456:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2431:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2431:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "2431:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2343:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2348:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2353:6:1",
"type": ""
}
],
"src": "2310:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2521:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2531:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2545:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2551:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2541:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2541:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2531:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2562:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2592:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2598:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2588:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2588:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2566:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2639:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2653:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2667:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2675:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2663:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2663:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2653:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2619:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2612:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2612:26:1"
},
"nodeType": "YulIf",
"src": "2609:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2742:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "2756:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2756:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2756:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2706:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2729:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2737:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2726:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2726:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2703:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2703:38:1"
},
"nodeType": "YulIf",
"src": "2700:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2505:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2514:6:1",
"type": ""
}
],
"src": "2470:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2839:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2849:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2871:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2901:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2879:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2879:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2867:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2867:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "2853:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3018:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3020:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3020:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3020:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2961:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2973:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2958:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2958:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2997:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3009:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2994:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2994:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "2955:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2955:62:1"
},
"nodeType": "YulIf",
"src": "2952:2:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3056:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3060:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3049:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3049:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "3049:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2825:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2833:4:1",
"type": ""
}
],
"src": "2796:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3111:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3128:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3131:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3121:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3121:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3121:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3225:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3228:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3218:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3218:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3218:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3249:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3252:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3242:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3242:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3242:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "3083:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3297:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3314:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3317:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3307:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3307:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3307:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3411:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3414:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3404:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3404:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3404:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3435:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3438:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3428:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3428:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3428:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "3269:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3503:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3513:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3531:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3538:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3527:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3527:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3547:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3543:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3543:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3523:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3523:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "3513:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3486:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "3496:6:1",
"type": ""
}
],
"src": "3455:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3603:76:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3657:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3666:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3669:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3659:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3659:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3659:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3626:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3648:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "3633:14:1"
},
"nodeType": "YulFunctionCall",
"src": "3633:21:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3623:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3623:32:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3616:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3616:40:1"
},
"nodeType": "YulIf",
"src": "3613:2:1"
}
]
},
"name": "validator_revert_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3596:5:1",
"type": ""
}
],
"src": "3563:116:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3726:77:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3781:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3790:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3793:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3783:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3783:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3783:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3749:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3772:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "3756:15:1"
},
"nodeType": "YulFunctionCall",
"src": "3756:22:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3746:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3746:33:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3739:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3739:41:1"
},
"nodeType": "YulIf",
"src": "3736:2:1"
}
]
},
"name": "validator_revert_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3719:5:1",
"type": ""
}
],
"src": "3685:118: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(0, 0) }\n copy_calldata_to_memory(src, dst, length)\n }\n\n function abi_decode_t_bool(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_bool(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(0, 0) }\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_uint8(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint8(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint8t_bool(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\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_uint8(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_bool(add(headStart, offset), dataEnd)\n }\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 cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\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 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 round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_bool(value) {\n if iszero(eq(value, cleanup_t_bool(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_uint8(value) {\n if iszero(eq(value, cleanup_t_uint8(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100365760003560e01c806323e898e91461003b5780633c5c94c214610045575b600080fd5b610043610061565b005b61005f600480360381019061005a919061026a565b6100e5565b005b6040518060400160405280600681526020017f4761757261760000000000000000000000000000000000000000000000000000815250600190805190602001906100ac929190610135565b50601e6000806101000a81548160ff021916908360ff1602179055506001600260006101000a81548160ff021916908315150217905550565b82600190805190602001906100fb929190610135565b50816000806101000a81548160ff021916908360ff16021790555080600260006101000a81548160ff021916908315150217905550505050565b8280546101419061034f565b90600052602060002090601f01602090048101928261016357600085556101aa565b82601f1061017c57805160ff19168380011785556101aa565b828001600101855582156101aa579182015b828111156101a957825182559160200191906001019061018e565b5b5090506101b791906101bb565b5090565b5b808211156101d45760008160009055506001016101bc565b5090565b60006101eb6101e6846102f6565b6102d1565b90508281526020810184848401111561020357600080fd5b61020e848285610340565b509392505050565b60008135905061022581610421565b92915050565b600082601f83011261023c57600080fd5b813561024c8482602086016101d8565b91505092915050565b60008135905061026481610438565b92915050565b60008060006060848603121561027f57600080fd5b600084013567ffffffffffffffff81111561029957600080fd5b6102a58682870161022b565b93505060206102b686828701610255565b92505060406102c786828701610216565b9150509250925092565b60006102db6102ec565b90506102e78282610381565b919050565b6000604051905090565b600067ffffffffffffffff821115610311576103106103e1565b5b61031a82610410565b9050602081019050919050565b60008115159050919050565b600060ff82169050919050565b82818337600083830152505050565b6000600282049050600182168061036757607f821691505b6020821081141561037b5761037a6103b2565b5b50919050565b61038a82610410565b810181811067ffffffffffffffff821117156103a9576103a86103e1565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61042a81610327565b811461043557600080fd5b50565b61044181610333565b811461044c57600080fd5b5056fea26469706673582212205f16711d3533e24d5895630b5151c1d86d5414145939470ab506bde35fedcd7e64736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x23E898E9 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x3C5C94C2 EQ PUSH2 0x45 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x61 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x5F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5A SWAP2 SWAP1 PUSH2 0x26A JUMP JUMPDEST PUSH2 0xE5 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4761757261760000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xAC SWAP3 SWAP2 SWAP1 PUSH2 0x135 JUMP JUMPDEST POP PUSH1 0x1E PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x1 PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP JUMP JUMPDEST DUP3 PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0xFB SWAP3 SWAP2 SWAP1 PUSH2 0x135 JUMP JUMPDEST POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP DUP1 PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x141 SWAP1 PUSH2 0x34F JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x163 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x1AA JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x17C JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x1AA JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x1AA JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x1A9 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x18E JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x1B7 SWAP2 SWAP1 PUSH2 0x1BB JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1D4 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x1BC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1EB PUSH2 0x1E6 DUP5 PUSH2 0x2F6 JUMP JUMPDEST PUSH2 0x2D1 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x203 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x20E DUP5 DUP3 DUP6 PUSH2 0x340 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x225 DUP2 PUSH2 0x421 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x23C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x24C DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1D8 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x264 DUP2 PUSH2 0x438 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x27F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP5 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x299 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2A5 DUP7 DUP3 DUP8 ADD PUSH2 0x22B JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x2B6 DUP7 DUP3 DUP8 ADD PUSH2 0x255 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x2C7 DUP7 DUP3 DUP8 ADD PUSH2 0x216 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2DB PUSH2 0x2EC JUMP JUMPDEST SWAP1 POP PUSH2 0x2E7 DUP3 DUP3 PUSH2 0x381 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 0x311 JUMPI PUSH2 0x310 PUSH2 0x3E1 JUMP JUMPDEST JUMPDEST PUSH2 0x31A DUP3 PUSH2 0x410 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x367 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x37B JUMPI PUSH2 0x37A PUSH2 0x3B2 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x38A DUP3 PUSH2 0x410 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x3A9 JUMPI PUSH2 0x3A8 PUSH2 0x3E1 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 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x42A DUP2 PUSH2 0x327 JUMP JUMPDEST DUP2 EQ PUSH2 0x435 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x441 DUP2 PUSH2 0x333 JUMP JUMPDEST DUP2 EQ PUSH2 0x44C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x5F AND PUSH18 0x1D3533E24D5895630B5151C1D86D54141459 CODECOPY SELFBALANCE EXP 0xB5 MOD 0xBD 0xE3 0x5F 0xED 0xCD PUSH31 0x64736F6C634300080400330000000000000000000000000000000000000000 ",
"sourceMap": "25:434:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;157:118;;;:::i;:::-;;285:172;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;157:118;196:22;;;;;;;;;;;;;;;;;:11;:22;;;;;;;;;;;;:::i;:::-;;241:2;228:10;;:15;;;;;;;;;;;;;;;;;;264:4;253:8;;:15;;;;;;;;;;;;;;;;;;157:118::o;285:172::-;390:5;376:11;:19;;;;;;;;;;;;:::i;:::-;;418:4;405:10;;:17;;;;;;;;;;;;;;;;;;443:7;432:8;;:18;;;;;;;;;;;;;;;;;;285:172;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345: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:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;358:133::-;401:5;439:6;426:20;417:29;;455:30;479:5;455:30;:::i;:::-;407:84;;;;:::o;511:273::-;567:5;616:3;609:4;601:6;597:17;593:27;583:2;;634:1;631;624:12;583:2;674:6;661:20;699:79;774:3;766:6;759:4;751:6;747:17;699:79;:::i;:::-;690:88;;573:211;;;;;:::o;790:135::-;834:5;872:6;859:20;850:29;;888:31;913:5;888:31;:::i;:::-;840:85;;;;:::o;931:655::-;1013:6;1021;1029;1078:2;1066:9;1057:7;1053:23;1049:32;1046:2;;;1094:1;1091;1084:12;1046:2;1165:1;1154:9;1150:17;1137:31;1195:18;1187:6;1184:30;1181:2;;;1227:1;1224;1217:12;1181:2;1255:63;1310:7;1301:6;1290:9;1286:22;1255:63;:::i;:::-;1245:73;;1108:220;1367:2;1393:51;1436:7;1427:6;1416:9;1412:22;1393:51;:::i;:::-;1383:61;;1338:116;1493:2;1519:50;1561:7;1552:6;1541:9;1537:22;1519:50;:::i;:::-;1509:60;;1464:115;1036:550;;;;;:::o;1592:129::-;1626:6;1653:20;;:::i;:::-;1643:30;;1682:33;1710:4;1702:6;1682:33;:::i;:::-;1633:88;;;:::o;1727:75::-;1760:6;1793:2;1787:9;1777:19;;1767:35;:::o;1808:308::-;1870:4;1960:18;1952:6;1949:30;1946:2;;;1982:18;;:::i;:::-;1946:2;2020:29;2042:6;2020:29;:::i;:::-;2012:37;;2104:4;2098;2094:15;2086:23;;1875:241;;;:::o;2122:90::-;2156:7;2199:5;2192:13;2185:21;2174:32;;2164:48;;;:::o;2218:86::-;2253:7;2293:4;2286:5;2282:16;2271:27;;2261:43;;;:::o;2310:154::-;2394:6;2389:3;2384;2371:30;2456:1;2447:6;2442:3;2438:16;2431:27;2361:103;;;:::o;2470:320::-;2514:6;2551:1;2545:4;2541:12;2531:22;;2598:1;2592:4;2588:12;2619:18;2609:2;;2675:4;2667:6;2663:17;2653:27;;2609:2;2737;2729:6;2726:14;2706:18;2703:38;2700:2;;;2756:18;;:::i;:::-;2700:2;2521:269;;;;:::o;2796:281::-;2879:27;2901:4;2879:27;:::i;:::-;2871:6;2867:40;3009:6;2997:10;2994:22;2973:18;2961:10;2958:34;2955:62;2952:2;;;3020:18;;:::i;:::-;2952:2;3060:10;3056:2;3049:22;2839:238;;;:::o;3083:180::-;3131:77;3128:1;3121:88;3228:4;3225:1;3218:15;3252:4;3249:1;3242:15;3269:180;3317:77;3314:1;3307:88;3414:4;3411:1;3404:15;3438:4;3435:1;3428:15;3455:102;3496:6;3547:2;3543:7;3538:2;3531:5;3527:14;3523:28;3513:38;;3503:54;;;:::o;3563:116::-;3633:21;3648:5;3633:21;:::i;:::-;3626:5;3623:32;3613:2;;3669:1;3666;3659:12;3613:2;3603:76;:::o;3685:118::-;3756:22;3772:5;3756:22;:::i;:::-;3749:5;3746:33;3736:2;;3793:1;3790;3783:12;3736:2;3726:77;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "231400",
"executionCost": "275",
"totalCost": "231675"
},
"external": {
"setStudent()": "infinite",
"setStudentDetails(string,uint8,bool)": "infinite"
}
},
"methodIdentifiers": {
"setStudent()": "23e898e9",
"setStudentDetails(string,uint8,bool)": "3c5c94c2"
}
},
"abi": [
{
"inputs": [],
"name": "setStudent",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "bool",
"name": "_active",
"type": "bool"
}
],
"name": "setStudentDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "setStudent",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint8",
"name": "_age",
"type": "uint8"
},
{
"internalType": "bool",
"name": "_active",
"type": "bool"
}
],
"name": "setStudentDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/class2/soliditylearning.sol": "variableSample"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/class2/soliditylearning.sol": {
"keccak256": "0x79482e627d2f22b8ce016cc34a6b2966db89becd531a63340f0f4538addccab4",
"urls": [
"bzz-raw://dc740c6bc981577c9d3bda5a43d1d44024f2b596eaac50f2fa1a79f77ee5dcb0",
"dweb:/ipfs/QmU9H83gFepv1M9LDqrnmU1VkcfiNKmhekzrCnZpoU6HFo"
]
}
},
"version": 1
}
pragma solidity ^0.8.4;
contract variableSample {
// 0 to 255 --> Recommended
uint8 studentAge;
string studentName;
bool isActive;
function setStudent() public {
studentName = "Gaurav";
studentAge = 30;
isActive = true;
}
function setStudentDetails(string memory _name, uint8 _age, bool _active) public {
studentName = _name;
studentAge = _age;
isActive = _active;
}
}
contract arraySample {
// fixed length array
string[15] name;
uint8[15] age;
//dynamic array
string[] studentName;
uint8[] studentAge;
function setDataToFixLengthArray(string memory _name, uint8 _age, uint _index) public {
name[_index] = _name;
age[_index] = _age;
}
function getDataFromFixedLengthArray(uint _index) public view returns(string memory, uint8){
return (name[_index], age[_index]);
}
function setDynamicArray(string memory _name, uint8 _age) public {
studentName.push(_name);
studentAge.push(_age);
}
function getDynamicArray(uint _index) public view returns (string memory, uint8){
return (studentName[_index], studentAge[_index]);
}
}
//enum
contract enumSample {
enum carColor {black, white, gray }
carColor _MarkCarColor;
carColor _VivekCarColor;
function setMarkCarColor() public {
_MarkCarColor = carColor.white;
}
function setVivekCarColor() public {
_VivekCarColor = carColor.gray;
}
function getVivekCarColor() public view returns (carColor) {
return _VivekCarColor;
}
}
//struct
contract structSample {
struct student {
string name;
uint8 age;
uint phoneNo;
}
student _JuliaStudent;
function setStudentDetails(string memory _name, uint8 _age, uint _phoneno) public {
_JuliaStudent.name = _name;
_JuliaStudent.age = _age;
_JuliaStudent.phoneNo = _phoneno;
}
function getStudentDetails() public view returns (string memory, uint8, uint) {
return (_JuliaStudent.name, _JuliaStudent.age, _JuliaStudent.phoneNo);
}
}
// address
contract addressSample {
address studentAddress;
address payable adminAddress;
function setAddress (address _add) public{
adminAddress == _add;
}
function receiveMoney() public payable {
}
function checkContractBalance() public view returns (uint) {
return address(this).balance;
}
function checkBalance() public view returns(uint) {
return adminAddress.balance;
}
function transferFunds(uint _amount) public {
// amount will be always in wei
adminAddress.transfer(_amount);
}
}
//mapping key value pair
contract mappingContract {
//child[0]="Tanya", child[1]="Arav"
// 1 => "Tanya"
// 2 => "Arav"
mapping (uint => string) childern;
function addChild( uint _childNo, string memory _childName) public {
childern[_childNo]=_childName;
}
function getChildByNo(uint _childNo) public view returns(string memory){
return childern[_childNo];
}
}
contract studentSampleView {
struct student {
string name;
uint8 age;
}
mapping (uint => student) students;
function addStudent(string memory _name, uint8 _age, uint _id) public {
students[_id].name = _name;
students[_id].age = _age;
}
function getStudents(uint _id) public view returns(string memory, uint8){
return (students[_id].name, students[_id].age);
}
}
contract overloadingSample {
string name;
uint8 age;
function setDetails(string memory _name, uint8 _age) public{
name=_name;
age=_age;
}
function setDetails(string memory _name) public{
name=_name;
}
function setDetails(uint8 _age) public{
age=_age;
}
}
// Right click on the script name and hit "Run" to execute
(async () => {
try {
console.log('Running deployWithEthers script...')
const contractName = 'Storage' // Change this for other contract
const constructorArgs = [] // Put constructor args (if any) here for your contract
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
// 'web3Provider' is a remix global variable object
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner()
let factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer);
let contract = await factory.deploy(...constructorArgs);
console.log('Contract Address: ', contract.address);
// The contract is NOT deployed yet; we must wait until it is mined
await contract.deployed()
console.log('Deployment successful.')
} catch (e) {
console.log(e.message)
}
})()
// Right click on the script name and hit "Run" to execute
(async () => {
try {
console.log('Running deployWithWeb3 script...')
const contractName = 'Storage' // Change this for other contract
const constructorArgs = [] // Put constructor args (if any) here for your contract
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
const accounts = await web3.eth.getAccounts()
let contract = new web3.eth.Contract(metadata.abi)
contract = contract.deploy({
data: metadata.data.bytecode.object,
arguments: constructorArgs
})
const newContractInstance = await contract.send({
from: accounts[0],
gas: 1500000,
gasPrice: '30000000000'
})
console.log('Contract deployed at address: ', newContractInstance.options.address)
} catch (e) {
console.log(e.message)
}
})()
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "../contracts/3_Ballot.sol";
contract BallotTest {
bytes32[] proposalNames;
Ballot ballotToTest;
function beforeAll () public {
proposalNames.push(bytes32("candidate1"));
ballotToTest = new Ballot(proposalNames);
}
function checkWinningProposal () public {
ballotToTest.vote(0);
Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal");
Assert.equal(ballotToTest.winnerName(), bytes32("candidate1"), "candidate1 should be the winner name");
}
function checkWinninProposalWithReturnValue () public view returns (bool) {
return ballotToTest.winningProposal() == 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment