Skip to content

Instantly share code, notes, and snippets.

@santocyber
Created July 28, 2021 02:06
Show Gist options
  • Save santocyber/0425b3de97751d091d4d0f81e19b3e30 to your computer and use it in GitHub Desktop.
Save santocyber/0425b3de97751d091d4d0f81e19b3e30 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=true&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": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:396:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "69:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "79:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "93:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "96:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
"nodeType": "YulFunctionCall",
"src": "89:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "79:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "110:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "140:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "146:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "136:3:1"
},
"nodeType": "YulFunctionCall",
"src": "136:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "114:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "187:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "189:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "203:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "211:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "199:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "189:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "167:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "160:6:1"
},
"nodeType": "YulFunctionCall",
"src": "160:26:1"
},
"nodeType": "YulIf",
"src": "157:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "298:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "305:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "310:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "301:3:1"
},
"nodeType": "YulFunctionCall",
"src": "301:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "291:6:1"
},
"nodeType": "YulFunctionCall",
"src": "291:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "291:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "342:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "335:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "335:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "370:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "373:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "363:6:1"
},
"nodeType": "YulFunctionCall",
"src": "363:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "363:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "233:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "256:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "264:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "253:2:1"
},
"nodeType": "YulFunctionCall",
"src": "253:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "230:2:1"
},
"nodeType": "YulFunctionCall",
"src": "230:38:1"
},
"nodeType": "YulIf",
"src": "227:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "49:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "58:6:1",
"type": ""
}
],
"src": "14:380:1"
}
]
},
"contents": "{\n { }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60c0604052601e60808190527f4875677265656e20486f6c697374696320486564676520486f6c64696e67000060a090815261003e91600091906100ad565b50604080518082019091526004808252630909090960e31b602090920191825261006a916001916100ad565b506b033b2e3c9fd0803ce80000006002556003805460ff1916601217905534801561009457600080fd5b5060025433600090815260046020526040902055610181565b8280546100b990610146565b90600052602060002090601f0160209004810192826100db5760008555610121565b82601f106100f457805160ff1916838001178555610121565b82800160010185558215610121579182015b82811115610121578251825591602001919060010190610106565b5061012d929150610131565b5090565b5b8082111561012d5760008155600101610132565b600181811c9082168061015a57607f821691505b6020821081141561017b57634e487b7160e01b600052602260045260246000fd5b50919050565b610655806101906000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122061de82481236c8f74f5400d8aec5a3e6dbb37a87ea4df1860d8dbd1421dac81364736f6c63430008040033",
"opcodes": "PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x1E PUSH1 0x80 DUP2 SWAP1 MSTORE PUSH32 0x4875677265656E20486F6C697374696320486564676520486F6C64696E670000 PUSH1 0xA0 SWAP1 DUP2 MSTORE PUSH2 0x3E SWAP2 PUSH1 0x0 SWAP2 SWAP1 PUSH2 0xAD JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x9090909 PUSH1 0xE3 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH2 0x6A SWAP2 PUSH1 0x1 SWAP2 PUSH2 0xAD JUMP JUMPDEST POP PUSH12 0x33B2E3C9FD0803CE8000000 PUSH1 0x2 SSTORE PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x12 OR SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x94 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SSTORE PUSH2 0x181 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0xB9 SWAP1 PUSH2 0x146 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0xDB JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xF4 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x121 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x121 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x106 JUMP JUMPDEST POP PUSH2 0x12D SWAP3 SWAP2 POP PUSH2 0x131 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x132 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x15A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x17B JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x655 DUP1 PUSH2 0x190 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 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH2 0xDE82 0x48 SLT CALLDATASIZE 0xC8 0xF7 0x4F SLOAD STOP 0xD8 0xAE 0xC5 LOG3 0xE6 0xDB 0xB3 PUSH27 0x87EA4DF1860D8DBD1421DAC81364736F6C63430008040033000000 ",
"sourceMap": "94:53:0:-:0;68:3164;94:53;;68:3164;94:53;;;;;;;;;;-1:-1:-1;;94:53:0;;:::i;:::-;-1:-1:-1;153:29:0;;;;;;;;;;;;;-1:-1:-1;;;153:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;217:28:0;188:57;;271:26;;;-1:-1:-1;;271:26:0;295:2;271:26;;;1030:66;;;;;;;;;-1:-1:-1;1078:11:0;;1064:10;1054:21;;;;:9;:21;;;;;:35;68:3164;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68:3164:0;;;-1:-1:-1;68:3164:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:380:1;93:1;89:12;;;;136;;;157:2;;211:4;203:6;199:17;189:27;;157:2;264;256:6;253:14;233:18;230:38;227:2;;;310:10;305:3;301:20;298:1;291:31;345:4;342:1;335:15;373:4;370:1;363:15;227:2;;69:325;;;:::o;:::-;68:3164:0;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "63:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "73:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "95:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "82:12:1"
},
"nodeType": "YulFunctionCall",
"src": "82:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "165:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "174:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "177:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "167:6:1"
},
"nodeType": "YulFunctionCall",
"src": "167:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "167:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "124:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "135:5:1"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "150:3:1",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "155:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "146:3:1"
},
"nodeType": "YulFunctionCall",
"src": "146:11:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "159:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "142:19:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "131:3:1"
},
"nodeType": "YulFunctionCall",
"src": "131:31:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "121:2:1"
},
"nodeType": "YulFunctionCall",
"src": "121:42:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "114:6:1"
},
"nodeType": "YulFunctionCall",
"src": "114:50:1"
},
"nodeType": "YulIf",
"src": "111:2:1"
}
]
},
"name": "abi_decode_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "42:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "14:173:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "262:126:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "308:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "317:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "325:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nodeType": "YulFunctionCall",
"src": "310:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "310:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "283:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "292:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "279:3:1"
},
"nodeType": "YulFunctionCall",
"src": "279:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "304:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "275:3:1"
},
"nodeType": "YulFunctionCall",
"src": "275:32:1"
},
"nodeType": "YulIf",
"src": "272:2:1"
},
{
"nodeType": "YulAssignment",
"src": "343:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "372:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "353:18:1"
},
"nodeType": "YulFunctionCall",
"src": "353:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "343:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "228:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "239:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "251:6:1",
"type": ""
}
],
"src": "192:196:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "480:183:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "526:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "535:6:1"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "543:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "528:6:1"
},
"nodeType": "YulFunctionCall",
"src": "528:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "528:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "501:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "510:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "497:3:1"
},
"nodeType": "YulFunctionCall",
"src": "497:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "522:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "493:3:1"
},
"nodeType": "YulFunctionCall",
"src": "493:32:1"
},
"nodeType": "YulIf",
"src": "490:2:1"
},
{
"nodeType": "YulAssignment",
"src": "561:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "590:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "571:18:1"
},
"nodeType": "YulFunctionCall",
"src": "571:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "561:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "609:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "642:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "653:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "638:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "619:18:1"
},
"nodeType": "YulFunctionCall",
"src": "619:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "609:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "438:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "449:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "461:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "469:6:1",
"type": ""
}
],
"src": "393:270:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "772:234:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "818:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "827:6:1"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "835:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "820:6:1"
},
"nodeType": "YulFunctionCall",
"src": "820:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "820:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "793:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "802:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "789:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "814:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "785:3:1"
},
"nodeType": "YulFunctionCall",
"src": "785:32:1"
},
"nodeType": "YulIf",
"src": "782:2:1"
},
{
"nodeType": "YulAssignment",
"src": "853:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "882:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "863:18:1"
},
"nodeType": "YulFunctionCall",
"src": "863:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "853:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "901:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "934:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "945:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "930:3:1"
},
"nodeType": "YulFunctionCall",
"src": "930:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "911:18:1"
},
"nodeType": "YulFunctionCall",
"src": "911:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "901:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "958:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "985:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "996:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "981:3:1"
},
"nodeType": "YulFunctionCall",
"src": "981:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:1"
},
"nodeType": "YulFunctionCall",
"src": "968:32:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "958:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "722:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "733:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "745:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "761:6:1",
"type": ""
}
],
"src": "668:338:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1098:177:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1144:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1153:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1161:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1146:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "1146:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1119:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1128:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1115:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1115:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1140:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1111:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1111:32:1"
},
"nodeType": "YulIf",
"src": "1108:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1179:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1208:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "1189:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1189:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1179:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1227:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1254:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1250:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1250:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1237:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1237:32:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1227:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1056:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1067:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1079:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1087:6:1",
"type": ""
}
],
"src": "1011:264:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1375:92:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1385:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1397:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1408:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1393:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1385:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1427:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1452:6:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1445:14:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1438:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1438:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1420:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "1420:41:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1344:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1355:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1366:4:1",
"type": ""
}
],
"src": "1280:187:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1593:482:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1603:12:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1613:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "1607:2:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1631:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1642:2:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1624:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "1624:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1654:27:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1674:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1668:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1658:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1701:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1712:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1697:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1697:18:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1717:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1690:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1690:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1690:34:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1733:13:1",
"value": {
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1742:4:1"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1737:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1805:90:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1834:9:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1845:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1830:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1830:17:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1849:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1826:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1826:26:1"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1868:6:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1876:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1864:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1864:14:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1880:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1860:23:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1854:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1854:30:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1819:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1819:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1819:66:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1766:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1763:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1777:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1779:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1788:1:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1791:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1784:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1784:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1779:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1759:3:1",
"statements": []
},
"src": "1755:140:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1929:69:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1958:9:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1969:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1954:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1954:22:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1978:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1950:31:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1983:4:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1943:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1943:45:1"
},
"nodeType": "YulExpressionStatement",
"src": "1943:45:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1910:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1907:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1907:13:1"
},
"nodeType": "YulIf",
"src": "1904:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2007:62:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2023:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2042:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2050:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2038:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2038:15:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2059:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2055:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2055:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2034:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2034:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2019:45:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2066:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2015:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2015:54:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2007: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": "1562:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1584:4:1",
"type": ""
}
],
"src": "1472:603:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2181:76:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2191:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2203:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2214:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2199:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2191:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2233:9:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2244:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2226:25:1"
},
"nodeType": "YulExpressionStatement",
"src": "2226:25:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2150:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2161:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2172:4:1",
"type": ""
}
],
"src": "2080:177:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2359:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2369:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2381:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2392:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2377:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2369:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2411:9:1"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2426:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2434:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2422:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2422:17:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2404:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2404:36:1"
},
"nodeType": "YulExpressionStatement",
"src": "2404:36:1"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2328:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2339:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2350:4:1",
"type": ""
}
],
"src": "2262:184:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2499:80:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2526:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2528:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2528:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2528:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2515:1:1"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2522:1:1"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2518:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2518:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2512:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2512:13:1"
},
"nodeType": "YulIf",
"src": "2509:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2557:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2568:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2564:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2564:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2557:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2482:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2485:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
}
],
"src": "2451:128:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2633:76:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2655:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2657:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2657:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2657:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2649:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2652:1:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2646:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2646:8:1"
},
"nodeType": "YulIf",
"src": "2643:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2686:17:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2698:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2701:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2694:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2694:9:1"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "2686:4:1"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2615:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2618:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "2624:4:1",
"type": ""
}
],
"src": "2584:125:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2769:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2779:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2793:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2796:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "2789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2789:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2779:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2810:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2840:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2846:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2836:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2836:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2814:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2887:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2889:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2903:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2911:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2899:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2899:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2889:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2867:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2860:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2860:26:1"
},
"nodeType": "YulIf",
"src": "2857:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2977:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2998:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3005:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3010:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3001:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3001:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2991:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "2991:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3042:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3045:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3035:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3035:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3035:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3070:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3073:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3063:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3063:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2933:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2964:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2953:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2953:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2930:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2930:38:1"
},
"nodeType": "YulIf",
"src": "2927:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2749:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2758:6:1",
"type": ""
}
],
"src": "2714:380:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3131:95:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3148:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3155:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3160:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3151:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3151:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3141:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "3141:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3188:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3191:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3181:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3181:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3181:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3212:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3215:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3205:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3205:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:127:1"
}
]
},
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value1, value1) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(value2, value2) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := tail\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), tail)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122061de82481236c8f74f5400d8aec5a3e6dbb37a87ea4df1860d8dbd1421dac81364736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH2 0xDE82 0x48 SLT CALLDATASIZE 0xC8 0xF7 0x4F SLOAD STOP 0xD8 0xAE 0xC5 LOG3 0xE6 0xDB 0xB3 PUSH27 0x87EA4DF1860D8DBD1421DAC81364736F6C63430008040033000000 ",
"sourceMap": "68:3164:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94:53;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2274:232;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;2274:232:0;1375:92:1;188:57:0;;;;;;;;;2226:25:1;;;2214:2;2199:18;188:57:0;2181:76:1;2813:417:0;;;;;;:::i;:::-;;:::i;271:26::-;;;;;;;;;;;;2434:4:1;2422:17;;;2404:36;;2392:2;2377:18;271:26:0;2359:87:1;823:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;153:29;;;:::i;1317:298::-;;;;;;:::i;:::-;;:::i;873:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;94:53;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2274:232::-;2395:10;2357:12;2385:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2385:31:0;;;;;;;;;;:40;;;2440:38;2357:12;;2385:31;;2440:38;;;;2419:6;2226:25:1;;2214:2;2199:18;;2181:76;2440:38:0;;;;;;;;-1:-1:-1;2495:4:0;2274:232;;;;:::o;2813:417::-;-1:-1:-1;;;;;2967:16:0;;2925:12;2967:16;;;:9;:16;;;;;;2957:26;;;2949:35;;;;;;-1:-1:-1;;;;;3012:16:0;;;;;;:9;:16;;;;;;;;3029:10;3012:28;;;;;;;;3002:38;;;2994:47;;;;;;-1:-1:-1;;;;;3051:16:0;;;;;;:9;:16;;;;;:26;;3071:6;;3051:16;:26;;3071:6;;3051:26;:::i;:::-;;;;-1:-1:-1;;;;;;;3087:14:0;;;;;;:9;:14;;;;;:24;;3105:6;;3087:14;:24;;3105:6;;3087:24;:::i;:::-;;;;-1:-1:-1;;;;;;;3121:16:0;;;;;;:9;:16;;;;;;;;3138:10;3121:28;;;;;;;:38;;3153:6;;3121:16;:38;;3153:6;;3121:38;:::i;:::-;;;;;;;;3190:3;-1:-1:-1;;;;;3174:28:0;3183:5;-1:-1:-1;;;;;3174:28:0;;3195:6;3174:28;;;;2226:25:1;;2214:2;2199:18;;2181:76;3174:28:0;;;;;;;;-1:-1:-1;3219:4:0;2813:417;;;;;:::o;153:29::-;;;;;;;:::i;1317:298::-;1442:10;1396:12;1432:21;;;:9;:21;;;;;;:31;-1:-1:-1;1432:31:0;1424:40;;;;;;1484:10;1474:21;;;;:9;:21;;;;;:31;;1499:6;;1474:21;:31;;1499:6;;1474:31;:::i;:::-;;;;-1:-1:-1;;;;;;;1515:14:0;;;;;;:9;:14;;;;;:24;;1533:6;;1515:14;:24;;1533:6;;1515:24;:::i;:::-;;;;-1:-1:-1;;1554:33:0;;2226:25:1;;;-1:-1:-1;;;;;1554:33:0;;;1563:10;;1554:33;;2214:2:1;2199:18;1554:33:0;2181:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;1584:4;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2451:128::-;2491:3;2522:1;2518:6;2515:1;2512:13;2509:2;;;2528:18;;:::i;:::-;-1:-1:-1;2564:9:1;;2499:80::o;2584:125::-;2624:4;2652:1;2649;2646:8;2643:2;;;2657:18;;:::i;:::-;-1:-1:-1;2694:9:1;;2633:76::o;2714:380::-;2793:1;2789:12;;;;2836;;;2857:2;;2911:4;2903:6;2899:17;2889:27;;2857:2;2964;2956:6;2953:14;2933:18;2930:38;2927:2;;;3010:10;3005:3;3001:20;2998:1;2991:31;3045:4;3042:1;3035:15;3073:4;3070:1;3063:15;2927:2;;2769:325;;;:::o;3099:127::-;3160:10;3155:3;3151:20;3148:1;3141:31;3191:4;3188:1;3181:15;3215:4;3212:1;3205:15"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "324200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "22422",
"balanceOf(address)": "1241",
"decimals()": "1013",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "1040",
"transfer(address,uint256)": "45151",
"transferFrom(address,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"events": {
"Approval(address,address,uint256)": {
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
},
"Transfer(address,address,uint256)": {
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
}
},
"kind": "dev",
"methods": {
"approve(address,uint256)": {
"details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."
},
"constructor": {
"details": "Constructor that gives msg.sender all of existing tokens."
},
"transfer(address,uint256)": {
"details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
},
"transferFrom(address,address,uint256)": {
"details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/BEP20.sol": "BEP20Token"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/BEP20.sol": {
"keccak256": "0x601bfdd4cfc782a39ef101f9113c4233d370cceab24d9d0322eb011226d2cc8e",
"license": "UNLISCENSED",
"urls": [
"bzz-raw://7ca124d591e99606715e7c236a94da377662fcfb0b58c12da94cec32037c787b",
"dweb:/ipfs/QmSYSWCce5eGKuU6jk2Ek2itR73p7adXkW3LcKKrSbVfdP"
]
}
},
"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": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:396:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "69:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "79:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "93:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "96:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
"nodeType": "YulFunctionCall",
"src": "89:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "79:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "110:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "140:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "146:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "136:3:1"
},
"nodeType": "YulFunctionCall",
"src": "136:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "114:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "187:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "189:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "203:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "211:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "199:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "189:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "167:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "160:6:1"
},
"nodeType": "YulFunctionCall",
"src": "160:26:1"
},
"nodeType": "YulIf",
"src": "157:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "298:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "305:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "310:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "301:3:1"
},
"nodeType": "YulFunctionCall",
"src": "301:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "291:6:1"
},
"nodeType": "YulFunctionCall",
"src": "291:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "291:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "342:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "335:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "335:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "370:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "373:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "363:6:1"
},
"nodeType": "YulFunctionCall",
"src": "363:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "363:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "233:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "256:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "264:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "253:2:1"
},
"nodeType": "YulFunctionCall",
"src": "253:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "230:2:1"
},
"nodeType": "YulFunctionCall",
"src": "230:38:1"
},
"nodeType": "YulIf",
"src": "227:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "49:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "58:6:1",
"type": ""
}
],
"src": "14:380:1"
}
]
},
"contents": "{\n { }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60c0604052601e60808190527f4875677265656e20486f6c697374696320486564676520486f6c64696e67000060a090815261003e91600091906100ad565b50604080518082019091526004808252630909090960e31b602090920191825261006a916001916100ad565b506b033b2e3c9fd0803ce80000006002556003805460ff1916601217905534801561009457600080fd5b5060025433600090815260046020526040902055610181565b8280546100b990610146565b90600052602060002090601f0160209004810192826100db5760008555610121565b82601f106100f457805160ff1916838001178555610121565b82800160010185558215610121579182015b82811115610121578251825591602001919060010190610106565b5061012d929150610131565b5090565b5b8082111561012d5760008155600101610132565b600181811c9082168061015a57607f821691505b6020821081141561017b57634e487b7160e01b600052602260045260246000fd5b50919050565b610655806101906000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122033652f1ca546c479f2b4df250745d2e8527bcab24ff4635d1e070919ed8b9f9664736f6c63430008040033",
"opcodes": "PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x1E PUSH1 0x80 DUP2 SWAP1 MSTORE PUSH32 0x4875677265656E20486F6C697374696320486564676520486F6C64696E670000 PUSH1 0xA0 SWAP1 DUP2 MSTORE PUSH2 0x3E SWAP2 PUSH1 0x0 SWAP2 SWAP1 PUSH2 0xAD JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x9090909 PUSH1 0xE3 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH2 0x6A SWAP2 PUSH1 0x1 SWAP2 PUSH2 0xAD JUMP JUMPDEST POP PUSH12 0x33B2E3C9FD0803CE8000000 PUSH1 0x2 SSTORE PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x12 OR SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x94 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SSTORE PUSH2 0x181 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0xB9 SWAP1 PUSH2 0x146 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0xDB JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xF4 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x121 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x121 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x106 JUMP JUMPDEST POP PUSH2 0x12D SWAP3 SWAP2 POP PUSH2 0x131 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x132 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x15A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x17B JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x655 DUP1 PUSH2 0x190 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 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLER PUSH6 0x2F1CA546C479 CALLCODE 0xB4 0xDF 0x25 SMOD GASLIMIT 0xD2 0xE8 MSTORE PUSH28 0xCAB24FF4635D1E070919ED8B9F9664736F6C63430008040033000000 ",
"sourceMap": "97:53:0:-:0;68:3167;97:53;;68:3167;97:53;;;;;;;;;;-1:-1:-1;;97:53:0;;:::i;:::-;-1:-1:-1;156:29:0;;;;;;;;;;;;;-1:-1:-1;;;156:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;220:28:0;191:57;;274:26;;;-1:-1:-1;;274:26:0;298:2;274:26;;;1033:66;;;;;;;;;-1:-1:-1;1081:11:0;;1067:10;1057:21;;;;:9;:21;;;;;:35;68:3167;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68:3167:0;;;-1:-1:-1;68:3167:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:380:1;93:1;89:12;;;;136;;;157:2;;211:4;203:6;199:17;189:27;;157:2;264;256:6;253:14;233:18;230:38;227:2;;;310:10;305:3;301:20;298:1;291:31;345:4;342:1;335:15;373:4;370:1;363:15;227:2;;69:325;;;:::o;:::-;68:3167:0;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "63:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "73:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "95:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "82:12:1"
},
"nodeType": "YulFunctionCall",
"src": "82:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "165:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "174:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "177:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "167:6:1"
},
"nodeType": "YulFunctionCall",
"src": "167:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "167:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "124:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "135:5:1"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "150:3:1",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "155:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "146:3:1"
},
"nodeType": "YulFunctionCall",
"src": "146:11:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "159:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "142:19:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "131:3:1"
},
"nodeType": "YulFunctionCall",
"src": "131:31:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "121:2:1"
},
"nodeType": "YulFunctionCall",
"src": "121:42:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "114:6:1"
},
"nodeType": "YulFunctionCall",
"src": "114:50:1"
},
"nodeType": "YulIf",
"src": "111:2:1"
}
]
},
"name": "abi_decode_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "42:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "14:173:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "262:126:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "308:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "317:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "325:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nodeType": "YulFunctionCall",
"src": "310:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "310:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "283:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "292:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "279:3:1"
},
"nodeType": "YulFunctionCall",
"src": "279:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "304:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "275:3:1"
},
"nodeType": "YulFunctionCall",
"src": "275:32:1"
},
"nodeType": "YulIf",
"src": "272:2:1"
},
{
"nodeType": "YulAssignment",
"src": "343:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "372:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "353:18:1"
},
"nodeType": "YulFunctionCall",
"src": "353:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "343:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "228:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "239:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "251:6:1",
"type": ""
}
],
"src": "192:196:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "480:183:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "526:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "535:6:1"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "543:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "528:6:1"
},
"nodeType": "YulFunctionCall",
"src": "528:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "528:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "501:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "510:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "497:3:1"
},
"nodeType": "YulFunctionCall",
"src": "497:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "522:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "493:3:1"
},
"nodeType": "YulFunctionCall",
"src": "493:32:1"
},
"nodeType": "YulIf",
"src": "490:2:1"
},
{
"nodeType": "YulAssignment",
"src": "561:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "590:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "571:18:1"
},
"nodeType": "YulFunctionCall",
"src": "571:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "561:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "609:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "642:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "653:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "638:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "619:18:1"
},
"nodeType": "YulFunctionCall",
"src": "619:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "609:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "438:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "449:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "461:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "469:6:1",
"type": ""
}
],
"src": "393:270:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "772:234:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "818:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "827:6:1"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "835:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "820:6:1"
},
"nodeType": "YulFunctionCall",
"src": "820:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "820:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "793:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "802:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "789:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "814:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "785:3:1"
},
"nodeType": "YulFunctionCall",
"src": "785:32:1"
},
"nodeType": "YulIf",
"src": "782:2:1"
},
{
"nodeType": "YulAssignment",
"src": "853:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "882:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "863:18:1"
},
"nodeType": "YulFunctionCall",
"src": "863:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "853:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "901:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "934:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "945:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "930:3:1"
},
"nodeType": "YulFunctionCall",
"src": "930:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "911:18:1"
},
"nodeType": "YulFunctionCall",
"src": "911:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "901:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "958:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "985:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "996:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "981:3:1"
},
"nodeType": "YulFunctionCall",
"src": "981:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:1"
},
"nodeType": "YulFunctionCall",
"src": "968:32:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "958:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "722:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "733:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "745:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "761:6:1",
"type": ""
}
],
"src": "668:338:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1098:177:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1144:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1153:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1161:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1146:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "1146:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1119:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1128:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1115:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1115:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1140:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1111:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1111:32:1"
},
"nodeType": "YulIf",
"src": "1108:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1179:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1208:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "1189:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1189:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1179:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1227:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1254:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1250:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1250:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1237:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1237:32:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1227:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1056:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1067:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1079:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1087:6:1",
"type": ""
}
],
"src": "1011:264:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1375:92:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1385:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1397:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1408:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1393:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1385:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1427:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1452:6:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1445:14:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1438:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1438:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1420:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "1420:41:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1344:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1355:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1366:4:1",
"type": ""
}
],
"src": "1280:187:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1593:482:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1603:12:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1613:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "1607:2:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1631:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1642:2:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1624:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "1624:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1654:27:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1674:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1668:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1658:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1701:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1712:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1697:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1697:18:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1717:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1690:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1690:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1690:34:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1733:13:1",
"value": {
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1742:4:1"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1737:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1805:90:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1834:9:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1845:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1830:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1830:17:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1849:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1826:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1826:26:1"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1868:6:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1876:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1864:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1864:14:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1880:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1860:23:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1854:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1854:30:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1819:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1819:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1819:66:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1766:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1763:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1777:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1779:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1788:1:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1791:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1784:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1784:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1779:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1759:3:1",
"statements": []
},
"src": "1755:140:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1929:69:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1958:9:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1969:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1954:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1954:22:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1978:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1950:31:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1983:4:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1943:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1943:45:1"
},
"nodeType": "YulExpressionStatement",
"src": "1943:45:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1910:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1907:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1907:13:1"
},
"nodeType": "YulIf",
"src": "1904:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2007:62:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2023:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2042:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2050:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2038:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2038:15:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2059:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2055:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2055:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2034:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2034:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2019:45:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2066:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2015:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2015:54:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2007: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": "1562:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1584:4:1",
"type": ""
}
],
"src": "1472:603:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2181:76:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2191:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2203:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2214:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2199:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2191:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2233:9:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2244:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2226:25:1"
},
"nodeType": "YulExpressionStatement",
"src": "2226:25:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2150:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2161:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2172:4:1",
"type": ""
}
],
"src": "2080:177:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2359:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2369:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2381:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2392:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2377:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2369:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2411:9:1"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2426:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2434:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2422:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2422:17:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2404:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2404:36:1"
},
"nodeType": "YulExpressionStatement",
"src": "2404:36:1"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2328:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2339:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2350:4:1",
"type": ""
}
],
"src": "2262:184:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2499:80:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2526:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2528:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2528:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2528:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2515:1:1"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2522:1:1"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2518:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2518:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2512:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2512:13:1"
},
"nodeType": "YulIf",
"src": "2509:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2557:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2568:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2564:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2564:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2557:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2482:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2485:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
}
],
"src": "2451:128:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2633:76:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2655:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2657:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2657:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2657:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2649:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2652:1:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2646:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2646:8:1"
},
"nodeType": "YulIf",
"src": "2643:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2686:17:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2698:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2701:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2694:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2694:9:1"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "2686:4:1"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2615:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2618:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "2624:4:1",
"type": ""
}
],
"src": "2584:125:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2769:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2779:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2793:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2796:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "2789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2789:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2779:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2810:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2840:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2846:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2836:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2836:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2814:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2887:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2889:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2903:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2911:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2899:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2899:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2889:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2867:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2860:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2860:26:1"
},
"nodeType": "YulIf",
"src": "2857:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2977:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2998:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3005:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3010:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3001:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3001:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2991:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "2991:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3042:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3045:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3035:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3035:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3035:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3070:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3073:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3063:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3063:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2933:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2964:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2953:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2953:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2930:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2930:38:1"
},
"nodeType": "YulIf",
"src": "2927:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2749:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2758:6:1",
"type": ""
}
],
"src": "2714:380:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3131:95:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3148:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3155:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3160:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3151:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3151:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3141:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "3141:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3188:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3191:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3181:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3181:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3181:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3212:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3215:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3205:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3205:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:127:1"
}
]
},
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value1, value1) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(value2, value2) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := tail\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), tail)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122033652f1ca546c479f2b4df250745d2e8527bcab24ff4635d1e070919ed8b9f9664736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLER PUSH6 0x2F1CA546C479 CALLCODE 0xB4 0xDF 0x25 SMOD GASLIMIT 0xD2 0xE8 MSTORE PUSH28 0xCAB24FF4635D1E070919ED8B9F9664736F6C63430008040033000000 ",
"sourceMap": "68:3167:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97:53;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2277:232;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;2277:232:0;1375:92:1;191:57:0;;;;;;;;;2226:25:1;;;2214:2;2199:18;191:57:0;2181:76:1;2816:417:0;;;;;;:::i;:::-;;:::i;274:26::-;;;;;;;;;;;;2434:4:1;2422:17;;;2404:36;;2392:2;2377:18;274:26:0;2359:87:1;826:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;156:29;;;:::i;1320:298::-;;;;;;:::i;:::-;;:::i;876:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;97:53;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2277:232::-;2398:10;2360:12;2388:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2388:31:0;;;;;;;;;;:40;;;2443:38;2360:12;;2388:31;;2443:38;;;;2422:6;2226:25:1;;2214:2;2199:18;;2181:76;2443:38:0;;;;;;;;-1:-1:-1;2498:4:0;2277:232;;;;:::o;2816:417::-;-1:-1:-1;;;;;2970:16:0;;2928:12;2970:16;;;:9;:16;;;;;;2960:26;;;2952:35;;;;;;-1:-1:-1;;;;;3015:16:0;;;;;;:9;:16;;;;;;;;3032:10;3015:28;;;;;;;;3005:38;;;2997:47;;;;;;-1:-1:-1;;;;;3054:16:0;;;;;;:9;:16;;;;;:26;;3074:6;;3054:16;:26;;3074:6;;3054:26;:::i;:::-;;;;-1:-1:-1;;;;;;;3090:14:0;;;;;;:9;:14;;;;;:24;;3108:6;;3090:14;:24;;3108:6;;3090:24;:::i;:::-;;;;-1:-1:-1;;;;;;;3124:16:0;;;;;;:9;:16;;;;;;;;3141:10;3124:28;;;;;;;:38;;3156:6;;3124:16;:38;;3156:6;;3124:38;:::i;:::-;;;;;;;;3193:3;-1:-1:-1;;;;;3177:28:0;3186:5;-1:-1:-1;;;;;3177:28:0;;3198:6;3177:28;;;;2226:25:1;;2214:2;2199:18;;2181:76;3177:28:0;;;;;;;;-1:-1:-1;3222:4:0;2816:417;;;;;:::o;156:29::-;;;;;;;:::i;1320:298::-;1445:10;1399:12;1435:21;;;:9;:21;;;;;;:31;-1:-1:-1;1435:31:0;1427:40;;;;;;1487:10;1477:21;;;;:9;:21;;;;;:31;;1502:6;;1477:21;:31;;1502:6;;1477:31;:::i;:::-;;;;-1:-1:-1;;;;;;;1518:14:0;;;;;;:9;:14;;;;;:24;;1536:6;;1518:14;:24;;1536:6;;1518:24;:::i;:::-;;;;-1:-1:-1;;1557:33:0;;2226:25:1;;;-1:-1:-1;;;;;1557:33:0;;;1566:10;;1557:33;;2214:2:1;2199:18;1557:33:0;2181:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;1584:4;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2451:128::-;2491:3;2522:1;2518:6;2515:1;2512:13;2509:2;;;2528:18;;:::i;:::-;-1:-1:-1;2564:9:1;;2499:80::o;2584:125::-;2624:4;2652:1;2649;2646:8;2643:2;;;2657:18;;:::i;:::-;-1:-1:-1;2694:9:1;;2633:76::o;2714:380::-;2793:1;2789:12;;;;2836;;;2857:2;;2911:4;2903:6;2899:17;2889:27;;2857:2;2964;2956:6;2953:14;2933:18;2930:38;2927:2;;;3010:10;3005:3;3001:20;2998:1;2991:31;3045:4;3042:1;3035:15;3073:4;3070:1;3063:15;2927:2;;2769:325;;;:::o;3099:127::-;3160:10;3155:3;3151:20;3148:1;3141:31;3191:4;3188:1;3181:15;3215:4;3212:1;3205:15"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "324200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "22422",
"balanceOf(address)": "1241",
"decimals()": "1013",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "1040",
"transfer(address,uint256)": "45151",
"transferFrom(address,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"events": {
"Approval(address,address,uint256)": {
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
},
"Transfer(address,address,uint256)": {
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
}
},
"kind": "dev",
"methods": {
"approve(address,uint256)": {
"details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."
},
"constructor": {
"details": "Constructor that gives msg.sender all of existing tokens."
},
"transfer(address,uint256)": {
"details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
},
"transferFrom(address,address,uint256)": {
"details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/BEP20.sol": "HHHBEP20Token"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/BEP20.sol": {
"keccak256": "0xea14b7004854f4892fb39c8eac42719809f677879c411e6fe61fc400d666a107",
"license": "UNLISCENSED",
"urls": [
"bzz-raw://b9ccf57ff22a21c6f879da1bc3dc92765cbd6b6ce276bbf40770d9212b87af33",
"dweb:/ipfs/QmesatjwWVVuWeJaaeBdQc4SfioAHuroqSbRSedLZkkoiE"
]
}
},
"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": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:396:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "69:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "79:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "93:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "96:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
"nodeType": "YulFunctionCall",
"src": "89:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "79:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "110:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "140:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "146:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "136:3:1"
},
"nodeType": "YulFunctionCall",
"src": "136:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "114:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "187:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "189:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "203:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "211:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "199:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "189:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "167:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "160:6:1"
},
"nodeType": "YulFunctionCall",
"src": "160:26:1"
},
"nodeType": "YulIf",
"src": "157:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "298:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "305:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "310:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "301:3:1"
},
"nodeType": "YulFunctionCall",
"src": "301:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "291:6:1"
},
"nodeType": "YulFunctionCall",
"src": "291:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "291:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "342:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "335:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "335:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "370:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "373:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "363:6:1"
},
"nodeType": "YulFunctionCall",
"src": "363:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "363:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "233:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "256:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "264:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "253:2:1"
},
"nodeType": "YulFunctionCall",
"src": "253:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "230:2:1"
},
"nodeType": "YulFunctionCall",
"src": "230:38:1"
},
"nodeType": "YulIf",
"src": "227:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "49:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "58:6:1",
"type": ""
}
],
"src": "14:380:1"
}
]
},
"contents": "{\n { }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60c0604052601e60808190527f4875677265656e20486f6c697374696320486564676520486f6c64696e67000060a090815261003e91600091906100ab565b50604080518082019091526004808252630909090960e31b602090920191825261006a916001916100ab565b5069d3c21bcecceda10000006002556003805460ff1916601217905534801561009257600080fd5b506002543360009081526004602052604090205561017f565b8280546100b790610144565b90600052602060002090601f0160209004810192826100d9576000855561011f565b82601f106100f257805160ff191683800117855561011f565b8280016001018555821561011f579182015b8281111561011f578251825591602001919060010190610104565b5061012b92915061012f565b5090565b5b8082111561012b5760008155600101610130565b600181811c9082168061015857607f821691505b6020821081141561017957634e487b7160e01b600052602260045260246000fd5b50919050565b6106558061018e6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122040eb82998b845c268627f7a7e7af1b84f802ea73afd12dff50544dd66bcb7e6f64736f6c63430008040033",
"opcodes": "PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x1E PUSH1 0x80 DUP2 SWAP1 MSTORE PUSH32 0x4875677265656E20486F6C697374696320486564676520486F6C64696E670000 PUSH1 0xA0 SWAP1 DUP2 MSTORE PUSH2 0x3E SWAP2 PUSH1 0x0 SWAP2 SWAP1 PUSH2 0xAB JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x9090909 PUSH1 0xE3 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH2 0x6A SWAP2 PUSH1 0x1 SWAP2 PUSH2 0xAB JUMP JUMPDEST POP PUSH10 0xD3C21BCECCEDA1000000 PUSH1 0x2 SSTORE PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x12 OR SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x92 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SSTORE PUSH2 0x17F JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0xB7 SWAP1 PUSH2 0x144 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0xD9 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x11F JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xF2 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x11F JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x11F JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x11F JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x104 JUMP JUMPDEST POP PUSH2 0x12B SWAP3 SWAP2 POP PUSH2 0x12F JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x12B JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x130 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x158 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x179 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x655 DUP1 PUSH2 0x18E 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 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BLOCKHASH 0xEB DUP3 SWAP10 DUP12 DUP5 0x5C 0x26 DUP7 0x27 0xF7 0xA7 0xE7 0xAF SHL DUP5 0xF8 MUL 0xEA PUSH20 0xAFD12DFF50544DD66BCB7E6F64736F6C63430008 DIV STOP CALLER ",
"sourceMap": "96:53:0:-:0;66:3165;96:53;;66:3165;96:53;;;;;;;;;;-1:-1:-1;;96:53:0;;:::i;:::-;-1:-1:-1;155:29:0;;;;;;;;;;;;;-1:-1:-1;;;155:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;219:25:0;190:54;;270:26;;;-1:-1:-1;;270:26:0;294:2;270:26;;;1029:66;;;;;;;;;-1:-1:-1;1077:11:0;;1063:10;1053:21;;;;:9;:21;;;;;:35;66:3165;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66:3165:0;;;-1:-1:-1;66:3165:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:380:1;93:1;89:12;;;;136;;;157:2;;211:4;203:6;199:17;189:27;;157:2;264;256:6;253:14;233:18;230:38;227:2;;;310:10;305:3;301:20;298:1;291:31;345:4;342:1;335:15;373:4;370:1;363:15;227:2;;69:325;;;:::o;:::-;66:3165:0;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "63:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "73:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "95:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "82:12:1"
},
"nodeType": "YulFunctionCall",
"src": "82:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "165:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "174:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "177:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "167:6:1"
},
"nodeType": "YulFunctionCall",
"src": "167:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "167:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "124:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "135:5:1"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "150:3:1",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "155:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "146:3:1"
},
"nodeType": "YulFunctionCall",
"src": "146:11:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "159:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "142:19:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "131:3:1"
},
"nodeType": "YulFunctionCall",
"src": "131:31:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "121:2:1"
},
"nodeType": "YulFunctionCall",
"src": "121:42:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "114:6:1"
},
"nodeType": "YulFunctionCall",
"src": "114:50:1"
},
"nodeType": "YulIf",
"src": "111:2:1"
}
]
},
"name": "abi_decode_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "42:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "14:173:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "262:126:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "308:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "317:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "325:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nodeType": "YulFunctionCall",
"src": "310:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "310:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "283:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "292:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "279:3:1"
},
"nodeType": "YulFunctionCall",
"src": "279:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "304:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "275:3:1"
},
"nodeType": "YulFunctionCall",
"src": "275:32:1"
},
"nodeType": "YulIf",
"src": "272:2:1"
},
{
"nodeType": "YulAssignment",
"src": "343:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "372:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "353:18:1"
},
"nodeType": "YulFunctionCall",
"src": "353:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "343:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "228:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "239:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "251:6:1",
"type": ""
}
],
"src": "192:196:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "480:183:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "526:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "535:6:1"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "543:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "528:6:1"
},
"nodeType": "YulFunctionCall",
"src": "528:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "528:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "501:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "510:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "497:3:1"
},
"nodeType": "YulFunctionCall",
"src": "497:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "522:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "493:3:1"
},
"nodeType": "YulFunctionCall",
"src": "493:32:1"
},
"nodeType": "YulIf",
"src": "490:2:1"
},
{
"nodeType": "YulAssignment",
"src": "561:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "590:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "571:18:1"
},
"nodeType": "YulFunctionCall",
"src": "571:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "561:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "609:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "642:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "653:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "638:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "619:18:1"
},
"nodeType": "YulFunctionCall",
"src": "619:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "609:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "438:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "449:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "461:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "469:6:1",
"type": ""
}
],
"src": "393:270:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "772:234:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "818:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "827:6:1"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "835:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "820:6:1"
},
"nodeType": "YulFunctionCall",
"src": "820:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "820:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "793:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "802:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "789:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "814:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "785:3:1"
},
"nodeType": "YulFunctionCall",
"src": "785:32:1"
},
"nodeType": "YulIf",
"src": "782:2:1"
},
{
"nodeType": "YulAssignment",
"src": "853:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "882:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "863:18:1"
},
"nodeType": "YulFunctionCall",
"src": "863:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "853:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "901:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "934:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "945:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "930:3:1"
},
"nodeType": "YulFunctionCall",
"src": "930:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "911:18:1"
},
"nodeType": "YulFunctionCall",
"src": "911:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "901:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "958:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "985:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "996:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "981:3:1"
},
"nodeType": "YulFunctionCall",
"src": "981:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:1"
},
"nodeType": "YulFunctionCall",
"src": "968:32:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "958:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "722:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "733:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "745:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "761:6:1",
"type": ""
}
],
"src": "668:338:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1098:177:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1144:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1153:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1161:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1146:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "1146:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1119:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1128:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1115:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1115:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1140:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1111:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1111:32:1"
},
"nodeType": "YulIf",
"src": "1108:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1179:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1208:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "1189:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1189:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1179:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1227:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1254:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1250:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1250:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1237:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1237:32:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1227:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1056:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1067:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1079:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1087:6:1",
"type": ""
}
],
"src": "1011:264:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1375:92:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1385:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1397:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1408:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1393:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1385:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1427:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1452:6:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1445:14:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1438:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1438:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1420:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "1420:41:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1344:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1355:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1366:4:1",
"type": ""
}
],
"src": "1280:187:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1593:482:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1603:12:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1613:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "1607:2:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1631:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1642:2:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1624:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "1624:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1654:27:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1674:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1668:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1658:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1701:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1712:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1697:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1697:18:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1717:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1690:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1690:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1690:34:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1733:13:1",
"value": {
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1742:4:1"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1737:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1805:90:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1834:9:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1845:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1830:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1830:17:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1849:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1826:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1826:26:1"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1868:6:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1876:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1864:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1864:14:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1880:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1860:23:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1854:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1854:30:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1819:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1819:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1819:66:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1766:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1763:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1777:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1779:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1788:1:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1791:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1784:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1784:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1779:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1759:3:1",
"statements": []
},
"src": "1755:140:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1929:69:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1958:9:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1969:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1954:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1954:22:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1978:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1950:31:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1983:4:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1943:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1943:45:1"
},
"nodeType": "YulExpressionStatement",
"src": "1943:45:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1910:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1907:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1907:13:1"
},
"nodeType": "YulIf",
"src": "1904:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2007:62:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2023:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2042:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2050:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2038:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2038:15:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2059:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2055:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2055:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2034:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2034:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2019:45:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2066:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2015:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2015:54:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2007: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": "1562:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1584:4:1",
"type": ""
}
],
"src": "1472:603:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2181:76:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2191:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2203:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2214:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2199:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2191:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2233:9:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2244:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2226:25:1"
},
"nodeType": "YulExpressionStatement",
"src": "2226:25:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2150:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2161:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2172:4:1",
"type": ""
}
],
"src": "2080:177:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2359:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2369:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2381:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2392:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2377:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2369:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2411:9:1"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2426:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2434:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2422:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2422:17:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2404:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2404:36:1"
},
"nodeType": "YulExpressionStatement",
"src": "2404:36:1"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2328:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2339:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2350:4:1",
"type": ""
}
],
"src": "2262:184:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2499:80:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2526:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2528:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2528:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2528:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2515:1:1"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2522:1:1"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2518:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2518:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2512:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2512:13:1"
},
"nodeType": "YulIf",
"src": "2509:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2557:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2568:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2564:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2564:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2557:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2482:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2485:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
}
],
"src": "2451:128:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2633:76:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2655:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2657:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2657:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2657:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2649:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2652:1:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2646:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2646:8:1"
},
"nodeType": "YulIf",
"src": "2643:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2686:17:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2698:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2701:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2694:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2694:9:1"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "2686:4:1"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2615:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2618:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "2624:4:1",
"type": ""
}
],
"src": "2584:125:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2769:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2779:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2793:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2796:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "2789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2789:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2779:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2810:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2840:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2846:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2836:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2836:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2814:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2887:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2889:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2903:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2911:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2899:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2899:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2889:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2867:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2860:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2860:26:1"
},
"nodeType": "YulIf",
"src": "2857:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2977:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2998:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3005:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3010:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3001:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3001:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2991:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "2991:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3042:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3045:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3035:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3035:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3035:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3070:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3073:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3063:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3063:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2933:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2964:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2953:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2953:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2930:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2930:38:1"
},
"nodeType": "YulIf",
"src": "2927:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2749:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2758:6:1",
"type": ""
}
],
"src": "2714:380:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3131:95:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3148:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3155:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3160:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3151:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3151:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3141:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "3141:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3188:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3191:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3181:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3181:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3181:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3212:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3215:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3205:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3205:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:127:1"
}
]
},
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value1, value1) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(value2, value2) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := tail\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), tail)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122040eb82998b845c268627f7a7e7af1b84f802ea73afd12dff50544dd66bcb7e6f64736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 BLOCKHASH 0xEB DUP3 SWAP10 DUP12 DUP5 0x5C 0x26 DUP7 0x27 0xF7 0xA7 0xE7 0xAF SHL DUP5 0xF8 MUL 0xEA PUSH20 0xAFD12DFF50544DD66BCB7E6F64736F6C63430008 DIV STOP CALLER ",
"sourceMap": "66:3165:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96:53;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2273:232;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;2273:232:0;1375:92:1;190:54:0;;;;;;;;;2226:25:1;;;2214:2;2199:18;190:54:0;2181:76:1;2812:417:0;;;;;;:::i;:::-;;:::i;270:26::-;;;;;;;;;;;;2434:4:1;2422:17;;;2404:36;;2392:2;2377:18;270:26:0;2359:87:1;822:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;155:29;;;:::i;1316:298::-;;;;;;:::i;:::-;;:::i;872:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;96:53;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2273:232::-;2394:10;2356:12;2384:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2384:31:0;;;;;;;;;;:40;;;2439:38;2356:12;;2384:31;;2439:38;;;;2418:6;2226:25:1;;2214:2;2199:18;;2181:76;2439:38:0;;;;;;;;-1:-1:-1;2494:4:0;2273:232;;;;:::o;2812:417::-;-1:-1:-1;;;;;2966:16:0;;2924:12;2966:16;;;:9;:16;;;;;;2956:26;;;2948:35;;;;;;-1:-1:-1;;;;;3011:16:0;;;;;;:9;:16;;;;;;;;3028:10;3011:28;;;;;;;;3001:38;;;2993:47;;;;;;-1:-1:-1;;;;;3050:16:0;;;;;;:9;:16;;;;;:26;;3070:6;;3050:16;:26;;3070:6;;3050:26;:::i;:::-;;;;-1:-1:-1;;;;;;;3086:14:0;;;;;;:9;:14;;;;;:24;;3104:6;;3086:14;:24;;3104:6;;3086:24;:::i;:::-;;;;-1:-1:-1;;;;;;;3120:16:0;;;;;;:9;:16;;;;;;;;3137:10;3120:28;;;;;;;:38;;3152:6;;3120:16;:38;;3152:6;;3120:38;:::i;:::-;;;;;;;;3189:3;-1:-1:-1;;;;;3173:28:0;3182:5;-1:-1:-1;;;;;3173:28:0;;3194:6;3173:28;;;;2226:25:1;;2214:2;2199:18;;2181:76;3173:28:0;;;;;;;;-1:-1:-1;3218:4:0;2812:417;;;;;:::o;155:29::-;;;;;;;:::i;1316:298::-;1441:10;1395:12;1431:21;;;:9;:21;;;;;;:31;-1:-1:-1;1431:31:0;1423:40;;;;;;1483:10;1473:21;;;;:9;:21;;;;;:31;;1498:6;;1473:21;:31;;1498:6;;1473:31;:::i;:::-;;;;-1:-1:-1;;;;;;;1514:14:0;;;;;;:9;:14;;;;;:24;;1532:6;;1514:14;:24;;1532:6;;1514:24;:::i;:::-;;;;-1:-1:-1;;1553:33:0;;2226:25:1;;;-1:-1:-1;;;;;1553:33:0;;;1562:10;;1553:33;;2214:2:1;2199:18;1553:33:0;2181:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;1584:4;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2451:128::-;2491:3;2522:1;2518:6;2515:1;2512:13;2509:2;;;2528:18;;:::i;:::-;-1:-1:-1;2564:9:1;;2499:80::o;2584:125::-;2624:4;2652:1;2649;2646:8;2643:2;;;2657:18;;:::i;:::-;-1:-1:-1;2694:9:1;;2633:76::o;2714:380::-;2793:1;2789:12;;;;2836;;;2857:2;;2911:4;2903:6;2899:17;2889:27;;2857:2;2964;2956:6;2953:14;2933:18;2930:38;2927:2;;;3010:10;3005:3;3001:20;2998:1;2991:31;3045:4;3042:1;3035:15;3073:4;3070:1;3063:15;2927:2;;2769:325;;;:::o;3099:127::-;3160:10;3155:3;3151:20;3148:1;3141:31;3191:4;3188:1;3181:15;3215:4;3212:1;3205:15"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "324200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "22422",
"balanceOf(address)": "1241",
"decimals()": "1013",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "1040",
"transfer(address,uint256)": "45151",
"transferFrom(address,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"events": {
"Approval(address,address,uint256)": {
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
},
"Transfer(address,address,uint256)": {
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
}
},
"kind": "dev",
"methods": {
"approve(address,uint256)": {
"details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."
},
"constructor": {
"details": "Constructor that gives msg.sender all of existing tokens."
},
"transfer(address,uint256)": {
"details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
},
"transferFrom(address,address,uint256)": {
"details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/BEP20.sol": "HHHHBEP20Token"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/BEP20.sol": {
"keccak256": "0x34f1c53386295a326dfb124582299b56fbb99818bf70cbe6049d5a78cae29789",
"license": "UNLISCENSED",
"urls": [
"bzz-raw://16df0843d37b0753c77da70709c757f04e837f8af2ecbab98cec16f4962ce6e4",
"dweb:/ipfs/QmaeWF3rXJJ2ZdaoMFA6M3NVL1Fc59iiKFu4XnPKjkEzHj"
]
}
},
"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": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:396:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "69:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "79:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "93:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "96:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
"nodeType": "YulFunctionCall",
"src": "89:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "79:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "110:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "140:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "146:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "136:3:1"
},
"nodeType": "YulFunctionCall",
"src": "136:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "114:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "187:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "189:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "203:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "211:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "199:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "189:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "167:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "160:6:1"
},
"nodeType": "YulFunctionCall",
"src": "160:26:1"
},
"nodeType": "YulIf",
"src": "157:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "298:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "305:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "310:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "301:3:1"
},
"nodeType": "YulFunctionCall",
"src": "301:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "291:6:1"
},
"nodeType": "YulFunctionCall",
"src": "291:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "291:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "342:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "335:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "335:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "370:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "373:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "363:6:1"
},
"nodeType": "YulFunctionCall",
"src": "363:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "363:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "233:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "256:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "264:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "253:2:1"
},
"nodeType": "YulFunctionCall",
"src": "253:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "230:2:1"
},
"nodeType": "YulFunctionCall",
"src": "230:38:1"
},
"nodeType": "YulIf",
"src": "227:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "49:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "58:6:1",
"type": ""
}
],
"src": "14:380:1"
}
]
},
"contents": "{\n { }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60c0604052601e60808190527f4875677265656e20486f6c697374696320486564676520486f6c64696e67000060a090815261003e91600091906100ad565b50604080518082019091526004808252630909090960e31b602090920191825261006a916001916100ad565b506b033b2e3c9fd0803ce80000006002556003805460ff1916601217905534801561009457600080fd5b5060025433600090815260046020526040902055610181565b8280546100b990610146565b90600052602060002090601f0160209004810192826100db5760008555610121565b82601f106100f457805160ff1916838001178555610121565b82800160010185558215610121579182015b82811115610121578251825591602001919060010190610106565b5061012d929150610131565b5090565b5b8082111561012d5760008155600101610132565b600181811c9082168061015a57607f821691505b6020821081141561017b57634e487b7160e01b600052602260045260246000fd5b50919050565b610655806101906000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122038e4b4f7048911e91ab573b46b5b359310b55ed436b3806137b5c79f142dd21f64736f6c63430008040033",
"opcodes": "PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x1E PUSH1 0x80 DUP2 SWAP1 MSTORE PUSH32 0x4875677265656E20486F6C697374696320486564676520486F6C64696E670000 PUSH1 0xA0 SWAP1 DUP2 MSTORE PUSH2 0x3E SWAP2 PUSH1 0x0 SWAP2 SWAP1 PUSH2 0xAD JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x9090909 PUSH1 0xE3 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH2 0x6A SWAP2 PUSH1 0x1 SWAP2 PUSH2 0xAD JUMP JUMPDEST POP PUSH12 0x33B2E3C9FD0803CE8000000 PUSH1 0x2 SSTORE PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x12 OR SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x94 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SSTORE PUSH2 0x181 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0xB9 SWAP1 PUSH2 0x146 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0xDB JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xF4 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x121 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x121 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x106 JUMP JUMPDEST POP PUSH2 0x12D SWAP3 SWAP2 POP PUSH2 0x131 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x132 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x15A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x17B JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x655 DUP1 PUSH2 0x190 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 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODESIZE 0xE4 0xB4 0xF7 DIV DUP10 GT 0xE9 BYTE 0xB5 PUSH20 0xB46B5B359310B55ED436B3806137B5C79F142DD2 0x1F PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "96:53:0:-:0;68:3166;96:53;;68:3166;96:53;;;;;;;;;;-1:-1:-1;;96:53:0;;:::i;:::-;-1:-1:-1;155:29:0;;;;;;;;;;;;;-1:-1:-1;;;155:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;219:28:0;190:57;;273:26;;;-1:-1:-1;;273:26:0;297:2;273:26;;;1032:66;;;;;;;;;-1:-1:-1;1080:11:0;;1066:10;1056:21;;;;:9;:21;;;;;:35;68:3166;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68:3166:0;;;-1:-1:-1;68:3166:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:380:1;93:1;89:12;;;;136;;;157:2;;211:4;203:6;199:17;189:27;;157:2;264;256:6;253:14;233:18;230:38;227:2;;;310:10;305:3;301:20;298:1;291:31;345:4;342:1;335:15;373:4;370:1;363:15;227:2;;69:325;;;:::o;:::-;68:3166:0;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "63:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "73:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "95:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "82:12:1"
},
"nodeType": "YulFunctionCall",
"src": "82:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "165:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "174:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "177:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "167:6:1"
},
"nodeType": "YulFunctionCall",
"src": "167:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "167:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "124:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "135:5:1"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "150:3:1",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "155:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "146:3:1"
},
"nodeType": "YulFunctionCall",
"src": "146:11:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "159:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "142:19:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "131:3:1"
},
"nodeType": "YulFunctionCall",
"src": "131:31:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "121:2:1"
},
"nodeType": "YulFunctionCall",
"src": "121:42:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "114:6:1"
},
"nodeType": "YulFunctionCall",
"src": "114:50:1"
},
"nodeType": "YulIf",
"src": "111:2:1"
}
]
},
"name": "abi_decode_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "42:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "14:173:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "262:126:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "308:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "317:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "325:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nodeType": "YulFunctionCall",
"src": "310:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "310:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "283:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "292:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "279:3:1"
},
"nodeType": "YulFunctionCall",
"src": "279:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "304:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "275:3:1"
},
"nodeType": "YulFunctionCall",
"src": "275:32:1"
},
"nodeType": "YulIf",
"src": "272:2:1"
},
{
"nodeType": "YulAssignment",
"src": "343:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "372:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "353:18:1"
},
"nodeType": "YulFunctionCall",
"src": "353:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "343:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "228:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "239:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "251:6:1",
"type": ""
}
],
"src": "192:196:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "480:183:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "526:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "535:6:1"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "543:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "528:6:1"
},
"nodeType": "YulFunctionCall",
"src": "528:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "528:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "501:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "510:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "497:3:1"
},
"nodeType": "YulFunctionCall",
"src": "497:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "522:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "493:3:1"
},
"nodeType": "YulFunctionCall",
"src": "493:32:1"
},
"nodeType": "YulIf",
"src": "490:2:1"
},
{
"nodeType": "YulAssignment",
"src": "561:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "590:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "571:18:1"
},
"nodeType": "YulFunctionCall",
"src": "571:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "561:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "609:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "642:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "653:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "638:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "619:18:1"
},
"nodeType": "YulFunctionCall",
"src": "619:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "609:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "438:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "449:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "461:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "469:6:1",
"type": ""
}
],
"src": "393:270:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "772:234:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "818:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "827:6:1"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "835:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "820:6:1"
},
"nodeType": "YulFunctionCall",
"src": "820:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "820:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "793:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "802:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "789:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "814:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "785:3:1"
},
"nodeType": "YulFunctionCall",
"src": "785:32:1"
},
"nodeType": "YulIf",
"src": "782:2:1"
},
{
"nodeType": "YulAssignment",
"src": "853:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "882:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "863:18:1"
},
"nodeType": "YulFunctionCall",
"src": "863:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "853:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "901:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "934:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "945:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "930:3:1"
},
"nodeType": "YulFunctionCall",
"src": "930:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "911:18:1"
},
"nodeType": "YulFunctionCall",
"src": "911:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "901:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "958:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "985:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "996:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "981:3:1"
},
"nodeType": "YulFunctionCall",
"src": "981:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:1"
},
"nodeType": "YulFunctionCall",
"src": "968:32:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "958:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "722:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "733:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "745:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "761:6:1",
"type": ""
}
],
"src": "668:338:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1098:177:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1144:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1153:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1161:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1146:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "1146:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1119:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1128:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1115:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1115:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1140:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1111:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1111:32:1"
},
"nodeType": "YulIf",
"src": "1108:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1179:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1208:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "1189:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1189:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1179:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1227:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1254:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1250:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1250:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1237:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1237:32:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1227:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1056:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1067:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1079:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1087:6:1",
"type": ""
}
],
"src": "1011:264:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1375:92:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1385:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1397:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1408:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1393:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1385:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1427:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1452:6:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1445:14:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1438:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1438:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1420:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "1420:41:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1344:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1355:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1366:4:1",
"type": ""
}
],
"src": "1280:187:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1593:482:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1603:12:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1613:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "1607:2:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1631:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1642:2:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1624:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "1624:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1654:27:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1674:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1668:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1658:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1701:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1712:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1697:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1697:18:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1717:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1690:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1690:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1690:34:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1733:13:1",
"value": {
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1742:4:1"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1737:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1805:90:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1834:9:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1845:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1830:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1830:17:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1849:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1826:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1826:26:1"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1868:6:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1876:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1864:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1864:14:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1880:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1860:23:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1854:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1854:30:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1819:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1819:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1819:66:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1766:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1763:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1777:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1779:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1788:1:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1791:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1784:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1784:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1779:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1759:3:1",
"statements": []
},
"src": "1755:140:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1929:69:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1958:9:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1969:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1954:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1954:22:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1978:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1950:31:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1983:4:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1943:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1943:45:1"
},
"nodeType": "YulExpressionStatement",
"src": "1943:45:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1910:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1907:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1907:13:1"
},
"nodeType": "YulIf",
"src": "1904:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2007:62:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2023:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2042:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2050:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2038:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2038:15:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2059:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2055:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2055:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2034:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2034:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2019:45:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2066:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2015:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2015:54:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2007: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": "1562:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1584:4:1",
"type": ""
}
],
"src": "1472:603:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2181:76:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2191:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2203:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2214:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2199:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2191:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2233:9:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2244:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2226:25:1"
},
"nodeType": "YulExpressionStatement",
"src": "2226:25:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2150:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2161:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2172:4:1",
"type": ""
}
],
"src": "2080:177:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2359:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2369:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2381:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2392:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2377:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2369:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2411:9:1"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2426:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2434:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2422:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2422:17:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2404:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2404:36:1"
},
"nodeType": "YulExpressionStatement",
"src": "2404:36:1"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2328:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2339:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2350:4:1",
"type": ""
}
],
"src": "2262:184:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2499:80:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2526:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2528:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2528:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2528:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2515:1:1"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2522:1:1"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2518:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2518:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2512:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2512:13:1"
},
"nodeType": "YulIf",
"src": "2509:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2557:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2568:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2564:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2564:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2557:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2482:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2485:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
}
],
"src": "2451:128:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2633:76:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2655:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2657:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2657:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2657:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2649:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2652:1:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2646:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2646:8:1"
},
"nodeType": "YulIf",
"src": "2643:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2686:17:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2698:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2701:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2694:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2694:9:1"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "2686:4:1"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2615:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2618:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "2624:4:1",
"type": ""
}
],
"src": "2584:125:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2769:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2779:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2793:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2796:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "2789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2789:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2779:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2810:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2840:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2846:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2836:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2836:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2814:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2887:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2889:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2903:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2911:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2899:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2899:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2889:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2867:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2860:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2860:26:1"
},
"nodeType": "YulIf",
"src": "2857:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2977:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2998:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3005:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3010:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3001:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3001:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2991:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "2991:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3042:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3045:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3035:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3035:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3035:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3070:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3073:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3063:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3063:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2933:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2964:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2953:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2953:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2930:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2930:38:1"
},
"nodeType": "YulIf",
"src": "2927:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2749:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2758:6:1",
"type": ""
}
],
"src": "2714:380:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3131:95:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3148:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3155:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3160:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3151:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3151:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3141:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "3141:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3188:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3191:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3181:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3181:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3181:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3212:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3215:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3205:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3205:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:127:1"
}
]
},
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value1, value1) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(value2, value2) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := tail\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), tail)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122038e4b4f7048911e91ab573b46b5b359310b55ed436b3806137b5c79f142dd21f64736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODESIZE 0xE4 0xB4 0xF7 DIV DUP10 GT 0xE9 BYTE 0xB5 PUSH20 0xB46B5B359310B55ED436B3806137B5C79F142DD2 0x1F PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "68:3166:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96:53;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2276:232;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;2276:232:0;1375:92:1;190:57:0;;;;;;;;;2226:25:1;;;2214:2;2199:18;190:57:0;2181:76:1;2815:417:0;;;;;;:::i;:::-;;:::i;273:26::-;;;;;;;;;;;;2434:4:1;2422:17;;;2404:36;;2392:2;2377:18;273:26:0;2359:87:1;825:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;155:29;;;:::i;1319:298::-;;;;;;:::i;:::-;;:::i;875:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;96:53;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2276:232::-;2397:10;2359:12;2387:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2387:31:0;;;;;;;;;;:40;;;2442:38;2359:12;;2387:31;;2442:38;;;;2421:6;2226:25:1;;2214:2;2199:18;;2181:76;2442:38:0;;;;;;;;-1:-1:-1;2497:4:0;2276:232;;;;:::o;2815:417::-;-1:-1:-1;;;;;2969:16:0;;2927:12;2969:16;;;:9;:16;;;;;;2959:26;;;2951:35;;;;;;-1:-1:-1;;;;;3014:16:0;;;;;;:9;:16;;;;;;;;3031:10;3014:28;;;;;;;;3004:38;;;2996:47;;;;;;-1:-1:-1;;;;;3053:16:0;;;;;;:9;:16;;;;;:26;;3073:6;;3053:16;:26;;3073:6;;3053:26;:::i;:::-;;;;-1:-1:-1;;;;;;;3089:14:0;;;;;;:9;:14;;;;;:24;;3107:6;;3089:14;:24;;3107:6;;3089:24;:::i;:::-;;;;-1:-1:-1;;;;;;;3123:16:0;;;;;;:9;:16;;;;;;;;3140:10;3123:28;;;;;;;:38;;3155:6;;3123:16;:38;;3155:6;;3123:38;:::i;:::-;;;;;;;;3192:3;-1:-1:-1;;;;;3176:28:0;3185:5;-1:-1:-1;;;;;3176:28:0;;3197:6;3176:28;;;;2226:25:1;;2214:2;2199:18;;2181:76;3176:28:0;;;;;;;;-1:-1:-1;3221:4:0;2815:417;;;;;:::o;155:29::-;;;;;;;:::i;1319:298::-;1444:10;1398:12;1434:21;;;:9;:21;;;;;;:31;-1:-1:-1;1434:31:0;1426:40;;;;;;1486:10;1476:21;;;;:9;:21;;;;;:31;;1501:6;;1476:21;:31;;1501:6;;1476:31;:::i;:::-;;;;-1:-1:-1;;;;;;;1517:14:0;;;;;;:9;:14;;;;;:24;;1535:6;;1517:14;:24;;1535:6;;1517:24;:::i;:::-;;;;-1:-1:-1;;1556:33:0;;2226:25:1;;;-1:-1:-1;;;;;1556:33:0;;;1565:10;;1556:33;;2214:2:1;2199:18;1556:33:0;2181:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;1584:4;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2451:128::-;2491:3;2522:1;2518:6;2515:1;2512:13;2509:2;;;2528:18;;:::i;:::-;-1:-1:-1;2564:9:1;;2499:80::o;2584:125::-;2624:4;2652:1;2649;2646:8;2643:2;;;2657:18;;:::i;:::-;-1:-1:-1;2694:9:1;;2633:76::o;2714:380::-;2793:1;2789:12;;;;2836;;;2857:2;;2911:4;2903:6;2899:17;2889:27;;2857:2;2964;2956:6;2953:14;2933:18;2930:38;2927:2;;;3010:10;3005:3;3001:20;2998:1;2991:31;3045:4;3042:1;3035:15;3073:4;3070:1;3063:15;2927:2;;2769:325;;;:::o;3099:127::-;3160:10;3155:3;3151:20;3148:1;3141:31;3191:4;3188:1;3181:15;3215:4;3212:1;3205:15"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "324200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "22422",
"balanceOf(address)": "1241",
"decimals()": "1013",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "1040",
"transfer(address,uint256)": "45151",
"transferFrom(address,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"events": {
"Approval(address,address,uint256)": {
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
},
"Transfer(address,address,uint256)": {
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
}
},
"kind": "dev",
"methods": {
"approve(address,uint256)": {
"details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."
},
"constructor": {
"details": "Constructor that gives msg.sender all of existing tokens."
},
"transfer(address,uint256)": {
"details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
},
"transferFrom(address,address,uint256)": {
"details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/BEP20.sol": "SaBEP20Token"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/BEP20.sol": {
"keccak256": "0xd7cbe8bb9cac682a66352710274792c06360274e735aced2f92d2a71412c4b72",
"license": "UNLISCENSED",
"urls": [
"bzz-raw://73c653e1e1d7865272ca5af1c0bb714630d3c7d49cc4ee555dd841324ad1ff56",
"dweb:/ipfs/QmRJpyECfKfpLBC9qQCSW9J6Z16oUR8xxoB2VmRGzPna3G"
]
}
},
"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": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:396:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "69:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "79:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "93:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "96:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
"nodeType": "YulFunctionCall",
"src": "89:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "79:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "110:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "140:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "146:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "136:3:1"
},
"nodeType": "YulFunctionCall",
"src": "136:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "114:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "187:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "189:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "203:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "211:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "199:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "189:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "167:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "160:6:1"
},
"nodeType": "YulFunctionCall",
"src": "160:26:1"
},
"nodeType": "YulIf",
"src": "157:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "298:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "305:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "310:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "301:3:1"
},
"nodeType": "YulFunctionCall",
"src": "301:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "291:6:1"
},
"nodeType": "YulFunctionCall",
"src": "291:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "291:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "342:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "335:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "335:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "370:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "373:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "363:6:1"
},
"nodeType": "YulFunctionCall",
"src": "363:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "363:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "233:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "256:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "264:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "253:2:1"
},
"nodeType": "YulFunctionCall",
"src": "253:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "230:2:1"
},
"nodeType": "YulFunctionCall",
"src": "230:38:1"
},
"nodeType": "YulIf",
"src": "227:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "49:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "58:6:1",
"type": ""
}
],
"src": "14:380:1"
}
]
},
"contents": "{\n { }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60c0604052601e60808190527f4875677265656e20486f6c697374696320486564676520486f6c64696e67000060a090815261003e91600091906100ad565b50604080518082019091526004808252630909090960e31b602090920191825261006a916001916100ad565b506b033b2e3c9fd0803ce80000006002556003805460ff1916601217905534801561009457600080fd5b5060025433600090815260046020526040902055610181565b8280546100b990610146565b90600052602060002090601f0160209004810192826100db5760008555610121565b82601f106100f457805160ff1916838001178555610121565b82800160010185558215610121579182015b82811115610121578251825591602001919060010190610106565b5061012d929150610131565b5090565b5b8082111561012d5760008155600101610132565b600181811c9082168061015a57607f821691505b6020821081141561017b57634e487b7160e01b600052602260045260246000fd5b50919050565b610655806101906000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122006f890fe5536dd656b4f0aa2a36699889a9aa6e770c83b5fd64529b1616b30cc64736f6c63430008040033",
"opcodes": "PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x1E PUSH1 0x80 DUP2 SWAP1 MSTORE PUSH32 0x4875677265656E20486F6C697374696320486564676520486F6C64696E670000 PUSH1 0xA0 SWAP1 DUP2 MSTORE PUSH2 0x3E SWAP2 PUSH1 0x0 SWAP2 SWAP1 PUSH2 0xAD JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x9090909 PUSH1 0xE3 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH2 0x6A SWAP2 PUSH1 0x1 SWAP2 PUSH2 0xAD JUMP JUMPDEST POP PUSH12 0x33B2E3C9FD0803CE8000000 PUSH1 0x2 SSTORE PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x12 OR SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x94 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SSTORE PUSH2 0x181 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0xB9 SWAP1 PUSH2 0x146 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0xDB JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xF4 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x121 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x121 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x106 JUMP JUMPDEST POP PUSH2 0x12D SWAP3 SWAP2 POP PUSH2 0x131 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x132 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x15A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x17B JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x655 DUP1 PUSH2 0x190 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 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MOD 0xF8 SWAP1 INVALID SSTORE CALLDATASIZE 0xDD PUSH6 0x6B4F0AA2A366 SWAP10 DUP9 SWAP11 SWAP11 0xA6 0xE7 PUSH17 0xC83B5FD64529B1616B30CC64736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "100:53:0:-:0;68:3170;100:53;;68:3170;100:53;;;;;;;;;;-1:-1:-1;;100:53:0;;:::i;:::-;-1:-1:-1;159:29:0;;;;;;;;;;;;;-1:-1:-1;;;159:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;223:28:0;194:57;;277:26;;;-1:-1:-1;;277:26:0;301:2;277:26;;;1036:66;;;;;;;;;-1:-1:-1;1084:11:0;;1070:10;1060:21;;;;:9;:21;;;;;:35;68:3170;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68:3170:0;;;-1:-1:-1;68:3170:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:380:1;93:1;89:12;;;;136;;;157:2;;211:4;203:6;199:17;189:27;;157:2;264;256:6;253:14;233:18;230:38;227:2;;;310:10;305:3;301:20;298:1;291:31;345:4;342:1;335:15;373:4;370:1;363:15;227:2;;69:325;;;:::o;:::-;68:3170:0;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "63:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "73:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "95:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "82:12:1"
},
"nodeType": "YulFunctionCall",
"src": "82:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "165:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "174:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "177:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "167:6:1"
},
"nodeType": "YulFunctionCall",
"src": "167:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "167:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "124:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "135:5:1"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "150:3:1",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "155:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "146:3:1"
},
"nodeType": "YulFunctionCall",
"src": "146:11:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "159:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "142:19:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "131:3:1"
},
"nodeType": "YulFunctionCall",
"src": "131:31:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "121:2:1"
},
"nodeType": "YulFunctionCall",
"src": "121:42:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "114:6:1"
},
"nodeType": "YulFunctionCall",
"src": "114:50:1"
},
"nodeType": "YulIf",
"src": "111:2:1"
}
]
},
"name": "abi_decode_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "42:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "14:173:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "262:126:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "308:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "317:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "325:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nodeType": "YulFunctionCall",
"src": "310:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "310:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "283:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "292:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "279:3:1"
},
"nodeType": "YulFunctionCall",
"src": "279:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "304:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "275:3:1"
},
"nodeType": "YulFunctionCall",
"src": "275:32:1"
},
"nodeType": "YulIf",
"src": "272:2:1"
},
{
"nodeType": "YulAssignment",
"src": "343:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "372:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "353:18:1"
},
"nodeType": "YulFunctionCall",
"src": "353:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "343:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "228:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "239:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "251:6:1",
"type": ""
}
],
"src": "192:196:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "480:183:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "526:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "535:6:1"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "543:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "528:6:1"
},
"nodeType": "YulFunctionCall",
"src": "528:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "528:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "501:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "510:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "497:3:1"
},
"nodeType": "YulFunctionCall",
"src": "497:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "522:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "493:3:1"
},
"nodeType": "YulFunctionCall",
"src": "493:32:1"
},
"nodeType": "YulIf",
"src": "490:2:1"
},
{
"nodeType": "YulAssignment",
"src": "561:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "590:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "571:18:1"
},
"nodeType": "YulFunctionCall",
"src": "571:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "561:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "609:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "642:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "653:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "638:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "619:18:1"
},
"nodeType": "YulFunctionCall",
"src": "619:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "609:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "438:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "449:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "461:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "469:6:1",
"type": ""
}
],
"src": "393:270:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "772:234:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "818:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "827:6:1"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "835:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "820:6:1"
},
"nodeType": "YulFunctionCall",
"src": "820:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "820:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "793:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "802:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "789:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "814:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "785:3:1"
},
"nodeType": "YulFunctionCall",
"src": "785:32:1"
},
"nodeType": "YulIf",
"src": "782:2:1"
},
{
"nodeType": "YulAssignment",
"src": "853:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "882:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "863:18:1"
},
"nodeType": "YulFunctionCall",
"src": "863:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "853:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "901:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "934:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "945:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "930:3:1"
},
"nodeType": "YulFunctionCall",
"src": "930:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "911:18:1"
},
"nodeType": "YulFunctionCall",
"src": "911:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "901:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "958:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "985:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "996:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "981:3:1"
},
"nodeType": "YulFunctionCall",
"src": "981:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:1"
},
"nodeType": "YulFunctionCall",
"src": "968:32:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "958:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "722:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "733:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "745:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "761:6:1",
"type": ""
}
],
"src": "668:338:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1098:177:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1144:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1153:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1161:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1146:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "1146:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1119:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1128:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1115:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1115:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1140:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1111:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1111:32:1"
},
"nodeType": "YulIf",
"src": "1108:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1179:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1208:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "1189:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1189:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1179:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1227:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1254:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1250:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1250:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1237:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1237:32:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1227:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1056:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1067:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1079:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1087:6:1",
"type": ""
}
],
"src": "1011:264:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1375:92:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1385:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1397:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1408:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1393:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1385:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1427:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1452:6:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1445:14:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1438:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1438:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1420:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "1420:41:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1344:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1355:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1366:4:1",
"type": ""
}
],
"src": "1280:187:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1593:482:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1603:12:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1613:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "1607:2:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1631:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1642:2:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1624:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "1624:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1654:27:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1674:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1668:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1658:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1701:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1712:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1697:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1697:18:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1717:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1690:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1690:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1690:34:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1733:13:1",
"value": {
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1742:4:1"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1737:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1805:90:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1834:9:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1845:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1830:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1830:17:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1849:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1826:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1826:26:1"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1868:6:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1876:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1864:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1864:14:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1880:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1860:23:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1854:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1854:30:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1819:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1819:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1819:66:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1766:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1763:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1777:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1779:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1788:1:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1791:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1784:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1784:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1779:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1759:3:1",
"statements": []
},
"src": "1755:140:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1929:69:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1958:9:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1969:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1954:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1954:22:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1978:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1950:31:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1983:4:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1943:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1943:45:1"
},
"nodeType": "YulExpressionStatement",
"src": "1943:45:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1910:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1907:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1907:13:1"
},
"nodeType": "YulIf",
"src": "1904:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2007:62:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2023:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2042:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2050:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2038:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2038:15:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2059:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2055:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2055:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2034:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2034:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2019:45:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2066:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2015:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2015:54:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2007: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": "1562:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1584:4:1",
"type": ""
}
],
"src": "1472:603:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2181:76:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2191:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2203:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2214:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2199:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2191:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2233:9:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2244:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2226:25:1"
},
"nodeType": "YulExpressionStatement",
"src": "2226:25:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2150:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2161:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2172:4:1",
"type": ""
}
],
"src": "2080:177:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2359:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2369:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2381:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2392:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2377:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2369:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2411:9:1"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2426:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2434:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2422:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2422:17:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2404:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2404:36:1"
},
"nodeType": "YulExpressionStatement",
"src": "2404:36:1"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2328:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2339:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2350:4:1",
"type": ""
}
],
"src": "2262:184:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2499:80:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2526:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2528:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2528:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2528:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2515:1:1"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2522:1:1"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2518:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2518:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2512:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2512:13:1"
},
"nodeType": "YulIf",
"src": "2509:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2557:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2568:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2564:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2564:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2557:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2482:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2485:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
}
],
"src": "2451:128:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2633:76:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2655:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2657:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2657:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2657:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2649:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2652:1:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2646:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2646:8:1"
},
"nodeType": "YulIf",
"src": "2643:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2686:17:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2698:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2701:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2694:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2694:9:1"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "2686:4:1"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2615:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2618:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "2624:4:1",
"type": ""
}
],
"src": "2584:125:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2769:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2779:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2793:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2796:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "2789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2789:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2779:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2810:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2840:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2846:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2836:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2836:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2814:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2887:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2889:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2903:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2911:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2899:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2899:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2889:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2867:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2860:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2860:26:1"
},
"nodeType": "YulIf",
"src": "2857:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2977:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2998:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3005:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3010:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3001:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3001:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2991:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "2991:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3042:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3045:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3035:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3035:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3035:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3070:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3073:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3063:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3063:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2933:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2964:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2953:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2953:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2930:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2930:38:1"
},
"nodeType": "YulIf",
"src": "2927:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2749:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2758:6:1",
"type": ""
}
],
"src": "2714:380:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3131:95:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3148:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3155:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3160:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3151:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3151:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3141:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "3141:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3188:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3191:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3181:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3181:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3181:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3212:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3215:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3205:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3205:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:127:1"
}
]
},
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value1, value1) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(value2, value2) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := tail\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), tail)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122006f890fe5536dd656b4f0aa2a36699889a9aa6e770c83b5fd64529b1616b30cc64736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MOD 0xF8 SWAP1 INVALID SSTORE CALLDATASIZE 0xDD PUSH6 0x6B4F0AA2A366 SWAP10 DUP9 SWAP11 SWAP11 0xA6 0xE7 PUSH17 0xC83B5FD64529B1616B30CC64736F6C6343 STOP ADDMOD DIV STOP CALLER ",
"sourceMap": "68:3170:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100:53;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2280:232;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;2280:232:0;1375:92:1;194:57:0;;;;;;;;;2226:25:1;;;2214:2;2199:18;194:57:0;2181:76:1;2819:417:0;;;;;;:::i;:::-;;:::i;277:26::-;;;;;;;;;;;;2434:4:1;2422:17;;;2404:36;;2392:2;2377:18;277:26:0;2359:87:1;829:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;159:29;;;:::i;1323:298::-;;;;;;:::i;:::-;;:::i;879:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;100:53;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2280:232::-;2401:10;2363:12;2391:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2391:31:0;;;;;;;;;;:40;;;2446:38;2363:12;;2391:31;;2446:38;;;;2425:6;2226:25:1;;2214:2;2199:18;;2181:76;2446:38:0;;;;;;;;-1:-1:-1;2501:4:0;2280:232;;;;:::o;2819:417::-;-1:-1:-1;;;;;2973:16:0;;2931:12;2973:16;;;:9;:16;;;;;;2963:26;;;2955:35;;;;;;-1:-1:-1;;;;;3018:16:0;;;;;;:9;:16;;;;;;;;3035:10;3018:28;;;;;;;;3008:38;;;3000:47;;;;;;-1:-1:-1;;;;;3057:16:0;;;;;;:9;:16;;;;;:26;;3077:6;;3057:16;:26;;3077:6;;3057:26;:::i;:::-;;;;-1:-1:-1;;;;;;;3093:14:0;;;;;;:9;:14;;;;;:24;;3111:6;;3093:14;:24;;3111:6;;3093:24;:::i;:::-;;;;-1:-1:-1;;;;;;;3127:16:0;;;;;;:9;:16;;;;;;;;3144:10;3127:28;;;;;;;:38;;3159:6;;3127:16;:38;;3159:6;;3127:38;:::i;:::-;;;;;;;;3196:3;-1:-1:-1;;;;;3180:28:0;3189:5;-1:-1:-1;;;;;3180:28:0;;3201:6;3180:28;;;;2226:25:1;;2214:2;2199:18;;2181:76;3180:28:0;;;;;;;;-1:-1:-1;3225:4:0;2819:417;;;;;:::o;159:29::-;;;;;;;:::i;1323:298::-;1448:10;1402:12;1438:21;;;:9;:21;;;;;;:31;-1:-1:-1;1438:31:0;1430:40;;;;;;1490:10;1480:21;;;;:9;:21;;;;;:31;;1505:6;;1480:21;:31;;1505:6;;1480:31;:::i;:::-;;;;-1:-1:-1;;;;;;;1521:14:0;;;;;;:9;:14;;;;;:24;;1539:6;;1521:14;:24;;1539:6;;1521:24;:::i;:::-;;;;-1:-1:-1;;1560:33:0;;2226:25:1;;;-1:-1:-1;;;;;1560:33:0;;;1569:10;;1560:33;;2214:2:1;2199:18;1560:33:0;2181:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;1584:4;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2451:128::-;2491:3;2522:1;2518:6;2515:1;2512:13;2509:2;;;2528:18;;:::i;:::-;-1:-1:-1;2564:9:1;;2499:80::o;2584:125::-;2624:4;2652:1;2649;2646:8;2643:2;;;2657:18;;:::i;:::-;-1:-1:-1;2694:9:1;;2633:76::o;2714:380::-;2793:1;2789:12;;;;2836;;;2857:2;;2911:4;2903:6;2899:17;2889:27;;2857:2;2964;2956:6;2953:14;2933:18;2930:38;2927:2;;;3010:10;3005:3;3001:20;2998:1;2991:31;3045:4;3042:1;3035:15;3073:4;3070:1;3063:15;2927:2;;2769:325;;;:::o;3099:127::-;3160:10;3155:3;3151:20;3148:1;3141:31;3191:4;3188:1;3181:15;3215:4;3212:1;3205:15"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "324200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "22422",
"balanceOf(address)": "1241",
"decimals()": "1013",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "1040",
"transfer(address,uint256)": "45151",
"transferFrom(address,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"events": {
"Approval(address,address,uint256)": {
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
},
"Transfer(address,address,uint256)": {
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
}
},
"kind": "dev",
"methods": {
"approve(address,uint256)": {
"details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."
},
"constructor": {
"details": "Constructor that gives msg.sender all of existing tokens."
},
"transfer(address,uint256)": {
"details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
},
"transferFrom(address,address,uint256)": {
"details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/BEP20.sol": "SampleBEP20Token"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/BEP20.sol": {
"keccak256": "0x49e5ce3abf67358d4038d20a5f7682d4515063083c9993c6352ceec5c97a7e59",
"license": "UNLISCENSED",
"urls": [
"bzz-raw://0807d2ba5098d385943f1e61970b490372a972f1205368e688f2e21097955eb7",
"dweb:/ipfs/QmbSZj2owU8TQPPKWsLYA7caHKctFX7iPYH52e8gH2WNPX"
]
}
},
"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": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:396:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "69:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "79:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "93:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "96:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
"nodeType": "YulFunctionCall",
"src": "89:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "79:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "110:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "140:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "146:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "136:3:1"
},
"nodeType": "YulFunctionCall",
"src": "136:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "114:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "187:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "189:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "203:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "211:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "199:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "189:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "167:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "160:6:1"
},
"nodeType": "YulFunctionCall",
"src": "160:26:1"
},
"nodeType": "YulIf",
"src": "157:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "298:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "305:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "310:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "301:3:1"
},
"nodeType": "YulFunctionCall",
"src": "301:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "291:6:1"
},
"nodeType": "YulFunctionCall",
"src": "291:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "291:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "342:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "335:6:1"
},
"nodeType": "YulFunctionCall",
"src": "335:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "335:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "370:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "373:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "363:6:1"
},
"nodeType": "YulFunctionCall",
"src": "363:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "363:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "233:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "256:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "264:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "253:2:1"
},
"nodeType": "YulFunctionCall",
"src": "253:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "230:2:1"
},
"nodeType": "YulFunctionCall",
"src": "230:38:1"
},
"nodeType": "YulIf",
"src": "227:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "49:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "58:6:1",
"type": ""
}
],
"src": "14:380:1"
}
]
},
"contents": "{\n { }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60c0604052601e60808190527f4875677265656e20486f6c697374696320486564676520486f6c64696e67000060a090815261003e91600091906100ad565b50604080518082019091526004808252630909090960e31b602090920191825261006a916001916100ad565b506b033b2e3c9fd0803ce80000006002556003805460ff1916601217905534801561009457600080fd5b5060025433600090815260046020526040902055610181565b8280546100b990610146565b90600052602060002090601f0160209004810192826100db5760008555610121565b82601f106100f457805160ff1916838001178555610121565b82800160010185558215610121579182015b82811115610121578251825591602001919060010190610106565b5061012d929150610131565b5090565b5b8082111561012d5760008155600101610132565b600181811c9082168061015a57607f821691505b6020821081141561017b57634e487b7160e01b600052602260045260246000fd5b50919050565b610655806101906000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220e5993f5699941ffc3ada9e9833908286c2b5f1f3326acbd3320b01574f72199264736f6c63430008040033",
"opcodes": "PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x1E PUSH1 0x80 DUP2 SWAP1 MSTORE PUSH32 0x4875677265656E20486F6C697374696320486564676520486F6C64696E670000 PUSH1 0xA0 SWAP1 DUP2 MSTORE PUSH2 0x3E SWAP2 PUSH1 0x0 SWAP2 SWAP1 PUSH2 0xAD JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x9090909 PUSH1 0xE3 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH2 0x6A SWAP2 PUSH1 0x1 SWAP2 PUSH2 0xAD JUMP JUMPDEST POP PUSH12 0x33B2E3C9FD0803CE8000000 PUSH1 0x2 SSTORE PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x12 OR SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x94 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SSTORE PUSH2 0x181 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0xB9 SWAP1 PUSH2 0x146 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0xDB JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0xF4 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x121 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x121 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x121 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x106 JUMP JUMPDEST POP PUSH2 0x12D SWAP3 SWAP2 POP PUSH2 0x131 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x132 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x15A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x17B JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x655 DUP1 PUSH2 0x190 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 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE5 SWAP10 EXTCODEHASH JUMP SWAP10 SWAP5 0x1F 0xFC GASPRICE 0xDA SWAP15 SWAP9 CALLER SWAP1 DUP3 DUP7 0xC2 0xB5 CALL RETURN ORIGIN PUSH11 0xCBD3320B01574F72199264 PUSH20 0x6F6C634300080400330000000000000000000000 ",
"sourceMap": "95:53:0:-:0;68:3165;95:53;;68:3165;95:53;;;;;;;;;;-1:-1:-1;;95:53:0;;:::i;:::-;-1:-1:-1;154:29:0;;;;;;;;;;;;;-1:-1:-1;;;154:29:0;;;;;;;;;;;;:::i;:::-;-1:-1:-1;218:28:0;189:57;;272:26;;;-1:-1:-1;;272:26:0;296:2;272:26;;;1031:66;;;;;;;;;-1:-1:-1;1079:11:0;;1065:10;1055:21;;;;:9;:21;;;;;:35;68:3165;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68:3165:0;;;-1:-1:-1;68:3165:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:380:1;93:1;89:12;;;;136;;;157:2;;211:4;203:6;199:17;189:27;;157:2;264;256:6;253:14;233:18;230:38;227:2;;;310:10;305:3;301:20;298:1;291:31;345:4;342:1;335:15;373:4;370:1;363:15;227:2;;69:325;;;:::o;:::-;68:3165:0;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:1",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "63:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "73:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "95:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "82:12:1"
},
"nodeType": "YulFunctionCall",
"src": "82:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "165:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "174:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "177:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "167:6:1"
},
"nodeType": "YulFunctionCall",
"src": "167:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "167:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "124:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "135:5:1"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "150:3:1",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "155:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "146:3:1"
},
"nodeType": "YulFunctionCall",
"src": "146:11:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "159:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "142:19:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "131:3:1"
},
"nodeType": "YulFunctionCall",
"src": "131:31:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "121:2:1"
},
"nodeType": "YulFunctionCall",
"src": "121:42:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "114:6:1"
},
"nodeType": "YulFunctionCall",
"src": "114:50:1"
},
"nodeType": "YulIf",
"src": "111:2:1"
}
]
},
"name": "abi_decode_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "42:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "14:173:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "262:126:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "308:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "317:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "325:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nodeType": "YulFunctionCall",
"src": "310:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "310:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "283:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "292:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "279:3:1"
},
"nodeType": "YulFunctionCall",
"src": "279:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "304:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "275:3:1"
},
"nodeType": "YulFunctionCall",
"src": "275:32:1"
},
"nodeType": "YulIf",
"src": "272:2:1"
},
{
"nodeType": "YulAssignment",
"src": "343:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "372:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "353:18:1"
},
"nodeType": "YulFunctionCall",
"src": "353:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "343:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "228:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "239:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "251:6:1",
"type": ""
}
],
"src": "192:196:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "480:183:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "526:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "535:6:1"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "543:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "528:6:1"
},
"nodeType": "YulFunctionCall",
"src": "528:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "528:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "501:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "510:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "497:3:1"
},
"nodeType": "YulFunctionCall",
"src": "497:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "522:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "493:3:1"
},
"nodeType": "YulFunctionCall",
"src": "493:32:1"
},
"nodeType": "YulIf",
"src": "490:2:1"
},
{
"nodeType": "YulAssignment",
"src": "561:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "590:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "571:18:1"
},
"nodeType": "YulFunctionCall",
"src": "571:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "561:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "609:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "642:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "653:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "638:3:1"
},
"nodeType": "YulFunctionCall",
"src": "638:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "619:18:1"
},
"nodeType": "YulFunctionCall",
"src": "619:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "609:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "438:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "449:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "461:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "469:6:1",
"type": ""
}
],
"src": "393:270:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "772:234:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "818:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "827:6:1"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "835:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "820:6:1"
},
"nodeType": "YulFunctionCall",
"src": "820:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "820:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "793:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "802:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "789:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "814:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "785:3:1"
},
"nodeType": "YulFunctionCall",
"src": "785:32:1"
},
"nodeType": "YulIf",
"src": "782:2:1"
},
{
"nodeType": "YulAssignment",
"src": "853:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "882:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "863:18:1"
},
"nodeType": "YulFunctionCall",
"src": "863:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "853:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "901:48:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "934:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "945:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "930:3:1"
},
"nodeType": "YulFunctionCall",
"src": "930:18:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "911:18:1"
},
"nodeType": "YulFunctionCall",
"src": "911:38:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "901:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "958:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "985:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "996:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "981:3:1"
},
"nodeType": "YulFunctionCall",
"src": "981:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:1"
},
"nodeType": "YulFunctionCall",
"src": "968:32:1"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "958:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "722:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "733:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "745:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "761:6:1",
"type": ""
}
],
"src": "668:338:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1098:177:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1144:26:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1153:6:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1161:6:1"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1146:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1146:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "1146:22:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1119:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1128:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1115:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1115:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1140:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1111:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1111:32:1"
},
"nodeType": "YulIf",
"src": "1108:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1179:39:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1208:9:1"
}
],
"functionName": {
"name": "abi_decode_address",
"nodeType": "YulIdentifier",
"src": "1189:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1189:29:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1179:6:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1227:42:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1254:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1265:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1250:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1250:18:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1237:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1237:32:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1227:6:1"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1056:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1067:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1079:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1087:6:1",
"type": ""
}
],
"src": "1011:264:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1375:92:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1385:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1397:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1408:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1393:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1393:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1385:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1427:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1452:6:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1445:14:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1438:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1438:22:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1420:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1420:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "1420:41:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1344:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1355:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1366:4:1",
"type": ""
}
],
"src": "1280:187:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1593:482:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1603:12:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1613:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "1607:2:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1631:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1642:2:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1624:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "1624:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1654:27:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1674:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1668:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1668:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1658:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1701:9:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1712:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1697:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1697:18:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1717:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1690:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1690:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1690:34:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1733:13:1",
"value": {
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1742:4:1"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1737:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1805:90:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1834:9:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1845:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1830:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1830:17:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1849:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1826:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1826:26:1"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1868:6:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1876:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1864:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1864:14:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1880:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1860:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1860:23:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1854:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1854:30:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1819:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1819:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "1819:66:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1766:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1763:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1777:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1779:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1788:1:1"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "1791:2:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1784:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1784:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1779:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1759:3:1",
"statements": []
},
"src": "1755:140:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1929:69:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1958:9:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1969:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1954:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1954:22:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1978:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1950:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1950:31:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1983:4:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1943:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1943:45:1"
},
"nodeType": "YulExpressionStatement",
"src": "1943:45:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1910:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1913:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1907:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1907:13:1"
},
"nodeType": "YulIf",
"src": "1904:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2007:62:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2023:9:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2042:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2050:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2038:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2038:15:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2059:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2055:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2055:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2034:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2034:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2019:45:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2066:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2015:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2015:54:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2007: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": "1562:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1584:4:1",
"type": ""
}
],
"src": "1472:603:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2181:76:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2191:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2203:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2214:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2199:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2199:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2191:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2233:9:1"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2244:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2226:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2226:25:1"
},
"nodeType": "YulExpressionStatement",
"src": "2226:25:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2150:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2161:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2172:4:1",
"type": ""
}
],
"src": "2080:177:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2359:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2369:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2381:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2392:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2377:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2369:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2411:9:1"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2426:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2434:4:1",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2422:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2422:17:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2404:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2404:36:1"
},
"nodeType": "YulExpressionStatement",
"src": "2404:36:1"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2328:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2339:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2350:4:1",
"type": ""
}
],
"src": "2262:184:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2499:80:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2526:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2528:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2528:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2528:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2515:1:1"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2522:1:1"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2518:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2518:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2512:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2512:13:1"
},
"nodeType": "YulIf",
"src": "2509:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2557:16:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2568:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2571:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2564:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2564:9:1"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2557:3:1"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2482:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2485:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2491:3:1",
"type": ""
}
],
"src": "2451:128:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2633:76:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2655:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2657:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2657:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2657:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2649:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2652:1:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2646:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2646:8:1"
},
"nodeType": "YulIf",
"src": "2643:2:1"
},
{
"nodeType": "YulAssignment",
"src": "2686:17:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2698:1:1"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2701:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2694:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2694:9:1"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "2686:4:1"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2615:1:1",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2618:1:1",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "2624:4:1",
"type": ""
}
],
"src": "2584:125:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2769:325:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2779:22:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2793:1:1",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2796:4:1"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "2789:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2789:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2779:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2810:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2840:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2846:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2836:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2836:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2814:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2887:31:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2889:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2903:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2911:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2899:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2899:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2889:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2867:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2860:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2860:26:1"
},
"nodeType": "YulIf",
"src": "2857:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2977:111:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2998:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3005:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3010:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3001:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3001:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2991:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2991:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "2991:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3042:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3045:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3035:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3035:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3035:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3070:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3073:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3063:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3063:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3063:15:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2933:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2956:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2964:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2953:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2953:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2930:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2930:38:1"
},
"nodeType": "YulIf",
"src": "2927:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2749:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2758:6:1",
"type": ""
}
],
"src": "2714:380:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3131:95:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3148:1:1",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3155:3:1",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3160:10:1",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "3151:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3151:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3141:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3141:31:1"
},
"nodeType": "YulExpressionStatement",
"src": "3141:31:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3188:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3191:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3181:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3181:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3181:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3212:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3215:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3205:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3205:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3205:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3099:127:1"
}
]
},
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value1, value1) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(value2, value2) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(value0, value0) }\n value0 := abi_decode_address(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := tail\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), tail)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n}",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220e5993f5699941ffc3ada9e9833908286c2b5f1f3326acbd3320b01574f72199264736f6c63430008040033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x313CE567 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x122 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x142 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x15D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xB6 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xD9 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x188 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x54C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xC9 PUSH2 0xC4 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xC9 PUSH2 0xFE CALLDATASIZE PUSH1 0x4 PUSH2 0x4E8 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x110 SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xAD JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x130 CALLDATASIZE PUSH1 0x4 PUSH2 0x495 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x3C2 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x158 CALLDATASIZE PUSH1 0x4 PUSH2 0x523 JUMP JUMPDEST PUSH2 0x3CF JUMP JUMPDEST PUSH2 0xE2 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x4B6 JUMP JUMPDEST PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE 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 0x1C1 SWAP1 PUSH2 0x5CE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x20E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x1E3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x20E 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 0x1F1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP6 SWAP1 SSTORE MLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP1 PUSH2 0x271 SWAP1 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x2D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2FF SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x32C SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x364 SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x3B0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH2 0x195 SWAP1 PUSH2 0x5CE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 GT ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x40A SWAP1 DUP5 SWAP1 PUSH2 0x5B7 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x437 SWAP1 DUP5 SWAP1 PUSH2 0x59F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 CALLER SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH2 0x271 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x490 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4A6 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4AF DUP3 PUSH2 0x479 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4C8 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH2 0x4DF PUSH1 0x20 DUP5 ADD PUSH2 0x479 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FC JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x505 DUP5 PUSH2 0x479 JUMP JUMPDEST SWAP3 POP PUSH2 0x513 PUSH1 0x20 DUP6 ADD PUSH2 0x479 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x535 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x53E DUP4 PUSH2 0x479 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE DUP3 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x578 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x55C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x589 JUMPI DUP4 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x5B2 JUMPI PUSH2 0x5B2 PUSH2 0x609 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x5C9 JUMPI PUSH2 0x5C9 PUSH2 0x609 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x5E2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x603 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE5 SWAP10 EXTCODEHASH JUMP SWAP10 SWAP5 0x1F 0xFC GASPRICE 0xDA SWAP15 SWAP9 CALLER SWAP1 DUP3 DUP7 0xC2 0xB5 CALL RETURN ORIGIN PUSH11 0xCBD3320B01574F72199264 PUSH20 0x6F6C634300080400330000000000000000000000 ",
"sourceMap": "68:3165:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95:53;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2275:232;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;2275:232:0;1375:92:1;189:57:0;;;;;;;;;2226:25:1;;;2214:2;2199:18;189:57:0;2181:76:1;2814:417:0;;;;;;:::i;:::-;;:::i;272:26::-;;;;;;;;;;;;2434:4:1;2422:17;;;2404:36;;2392:2;2377:18;272:26:0;2359:87:1;824:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;154:29;;;:::i;1318:298::-;;;;;;:::i;:::-;;:::i;874:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;95:53;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2275:232::-;2396:10;2358:12;2386:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2386:31:0;;;;;;;;;;:40;;;2441:38;2358:12;;2386:31;;2441:38;;;;2420:6;2226:25:1;;2214:2;2199:18;;2181:76;2441:38:0;;;;;;;;-1:-1:-1;2496:4:0;2275:232;;;;:::o;2814:417::-;-1:-1:-1;;;;;2968:16:0;;2926:12;2968:16;;;:9;:16;;;;;;2958:26;;;2950:35;;;;;;-1:-1:-1;;;;;3013:16:0;;;;;;:9;:16;;;;;;;;3030:10;3013:28;;;;;;;;3003:38;;;2995:47;;;;;;-1:-1:-1;;;;;3052:16:0;;;;;;:9;:16;;;;;:26;;3072:6;;3052:16;:26;;3072:6;;3052:26;:::i;:::-;;;;-1:-1:-1;;;;;;;3088:14:0;;;;;;:9;:14;;;;;:24;;3106:6;;3088:14;:24;;3106:6;;3088:24;:::i;:::-;;;;-1:-1:-1;;;;;;;3122:16:0;;;;;;:9;:16;;;;;;;;3139:10;3122:28;;;;;;;:38;;3154:6;;3122:16;:38;;3154:6;;3122:38;:::i;:::-;;;;;;;;3191:3;-1:-1:-1;;;;;3175:28:0;3184:5;-1:-1:-1;;;;;3175:28:0;;3196:6;3175:28;;;;2226:25:1;;2214:2;2199:18;;2181:76;3175:28:0;;;;;;;;-1:-1:-1;3220:4:0;2814:417;;;;;:::o;154:29::-;;;;;;;:::i;1318:298::-;1443:10;1397:12;1433:21;;;:9;:21;;;;;;:31;-1:-1:-1;1433:31:0;1425:40;;;;;;1485:10;1475:21;;;;:9;:21;;;;;:31;;1500:6;;1475:21;:31;;1500:6;;1475:31;:::i;:::-;;;;-1:-1:-1;;;;;;;1516:14:0;;;;;;:9;:14;;;;;:24;;1534:6;;1516:14;:24;;1534:6;;1516:24;:::i;:::-;;;;-1:-1:-1;;1555:33:0;;2226:25:1;;;-1:-1:-1;;;;;1555:33:0;;;1564:10;;1555:33;;2214:2:1;2199:18;1555:33:0;2181:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;1584:4;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2451:128::-;2491:3;2522:1;2518:6;2515:1;2512:13;2509:2;;;2528:18;;:::i;:::-;-1:-1:-1;2564:9:1;;2499:80::o;2584:125::-;2624:4;2652:1;2649;2646:8;2643:2;;;2657:18;;:::i;:::-;-1:-1:-1;2694:9:1;;2633:76::o;2714:380::-;2793:1;2789:12;;;;2836;;;2857:2;;2911:4;2903:6;2899:17;2889:27;;2857:2;2964;2956:6;2953:14;2933:18;2930:38;2927:2;;;3010:10;3005:3;3001:20;2998:1;2991:31;3045:4;3042:1;3035:15;3073:4;3070:1;3063:15;2927:2;;2769:325;;;:::o;3099:127::-;3160:10;3155:3;3151:20;3148:1;3141:31;3191:4;3188:1;3181:15;3215:4;3212:1;3205:15"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "324200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "22422",
"balanceOf(address)": "1241",
"decimals()": "1013",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "1040",
"transfer(address,uint256)": "45151",
"transferFrom(address,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.4+commit.c7e474f2"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"events": {
"Approval(address,address,uint256)": {
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."
},
"Transfer(address,address,uint256)": {
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."
}
},
"kind": "dev",
"methods": {
"approve(address,uint256)": {
"details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."
},
"constructor": {
"details": "Constructor that gives msg.sender all of existing tokens."
},
"transfer(address,uint256)": {
"details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
},
"transferFrom(address,address,uint256)": {
"details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/BEP20.sol": "SBEP20Token"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/BEP20.sol": {
"keccak256": "0xc9c7826c1b45646a466628544320f3e38346f14f5cddd1791467f7ad6f8e7ccf",
"license": "UNLISCENSED",
"urls": [
"bzz-raw://2b3beeaade1d98793b45dc64f9d751bde97e842c85dadcbab097b7c5c7e7149b",
"dweb:/ipfs/QmRcCnukBhyKKkr3n8rdqBMPFufbmzMkz5NXNYsTVNSJ64"
]
}
},
"version": 1
}
// SPDX-License-Identifier: UNLISCENSED
pragma solidity 0.8.4;
contract HHHHBEP20Token {
string public name = "Hugreen Holistic Hedge Holding";
string public symbol = "HHHH";
uint256 public totalSupply = 1000000000000000000000000; // 1 billion tokens
uint8 public decimals = 18;
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed _from, address indexed _to, uint256 _value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(
address indexed _owner,
address indexed _spender,
uint256 _value
);
mapping(address => uint256) public balanceOf;
mapping(address => mapping(address => uint256)) public allowance;
/**
* @dev Constructor that gives msg.sender all of existing tokens.
*/
constructor() {
balanceOf[msg.sender] = totalSupply;
}
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address _to, uint256 _value)
public
returns (bool success)
{
require(balanceOf[msg.sender] >= _value);
balanceOf[msg.sender] -= _value;
balanceOf[_to] += _value;
emit Transfer(msg.sender, _to, _value);
return true;
}
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address _spender, uint256 _value)
public
returns (bool success)
{
allowance[msg.sender][_spender] = _value;
emit Approval(msg.sender, _spender, _value);
return true;
}
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address _from,
address _to,
uint256 _value
) public returns (bool success) {
require(_value <= balanceOf[_from]);
require(_value <= allowance[_from][msg.sender]);
balanceOf[_from] -= _value;
balanceOf[_to] += _value;
allowance[_from][msg.sender] -= _value;
emit Transfer(_from, _to, _value);
return true;
}
}
// 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