Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save copyninja/2f88ed530cb8559d6205cd7c30ef5932 to your computer and use it in GitHub Desktop.
Save copyninja/2f88ed530cb8559d6205cd7c30ef5932 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.6.6+commit.6c089d02.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
accounts[2] = 0x4B20993Bc481177ec7E8f571ceCaE8A9e22C02db;
accounts[3] = 0x78731D3Ca6b7E34aC0F824c42a7cC18A495cabaB;
accounts[4] = 0x617F2E2fD72FD9D5503197092aC168c91465E7f2;
accounts[5] = 0x17F6AD8Ef982297579C203069C1DbfFE4348c372;
accounts[6] = 0x5c6B0f7Bf3E7ce046039Bd8FABdfD3f9F5021678;
accounts[7] = 0x03C6FcED478cBbC9a4FAB34eF9f40767739D1Ff7;
accounts[8] = 0x1aE0EA34a72D944a8C7603FfB3eC30a6669E454C;
accounts[9] = 0x0A098Eda01Ce92ff4A4CCb7A4fFFb5A43EBC70DC;
accounts[10] = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c;
accounts[11] = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C;
accounts[12] = 0x4B0897b0513fdC7C541B6d9D7E929C4e5364D2dB;
accounts[13] = 0x583031D1113aD414F02576BD6afaBfb302140225;
accounts[14] = 0xdD870fA1b7C4700F2BD7f44238821C26f7392148;
return accounts[index];
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library Assert {
event AssertionEvent(
bool passed,
string message,
string methodName
);
event AssertionEventUint(
bool passed,
string message,
string methodName,
uint256 returned,
uint256 expected
);
event AssertionEventInt(
bool passed,
string message,
string methodName,
int256 returned,
int256 expected
);
event AssertionEventBool(
bool passed,
string message,
string methodName,
bool returned,
bool expected
);
event AssertionEventAddress(
bool passed,
string message,
string methodName,
address returned,
address expected
);
event AssertionEventBytes32(
bool passed,
string message,
string methodName,
bytes32 returned,
bytes32 expected
);
event AssertionEventString(
bool passed,
string message,
string methodName,
string returned,
string expected
);
event AssertionEventUintInt(
bool passed,
string message,
string methodName,
uint256 returned,
int256 expected
);
event AssertionEventIntUint(
bool passed,
string message,
string methodName,
int256 returned,
uint256 expected
);
function ok(bool a, string memory message) public returns (bool result) {
result = a;
emit AssertionEvent(result, message, "ok");
}
function equal(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventUint(result, message, "equal", a, b);
}
function equal(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventInt(result, message, "equal", a, b);
}
function equal(bool a, bool b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBool(result, message, "equal", a, b);
}
// TODO: only for certain versions of solc
//function equal(fixed a, fixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function equal(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
function equal(address a, address b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventAddress(result, message, "equal", a, b);
}
function equal(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBytes32(result, message, "equal", a, b);
}
function equal(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) == keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "equal", a, b);
}
function notEqual(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventUint(result, message, "notEqual", a, b);
}
function notEqual(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventInt(result, message, "notEqual", a, b);
}
function notEqual(bool a, bool b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBool(result, message, "notEqual", a, b);
}
// TODO: only for certain versions of solc
//function notEqual(fixed a, fixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function notEqual(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
function notEqual(address a, address b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventAddress(result, message, "notEqual", a, b);
}
function notEqual(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBytes32(result, message, "notEqual", a, b);
}
function notEqual(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) != keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "notEqual", a, b);
}
/*----------------- Greater than --------------------*/
function greaterThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventUint(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventInt(result, message, "greaterThan", a, b);
}
// TODO: safely compare between uint and int
function greaterThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative uint "a" always greater
result = true;
} else {
result = (a > uint(b));
}
emit AssertionEventUintInt(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative uint "b" always greater
result = false;
} else {
result = (uint(a) > b);
}
emit AssertionEventIntUint(result, message, "greaterThan", a, b);
}
/*----------------- Lesser than --------------------*/
function lesserThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventUint(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventInt(result, message, "lesserThan", a, b);
}
// TODO: safely compare between uint and int
function lesserThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative int "b" always lesser
result = false;
} else {
result = (a < uint(b));
}
emit AssertionEventUintInt(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative int "a" always lesser
result = true;
} else {
result = (uint(a) < b);
}
emit AssertionEventIntUint(result, message, "lesserThan", a, b);
}
}
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": {
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506107b6806100616000396000f3fe6080604052600436106100705760003560e01c80636e5b6b281161004e5780636e5b6b281461010f5780638da5cb5b1461015e57806398d5fdca146101b5578063b60d4288146101e057610070565b80630d8e6e2c146100755780633ccfd60b146100a05780633e47d6f3146100aa575b600080fd5b34801561008157600080fd5b5061008a6101ea565b6040518082815260200191505060405180910390f35b6100a861028b565b005b3480156100b657600080fd5b506100f9600480360360208110156100cd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061042e565b6040518082815260200191505060405180910390f35b34801561011b57600080fd5b506101486004803603602081101561013257600080fd5b8101908080359060200190929190505050610446565b6040518082815260200191505060405180910390f35b34801561016a57600080fd5b50610173610475565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101c157600080fd5b506101ca61049b565b6040518082815260200191505060405180910390f35b6101e8610575565b005b600080738a753747a1fa494ec906ce90e9f37563a8af630e90508073ffffffffffffffffffffffffffffffffffffffff166354fd4d506040518163ffffffff1660e01b815260040160206040518083038186803b15801561024a57600080fd5b505afa15801561025e573d6000803e3d6000fd5b505050506040513d602081101561027457600080fd5b810190808051906020019092919050505091505090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102e557600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561032b573d6000803e3d6000fd5b5060008090505b6001805490508110156103cd5760006001828154811061034e57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550508080600101915050610332565b50600067ffffffffffffffff811180156103e657600080fd5b506040519080825280602002602001820160405280156104155781602001602082028036833780820191505090505b506001908051906020019061042b9291906106b3565b50565b60006020528060005260406000206000915090505481565b60008061045161049b565b90506000670de0b6b3a76400008483028161046857fe5b0490508092505050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080738a753747a1fa494ec906ce90e9f37563a8af630e905060008173ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156104fd57600080fd5b505afa158015610511573d6000803e3d6000fd5b505050506040513d60a081101561052757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050505050509150506402540be40081029250505090565b60006802b5e3af16b188000090508061058d34610446565b1015610601576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f596f75206e65656420746f207370656e64206d6f72652045544821000000000081525060200191505060405180910390fd5b346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506001339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b82805482825590600052602060002090810192821561072c579160200282015b8281111561072b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906106d3565b5b509050610739919061073d565b5090565b61077d91905b8082111561077957600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101610743565b5090565b9056fea2646970667358221220574973a20efa93ba9905039ad8260263d25035b5d47cbdbdcd88366ca607b4a464736f6c63430006060033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x7B6 DUP1 PUSH2 0x61 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x70 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6E5B6B28 GT PUSH2 0x4E JUMPI DUP1 PUSH4 0x6E5B6B28 EQ PUSH2 0x10F JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x15E JUMPI DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0x1B5 JUMPI DUP1 PUSH4 0xB60D4288 EQ PUSH2 0x1E0 JUMPI PUSH2 0x70 JUMP JUMPDEST DUP1 PUSH4 0xD8E6E2C EQ PUSH2 0x75 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0xA0 JUMPI DUP1 PUSH4 0x3E47D6F3 EQ PUSH2 0xAA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x81 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x8A PUSH2 0x1EA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xA8 PUSH2 0x28B JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xCD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x42E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x11B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x148 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x132 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x446 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x16A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x173 PUSH2 0x475 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1C1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1CA PUSH2 0x49B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1E8 PUSH2 0x575 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 PUSH20 0x8A753747A1FA494EC906CE90E9F37563A8AF630E SWAP1 POP DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x54FD4D50 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x24A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x25E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x274 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x2E5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x32B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x0 DUP1 SWAP1 POP JUMPDEST PUSH1 0x1 DUP1 SLOAD SWAP1 POP DUP2 LT ISZERO PUSH2 0x3CD JUMPI PUSH1 0x0 PUSH1 0x1 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x34E JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP POP DUP1 DUP1 PUSH1 0x1 ADD SWAP2 POP POP PUSH2 0x332 JUMP JUMPDEST POP PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x3E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x415 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x42B SWAP3 SWAP2 SWAP1 PUSH2 0x6B3 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x451 PUSH2 0x49B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH8 0xDE0B6B3A7640000 DUP5 DUP4 MUL DUP2 PUSH2 0x468 JUMPI INVALID JUMPDEST DIV SWAP1 POP DUP1 SWAP3 POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH20 0x8A753747A1FA494EC906CE90E9F37563A8AF630E SWAP1 POP PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xFEAF968C PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0xA0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x511 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x527 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP POP POP POP SWAP2 POP POP PUSH5 0x2540BE400 DUP2 MUL SWAP3 POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH9 0x2B5E3AF16B1880000 SWAP1 POP DUP1 PUSH2 0x58D CALLVALUE PUSH2 0x446 JUMP JUMPDEST LT ISZERO PUSH2 0x601 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x1B DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x596F75206E65656420746F207370656E64206D6F726520455448210000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLVALUE PUSH1 0x0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH1 0x1 CALLER SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x72C JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x72B JUMPI DUP3 MLOAD DUP3 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x6D3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x739 SWAP2 SWAP1 PUSH2 0x73D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x77D SWAP2 SWAP1 JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x779 JUMPI PUSH1 0x0 DUP2 DUP2 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x743 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 JUMPI 0x49 PUSH20 0xA20EFA93BA9905039AD8260263D25035B5D47CBD 0xBD 0xCD DUP9 CALLDATASIZE PUSH13 0xA607B4A464736F6C6343000606 STOP CALLER ",
"sourceMap": "284:1880:2:-:0;;;573:56;5:9:-1;2:2;;;27:1;24;17:12;2:2;573:56:2;612:10;604:5;;:18;;;;;;;;;;;;;;;;;;284:1880;;;;;;"
},
"deployedBytecode": {
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100705760003560e01c80636e5b6b281161004e5780636e5b6b281461010f5780638da5cb5b1461015e57806398d5fdca146101b5578063b60d4288146101e057610070565b80630d8e6e2c146100755780633ccfd60b146100a05780633e47d6f3146100aa575b600080fd5b34801561008157600080fd5b5061008a6101ea565b6040518082815260200191505060405180910390f35b6100a861028b565b005b3480156100b657600080fd5b506100f9600480360360208110156100cd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061042e565b6040518082815260200191505060405180910390f35b34801561011b57600080fd5b506101486004803603602081101561013257600080fd5b8101908080359060200190929190505050610446565b6040518082815260200191505060405180910390f35b34801561016a57600080fd5b50610173610475565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101c157600080fd5b506101ca61049b565b6040518082815260200191505060405180910390f35b6101e8610575565b005b600080738a753747a1fa494ec906ce90e9f37563a8af630e90508073ffffffffffffffffffffffffffffffffffffffff166354fd4d506040518163ffffffff1660e01b815260040160206040518083038186803b15801561024a57600080fd5b505afa15801561025e573d6000803e3d6000fd5b505050506040513d602081101561027457600080fd5b810190808051906020019092919050505091505090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102e557600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561032b573d6000803e3d6000fd5b5060008090505b6001805490508110156103cd5760006001828154811061034e57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550508080600101915050610332565b50600067ffffffffffffffff811180156103e657600080fd5b506040519080825280602002602001820160405280156104155781602001602082028036833780820191505090505b506001908051906020019061042b9291906106b3565b50565b60006020528060005260406000206000915090505481565b60008061045161049b565b90506000670de0b6b3a76400008483028161046857fe5b0490508092505050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080738a753747a1fa494ec906ce90e9f37563a8af630e905060008173ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b1580156104fd57600080fd5b505afa158015610511573d6000803e3d6000fd5b505050506040513d60a081101561052757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050505050509150506402540be40081029250505090565b60006802b5e3af16b188000090508061058d34610446565b1015610601576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f596f75206e65656420746f207370656e64206d6f72652045544821000000000081525060200191505060405180910390fd5b346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506001339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b82805482825590600052602060002090810192821561072c579160200282015b8281111561072b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906106d3565b5b509050610739919061073d565b5090565b61077d91905b8082111561077957600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101610743565b5090565b9056fea2646970667358221220574973a20efa93ba9905039ad8260263d25035b5d47cbdbdcd88366ca607b4a464736f6c63430006060033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x70 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6E5B6B28 GT PUSH2 0x4E JUMPI DUP1 PUSH4 0x6E5B6B28 EQ PUSH2 0x10F JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x15E JUMPI DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0x1B5 JUMPI DUP1 PUSH4 0xB60D4288 EQ PUSH2 0x1E0 JUMPI PUSH2 0x70 JUMP JUMPDEST DUP1 PUSH4 0xD8E6E2C EQ PUSH2 0x75 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0xA0 JUMPI DUP1 PUSH4 0x3E47D6F3 EQ PUSH2 0xAA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x81 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x8A PUSH2 0x1EA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xA8 PUSH2 0x28B JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xB6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xCD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x42E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x11B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x148 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x132 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x446 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x16A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x173 PUSH2 0x475 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1C1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1CA PUSH2 0x49B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1E8 PUSH2 0x575 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 PUSH20 0x8A753747A1FA494EC906CE90E9F37563A8AF630E SWAP1 POP DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x54FD4D50 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x24A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x25E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x274 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x2E5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x32B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x0 DUP1 SWAP1 POP JUMPDEST PUSH1 0x1 DUP1 SLOAD SWAP1 POP DUP2 LT ISZERO PUSH2 0x3CD JUMPI PUSH1 0x0 PUSH1 0x1 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x34E JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP POP DUP1 DUP1 PUSH1 0x1 ADD SWAP2 POP POP PUSH2 0x332 JUMP JUMPDEST POP PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x3E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x415 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP PUSH1 0x1 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x42B SWAP3 SWAP2 SWAP1 PUSH2 0x6B3 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x451 PUSH2 0x49B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH8 0xDE0B6B3A7640000 DUP5 DUP4 MUL DUP2 PUSH2 0x468 JUMPI INVALID JUMPDEST DIV SWAP1 POP DUP1 SWAP3 POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH20 0x8A753747A1FA494EC906CE90E9F37563A8AF630E SWAP1 POP PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xFEAF968C PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0xA0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x511 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x527 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP POP POP POP SWAP2 POP POP PUSH5 0x2540BE400 DUP2 MUL SWAP3 POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH9 0x2B5E3AF16B1880000 SWAP1 POP DUP1 PUSH2 0x58D CALLVALUE PUSH2 0x446 JUMP JUMPDEST LT ISZERO PUSH2 0x601 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x1B DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x596F75206E65656420746F207370656E64206D6F726520455448210000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLVALUE PUSH1 0x0 DUP1 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH1 0x1 CALLER SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x72C JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x72B JUMPI DUP3 MLOAD DUP3 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x6D3 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x739 SWAP2 SWAP1 PUSH2 0x73D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x77D SWAP2 SWAP1 JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x779 JUMPI PUSH1 0x0 DUP2 DUP2 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x743 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 JUMPI 0x49 PUSH20 0xA20EFA93BA9905039AD8260263D25035B5D47CBD 0xBD 0xCD DUP9 CALLDATASIZE PUSH13 0xA607B4A464736F6C6343000606 STOP CALLER ",
"sourceMap": "284:1880:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;986:203:2;;5:9:-1;2:2;;;27:1;24;17:12;2:2;986:203:2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1823:339;;;:::i;:::-;;413:56;;5:9:-1;2:2;;;27:1;24;17:12;2:2;413:56:2;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;413:56:2;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1509:308;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1509:308:2;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1509:308:2;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;546:20;;5:9:-1;2:2;;;27:1;24;17:12;2:2;546:20:2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1195:290;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1195:290:2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;716:264;;;:::i;:::-;;986:203;1028:7;1047:31;1103:42;1047:99;;1163:9;:17;;;:19;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1163:19:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1163:19:2;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1163:19:2;;;;;;;;;;;;;;;;1156:26;;;986:203;:::o;1823:339::-;686:5;;;;;;;;;;;672:19;;:10;:19;;;664:28;;12:1:-1;9;2:12;664:28:2;1879:10:::1;:19;;:42;1899:21;1879:42;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;1879:42:2;1935:20;1958:1:::0;1935:24:::1;;1931:188;1976:7;:14;;;;1961:12;:29;1931:188;;;2023:14;2040:7;2048:12;2040:21;;;;;;;;;;;;;;;;;;;;;;;;;2023:38;;2107:1;2075:21:::0;:29:::1;2097:6;2075:29;;;;;;;;;;;;;;;:33;;;;1931:188;1992:15;;;;;;;1931:188;;;;2153:1;2139:16;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;2139:16:2;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;156:4;148:6;144:17;134:27;;0:165;2139:16:2;;;;2129:7;:26;;;;;;;;;;;;:::i;:::-;;1823:339::o:0;413:56::-;;;;;;;;;;;;;;;;;:::o;1509:308::-;1575:7;1594:16;1613:10;:8;:10::i;:::-;1594:29;;1633:22;1681:19;1670:9;1659:8;:20;1658:42;;;;;;1633:67;;1796:14;1789:21;;;;1509:308;;;:::o;546:20::-;;;;;;;;;;;;;:::o;1195:290::-;1235:7;1254:31;1310:42;1254:99;;1366:9;1382;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1382:27:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1382:27:2;;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;1382:27:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1363:46;;;;;;1442:11;1434:5;:19;1419:35;;;;1195:290;:::o;716:264::-;757:18;778:13;757:34;;841:10;809:28;827:9;809:17;:28::i;:::-;:42;;801:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;930:9;893:21;:33;915:10;893:33;;;;;;;;;;;;;;;;:46;;;;;;;;;;;949:7;962:10;949:24;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;949:24:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;716:264;:::o;284:1880::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "394800",
"executionCost": "21296",
"totalCost": "416096"
},
"external": {
"addressToAmountFunded(address)": "1214",
"fund()": "infinite",
"getConversionRate(uint256)": "infinite",
"getPrice()": "infinite",
"getVersion()": "infinite",
"owner()": "1075",
"withdraw()": "infinite"
}
},
"methodIdentifiers": {
"addressToAmountFunded(address)": "3e47d6f3",
"fund()": "b60d4288",
"getConversionRate(uint256)": "6e5b6b28",
"getPrice()": "98d5fdca",
"getVersion()": "0d8e6e2c",
"owner()": "8da5cb5b",
"withdraw()": "3ccfd60b"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "addressToAmountFunded",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "fund",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "ethAmount",
"type": "uint256"
}
],
"name": "getConversionRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getVersion",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "withdraw",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.6.6+commit.6c089d02"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "addressToAmountFunded",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "fund",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "ethAmount",
"type": "uint256"
}
],
"name": "getConversionRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getVersion",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "withdraw",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"devdoc": {
"methods": {}
},
"userdoc": {
"methods": {}
}
},
"settings": {
"compilationTarget": {
"contracts/FundMe.sol": "FundMe"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol": {
"keccak256": "0x8895ce4f46aba18ee3cdb7b1d180f79edb868225781f60993c7b2181e2ee2583",
"urls": [
"bzz-raw://4472c14df5f311d7a2eff1dfa55d9b4d39a21b0a0ff905fcbbf6913551086a4c",
"dweb:/ipfs/QmQvwFk1SBaLMm4pmZCz7UEhfaXM8kUWu5VG71VFFuMxjF"
]
},
"@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol": {
"keccak256": "0x105f5e9491f3d0bbdd4f1c7627eb839d69b944bfd803028a01cc083597692c1f",
"urls": [
"bzz-raw://ec45a2748a024a947a921183d4102d5e206808588501d85ddc4f5668a009bc73",
"dweb:/ipfs/QmRNAMpq7LdWFnJ7wWKGbUuAcURaGSS42PMxtQ4vjrHmp9"
]
},
"contracts/FundMe.sol": {
"keccak256": "0x52cc79ae54e86c9271c7a786880d505b77f1118a0e203e9757a4ff0b2dcf29e7",
"urls": [
"bzz-raw://cd938cc9a778d87cf59c2da9fe2a0e0cd28df8adb9eb619ed3089ade0f6e9ec1",
"dweb:/ipfs/QmPyuFMocUL88BuEMn9RSawu9GDjD5zajn4A4s51yDt3qM"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610741806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80636057361d1461005c5780636f760f41146100785780639e7a13ad14610094578063a6b7fc5b146100c5578063b2ac62ef146100e3575b600080fd5b61007660048036038101906100719190610455565b610113565b005b610092600480360381019061008d9190610401565b61011d565b005b6100ae60048036038101906100a99190610455565b6101ad565b6040516100bc929190610529565b60405180910390f35b6100cd610269565b6040516100da919061050e565b60405180910390f35b6100fd60048036038101906100f891906103c0565b610272565b60405161010a919061050e565b60405180910390f35b8060008190555050565b600160405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906101839291906102a0565b5050508060028360405161019791906104f7565b9081526020016040518091039020819055505050565b600181815481106101bd57600080fd5b90600052602060002090600202016000915090508060000154908060010180546101e690610622565b80601f016020809104026020016040519081016040528092919081815260200182805461021290610622565b801561025f5780601f106102345761010080835404028352916020019161025f565b820191906000526020600020905b81548152906001019060200180831161024257829003601f168201915b5050505050905082565b60008054905090565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac90610622565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461057e565b610559565b90508281526020810184848401111561036e57600080fd5b6103798482856105e0565b509392505050565b600082601f83011261039257600080fd5b81356103a2848260208601610343565b91505092915050565b6000813590506103ba816106f4565b92915050565b6000602082840312156103d257600080fd5b600082013567ffffffffffffffff8111156103ec57600080fd5b6103f884828501610381565b91505092915050565b6000806040838503121561041457600080fd5b600083013567ffffffffffffffff81111561042e57600080fd5b61043a85828601610381565b925050602061044b858286016103ab565b9150509250929050565b60006020828403121561046757600080fd5b6000610475848285016103ab565b91505092915050565b6000610489826105af565b61049381856105ba565b93506104a38185602086016105ef565b6104ac816106e3565b840191505092915050565b60006104c2826105af565b6104cc81856105cb565b93506104dc8185602086016105ef565b80840191505092915050565b6104f1816105d6565b82525050565b600061050382846104b7565b915081905092915050565b600060208201905061052360008301846104e8565b92915050565b600060408201905061053e60008301856104e8565b8181036020830152610550818461047e565b90509392505050565b6000610563610574565b905061056f8282610654565b919050565b6000604051905090565b600067ffffffffffffffff821115610599576105986106b4565b5b6105a2826106e3565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561060d5780820151818401526020810190506105f2565b8381111561061c576000848401525b50505050565b6000600282049050600182168061063a57607f821691505b6020821081141561064e5761064d610685565b5b50919050565b61065d826106e3565b810181811067ffffffffffffffff8211171561067c5761067b6106b4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6106fd816105d6565b811461070857600080fd5b5056fea2646970667358221220fe2d4c79375b6205bca5470963e5973038d9d30b3edf2eaee14f4d0c5226c79064736f6c63430008010033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x741 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6057361D EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0x94 JUMPI DUP1 PUSH4 0xA6B7FC5B EQ PUSH2 0xC5 JUMPI DUP1 PUSH4 0xB2AC62EF EQ PUSH2 0xE3 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x92 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8D SWAP2 SWAP1 PUSH2 0x401 JUMP JUMPDEST PUSH2 0x11D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xAE PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x1AD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBC SWAP3 SWAP2 SWAP1 PUSH2 0x529 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCD PUSH2 0x269 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C0 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x183 SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x197 SWAP2 SWAP1 PUSH2 0x4F7 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x1E6 SWAP1 PUSH2 0x622 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 0x212 SWAP1 PUSH2 0x622 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x25F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x234 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x25F 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 0x242 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 ADD DUP1 MLOAD DUP5 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD KECCAK256 DUP2 DUP4 MSTORE DUP1 SWAP6 POP POP POP POP POP POP PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2AC SWAP1 PUSH2 0x622 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2CE JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2E7 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x315 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x314 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2F9 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x322 SWAP2 SWAP1 PUSH2 0x326 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x33F JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x327 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x356 PUSH2 0x351 DUP5 PUSH2 0x57E JUMP JUMPDEST PUSH2 0x559 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x36E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP5 DUP3 DUP6 PUSH2 0x5E0 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x392 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3A2 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x343 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3BA DUP2 PUSH2 0x6F4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3F8 DUP5 DUP3 DUP6 ADD PUSH2 0x381 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x414 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x42E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43A DUP6 DUP3 DUP7 ADD PUSH2 0x381 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x44B DUP6 DUP3 DUP7 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x489 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x493 DUP2 DUP6 PUSH2 0x5BA JUMP JUMPDEST SWAP4 POP PUSH2 0x4A3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST PUSH2 0x4AC DUP2 PUSH2 0x6E3 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4C2 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x4CC DUP2 DUP6 PUSH2 0x5CB JUMP JUMPDEST SWAP4 POP PUSH2 0x4DC DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x4F1 DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x503 DUP3 DUP5 PUSH2 0x4B7 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x523 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x4E8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x53E PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x4E8 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x550 DUP2 DUP5 PUSH2 0x47E JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x563 PUSH2 0x574 JUMP JUMPDEST SWAP1 POP PUSH2 0x56F DUP3 DUP3 PUSH2 0x654 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x599 JUMPI PUSH2 0x598 PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST PUSH2 0x5A2 DUP3 PUSH2 0x6E3 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x60D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x5F2 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x61C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x63A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x64E JUMPI PUSH2 0x64D PUSH2 0x685 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x65D DUP3 PUSH2 0x6E3 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x67C JUMPI PUSH2 0x67B PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x6FD DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP2 EQ PUSH2 0x708 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 INVALID 0x2D 0x4C PUSH26 0x375B6205BCA5470963E5973038D9D30B3EDF2EAEE14F4D0C5226 0xC7 SWAP1 PUSH5 0x736F6C6343 STOP ADDMOD ADD STOP CALLER ",
"sourceMap": "70:666:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:6524:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "101:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "168:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "126:41:1"
},
"nodeType": "YulFunctionCall",
"src": "126:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "110:15:1"
},
"nodeType": "YulFunctionCall",
"src": "110:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "101:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "192:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "199:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "185:6:1"
},
"nodeType": "YulFunctionCall",
"src": "185:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "185:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "215:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "230:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "237:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "226:3:1"
},
"nodeType": "YulFunctionCall",
"src": "226:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "219:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "280:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:1"
},
"nodeType": "YulFunctionCall",
"src": "282:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "257:3:1"
},
"nodeType": "YulFunctionCall",
"src": "257:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "275:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "254:2:1"
},
"nodeType": "YulFunctionCall",
"src": "254:25:1"
},
"nodeType": "YulIf",
"src": "251:2:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:1"
},
"nodeType": "YulFunctionCall",
"src": "305:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "305:41:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "64:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "69:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "77:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "85:5:1",
"type": ""
}
],
"src": "7:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "434:211:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "483:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "492:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "495:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "485:6:1"
},
"nodeType": "YulFunctionCall",
"src": "485:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "485:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "462:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "470:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:1"
},
"nodeType": "YulFunctionCall",
"src": "458:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "477:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "454:3:1"
},
"nodeType": "YulFunctionCall",
"src": "454:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "447:6:1"
},
"nodeType": "YulFunctionCall",
"src": "447:35:1"
},
"nodeType": "YulIf",
"src": "444:2:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "508:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "535:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "522:12:1"
},
"nodeType": "YulFunctionCall",
"src": "522:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "512:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "551:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "612:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "620:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "608:3:1"
},
"nodeType": "YulFunctionCall",
"src": "608:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "627:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "635:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "560:47:1"
},
"nodeType": "YulFunctionCall",
"src": "560:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "551:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "412:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "420:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "428:5:1",
"type": ""
}
],
"src": "372:273:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "703:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "713:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "735:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "722:12:1"
},
"nodeType": "YulFunctionCall",
"src": "722:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "713:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "778:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "751:26:1"
},
"nodeType": "YulFunctionCall",
"src": "751:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "751:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "681:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "689:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "697:5:1",
"type": ""
}
],
"src": "651:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "872:299:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "918:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "927:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "930:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "920:6:1"
},
"nodeType": "YulFunctionCall",
"src": "920:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "920:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "893:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "902:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "889:3:1"
},
"nodeType": "YulFunctionCall",
"src": "889:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "914:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "885:3:1"
},
"nodeType": "YulFunctionCall",
"src": "885:32:1"
},
"nodeType": "YulIf",
"src": "882:2:1"
},
{
"nodeType": "YulBlock",
"src": "944:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "959:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "990:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1001:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "986:3:1"
},
"nodeType": "YulFunctionCall",
"src": "986:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "973:12:1"
},
"nodeType": "YulFunctionCall",
"src": "973:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "963:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1051:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1060:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1063:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1053:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1053:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1053:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1023:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1031:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1020:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1020:30:1"
},
"nodeType": "YulIf",
"src": "1017:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1081:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1126:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1137:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1122:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1122:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1146:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1091:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1091:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1081:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "842:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "853:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "865:6:1",
"type": ""
}
],
"src": "796:375:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1270:427:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1316:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1325:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1328:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1318:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1318:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1318:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1291:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1300:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1287:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1287:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1312:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1283:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1283:32:1"
},
"nodeType": "YulIf",
"src": "1280:2:1"
},
{
"nodeType": "YulBlock",
"src": "1342:220:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1357:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1388:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1399:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1384:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1384:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1371:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1371:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1361:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1449:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1458:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1461:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1451:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1451:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1451:12:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1421:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1429:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1418:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1418:30:1"
},
"nodeType": "YulIf",
"src": "1415:2:1"
},
{
"nodeType": "YulAssignment",
"src": "1479:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1524:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1535:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1520:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1520:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1544:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1489:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1489:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1479:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1572:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1587:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1601:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1591:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1617:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1652:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1663:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1648:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1648:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1672:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1627:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1627:53:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1617:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1232:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1243:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1255:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1263:6:1",
"type": ""
}
],
"src": "1177:520:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1769:196:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1815:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1824:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1827:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1817:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1817:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "1817:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1790:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1799:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1786:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1786:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1811:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1782:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1782:32:1"
},
"nodeType": "YulIf",
"src": "1779:2:1"
},
{
"nodeType": "YulBlock",
"src": "1841:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1856:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1870:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1860:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1885:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1920:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1931:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1916:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1916:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1940:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1895:20:1"
},
"nodeType": "YulFunctionCall",
"src": "1895:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1885:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1739:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1750:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1762:6:1",
"type": ""
}
],
"src": "1703:262:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2063:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2073:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2120:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2087:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2087:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2077:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2135:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2201:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2206:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2142:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2142:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2135:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2248:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2255:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2244:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2244:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2262:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2267:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2222:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2222:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2222:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2283:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2294:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2321:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2299:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2299:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2290:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2290:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2283:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2044:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2051:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2059:3:1",
"type": ""
}
],
"src": "1971:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2451:267:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2461:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2508:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2475:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2475:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2465:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2523:96:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2607:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2612:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "2530:76:1"
},
"nodeType": "YulFunctionCall",
"src": "2530:89:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2523:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2654:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2661:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2650:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2650:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2668:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2673:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2628:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2628:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2628:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2689:23:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2700:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2705:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2696:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2696:16:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2689:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2432:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2439:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2447:3:1",
"type": ""
}
],
"src": "2341:377:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2789:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2806:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2829:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2811:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2811:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2799:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2799:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "2799:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2777:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2784:3:1",
"type": ""
}
],
"src": "2724:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2984:139:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2995:102:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3084:6:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3093:3:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "3002:81:1"
},
"nodeType": "YulFunctionCall",
"src": "3002:95:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2995:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3107:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3114:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3107:3:1"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2963:3:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2969:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2980:3:1",
"type": ""
}
],
"src": "2848:275:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3227:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3237:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3249:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3260:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3245:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3245:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3237:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3317:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3330:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3341:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3326:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3326:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3273:43:1"
},
"nodeType": "YulFunctionCall",
"src": "3273:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "3273:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3199:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3211:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3222:4:1",
"type": ""
}
],
"src": "3129:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3503:277:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3513:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3525:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3536:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3521:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3521:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3513:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3593:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3606:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3617:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3602:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3602:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3549:43:1"
},
"nodeType": "YulFunctionCall",
"src": "3549:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "3549:71:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3641:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3652:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3637:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3637:18:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3661:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3667:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3657:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3657:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3630:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3630:48:1"
},
"nodeType": "YulExpressionStatement",
"src": "3630:48:1"
},
{
"nodeType": "YulAssignment",
"src": "3687:86:1",
"value": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "3759:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3768:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3695:63:1"
},
"nodeType": "YulFunctionCall",
"src": "3695:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3687:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3467:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3479:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3487:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3498:4:1",
"type": ""
}
],
"src": "3357:423:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3827:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3837:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "3847:18:1"
},
"nodeType": "YulFunctionCall",
"src": "3847:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3837:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3896:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3904:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "3876:19:1"
},
"nodeType": "YulFunctionCall",
"src": "3876:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "3876:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3811:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3820:6:1",
"type": ""
}
],
"src": "3786:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3961:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3971:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3987:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3981:5:1"
},
"nodeType": "YulFunctionCall",
"src": "3981:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3971:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3954:6:1",
"type": ""
}
],
"src": "3921:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4069:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4174:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4176:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4176:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4176:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4146:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4154:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4143:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4143:30:1"
},
"nodeType": "YulIf",
"src": "4140:2:1"
},
{
"nodeType": "YulAssignment",
"src": "4206:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4236:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "4214:21:1"
},
"nodeType": "YulFunctionCall",
"src": "4214:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4206:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4280:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4292:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4298:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4288:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4288:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4280:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4053:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4064:4:1",
"type": ""
}
],
"src": "4002:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4375:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4386:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4402:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4396:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4396:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4386:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4358:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4368:6:1",
"type": ""
}
],
"src": "4316:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4517:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4534:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4539:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4527:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4527:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4527:19:1"
},
{
"nodeType": "YulAssignment",
"src": "4555:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4574:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4579:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4570:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4570:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4555:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4489:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4494:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4505:11:1",
"type": ""
}
],
"src": "4421:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4710:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4720:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4735:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "4720:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4682:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4687:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4698:11:1",
"type": ""
}
],
"src": "4596:148:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4795:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4805:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "4816:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4805:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4777:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4787:7:1",
"type": ""
}
],
"src": "4750:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4884:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4907:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4912:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4917:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "4894:12:1"
},
"nodeType": "YulFunctionCall",
"src": "4894:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "4894:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4965:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4970:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4961:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4961:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4979:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4954:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4954:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "4954:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "4866:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4871:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4876:6:1",
"type": ""
}
],
"src": "4833:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5042:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5052:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5061:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "5056:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5121:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5146:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5151:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5142:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5142:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5165:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5170:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5161:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5161:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5155:5:1"
},
"nodeType": "YulFunctionCall",
"src": "5155:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5135:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5135:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "5135:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5082:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5085:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5079:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5079:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "5093:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5095:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5104:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5107:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5100:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5100:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5095:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "5075:3:1",
"statements": []
},
"src": "5071:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5218:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5268:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5273:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5264:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5264:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5282:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5257:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5257:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "5257:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5199:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5202:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5196:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5196:13:1"
},
"nodeType": "YulIf",
"src": "5193:2:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "5024:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "5029:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5034:6:1",
"type": ""
}
],
"src": "4993:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5357:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5367:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5381:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5387:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "5377:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5377:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5367:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "5398:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5428:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5434:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5424:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5424:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "5402:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5475:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5489:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5503:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5511:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5499:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5499:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5489:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5455:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5448:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5448:26:1"
},
"nodeType": "YulIf",
"src": "5445:2:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5578:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "5592:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5592:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5592:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5542:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5565:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5573:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5562:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5562:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5539:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5539:38:1"
},
"nodeType": "YulIf",
"src": "5536:2:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5341:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5350:6:1",
"type": ""
}
],
"src": "5306:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5675:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5685:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5707:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5737:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5715:21:1"
},
"nodeType": "YulFunctionCall",
"src": "5715:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5703:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5703:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "5689:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5854:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5856:16:1"
},
"nodeType": "YulFunctionCall",
"src": "5856:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "5856:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5797:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5809:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5794:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5794:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5833:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5845:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5830:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5830:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "5791:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5791:62:1"
},
"nodeType": "YulIf",
"src": "5788:2:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5892:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "5896:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5885:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5885:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "5885:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5661:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5669:4:1",
"type": ""
}
],
"src": "5632:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5947:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5964:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5967:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5957:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5957:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "5957:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6061:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6064:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6054:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6054:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6054:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6085:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6088:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6078:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6078:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6078:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "5919:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6133:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6150:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6153:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6143:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6143:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6143:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6247:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6250:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6240:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6240:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6240:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6271:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6274:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6264:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6264:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6264:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "6105:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6339:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6349:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6367:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6374:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6363:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6363:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6383:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "6379:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6379:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6359:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6359:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "6349:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6322:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "6332:6:1",
"type": ""
}
],
"src": "6291:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6442:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6499:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6508:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6511:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6501:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6501:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6501:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6465:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6490:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6472:17:1"
},
"nodeType": "YulFunctionCall",
"src": "6472:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6462:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6462:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6455:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6455:43:1"
},
"nodeType": "YulIf",
"src": "6452:2:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6435:5:1",
"type": ""
}
],
"src": "6399:122:1"
}
]
},
"contents": "{\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert(0, 0) }\n copy_calldata_to_memory(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value0) -> end {\n\n pos := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value1, tail)\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100575760003560e01c80636057361d1461005c5780636f760f41146100785780639e7a13ad14610094578063a6b7fc5b146100c5578063b2ac62ef146100e3575b600080fd5b61007660048036038101906100719190610455565b610113565b005b610092600480360381019061008d9190610401565b61011d565b005b6100ae60048036038101906100a99190610455565b6101ad565b6040516100bc929190610529565b60405180910390f35b6100cd610269565b6040516100da919061050e565b60405180910390f35b6100fd60048036038101906100f891906103c0565b610272565b60405161010a919061050e565b60405180910390f35b8060008190555050565b600160405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906101839291906102a0565b5050508060028360405161019791906104f7565b9081526020016040518091039020819055505050565b600181815481106101bd57600080fd5b90600052602060002090600202016000915090508060000154908060010180546101e690610622565b80601f016020809104026020016040519081016040528092919081815260200182805461021290610622565b801561025f5780601f106102345761010080835404028352916020019161025f565b820191906000526020600020905b81548152906001019060200180831161024257829003601f168201915b5050505050905082565b60008054905090565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac90610622565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461057e565b610559565b90508281526020810184848401111561036e57600080fd5b6103798482856105e0565b509392505050565b600082601f83011261039257600080fd5b81356103a2848260208601610343565b91505092915050565b6000813590506103ba816106f4565b92915050565b6000602082840312156103d257600080fd5b600082013567ffffffffffffffff8111156103ec57600080fd5b6103f884828501610381565b91505092915050565b6000806040838503121561041457600080fd5b600083013567ffffffffffffffff81111561042e57600080fd5b61043a85828601610381565b925050602061044b858286016103ab565b9150509250929050565b60006020828403121561046757600080fd5b6000610475848285016103ab565b91505092915050565b6000610489826105af565b61049381856105ba565b93506104a38185602086016105ef565b6104ac816106e3565b840191505092915050565b60006104c2826105af565b6104cc81856105cb565b93506104dc8185602086016105ef565b80840191505092915050565b6104f1816105d6565b82525050565b600061050382846104b7565b915081905092915050565b600060208201905061052360008301846104e8565b92915050565b600060408201905061053e60008301856104e8565b8181036020830152610550818461047e565b90509392505050565b6000610563610574565b905061056f8282610654565b919050565b6000604051905090565b600067ffffffffffffffff821115610599576105986106b4565b5b6105a2826106e3565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561060d5780820151818401526020810190506105f2565b8381111561061c576000848401525b50505050565b6000600282049050600182168061063a57607f821691505b6020821081141561064e5761064d610685565b5b50919050565b61065d826106e3565b810181811067ffffffffffffffff8211171561067c5761067b6106b4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6106fd816105d6565b811461070857600080fd5b5056fea2646970667358221220fe2d4c79375b6205bca5470963e5973038d9d30b3edf2eaee14f4d0c5226c79064736f6c63430008010033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6057361D EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0x94 JUMPI DUP1 PUSH4 0xA6B7FC5B EQ PUSH2 0xC5 JUMPI DUP1 PUSH4 0xB2AC62EF EQ PUSH2 0xE3 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x92 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8D SWAP2 SWAP1 PUSH2 0x401 JUMP JUMPDEST PUSH2 0x11D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xAE PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x1AD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBC SWAP3 SWAP2 SWAP1 PUSH2 0x529 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCD PUSH2 0x269 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C0 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x183 SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x197 SWAP2 SWAP1 PUSH2 0x4F7 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x1E6 SWAP1 PUSH2 0x622 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 0x212 SWAP1 PUSH2 0x622 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x25F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x234 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x25F 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 0x242 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 ADD DUP1 MLOAD DUP5 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD KECCAK256 DUP2 DUP4 MSTORE DUP1 SWAP6 POP POP POP POP POP POP PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2AC SWAP1 PUSH2 0x622 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2CE JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2E7 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x315 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x314 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2F9 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x322 SWAP2 SWAP1 PUSH2 0x326 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x33F JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x327 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x356 PUSH2 0x351 DUP5 PUSH2 0x57E JUMP JUMPDEST PUSH2 0x559 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x36E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP5 DUP3 DUP6 PUSH2 0x5E0 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x392 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3A2 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x343 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3BA DUP2 PUSH2 0x6F4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3F8 DUP5 DUP3 DUP6 ADD PUSH2 0x381 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x414 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x42E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43A DUP6 DUP3 DUP7 ADD PUSH2 0x381 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x44B DUP6 DUP3 DUP7 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x489 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x493 DUP2 DUP6 PUSH2 0x5BA JUMP JUMPDEST SWAP4 POP PUSH2 0x4A3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST PUSH2 0x4AC DUP2 PUSH2 0x6E3 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4C2 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x4CC DUP2 DUP6 PUSH2 0x5CB JUMP JUMPDEST SWAP4 POP PUSH2 0x4DC DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x4F1 DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x503 DUP3 DUP5 PUSH2 0x4B7 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x523 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x4E8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x53E PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x4E8 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x550 DUP2 DUP5 PUSH2 0x47E JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x563 PUSH2 0x574 JUMP JUMPDEST SWAP1 POP PUSH2 0x56F DUP3 DUP3 PUSH2 0x654 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x599 JUMPI PUSH2 0x598 PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST PUSH2 0x5A2 DUP3 PUSH2 0x6E3 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x60D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x5F2 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x61C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x63A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x64E JUMPI PUSH2 0x64D PUSH2 0x685 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x65D DUP3 PUSH2 0x6E3 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x67C JUMPI PUSH2 0x67B PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x6FD DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP2 EQ PUSH2 0x708 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 INVALID 0x2D 0x4C PUSH26 0x375B6205BCA5470963E5973038D9D30B3EDF2EAEE14F4D0C5226 0xC7 SWAP1 PUSH5 0x736F6C6343 STOP ADDMOD ADD STOP CALLER ",
"sourceMap": "70:666:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;341:99;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;539:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;249:22;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;446:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;278:55;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;341:99;417:16;399:15;:34;;;;341:99;:::o;539:190::-;622:6;634:30;;;;;;;;641:16;634:30;;;;658:5;634:30;;;622:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;706:16;675:21;697:5;675:28;;;;;;:::i;:::-;;;;;;;;;;;;;:47;;;;539:190;;:::o;249:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;446:87::-;485:7;511:15;;504:22;;446:87;:::o;278:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345:1:-;;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;372:273::-;;477:3;470:4;462:6;458:17;454:27;444:2;;495:1;492;485:12;444:2;535:6;522:20;560:79;635:3;627:6;620:4;612:6;608:17;560:79;:::i;:::-;551:88;;434:211;;;;;:::o;651:139::-;;735:6;722:20;713:29;;751:33;778:5;751:33;:::i;:::-;703:87;;;;:::o;796:375::-;;914:2;902:9;893:7;889:23;885:32;882:2;;;930:1;927;920:12;882:2;1001:1;990:9;986:17;973:31;1031:18;1023:6;1020:30;1017:2;;;1063:1;1060;1053:12;1017:2;1091:63;1146:7;1137:6;1126:9;1122:22;1091:63;:::i;:::-;1081:73;;944:220;872:299;;;;:::o;1177:520::-;;;1312:2;1300:9;1291:7;1287:23;1283:32;1280:2;;;1328:1;1325;1318:12;1280:2;1399:1;1388:9;1384:17;1371:31;1429:18;1421:6;1418:30;1415:2;;;1461:1;1458;1451:12;1415:2;1489:63;1544:7;1535:6;1524:9;1520:22;1489:63;:::i;:::-;1479:73;;1342:220;1601:2;1627:53;1672:7;1663:6;1652:9;1648:22;1627:53;:::i;:::-;1617:63;;1572:118;1270:427;;;;;:::o;1703:262::-;;1811:2;1799:9;1790:7;1786:23;1782:32;1779:2;;;1827:1;1824;1817:12;1779:2;1870:1;1895:53;1940:7;1931:6;1920:9;1916:22;1895:53;:::i;:::-;1885:63;;1841:117;1769:196;;;;:::o;1971:364::-;;2087:39;2120:5;2087:39;:::i;:::-;2142:71;2206:6;2201:3;2142:71;:::i;:::-;2135:78;;2222:52;2267:6;2262:3;2255:4;2248:5;2244:16;2222:52;:::i;:::-;2299:29;2321:6;2299:29;:::i;:::-;2294:3;2290:39;2283:46;;2063:272;;;;;:::o;2341:377::-;;2475:39;2508:5;2475:39;:::i;:::-;2530:89;2612:6;2607:3;2530:89;:::i;:::-;2523:96;;2628:52;2673:6;2668:3;2661:4;2654:5;2650:16;2628:52;:::i;:::-;2705:6;2700:3;2696:16;2689:23;;2451:267;;;;;:::o;2724:118::-;2811:24;2829:5;2811:24;:::i;:::-;2806:3;2799:37;2789:53;;:::o;2848:275::-;;3002:95;3093:3;3084:6;3002:95;:::i;:::-;2995:102;;3114:3;3107:10;;2984:139;;;;:::o;3129:222::-;;3260:2;3249:9;3245:18;3237:26;;3273:71;3341:1;3330:9;3326:17;3317:6;3273:71;:::i;:::-;3227:124;;;;:::o;3357:423::-;;3536:2;3525:9;3521:18;3513:26;;3549:71;3617:1;3606:9;3602:17;3593:6;3549:71;:::i;:::-;3667:9;3661:4;3657:20;3652:2;3641:9;3637:18;3630:48;3695:78;3768:4;3759:6;3695:78;:::i;:::-;3687:86;;3503:277;;;;;:::o;3786:129::-;;3847:20;;:::i;:::-;3837:30;;3876:33;3904:4;3896:6;3876:33;:::i;:::-;3827:88;;;:::o;3921:75::-;;3987:2;3981:9;3971:19;;3961:35;:::o;4002:308::-;;4154:18;4146:6;4143:30;4140:2;;;4176:18;;:::i;:::-;4140:2;4214:29;4236:6;4214:29;:::i;:::-;4206:37;;4298:4;4292;4288:15;4280:23;;4069:241;;;:::o;4316:99::-;;4402:5;4396:12;4386:22;;4375:40;;;:::o;4421:169::-;;4539:6;4534:3;4527:19;4579:4;4574:3;4570:14;4555:29;;4517:73;;;;:::o;4596:148::-;;4735:3;4720:18;;4710:34;;;;:::o;4750:77::-;;4816:5;4805:16;;4795:32;;;:::o;4833:154::-;4917:6;4912:3;4907;4894:30;4979:1;4970:6;4965:3;4961:16;4954:27;4884:103;;;:::o;4993:307::-;5061:1;5071:113;5085:6;5082:1;5079:13;5071:113;;;5170:1;5165:3;5161:11;5155:18;5151:1;5146:3;5142:11;5135:39;5107:2;5104:1;5100:10;5095:15;;5071:113;;;5202:6;5199:1;5196:13;5193:2;;;5282:1;5273:6;5268:3;5264:16;5257:27;5193:2;5042:258;;;;:::o;5306:320::-;;5387:1;5381:4;5377:12;5367:22;;5434:1;5428:4;5424:12;5455:18;5445:2;;5511:4;5503:6;5499:17;5489:27;;5445:2;5573;5565:6;5562:14;5542:18;5539:38;5536:2;;;5592:18;;:::i;:::-;5536:2;5357:269;;;;:::o;5632:281::-;5715:27;5737:4;5715:27;:::i;:::-;5707:6;5703:40;5845:6;5833:10;5830:22;5809:18;5797:10;5794:34;5791:62;5788:2;;;5856:18;;:::i;:::-;5788:2;5896:10;5892:2;5885:22;5675:238;;;:::o;5919:180::-;5967:77;5964:1;5957:88;6064:4;6061:1;6054:15;6088:4;6085:1;6078:15;6105:180;6153:77;6150:1;6143:88;6250:4;6247:1;6240:15;6274:4;6271:1;6264:15;6291:102;;6383:2;6379:7;6374:2;6367:5;6363:14;6359:28;6349:38;;6339:54;;;:::o;6399:122::-;6472:24;6490:5;6472:24;:::i;:::-;6465:5;6462:35;6452:2;;6511:1;6508;6501:12;6452:2;6442:79;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "371400",
"executionCost": "411",
"totalCost": "371811"
},
"external": {
"addPerson(string,uint256)": "infinite",
"nameToFavouriteNumber(string)": "infinite",
"people(uint256)": "infinite",
"retrive()": "1181",
"store(uint256)": "20398"
}
},
"methodIdentifiers": {
"addPerson(string,uint256)": "6f760f41",
"nameToFavouriteNumber(string)": "b2ac62ef",
"people(uint256)": "9e7a13ad",
"retrive()": "a6b7fc5b",
"store(uint256)": "6057361d"
}
},
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavouriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "people",
"outputs": [
{
"internalType": "uint256",
"name": "favouriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "retrive",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.1+commit.df193b15"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavouriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "people",
"outputs": [
{
"internalType": "uint256",
"name": "favouriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "retrive",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/SimpleStorage.sol": "SimpleStorage"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/SimpleStorage.sol": {
"keccak256": "0x0f8c3ecaee30ec1bc8458d3ced72bf8b4b5fe4ad19dd8d11ab2f3ea432c196ff",
"license": "MIT",
"urls": [
"bzz-raw://d793cc4a37275c7318ded8d87d7bbcee08ffd8e917baaae9f48f1a5dbc19c5b8",
"dweb:/ipfs/QmeydNbkLUYXnrxykP818oFBhmfwkQXTwshKYx7QqdrZMv"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506112e9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80636f760f41116100665780636f760f411461010a5780639e7a13ad14610126578063a6b7fc5b14610157578063b2ac62ef14610175578063c5f19c20146101a557610093565b80631563700f146100985780631dda6541146100b45780636057361d146100be57806364591bf1146100da575b600080fd5b6100b260048036038101906100ad919061081b565b6101d5565b005b6100bc6102a8565b005b6100d860048036038101906100d391906107c9565b61033b565b005b6100f460048036038101906100ef91906107c9565b610345565b60405161010191906108f6565b60405180910390f35b610124600480360381019061011f9190610775565b610384565b005b610140600480360381019061013b91906107c9565b610414565b60405161014e92919061092c565b60405180910390f35b61015f6104d0565b60405161016c9190610911565b60405180910390f35b61018f600480360381019061018a9190610734565b6104d9565b60405161019c9190610911565b60405180910390f35b6101bf60048036038101906101ba91906107c9565b610507565b6040516101cc9190610911565b60405180910390f35b6003828154811061020f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636057361d826040518263ffffffff1660e01b81526004016102729190610911565b600060405180830381600087803b15801561028c57600080fd5b505af11580156102a0573d6000803e3d6000fd5b505050505050565b60006040516102b6906105f2565b604051809103906000f0801580156102d2573d6000803e3d6000fd5b5090506003819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8060008190555050565b6003818154811061035557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906103ea9291906105ff565b505050806002836040516103fe91906108df565b9081526020016040518091039020819055505050565b6001818154811061042457600080fd5b906000526020600020906002020160009150905080600001549080600101805461044d90610a69565b80601f016020809104026020016040519081016040528092919081815260200182805461047990610a69565b80156104c65780601f1061049b576101008083540402835291602001916104c6565b820191906000526020600020905b8154815290600101906020018083116104a957829003601f168201915b5050505050905082565b60008054905090565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b600060038281548110610543577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a6b7fc5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156105b357600080fd5b505afa1580156105c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105eb91906107f2565b9050919050565b61076180610b5383390190565b82805461060b90610a69565b90600052602060002090601f01602090048101928261062d5760008555610674565b82601f1061064657805160ff1916838001178555610674565b82800160010185558215610674579182015b82811115610673578251825591602001919060010190610658565b5b5090506106819190610685565b5090565b5b8082111561069e576000816000905550600101610686565b5090565b60006106b56106b084610981565b61095c565b9050828152602081018484840111156106cd57600080fd5b6106d8848285610a27565b509392505050565b600082601f8301126106f157600080fd5b81356107018482602086016106a2565b91505092915050565b60008135905061071981610b3b565b92915050565b60008151905061072e81610b3b565b92915050565b60006020828403121561074657600080fd5b600082013567ffffffffffffffff81111561076057600080fd5b61076c848285016106e0565b91505092915050565b6000806040838503121561078857600080fd5b600083013567ffffffffffffffff8111156107a257600080fd5b6107ae858286016106e0565b92505060206107bf8582860161070a565b9150509250929050565b6000602082840312156107db57600080fd5b60006107e98482850161070a565b91505092915050565b60006020828403121561080457600080fd5b60006108128482850161071f565b91505092915050565b6000806040838503121561082e57600080fd5b600061083c8582860161070a565b925050602061084d8582860161070a565b9150509250929050565b61086081610a03565b82525050565b6000610871826109b2565b61087b81856109bd565b935061088b818560208601610a36565b61089481610b2a565b840191505092915050565b60006108aa826109b2565b6108b481856109ce565b93506108c4818560208601610a36565b80840191505092915050565b6108d9816109f9565b82525050565b60006108eb828461089f565b915081905092915050565b600060208201905061090b6000830184610857565b92915050565b600060208201905061092660008301846108d0565b92915050565b600060408201905061094160008301856108d0565b81810360208301526109538184610866565b90509392505050565b6000610966610977565b90506109728282610a9b565b919050565b6000604051905090565b600067ffffffffffffffff82111561099c5761099b610afb565b5b6109a582610b2a565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610a0e82610a15565b9050919050565b6000610a20826109d9565b9050919050565b82818337600083830152505050565b60005b83811015610a54578082015181840152602081019050610a39565b83811115610a63576000848401525b50505050565b60006002820490506001821680610a8157607f821691505b60208210811415610a9557610a94610acc565b5b50919050565b610aa482610b2a565b810181811067ffffffffffffffff82111715610ac357610ac2610afb565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b610b44816109f9565b8114610b4f57600080fd5b5056fe608060405234801561001057600080fd5b50610741806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80636057361d1461005c5780636f760f41146100785780639e7a13ad14610094578063a6b7fc5b146100c5578063b2ac62ef146100e3575b600080fd5b61007660048036038101906100719190610455565b610113565b005b610092600480360381019061008d9190610401565b61011d565b005b6100ae60048036038101906100a99190610455565b6101ad565b6040516100bc929190610529565b60405180910390f35b6100cd610269565b6040516100da919061050e565b60405180910390f35b6100fd60048036038101906100f891906103c0565b610272565b60405161010a919061050e565b60405180910390f35b8060008190555050565b600160405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906101839291906102a0565b5050508060028360405161019791906104f7565b9081526020016040518091039020819055505050565b600181815481106101bd57600080fd5b90600052602060002090600202016000915090508060000154908060010180546101e690610622565b80601f016020809104026020016040519081016040528092919081815260200182805461021290610622565b801561025f5780601f106102345761010080835404028352916020019161025f565b820191906000526020600020905b81548152906001019060200180831161024257829003601f168201915b5050505050905082565b60008054905090565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac90610622565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461057e565b610559565b90508281526020810184848401111561036e57600080fd5b6103798482856105e0565b509392505050565b600082601f83011261039257600080fd5b81356103a2848260208601610343565b91505092915050565b6000813590506103ba816106f4565b92915050565b6000602082840312156103d257600080fd5b600082013567ffffffffffffffff8111156103ec57600080fd5b6103f884828501610381565b91505092915050565b6000806040838503121561041457600080fd5b600083013567ffffffffffffffff81111561042e57600080fd5b61043a85828601610381565b925050602061044b858286016103ab565b9150509250929050565b60006020828403121561046757600080fd5b6000610475848285016103ab565b91505092915050565b6000610489826105af565b61049381856105ba565b93506104a38185602086016105ef565b6104ac816106e3565b840191505092915050565b60006104c2826105af565b6104cc81856105cb565b93506104dc8185602086016105ef565b80840191505092915050565b6104f1816105d6565b82525050565b600061050382846104b7565b915081905092915050565b600060208201905061052360008301846104e8565b92915050565b600060408201905061053e60008301856104e8565b8181036020830152610550818461047e565b90509392505050565b6000610563610574565b905061056f8282610654565b919050565b6000604051905090565b600067ffffffffffffffff821115610599576105986106b4565b5b6105a2826106e3565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561060d5780820151818401526020810190506105f2565b8381111561061c576000848401525b50505050565b6000600282049050600182168061063a57607f821691505b6020821081141561064e5761064d610685565b5b50919050565b61065d826106e3565b810181811067ffffffffffffffff8211171561067c5761067b6106b4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6106fd816105d6565b811461070857600080fd5b5056fea2646970667358221220fe2d4c79375b6205bca5470963e5973038d9d30b3edf2eaee14f4d0c5226c79064736f6c63430008010033a2646970667358221220be84bc1276d47a7f6b3748362627472b1036b5f73dfc757efdd3b82e50821d2264736f6c63430008010033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x12E9 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6F760F41 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x10A JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0x126 JUMPI DUP1 PUSH4 0xA6B7FC5B EQ PUSH2 0x157 JUMPI DUP1 PUSH4 0xB2AC62EF EQ PUSH2 0x175 JUMPI DUP1 PUSH4 0xC5F19C20 EQ PUSH2 0x1A5 JUMPI PUSH2 0x93 JUMP JUMPDEST DUP1 PUSH4 0x1563700F EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x1DDA6541 EQ PUSH2 0xB4 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0xBE JUMPI DUP1 PUSH4 0x64591BF1 EQ PUSH2 0xDA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x81B JUMP JUMPDEST PUSH2 0x1D5 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xBC PUSH2 0x2A8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x33B JUMP JUMPDEST STOP JUMPDEST PUSH2 0xF4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEF SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x345 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x101 SWAP2 SWAP1 PUSH2 0x8F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x124 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11F SWAP2 SWAP1 PUSH2 0x775 JUMP JUMPDEST PUSH2 0x384 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x140 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x13B SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x414 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x14E SWAP3 SWAP2 SWAP1 PUSH2 0x92C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x15F PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x16C SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x18A SWAP2 SWAP1 PUSH2 0x734 JUMP JUMPDEST PUSH2 0x4D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x19C SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1BF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1BA SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x507 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CC SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x20F JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6057361D DUP3 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x272 SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x28C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH2 0x2B6 SWAP1 PUSH2 0x5F2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH2 0x2D2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP PUSH1 0x3 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x355 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x3EA SWAP3 SWAP2 SWAP1 PUSH2 0x5FF JUMP JUMPDEST POP POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x3FE SWAP2 SWAP1 PUSH2 0x8DF JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x424 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x44D SWAP1 PUSH2 0xA69 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 0x479 SWAP1 PUSH2 0xA69 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x4C6 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x49B JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x4C6 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 0x4A9 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 ADD DUP1 MLOAD DUP5 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD KECCAK256 DUP2 DUP4 MSTORE DUP1 SWAP6 POP POP POP POP POP POP PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x543 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xA6B7FC5B PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5C7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5EB SWAP2 SWAP1 PUSH2 0x7F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x761 DUP1 PUSH2 0xB53 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x60B SWAP1 PUSH2 0xA69 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x62D JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x674 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x646 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x674 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x674 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x673 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x658 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x681 SWAP2 SWAP1 PUSH2 0x685 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x69E JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x686 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6B5 PUSH2 0x6B0 DUP5 PUSH2 0x981 JUMP JUMPDEST PUSH2 0x95C JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x6CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6D8 DUP5 DUP3 DUP6 PUSH2 0xA27 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6F1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x701 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x6A2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x719 DUP2 PUSH2 0xB3B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x72E DUP2 PUSH2 0xB3B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x746 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x760 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76C DUP5 DUP3 DUP6 ADD PUSH2 0x6E0 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x788 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7A2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7AE DUP6 DUP3 DUP7 ADD PUSH2 0x6E0 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x7BF DUP6 DUP3 DUP7 ADD PUSH2 0x70A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x7E9 DUP5 DUP3 DUP6 ADD PUSH2 0x70A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x804 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x812 DUP5 DUP3 DUP6 ADD PUSH2 0x71F JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x82E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x83C DUP6 DUP3 DUP7 ADD PUSH2 0x70A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x84D DUP6 DUP3 DUP7 ADD PUSH2 0x70A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x860 DUP2 PUSH2 0xA03 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x871 DUP3 PUSH2 0x9B2 JUMP JUMPDEST PUSH2 0x87B DUP2 DUP6 PUSH2 0x9BD JUMP JUMPDEST SWAP4 POP PUSH2 0x88B DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA36 JUMP JUMPDEST PUSH2 0x894 DUP2 PUSH2 0xB2A JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8AA DUP3 PUSH2 0x9B2 JUMP JUMPDEST PUSH2 0x8B4 DUP2 DUP6 PUSH2 0x9CE JUMP JUMPDEST SWAP4 POP PUSH2 0x8C4 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA36 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x8D9 DUP2 PUSH2 0x9F9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8EB DUP3 DUP5 PUSH2 0x89F JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x90B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x857 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x926 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x8D0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x941 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x8D0 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x953 DUP2 DUP5 PUSH2 0x866 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x966 PUSH2 0x977 JUMP JUMPDEST SWAP1 POP PUSH2 0x972 DUP3 DUP3 PUSH2 0xA9B JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x99C JUMPI PUSH2 0x99B PUSH2 0xAFB JUMP JUMPDEST JUMPDEST PUSH2 0x9A5 DUP3 PUSH2 0xB2A JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA0E DUP3 PUSH2 0xA15 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA20 DUP3 PUSH2 0x9D9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xA54 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xA39 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xA63 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0xA81 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0xA95 JUMPI PUSH2 0xA94 PUSH2 0xACC JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xAA4 DUP3 PUSH2 0xB2A JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0xAC3 JUMPI PUSH2 0xAC2 PUSH2 0xAFB JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xB44 DUP2 PUSH2 0x9F9 JUMP JUMPDEST DUP2 EQ PUSH2 0xB4F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x741 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6057361D EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0x94 JUMPI DUP1 PUSH4 0xA6B7FC5B EQ PUSH2 0xC5 JUMPI DUP1 PUSH4 0xB2AC62EF EQ PUSH2 0xE3 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x92 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8D SWAP2 SWAP1 PUSH2 0x401 JUMP JUMPDEST PUSH2 0x11D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xAE PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x1AD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBC SWAP3 SWAP2 SWAP1 PUSH2 0x529 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCD PUSH2 0x269 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C0 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x183 SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x197 SWAP2 SWAP1 PUSH2 0x4F7 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x1E6 SWAP1 PUSH2 0x622 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 0x212 SWAP1 PUSH2 0x622 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x25F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x234 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x25F 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 0x242 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 ADD DUP1 MLOAD DUP5 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD KECCAK256 DUP2 DUP4 MSTORE DUP1 SWAP6 POP POP POP POP POP POP PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2AC SWAP1 PUSH2 0x622 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2CE JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2E7 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x315 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x314 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2F9 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x322 SWAP2 SWAP1 PUSH2 0x326 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x33F JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x327 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x356 PUSH2 0x351 DUP5 PUSH2 0x57E JUMP JUMPDEST PUSH2 0x559 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x36E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP5 DUP3 DUP6 PUSH2 0x5E0 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x392 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3A2 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x343 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3BA DUP2 PUSH2 0x6F4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3F8 DUP5 DUP3 DUP6 ADD PUSH2 0x381 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x414 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x42E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43A DUP6 DUP3 DUP7 ADD PUSH2 0x381 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x44B DUP6 DUP3 DUP7 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x489 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x493 DUP2 DUP6 PUSH2 0x5BA JUMP JUMPDEST SWAP4 POP PUSH2 0x4A3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST PUSH2 0x4AC DUP2 PUSH2 0x6E3 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4C2 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x4CC DUP2 DUP6 PUSH2 0x5CB JUMP JUMPDEST SWAP4 POP PUSH2 0x4DC DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x4F1 DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x503 DUP3 DUP5 PUSH2 0x4B7 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x523 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x4E8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x53E PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x4E8 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x550 DUP2 DUP5 PUSH2 0x47E JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x563 PUSH2 0x574 JUMP JUMPDEST SWAP1 POP PUSH2 0x56F DUP3 DUP3 PUSH2 0x654 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x599 JUMPI PUSH2 0x598 PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST PUSH2 0x5A2 DUP3 PUSH2 0x6E3 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x60D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x5F2 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x61C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x63A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x64E JUMPI PUSH2 0x64D PUSH2 0x685 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x65D DUP3 PUSH2 0x6E3 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x67C JUMPI PUSH2 0x67B PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x6FD DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP2 EQ PUSH2 0x708 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 INVALID 0x2D 0x4C PUSH26 0x375B6205BCA5470963E5973038D9D30B3EDF2EAEE14F4D0C5226 0xC7 SWAP1 PUSH5 0x736F6C6343 STOP ADDMOD ADD STOP CALLER LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE DUP5 0xBC SLT PUSH23 0xD47A7F6B3748362627472B1036B5F73DFC757EFDD3B82E POP DUP3 SAR 0x22 PUSH5 0x736F6C6343 STOP ADDMOD ADD STOP CALLER ",
"sourceMap": "99:662:1:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:8264:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:261:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "101:75:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "168:6:2"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "126:41:2"
},
"nodeType": "YulFunctionCall",
"src": "126:49:2"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "110:15:2"
},
"nodeType": "YulFunctionCall",
"src": "110:66:2"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "101:5:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "192:5:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "199:6:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "185:6:2"
},
"nodeType": "YulFunctionCall",
"src": "185:21:2"
},
"nodeType": "YulExpressionStatement",
"src": "185:21:2"
},
{
"nodeType": "YulVariableDeclaration",
"src": "215:27:2",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "230:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "237:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "226:3:2"
},
"nodeType": "YulFunctionCall",
"src": "226:16:2"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "219:3:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "280:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "289:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "292:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "282:6:2"
},
"nodeType": "YulFunctionCall",
"src": "282:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "282:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "261:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "257:3:2"
},
"nodeType": "YulFunctionCall",
"src": "257:16:2"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "275:3:2"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "254:2:2"
},
"nodeType": "YulFunctionCall",
"src": "254:25:2"
},
"nodeType": "YulIf",
"src": "251:2:2"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "329:3:2"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "334:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "339:6:2"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "305:23:2"
},
"nodeType": "YulFunctionCall",
"src": "305:41:2"
},
"nodeType": "YulExpressionStatement",
"src": "305:41:2"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "64:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "69:6:2",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "77:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "85:5:2",
"type": ""
}
],
"src": "7:345:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "434:211:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "483:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "492:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "495:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "485:6:2"
},
"nodeType": "YulFunctionCall",
"src": "485:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "485:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "462:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "470:4:2",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:2"
},
"nodeType": "YulFunctionCall",
"src": "458:17:2"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "477:3:2"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "454:3:2"
},
"nodeType": "YulFunctionCall",
"src": "454:27:2"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "447:6:2"
},
"nodeType": "YulFunctionCall",
"src": "447:35:2"
},
"nodeType": "YulIf",
"src": "444:2:2"
},
{
"nodeType": "YulVariableDeclaration",
"src": "508:34:2",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "535:6:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "522:12:2"
},
"nodeType": "YulFunctionCall",
"src": "522:20:2"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "512:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "551:88:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "612:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "620:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "608:3:2"
},
"nodeType": "YulFunctionCall",
"src": "608:17:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "627:6:2"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "635:3:2"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "560:47:2"
},
"nodeType": "YulFunctionCall",
"src": "560:79:2"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "551:5:2"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "412:6:2",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "420:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "428:5:2",
"type": ""
}
],
"src": "372:273:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "703:87:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "713:29:2",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "735:6:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "722:12:2"
},
"nodeType": "YulFunctionCall",
"src": "722:20:2"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "713:5:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "778:5:2"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "751:26:2"
},
"nodeType": "YulFunctionCall",
"src": "751:33:2"
},
"nodeType": "YulExpressionStatement",
"src": "751:33:2"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "681:6:2",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "689:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "697:5:2",
"type": ""
}
],
"src": "651:139:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "859:80:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "869:22:2",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "884:6:2"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "878:5:2"
},
"nodeType": "YulFunctionCall",
"src": "878:13:2"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "869:5:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "927:5:2"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "900:26:2"
},
"nodeType": "YulFunctionCall",
"src": "900:33:2"
},
"nodeType": "YulExpressionStatement",
"src": "900:33:2"
}
]
},
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "837:6:2",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "845:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "853:5:2",
"type": ""
}
],
"src": "796:143:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1021:299:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1067:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1076:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1079:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1069:6:2"
},
"nodeType": "YulFunctionCall",
"src": "1069:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "1069:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1042:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1051:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1038:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1038:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1063:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1034:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1034:32:2"
},
"nodeType": "YulIf",
"src": "1031:2:2"
},
{
"nodeType": "YulBlock",
"src": "1093:220:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1108:45:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1139:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1150:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1135:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1135:17:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1122:12:2"
},
"nodeType": "YulFunctionCall",
"src": "1122:31:2"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1112:6:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1200:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1209:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1212:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1202:6:2"
},
"nodeType": "YulFunctionCall",
"src": "1202:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "1202:12:2"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1172:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1180:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1169:2:2"
},
"nodeType": "YulFunctionCall",
"src": "1169:30:2"
},
"nodeType": "YulIf",
"src": "1166:2:2"
},
{
"nodeType": "YulAssignment",
"src": "1230:73:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1275:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1286:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1271:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1271:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1295:7:2"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1240:30:2"
},
"nodeType": "YulFunctionCall",
"src": "1240:63:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1230:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "991:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1002:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1014:6:2",
"type": ""
}
],
"src": "945:375:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1419:427:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1465:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1474:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1477:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1467:6:2"
},
"nodeType": "YulFunctionCall",
"src": "1467:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "1467:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1440:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1449:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1436:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1436:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1461:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1432:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1432:32:2"
},
"nodeType": "YulIf",
"src": "1429:2:2"
},
{
"nodeType": "YulBlock",
"src": "1491:220:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1506:45:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1537:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1548:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1533:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1533:17:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1520:12:2"
},
"nodeType": "YulFunctionCall",
"src": "1520:31:2"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1510:6:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1598:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1607:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1610:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1600:6:2"
},
"nodeType": "YulFunctionCall",
"src": "1600:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "1600:12:2"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1570:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1578:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1567:2:2"
},
"nodeType": "YulFunctionCall",
"src": "1567:30:2"
},
"nodeType": "YulIf",
"src": "1564:2:2"
},
{
"nodeType": "YulAssignment",
"src": "1628:73:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1673:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1684:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1669:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1669:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1693:7:2"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1638:30:2"
},
"nodeType": "YulFunctionCall",
"src": "1638:63:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1628:6:2"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1721:118:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1736:16:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1750:2:2",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1740:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1766:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1801:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1812:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1797:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1797:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1821:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1776:20:2"
},
"nodeType": "YulFunctionCall",
"src": "1776:53:2"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1766:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1381:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1392:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1404:6:2",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1412:6:2",
"type": ""
}
],
"src": "1326:520:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1918:196:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1964:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1973:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1976:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1966:6:2"
},
"nodeType": "YulFunctionCall",
"src": "1966:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "1966:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1939:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1948:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1935:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1935:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1960:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1931:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1931:32:2"
},
"nodeType": "YulIf",
"src": "1928:2:2"
},
{
"nodeType": "YulBlock",
"src": "1990:117:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2005:15:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2019:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2009:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2034:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2069:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2080:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2065:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2065:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2089:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2044:20:2"
},
"nodeType": "YulFunctionCall",
"src": "2044:53:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2034:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1888:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1899:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1911:6:2",
"type": ""
}
],
"src": "1852:262:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2197:207:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2243:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2252:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2255:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2245:6:2"
},
"nodeType": "YulFunctionCall",
"src": "2245:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "2245:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2218:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2227:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2214:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2214:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2239:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2210:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2210:32:2"
},
"nodeType": "YulIf",
"src": "2207:2:2"
},
{
"nodeType": "YulBlock",
"src": "2269:128:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2284:15:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2298:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2288:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2313:74:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2359:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2370:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2355:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2355:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2379:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulIdentifier",
"src": "2323:31:2"
},
"nodeType": "YulFunctionCall",
"src": "2323:64:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2313:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2167:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2178:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2190:6:2",
"type": ""
}
],
"src": "2120:284:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2493:324:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2539:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2548:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2551:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2541:6:2"
},
"nodeType": "YulFunctionCall",
"src": "2541:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "2541:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2514:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2523:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2510:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2510:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2535:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2506:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2506:32:2"
},
"nodeType": "YulIf",
"src": "2503:2:2"
},
{
"nodeType": "YulBlock",
"src": "2565:117:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2580:15:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2594:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2584:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2609:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2644:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2655:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2640:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2640:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2664:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2619:20:2"
},
"nodeType": "YulFunctionCall",
"src": "2619:53:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2609:6:2"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2692:118:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2707:16:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2721:2:2",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2711:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2737:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2772:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2783:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2768:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2768:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2792:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2747:20:2"
},
"nodeType": "YulFunctionCall",
"src": "2747:53:2"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2737:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2455:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2466:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2478:6:2",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2486:6:2",
"type": ""
}
],
"src": "2410:407:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2908:86:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2925:3:2"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2981:5:2"
}
],
"functionName": {
"name": "convert_t_contract$_SimpleStorage_$58_to_t_address",
"nodeType": "YulIdentifier",
"src": "2930:50:2"
},
"nodeType": "YulFunctionCall",
"src": "2930:57:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2918:6:2"
},
"nodeType": "YulFunctionCall",
"src": "2918:70:2"
},
"nodeType": "YulExpressionStatement",
"src": "2918:70:2"
}
]
},
"name": "abi_encode_t_contract$_SimpleStorage_$58_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2896:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2903:3:2",
"type": ""
}
],
"src": "2823:171:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3092:272:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3102:53:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3149:5:2"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "3116:32:2"
},
"nodeType": "YulFunctionCall",
"src": "3116:39:2"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3106:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3164:78:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3230:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3235:6:2"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3171:58:2"
},
"nodeType": "YulFunctionCall",
"src": "3171:71:2"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3164:3:2"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3277:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3284:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3273:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3273:16:2"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3291:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3296:6:2"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "3251:21:2"
},
"nodeType": "YulFunctionCall",
"src": "3251:52:2"
},
"nodeType": "YulExpressionStatement",
"src": "3251:52:2"
},
{
"nodeType": "YulAssignment",
"src": "3312:46:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3323:3:2"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3350:6:2"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3328:21:2"
},
"nodeType": "YulFunctionCall",
"src": "3328:29:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3319:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3319:39:2"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3312:3:2"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3073:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3080:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3088:3:2",
"type": ""
}
],
"src": "3000:364:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3480:267:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3490:53:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3537:5:2"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "3504:32:2"
},
"nodeType": "YulFunctionCall",
"src": "3504:39:2"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3494:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3552:96:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3636:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3641:6:2"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "3559:76:2"
},
"nodeType": "YulFunctionCall",
"src": "3559:89:2"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3552:3:2"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3683:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3690:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3679:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3679:16:2"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3697:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3702:6:2"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "3657:21:2"
},
"nodeType": "YulFunctionCall",
"src": "3657:52:2"
},
"nodeType": "YulExpressionStatement",
"src": "3657:52:2"
},
{
"nodeType": "YulAssignment",
"src": "3718:23:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3729:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3734:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3725:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3725:16:2"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3718:3:2"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3461:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3468:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3476:3:2",
"type": ""
}
],
"src": "3370:377:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3818:53:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3835:3:2"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3858:5:2"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3840:17:2"
},
"nodeType": "YulFunctionCall",
"src": "3840:24:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3828:6:2"
},
"nodeType": "YulFunctionCall",
"src": "3828:37:2"
},
"nodeType": "YulExpressionStatement",
"src": "3828:37:2"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3806:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3813:3:2",
"type": ""
}
],
"src": "3753:118:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4013:139:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4024:102:2",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4113:6:2"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4122:3:2"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "4031:81:2"
},
"nodeType": "YulFunctionCall",
"src": "4031:95:2"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4024:3:2"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4136:10:2",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4143:3:2"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4136:3:2"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3992:3:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3998:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4009:3:2",
"type": ""
}
],
"src": "3877:275:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4276:144:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4286:26:2",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4298:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4309:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4294:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4294:18:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4286:4:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4386:6:2"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4399:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4410:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4395:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4395:17:2"
}
],
"functionName": {
"name": "abi_encode_t_contract$_SimpleStorage_$58_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "4322:63:2"
},
"nodeType": "YulFunctionCall",
"src": "4322:91:2"
},
"nodeType": "YulExpressionStatement",
"src": "4322:91:2"
}
]
},
"name": "abi_encode_tuple_t_contract$_SimpleStorage_$58__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4248:9:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4260:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4271:4:2",
"type": ""
}
],
"src": "4158:262:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4524:124:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4534:26:2",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4546:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4557:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4542:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4542:18:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4534:4:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4614:6:2"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4627:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4638:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4623:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4623:17:2"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "4570:43:2"
},
"nodeType": "YulFunctionCall",
"src": "4570:71:2"
},
"nodeType": "YulExpressionStatement",
"src": "4570:71:2"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4496:9:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4508:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4519:4:2",
"type": ""
}
],
"src": "4426:222:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4800:277:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4810:26:2",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4822:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4833:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4818:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4818:18:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4810:4:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4890:6:2"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4903:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4914:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4899:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4899:17:2"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "4846:43:2"
},
"nodeType": "YulFunctionCall",
"src": "4846:71:2"
},
"nodeType": "YulExpressionStatement",
"src": "4846:71:2"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4938:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4949:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4934:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4934:18:2"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4958:4:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4964:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4954:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4954:20:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4927:6:2"
},
"nodeType": "YulFunctionCall",
"src": "4927:48:2"
},
"nodeType": "YulExpressionStatement",
"src": "4927:48:2"
},
{
"nodeType": "YulAssignment",
"src": "4984:86:2",
"value": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "5056:6:2"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5065:4:2"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4992:63:2"
},
"nodeType": "YulFunctionCall",
"src": "4992:78:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4984:4:2"
}
]
}
]
},
"name": "abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4764:9:2",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "4776:6:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4784:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4795:4:2",
"type": ""
}
],
"src": "4654:423:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5124:88:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5134:30:2",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "5144:18:2"
},
"nodeType": "YulFunctionCall",
"src": "5144:20:2"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5134:6:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5193:6:2"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5201:4:2"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "5173:19:2"
},
"nodeType": "YulFunctionCall",
"src": "5173:33:2"
},
"nodeType": "YulExpressionStatement",
"src": "5173:33:2"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5108:4:2",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5117:6:2",
"type": ""
}
],
"src": "5083:129:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5258:35:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5268:19:2",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5284:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5278:5:2"
},
"nodeType": "YulFunctionCall",
"src": "5278:9:2"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5268:6:2"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5251:6:2",
"type": ""
}
],
"src": "5218:75:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5366:241:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5471:22:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5473:16:2"
},
"nodeType": "YulFunctionCall",
"src": "5473:18:2"
},
"nodeType": "YulExpressionStatement",
"src": "5473:18:2"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5443:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5451:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5440:2:2"
},
"nodeType": "YulFunctionCall",
"src": "5440:30:2"
},
"nodeType": "YulIf",
"src": "5437:2:2"
},
{
"nodeType": "YulAssignment",
"src": "5503:37:2",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5533:6:2"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "5511:21:2"
},
"nodeType": "YulFunctionCall",
"src": "5511:29:2"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5503:4:2"
}
]
},
{
"nodeType": "YulAssignment",
"src": "5577:23:2",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5589:4:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5595:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5585:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5585:15:2"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5577:4:2"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5350:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5361:4:2",
"type": ""
}
],
"src": "5299:308:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5672:40:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5683:22:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5699:5:2"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5693:5:2"
},
"nodeType": "YulFunctionCall",
"src": "5693:12:2"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5683:6:2"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5655:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5665:6:2",
"type": ""
}
],
"src": "5613:99:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5814:73:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5831:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5836:6:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5824:6:2"
},
"nodeType": "YulFunctionCall",
"src": "5824:19:2"
},
"nodeType": "YulExpressionStatement",
"src": "5824:19:2"
},
{
"nodeType": "YulAssignment",
"src": "5852:29:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5871:3:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5876:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5867:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5867:14:2"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "5852:11:2"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5786:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5791:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "5802:11:2",
"type": ""
}
],
"src": "5718:169:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6007:34:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6017:18:2",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6032:3:2"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "6017:11:2"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5979:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5984:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "5995:11:2",
"type": ""
}
],
"src": "5893:148:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6092:81:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6102:65:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6117:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6124:42:2",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6113:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6113:54:2"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "6102:7:2"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6074:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "6084:7:2",
"type": ""
}
],
"src": "6047:126:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6224:32:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6234:16:2",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "6245:5:2"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "6234:7:2"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6206:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "6216:7:2",
"type": ""
}
],
"src": "6179:77:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6342:86:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6352:70:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6416:5:2"
}
],
"functionName": {
"name": "convert_t_contract$_SimpleStorage_$58_to_t_uint160",
"nodeType": "YulIdentifier",
"src": "6365:50:2"
},
"nodeType": "YulFunctionCall",
"src": "6365:57:2"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "6352:9:2"
}
]
}
]
},
"name": "convert_t_contract$_SimpleStorage_$58_to_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6322:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "6332:9:2",
"type": ""
}
],
"src": "6262:166:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6514:53:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6524:37:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6555:5:2"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "6537:17:2"
},
"nodeType": "YulFunctionCall",
"src": "6537:24:2"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "6524:9:2"
}
]
}
]
},
"name": "convert_t_contract$_SimpleStorage_$58_to_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6494:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "6504:9:2",
"type": ""
}
],
"src": "6434:133:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6624:103:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "6647:3:2"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6652:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6657:6:2"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "6634:12:2"
},
"nodeType": "YulFunctionCall",
"src": "6634:30:2"
},
"nodeType": "YulExpressionStatement",
"src": "6634:30:2"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "6705:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6710:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6701:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6701:16:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6719:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6694:6:2"
},
"nodeType": "YulFunctionCall",
"src": "6694:27:2"
},
"nodeType": "YulExpressionStatement",
"src": "6694:27:2"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "6606:3:2",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "6611:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6616:6:2",
"type": ""
}
],
"src": "6573:154:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6782:258:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "6792:10:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6801:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "6796:1:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6861:63:2",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "6886:3:2"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6891:1:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6882:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6882:11:2"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6905:3:2"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6910:1:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6901:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6901:11:2"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "6895:5:2"
},
"nodeType": "YulFunctionCall",
"src": "6895:18:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6875:6:2"
},
"nodeType": "YulFunctionCall",
"src": "6875:39:2"
},
"nodeType": "YulExpressionStatement",
"src": "6875:39:2"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6822:1:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6825:6:2"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6819:2:2"
},
"nodeType": "YulFunctionCall",
"src": "6819:13:2"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "6833:19:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6835:15:2",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6844:1:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6847:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6840:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6840:10:2"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6835:1:2"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "6815:3:2",
"statements": []
},
"src": "6811:113:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6958:76:2",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "7008:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7013:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7004:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7004:16:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7022:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6997:6:2"
},
"nodeType": "YulFunctionCall",
"src": "6997:27:2"
},
"nodeType": "YulExpressionStatement",
"src": "6997:27:2"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6939:1:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6942:6:2"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6936:2:2"
},
"nodeType": "YulFunctionCall",
"src": "6936:13:2"
},
"nodeType": "YulIf",
"src": "6933:2:2"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "6764:3:2",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "6769:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6774:6:2",
"type": ""
}
],
"src": "6733:307:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7097:269:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7107:22:2",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "7121:4:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7127:1:2",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "7117:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7117:12:2"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7107:6:2"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "7138:38:2",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "7168:4:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7174:1:2",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7164:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7164:12:2"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "7142:18:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7215:51:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7229:27:2",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7243:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7251:4:2",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7239:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7239:17:2"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7229:6:2"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "7195:18:2"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7188:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7188:26:2"
},
"nodeType": "YulIf",
"src": "7185:2:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7318:42:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "7332:16:2"
},
"nodeType": "YulFunctionCall",
"src": "7332:18:2"
},
"nodeType": "YulExpressionStatement",
"src": "7332:18:2"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "7282:18:2"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7305:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7313:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7302:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7302:14:2"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7279:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7279:38:2"
},
"nodeType": "YulIf",
"src": "7276:2:2"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "7081:4:2",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "7090:6:2",
"type": ""
}
],
"src": "7046:320:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7415:238:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7425:58:2",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7447:6:2"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "7477:4:2"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "7455:21:2"
},
"nodeType": "YulFunctionCall",
"src": "7455:27:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7443:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7443:40:2"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "7429:10:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7594:22:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "7596:16:2"
},
"nodeType": "YulFunctionCall",
"src": "7596:18:2"
},
"nodeType": "YulExpressionStatement",
"src": "7596:18:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "7537:10:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7549:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7534:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7534:34:2"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "7573:10:2"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7585:6:2"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7570:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7570:22:2"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "7531:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7531:62:2"
},
"nodeType": "YulIf",
"src": "7528:2:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7632:2:2",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "7636:10:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7625:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7625:22:2"
},
"nodeType": "YulExpressionStatement",
"src": "7625:22:2"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "7401:6:2",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "7409:4:2",
"type": ""
}
],
"src": "7372:281:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7687:152:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7704:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7707:77:2",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7697:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7697:88:2"
},
"nodeType": "YulExpressionStatement",
"src": "7697:88:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7801:1:2",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7804:4:2",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7794:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7794:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "7794:15:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7825:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7828:4:2",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7818:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7818:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "7818:15:2"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "7659:180:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7873:152:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7890:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7893:77:2",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7883:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7883:88:2"
},
"nodeType": "YulExpressionStatement",
"src": "7883:88:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7987:1:2",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7990:4:2",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7980:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7980:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "7980:15:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8011:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8014:4:2",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8004:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8004:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "8004:15:2"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "7845:180:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8079:54:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8089:38:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8107:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8114:2:2",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8103:3:2"
},
"nodeType": "YulFunctionCall",
"src": "8103:14:2"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8123:2:2",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "8119:3:2"
},
"nodeType": "YulFunctionCall",
"src": "8119:7:2"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "8099:3:2"
},
"nodeType": "YulFunctionCall",
"src": "8099:28:2"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "8089:6:2"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8062:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "8072:6:2",
"type": ""
}
],
"src": "8031:102:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8182:79:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "8239:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8248:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8251:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8241:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8241:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "8241:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8205:5:2"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8230:5:2"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8212:17:2"
},
"nodeType": "YulFunctionCall",
"src": "8212:24:2"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "8202:2:2"
},
"nodeType": "YulFunctionCall",
"src": "8202:35:2"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "8195:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8195:43:2"
},
"nodeType": "YulIf",
"src": "8192:2:2"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8175:5:2",
"type": ""
}
],
"src": "8139:122:2"
}
]
},
"contents": "{\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert(0, 0) }\n copy_calldata_to_memory(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_contract$_SimpleStorage_$58_to_t_address_fromStack(value, pos) {\n mstore(pos, convert_t_contract$_SimpleStorage_$58_to_t_address(value))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value0) -> end {\n\n pos := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_contract$_SimpleStorage_$58__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_contract$_SimpleStorage_$58_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256_t_string_memory_ptr__to_t_uint256_t_string_memory_ptr__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value1, tail)\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function convert_t_contract$_SimpleStorage_$58_to_t_address(value) -> converted {\n converted := convert_t_contract$_SimpleStorage_$58_to_t_uint160(value)\n }\n\n function convert_t_contract$_SimpleStorage_$58_to_t_uint160(value) -> converted {\n converted := cleanup_t_uint160(value)\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 2,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c80636f760f41116100665780636f760f411461010a5780639e7a13ad14610126578063a6b7fc5b14610157578063b2ac62ef14610175578063c5f19c20146101a557610093565b80631563700f146100985780631dda6541146100b45780636057361d146100be57806364591bf1146100da575b600080fd5b6100b260048036038101906100ad919061081b565b6101d5565b005b6100bc6102a8565b005b6100d860048036038101906100d391906107c9565b61033b565b005b6100f460048036038101906100ef91906107c9565b610345565b60405161010191906108f6565b60405180910390f35b610124600480360381019061011f9190610775565b610384565b005b610140600480360381019061013b91906107c9565b610414565b60405161014e92919061092c565b60405180910390f35b61015f6104d0565b60405161016c9190610911565b60405180910390f35b61018f600480360381019061018a9190610734565b6104d9565b60405161019c9190610911565b60405180910390f35b6101bf60048036038101906101ba91906107c9565b610507565b6040516101cc9190610911565b60405180910390f35b6003828154811061020f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636057361d826040518263ffffffff1660e01b81526004016102729190610911565b600060405180830381600087803b15801561028c57600080fd5b505af11580156102a0573d6000803e3d6000fd5b505050505050565b60006040516102b6906105f2565b604051809103906000f0801580156102d2573d6000803e3d6000fd5b5090506003819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8060008190555050565b6003818154811061035557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906103ea9291906105ff565b505050806002836040516103fe91906108df565b9081526020016040518091039020819055505050565b6001818154811061042457600080fd5b906000526020600020906002020160009150905080600001549080600101805461044d90610a69565b80601f016020809104026020016040519081016040528092919081815260200182805461047990610a69565b80156104c65780601f1061049b576101008083540402835291602001916104c6565b820191906000526020600020905b8154815290600101906020018083116104a957829003601f168201915b5050505050905082565b60008054905090565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b600060038281548110610543577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a6b7fc5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156105b357600080fd5b505afa1580156105c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105eb91906107f2565b9050919050565b61076180610b5383390190565b82805461060b90610a69565b90600052602060002090601f01602090048101928261062d5760008555610674565b82601f1061064657805160ff1916838001178555610674565b82800160010185558215610674579182015b82811115610673578251825591602001919060010190610658565b5b5090506106819190610685565b5090565b5b8082111561069e576000816000905550600101610686565b5090565b60006106b56106b084610981565b61095c565b9050828152602081018484840111156106cd57600080fd5b6106d8848285610a27565b509392505050565b600082601f8301126106f157600080fd5b81356107018482602086016106a2565b91505092915050565b60008135905061071981610b3b565b92915050565b60008151905061072e81610b3b565b92915050565b60006020828403121561074657600080fd5b600082013567ffffffffffffffff81111561076057600080fd5b61076c848285016106e0565b91505092915050565b6000806040838503121561078857600080fd5b600083013567ffffffffffffffff8111156107a257600080fd5b6107ae858286016106e0565b92505060206107bf8582860161070a565b9150509250929050565b6000602082840312156107db57600080fd5b60006107e98482850161070a565b91505092915050565b60006020828403121561080457600080fd5b60006108128482850161071f565b91505092915050565b6000806040838503121561082e57600080fd5b600061083c8582860161070a565b925050602061084d8582860161070a565b9150509250929050565b61086081610a03565b82525050565b6000610871826109b2565b61087b81856109bd565b935061088b818560208601610a36565b61089481610b2a565b840191505092915050565b60006108aa826109b2565b6108b481856109ce565b93506108c4818560208601610a36565b80840191505092915050565b6108d9816109f9565b82525050565b60006108eb828461089f565b915081905092915050565b600060208201905061090b6000830184610857565b92915050565b600060208201905061092660008301846108d0565b92915050565b600060408201905061094160008301856108d0565b81810360208301526109538184610866565b90509392505050565b6000610966610977565b90506109728282610a9b565b919050565b6000604051905090565b600067ffffffffffffffff82111561099c5761099b610afb565b5b6109a582610b2a565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610a0e82610a15565b9050919050565b6000610a20826109d9565b9050919050565b82818337600083830152505050565b60005b83811015610a54578082015181840152602081019050610a39565b83811115610a63576000848401525b50505050565b60006002820490506001821680610a8157607f821691505b60208210811415610a9557610a94610acc565b5b50919050565b610aa482610b2a565b810181811067ffffffffffffffff82111715610ac357610ac2610afb565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b610b44816109f9565b8114610b4f57600080fd5b5056fe608060405234801561001057600080fd5b50610741806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80636057361d1461005c5780636f760f41146100785780639e7a13ad14610094578063a6b7fc5b146100c5578063b2ac62ef146100e3575b600080fd5b61007660048036038101906100719190610455565b610113565b005b610092600480360381019061008d9190610401565b61011d565b005b6100ae60048036038101906100a99190610455565b6101ad565b6040516100bc929190610529565b60405180910390f35b6100cd610269565b6040516100da919061050e565b60405180910390f35b6100fd60048036038101906100f891906103c0565b610272565b60405161010a919061050e565b60405180910390f35b8060008190555050565b600160405180604001604052808381526020018481525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010190805190602001906101839291906102a0565b5050508060028360405161019791906104f7565b9081526020016040518091039020819055505050565b600181815481106101bd57600080fd5b90600052602060002090600202016000915090508060000154908060010180546101e690610622565b80601f016020809104026020016040519081016040528092919081815260200182805461021290610622565b801561025f5780601f106102345761010080835404028352916020019161025f565b820191906000526020600020905b81548152906001019060200180831161024257829003601f168201915b5050505050905082565b60008054905090565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac90610622565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461057e565b610559565b90508281526020810184848401111561036e57600080fd5b6103798482856105e0565b509392505050565b600082601f83011261039257600080fd5b81356103a2848260208601610343565b91505092915050565b6000813590506103ba816106f4565b92915050565b6000602082840312156103d257600080fd5b600082013567ffffffffffffffff8111156103ec57600080fd5b6103f884828501610381565b91505092915050565b6000806040838503121561041457600080fd5b600083013567ffffffffffffffff81111561042e57600080fd5b61043a85828601610381565b925050602061044b858286016103ab565b9150509250929050565b60006020828403121561046757600080fd5b6000610475848285016103ab565b91505092915050565b6000610489826105af565b61049381856105ba565b93506104a38185602086016105ef565b6104ac816106e3565b840191505092915050565b60006104c2826105af565b6104cc81856105cb565b93506104dc8185602086016105ef565b80840191505092915050565b6104f1816105d6565b82525050565b600061050382846104b7565b915081905092915050565b600060208201905061052360008301846104e8565b92915050565b600060408201905061053e60008301856104e8565b8181036020830152610550818461047e565b90509392505050565b6000610563610574565b905061056f8282610654565b919050565b6000604051905090565b600067ffffffffffffffff821115610599576105986106b4565b5b6105a2826106e3565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561060d5780820151818401526020810190506105f2565b8381111561061c576000848401525b50505050565b6000600282049050600182168061063a57607f821691505b6020821081141561064e5761064d610685565b5b50919050565b61065d826106e3565b810181811067ffffffffffffffff8211171561067c5761067b6106b4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6106fd816105d6565b811461070857600080fd5b5056fea2646970667358221220fe2d4c79375b6205bca5470963e5973038d9d30b3edf2eaee14f4d0c5226c79064736f6c63430008010033a2646970667358221220be84bc1276d47a7f6b3748362627472b1036b5f73dfc757efdd3b82e50821d2264736f6c63430008010033",
"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 0x6F760F41 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x10A JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0x126 JUMPI DUP1 PUSH4 0xA6B7FC5B EQ PUSH2 0x157 JUMPI DUP1 PUSH4 0xB2AC62EF EQ PUSH2 0x175 JUMPI DUP1 PUSH4 0xC5F19C20 EQ PUSH2 0x1A5 JUMPI PUSH2 0x93 JUMP JUMPDEST DUP1 PUSH4 0x1563700F EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x1DDA6541 EQ PUSH2 0xB4 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0xBE JUMPI DUP1 PUSH4 0x64591BF1 EQ PUSH2 0xDA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x81B JUMP JUMPDEST PUSH2 0x1D5 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xBC PUSH2 0x2A8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x33B JUMP JUMPDEST STOP JUMPDEST PUSH2 0xF4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xEF SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x345 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x101 SWAP2 SWAP1 PUSH2 0x8F6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x124 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x11F SWAP2 SWAP1 PUSH2 0x775 JUMP JUMPDEST PUSH2 0x384 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x140 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x13B SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x414 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x14E SWAP3 SWAP2 SWAP1 PUSH2 0x92C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x15F PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x16C SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x18A SWAP2 SWAP1 PUSH2 0x734 JUMP JUMPDEST PUSH2 0x4D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x19C SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1BF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1BA SWAP2 SWAP1 PUSH2 0x7C9 JUMP JUMPDEST PUSH2 0x507 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CC SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x20F JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6057361D DUP3 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x272 SWAP2 SWAP1 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x28C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH2 0x2B6 SWAP1 PUSH2 0x5F2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH2 0x2D2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP SWAP1 POP PUSH1 0x3 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x3 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x355 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x3EA SWAP3 SWAP2 SWAP1 PUSH2 0x5FF JUMP JUMPDEST POP POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x3FE SWAP2 SWAP1 PUSH2 0x8DF JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x424 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x44D SWAP1 PUSH2 0xA69 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 0x479 SWAP1 PUSH2 0xA69 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x4C6 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x49B JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x4C6 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 0x4A9 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 ADD DUP1 MLOAD DUP5 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD KECCAK256 DUP2 DUP4 MSTORE DUP1 SWAP6 POP POP POP POP POP POP PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x543 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xA6B7FC5B PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5C7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5EB SWAP2 SWAP1 PUSH2 0x7F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x761 DUP1 PUSH2 0xB53 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x60B SWAP1 PUSH2 0xA69 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x62D JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x674 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x646 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x674 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x674 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x673 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x658 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x681 SWAP2 SWAP1 PUSH2 0x685 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x69E JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x686 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6B5 PUSH2 0x6B0 DUP5 PUSH2 0x981 JUMP JUMPDEST PUSH2 0x95C JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x6CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6D8 DUP5 DUP3 DUP6 PUSH2 0xA27 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6F1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x701 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x6A2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x719 DUP2 PUSH2 0xB3B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x72E DUP2 PUSH2 0xB3B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x746 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x760 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76C DUP5 DUP3 DUP6 ADD PUSH2 0x6E0 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x788 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7A2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7AE DUP6 DUP3 DUP7 ADD PUSH2 0x6E0 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x7BF DUP6 DUP3 DUP7 ADD PUSH2 0x70A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x7E9 DUP5 DUP3 DUP6 ADD PUSH2 0x70A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x804 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x812 DUP5 DUP3 DUP6 ADD PUSH2 0x71F JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x82E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x83C DUP6 DUP3 DUP7 ADD PUSH2 0x70A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x84D DUP6 DUP3 DUP7 ADD PUSH2 0x70A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x860 DUP2 PUSH2 0xA03 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x871 DUP3 PUSH2 0x9B2 JUMP JUMPDEST PUSH2 0x87B DUP2 DUP6 PUSH2 0x9BD JUMP JUMPDEST SWAP4 POP PUSH2 0x88B DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA36 JUMP JUMPDEST PUSH2 0x894 DUP2 PUSH2 0xB2A JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8AA DUP3 PUSH2 0x9B2 JUMP JUMPDEST PUSH2 0x8B4 DUP2 DUP6 PUSH2 0x9CE JUMP JUMPDEST SWAP4 POP PUSH2 0x8C4 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA36 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x8D9 DUP2 PUSH2 0x9F9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8EB DUP3 DUP5 PUSH2 0x89F JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x90B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x857 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x926 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x8D0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x941 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x8D0 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x953 DUP2 DUP5 PUSH2 0x866 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x966 PUSH2 0x977 JUMP JUMPDEST SWAP1 POP PUSH2 0x972 DUP3 DUP3 PUSH2 0xA9B JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x99C JUMPI PUSH2 0x99B PUSH2 0xAFB JUMP JUMPDEST JUMPDEST PUSH2 0x9A5 DUP3 PUSH2 0xB2A JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA0E DUP3 PUSH2 0xA15 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA20 DUP3 PUSH2 0x9D9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xA54 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xA39 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xA63 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0xA81 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0xA95 JUMPI PUSH2 0xA94 PUSH2 0xACC JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xAA4 DUP3 PUSH2 0xB2A JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0xAC3 JUMPI PUSH2 0xAC2 PUSH2 0xAFB JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xB44 DUP2 PUSH2 0x9F9 JUMP JUMPDEST DUP2 EQ PUSH2 0xB4F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x741 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6057361D EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x78 JUMPI DUP1 PUSH4 0x9E7A13AD EQ PUSH2 0x94 JUMPI DUP1 PUSH4 0xA6B7FC5B EQ PUSH2 0xC5 JUMPI DUP1 PUSH4 0xB2AC62EF EQ PUSH2 0xE3 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x92 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8D SWAP2 SWAP1 PUSH2 0x401 JUMP JUMPDEST PUSH2 0x11D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xAE PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x455 JUMP JUMPDEST PUSH2 0x1AD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBC SWAP3 SWAP2 SWAP1 PUSH2 0x529 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xCD PUSH2 0x269 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xDA SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C0 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x183 SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x197 SWAP2 SWAP1 PUSH2 0x4F7 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD DUP1 SLOAD PUSH2 0x1E6 SWAP1 PUSH2 0x622 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 0x212 SWAP1 PUSH2 0x622 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x25F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x234 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x25F 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 0x242 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP1 MLOAD PUSH1 0x20 DUP2 ADD DUP3 ADD DUP1 MLOAD DUP5 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP6 ADD KECCAK256 DUP2 DUP4 MSTORE DUP1 SWAP6 POP POP POP POP POP POP PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2AC SWAP1 PUSH2 0x622 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2CE JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2E7 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x315 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x315 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x314 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2F9 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x322 SWAP2 SWAP1 PUSH2 0x326 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x33F JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x327 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x356 PUSH2 0x351 DUP5 PUSH2 0x57E JUMP JUMPDEST PUSH2 0x559 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x36E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP5 DUP3 DUP6 PUSH2 0x5E0 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x392 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3A2 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x343 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x3BA DUP2 PUSH2 0x6F4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3F8 DUP5 DUP3 DUP6 ADD PUSH2 0x381 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x414 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x42E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43A DUP6 DUP3 DUP7 ADD PUSH2 0x381 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x44B DUP6 DUP3 DUP7 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x3AB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x489 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x493 DUP2 DUP6 PUSH2 0x5BA JUMP JUMPDEST SWAP4 POP PUSH2 0x4A3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST PUSH2 0x4AC DUP2 PUSH2 0x6E3 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4C2 DUP3 PUSH2 0x5AF JUMP JUMPDEST PUSH2 0x4CC DUP2 DUP6 PUSH2 0x5CB JUMP JUMPDEST SWAP4 POP PUSH2 0x4DC DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x5EF JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x4F1 DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x503 DUP3 DUP5 PUSH2 0x4B7 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x523 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x4E8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x53E PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x4E8 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x550 DUP2 DUP5 PUSH2 0x47E JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x563 PUSH2 0x574 JUMP JUMPDEST SWAP1 POP PUSH2 0x56F DUP3 DUP3 PUSH2 0x654 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x599 JUMPI PUSH2 0x598 PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST PUSH2 0x5A2 DUP3 PUSH2 0x6E3 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x60D JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x5F2 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x61C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x63A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x64E JUMPI PUSH2 0x64D PUSH2 0x685 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x65D DUP3 PUSH2 0x6E3 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x67C JUMPI PUSH2 0x67B PUSH2 0x6B4 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x6FD DUP2 PUSH2 0x5D6 JUMP JUMPDEST DUP2 EQ PUSH2 0x708 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 INVALID 0x2D 0x4C PUSH26 0x375B6205BCA5470963E5973038D9D30B3EDF2EAEE14F4D0C5226 0xC7 SWAP1 PUSH5 0x736F6C6343 STOP ADDMOD ADD STOP CALLER LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE DUP5 0xBC SLT PUSH23 0xD47A7F6B3748362627472B1036B5F73DFC757EFDD3B82E POP DUP3 SAR 0x22 PUSH5 0x736F6C6343 STOP ADDMOD ADD STOP CALLER ",
"sourceMap": "99:662:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;360:223;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;194:160;;;:::i;:::-;;341:99:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;146:41:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;539:190:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;249:22;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;446:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;278:55;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;589:170:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;360:223;507:18;526:19;507:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;485:69;;;555:20;485:91;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;360:223;;:::o;194:160::-;250:27;280:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;250:49;;309:18;333:13;309:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;194:160;:::o;341:99:0:-;417:16;399:15;:34;;;;341:99;:::o;146:41:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;539:190:0:-;622:6;634:30;;;;;;;;641:16;634:30;;;;658:5;634:30;;;622:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;706:16;675:21;697:5;675:28;;;;;;:::i;:::-;;;;;;;;;;;;;:47;;;;539:190;;:::o;249:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;446:87::-;485:7;511:15;;504:22;;446:87;:::o;278:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;589:170:1:-;653:7;701:18;720:19;701:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;679:71;;;:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;672:80;;589:170;;;:::o;-1:-1:-1:-;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345:2:-;;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;372:273::-;;477:3;470:4;462:6;458:17;454:27;444:2;;495:1;492;485:12;444:2;535:6;522:20;560:79;635:3;627:6;620:4;612:6;608:17;560:79;:::i;:::-;551:88;;434:211;;;;;:::o;651:139::-;;735:6;722:20;713:29;;751:33;778:5;751:33;:::i;:::-;703:87;;;;:::o;796:143::-;;884:6;878:13;869:22;;900:33;927:5;900:33;:::i;:::-;859:80;;;;:::o;945:375::-;;1063:2;1051:9;1042:7;1038:23;1034:32;1031:2;;;1079:1;1076;1069:12;1031:2;1150:1;1139:9;1135:17;1122:31;1180:18;1172:6;1169:30;1166:2;;;1212:1;1209;1202:12;1166:2;1240:63;1295:7;1286:6;1275:9;1271:22;1240:63;:::i;:::-;1230:73;;1093:220;1021:299;;;;:::o;1326:520::-;;;1461:2;1449:9;1440:7;1436:23;1432:32;1429:2;;;1477:1;1474;1467:12;1429:2;1548:1;1537:9;1533:17;1520:31;1578:18;1570:6;1567:30;1564:2;;;1610:1;1607;1600:12;1564:2;1638:63;1693:7;1684:6;1673:9;1669:22;1638:63;:::i;:::-;1628:73;;1491:220;1750:2;1776:53;1821:7;1812:6;1801:9;1797:22;1776:53;:::i;:::-;1766:63;;1721:118;1419:427;;;;;:::o;1852:262::-;;1960:2;1948:9;1939:7;1935:23;1931:32;1928:2;;;1976:1;1973;1966:12;1928:2;2019:1;2044:53;2089:7;2080:6;2069:9;2065:22;2044:53;:::i;:::-;2034:63;;1990:117;1918:196;;;;:::o;2120:284::-;;2239:2;2227:9;2218:7;2214:23;2210:32;2207:2;;;2255:1;2252;2245:12;2207:2;2298:1;2323:64;2379:7;2370:6;2359:9;2355:22;2323:64;:::i;:::-;2313:74;;2269:128;2197:207;;;;:::o;2410:407::-;;;2535:2;2523:9;2514:7;2510:23;2506:32;2503:2;;;2551:1;2548;2541:12;2503:2;2594:1;2619:53;2664:7;2655:6;2644:9;2640:22;2619:53;:::i;:::-;2609:63;;2565:117;2721:2;2747:53;2792:7;2783:6;2772:9;2768:22;2747:53;:::i;:::-;2737:63;;2692:118;2493:324;;;;;:::o;2823:171::-;2930:57;2981:5;2930:57;:::i;:::-;2925:3;2918:70;2908:86;;:::o;3000:364::-;;3116:39;3149:5;3116:39;:::i;:::-;3171:71;3235:6;3230:3;3171:71;:::i;:::-;3164:78;;3251:52;3296:6;3291:3;3284:4;3277:5;3273:16;3251:52;:::i;:::-;3328:29;3350:6;3328:29;:::i;:::-;3323:3;3319:39;3312:46;;3092:272;;;;;:::o;3370:377::-;;3504:39;3537:5;3504:39;:::i;:::-;3559:89;3641:6;3636:3;3559:89;:::i;:::-;3552:96;;3657:52;3702:6;3697:3;3690:4;3683:5;3679:16;3657:52;:::i;:::-;3734:6;3729:3;3725:16;3718:23;;3480:267;;;;;:::o;3753:118::-;3840:24;3858:5;3840:24;:::i;:::-;3835:3;3828:37;3818:53;;:::o;3877:275::-;;4031:95;4122:3;4113:6;4031:95;:::i;:::-;4024:102;;4143:3;4136:10;;4013:139;;;;:::o;4158:262::-;;4309:2;4298:9;4294:18;4286:26;;4322:91;4410:1;4399:9;4395:17;4386:6;4322:91;:::i;:::-;4276:144;;;;:::o;4426:222::-;;4557:2;4546:9;4542:18;4534:26;;4570:71;4638:1;4627:9;4623:17;4614:6;4570:71;:::i;:::-;4524:124;;;;:::o;4654:423::-;;4833:2;4822:9;4818:18;4810:26;;4846:71;4914:1;4903:9;4899:17;4890:6;4846:71;:::i;:::-;4964:9;4958:4;4954:20;4949:2;4938:9;4934:18;4927:48;4992:78;5065:4;5056:6;4992:78;:::i;:::-;4984:86;;4800:277;;;;;:::o;5083:129::-;;5144:20;;:::i;:::-;5134:30;;5173:33;5201:4;5193:6;5173:33;:::i;:::-;5124:88;;;:::o;5218:75::-;;5284:2;5278:9;5268:19;;5258:35;:::o;5299:308::-;;5451:18;5443:6;5440:30;5437:2;;;5473:18;;:::i;:::-;5437:2;5511:29;5533:6;5511:29;:::i;:::-;5503:37;;5595:4;5589;5585:15;5577:23;;5366:241;;;:::o;5613:99::-;;5699:5;5693:12;5683:22;;5672:40;;;:::o;5718:169::-;;5836:6;5831:3;5824:19;5876:4;5871:3;5867:14;5852:29;;5814:73;;;;:::o;5893:148::-;;6032:3;6017:18;;6007:34;;;;:::o;6047:126::-;;6124:42;6117:5;6113:54;6102:65;;6092:81;;;:::o;6179:77::-;;6245:5;6234:16;;6224:32;;;:::o;6262:166::-;;6365:57;6416:5;6365:57;:::i;:::-;6352:70;;6342:86;;;:::o;6434:133::-;;6537:24;6555:5;6537:24;:::i;:::-;6524:37;;6514:53;;;:::o;6573:154::-;6657:6;6652:3;6647;6634:30;6719:1;6710:6;6705:3;6701:16;6694:27;6624:103;;;:::o;6733:307::-;6801:1;6811:113;6825:6;6822:1;6819:13;6811:113;;;6910:1;6905:3;6901:11;6895:18;6891:1;6886:3;6882:11;6875:39;6847:2;6844:1;6840:10;6835:15;;6811:113;;;6942:6;6939:1;6936:13;6933:2;;;7022:1;7013:6;7008:3;7004:16;6997:27;6933:2;6782:258;;;;:::o;7046:320::-;;7127:1;7121:4;7117:12;7107:22;;7174:1;7168:4;7164:12;7195:18;7185:2;;7251:4;7243:6;7239:17;7229:27;;7185:2;7313;7305:6;7302:14;7282:18;7279:38;7276:2;;;7332:18;;:::i;:::-;7276:2;7097:269;;;;:::o;7372:281::-;7455:27;7477:4;7455:27;:::i;:::-;7447:6;7443:40;7585:6;7573:10;7570:22;7549:18;7537:10;7534:34;7531:62;7528:2;;;7596:18;;:::i;:::-;7528:2;7636:10;7632:2;7625:22;7415:238;;;:::o;7659:180::-;7707:77;7704:1;7697:88;7804:4;7801:1;7794:15;7828:4;7825:1;7818:15;7845:180;7893:77;7890:1;7883:88;7990:4;7987:1;7980:15;8014:4;8011:1;8004:15;8031:102;;8123:2;8119:7;8114:2;8107:5;8103:14;8099:28;8089:38;;8079:54;;;:::o;8139:122::-;8212:24;8230:5;8212:24;:::i;:::-;8205:5;8202:35;8192:2;;8251:1;8248;8241:12;8192:2;8182:79;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "968200",
"executionCost": "1008",
"totalCost": "969208"
},
"external": {
"addPerson(string,uint256)": "infinite",
"createSimpleStorageContract()": "infinite",
"nameToFavouriteNumber(string)": "infinite",
"people(uint256)": "infinite",
"retrive()": "1181",
"sfGet(uint256)": "infinite",
"sfStore(uint256,uint256)": "infinite",
"simpleStorageArray(uint256)": "2466",
"store(uint256)": "20465"
}
},
"methodIdentifiers": {
"addPerson(string,uint256)": "6f760f41",
"createSimpleStorageContract()": "1dda6541",
"nameToFavouriteNumber(string)": "b2ac62ef",
"people(uint256)": "9e7a13ad",
"retrive()": "a6b7fc5b",
"sfGet(uint256)": "c5f19c20",
"sfStore(uint256,uint256)": "1563700f",
"simpleStorageArray(uint256)": "64591bf1",
"store(uint256)": "6057361d"
}
},
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "createSimpleStorageContract",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavouriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "people",
"outputs": [
{
"internalType": "uint256",
"name": "favouriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "retrive",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_simpleStorageIndex",
"type": "uint256"
}
],
"name": "sfGet",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_simpleStorageIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_simpleStorageNumber",
"type": "uint256"
}
],
"name": "sfStore",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "simpleStorageArray",
"outputs": [
{
"internalType": "contract SimpleStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.1+commit.df193b15"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_name",
"type": "string"
},
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "createSimpleStorageContract",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavouriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "people",
"outputs": [
{
"internalType": "uint256",
"name": "favouriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "retrive",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_simpleStorageIndex",
"type": "uint256"
}
],
"name": "sfGet",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_simpleStorageIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_simpleStorageNumber",
"type": "uint256"
}
],
"name": "sfStore",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "simpleStorageArray",
"outputs": [
{
"internalType": "contract SimpleStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_favouriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/StorageFactory.sol": "StorageFactory"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/SimpleStorage.sol": {
"keccak256": "0x0f8c3ecaee30ec1bc8458d3ced72bf8b4b5fe4ad19dd8d11ab2f3ea432c196ff",
"license": "MIT",
"urls": [
"bzz-raw://d793cc4a37275c7318ded8d87d7bbcee08ffd8e917baaae9f48f1a5dbc19c5b8",
"dweb:/ipfs/QmeydNbkLUYXnrxykP818oFBhmfwkQXTwshKYx7QqdrZMv"
]
},
"contracts/StorageFactory.sol": {
"keccak256": "0xfa7bb02d889caaeb4778cd95b51ad49c56af87fed55a29b2eeeea4fc3c020703",
"license": "MIT",
"urls": [
"bzz-raw://c0e590c32b59ad090da3d3956a58fb1be7e3783ca82567d0ea0607b2a305fe8d",
"dweb:/ipfs/QmPerRDRtEQmzhXZFUEiVkdMD559SeDet2e3d1YSfda3TC"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.6 <= 0.9.0;
// Get the latest ETH->USD conversion rates from chainlink price feed
import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol";
import "@chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.sol";
contract FundMe {
using SafeMathChainlink for uint256;
// safe math library check uint256 for integer overflows
mapping(address => uint256) public addressToAmountFunded;
// funders array
address[] funders;
// owner of contract
address public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function fund() public payable {
uint256 minimumUSD = 50 * 10 ** 18;
require(getConversionRate(msg.value) >= minimumUSD, "You need to spend more ETH!");
addressToAmountFunded[msg.sender] += msg.value;
funders.push(msg.sender);
}
function getVersion() public view returns(uint256) {
AggregatorV3Interface priceFeed = AggregatorV3Interface(0x8A753747A1Fa494EC906cE90E9f37563A8AF630e);
return priceFeed.version();
}
function getPrice() public view returns(uint256) {
AggregatorV3Interface priceFeed = AggregatorV3Interface(0x8A753747A1Fa494EC906cE90E9f37563A8AF630e);
(, int price,,,) = priceFeed.latestRoundData();
return uint256(price * 10000000000);
//3319.44881629
}
// 1000000000
function getConversionRate(uint256 ethAmount) public view returns(uint256) {
uint256 ethPrice = getPrice();
uint256 ethAmountInUsd = (ethPrice * ethAmount)/1000000000000000000;
// the actual ETH/USD conversation rate, after adjusting the extra 0s.
return ethAmountInUsd;
}
function withdraw() payable onlyOwner public {
msg.sender.transfer(address(this).balance);
for(uint256 fundersIndex = 0; fundersIndex < funders.length; fundersIndex ++) {
address funder = funders[fundersIndex];
addressToAmountFunded[funder] = 0;
}
funders = new address[](0);
}
}
// SPDX-License-Identifier: MIT
pragma solidity >= 0.6.0 <= 0.9.0;
contract SimpleStorage {
// This will get initialized to 0!
uint256 favouriteNumber;
struct People {
uint256 favouriteNumber;
string name;
}
People[] public people;
mapping(string => uint256) public nameToFavouriteNumber;
function store(uint256 _favouriteNumber) public {
favouriteNumber = _favouriteNumber;
}
function retrive() public view returns(uint256) {
return favouriteNumber;
}
function addPerson(string memory _name, uint256 _favouriteNumber) public {
people.push(People(_favouriteNumber,_name));
nameToFavouriteNumber[_name] = _favouriteNumber;
}
}
// SPDX-License-Identifier: MIT
pragma solidity >= 0.6.0 <= 0.9.0;
import "./SimpleStorage.sol";
contract StorageFactory is SimpleStorage {
SimpleStorage[] public simpleStorageArray;
function createSimpleStorageContract() public {
SimpleStorage simpleStorage = new SimpleStorage();
simpleStorageArray.push(simpleStorage);
}
function sfStore(uint256 _simpleStorageIndex, uint256 _simpleStorageNumber) public {
//Address
//ABI
SimpleStorage(address(simpleStorageArray[_simpleStorageIndex])).store(_simpleStorageNumber);
}
function sfGet(uint256 _simpleStorageIndex) public view returns(uint256) {
return SimpleStorage(address(simpleStorageArray[_simpleStorageIndex])).retrive();
}
}
// 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