Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save HaQadosch/222631f5795e5e4289d7a4ff552342d4 to your computer and use it in GitHub Desktop.
Save HaQadosch/222631f5795e5e4289d7a4ff552342d4 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.12+commit.27d51765.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract.
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required).
Scripts have full access to the web3.js and ethers.js libraries.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610391806100206000396000f3fe60806040526004361061004a5760003560e01c80630d8e6e2c1461004f5780633e47d6f31461007a57806398d5fdca146100df578063a306c5da1461010a578063b60d428814610159575b600080fd5b34801561005b57600080fd5b50610064610163565b6040518082815260200191505060405180910390f35b34801561008657600080fd5b506100c96004803603602081101561009d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610204565b6040518082815260200191505060405180910390f35b3480156100eb57600080fd5b506100f461021c565b6040518082815260200191505060405180910390f35b34801561011657600080fd5b506101436004803603602081101561012d57600080fd5b81019080803590602001909291905050506102ef565b6040518082815260200191505060405180910390f35b61016161030d565b005b600080738a753747a1fa494ec906ce90e9f37563a8af630e90508073ffffffffffffffffffffffffffffffffffffffff166354fd4d506040518163ffffffff1660e01b815260040160206040518083038186803b1580156101c357600080fd5b505afa1580156101d7573d6000803e3d6000fd5b505050506040513d60208110156101ed57600080fd5b810190808051906020019092919050505091505090565b60006020528060005260406000206000915090505481565b600080738a753747a1fa494ec906ce90e9f37563a8af630e905060008173ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561027e57600080fd5b505afa158015610292573d6000803e3d6000fd5b505050506040513d60a08110156102a857600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050505050915050809250505090565b6000806102fa61021c565b9050600083820290508092505050919050565b346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555056fea2646970667358221220569c5fe602b6866bd7dac65acb702f238dcb31d79549910cd845e0b6a76b2af464736f6c634300060c0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x391 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xD8E6E2C EQ PUSH2 0x4F JUMPI DUP1 PUSH4 0x3E47D6F3 EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0xDF JUMPI DUP1 PUSH4 0xA306C5DA EQ PUSH2 0x10A JUMPI DUP1 PUSH4 0xB60D4288 EQ PUSH2 0x159 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x64 PUSH2 0x163 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 0x86 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x9D 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 0x204 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 0xEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH2 0x21C 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 0x116 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x143 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x2EF 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 0x161 PUSH2 0x30D 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 0x1C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1D7 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 0x1ED 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 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 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 0x27E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x292 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 0x2A8 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 DUP1 SWAP3 POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2FA PUSH2 0x21C JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP4 DUP3 MUL SWAP1 POP DUP1 SWAP3 POP POP POP SWAP2 SWAP1 POP JUMP 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 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 JUMP SWAP13 0x5F 0xE6 MUL 0xB6 DUP7 PUSH12 0xD7DAC65ACB702F238DCB31D7 SWAP6 0x49 SWAP2 0xC 0xD8 GASLIMIT 0xE0 0xB6 0xA7 PUSH12 0x2AF464736F6C634300060C00 CALLER ",
"sourceMap": "143:887:1:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"immutableReferences": {},
"linkReferences": {},
"object": "60806040526004361061004a5760003560e01c80630d8e6e2c1461004f5780633e47d6f31461007a57806398d5fdca146100df578063a306c5da1461010a578063b60d428814610159575b600080fd5b34801561005b57600080fd5b50610064610163565b6040518082815260200191505060405180910390f35b34801561008657600080fd5b506100c96004803603602081101561009d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610204565b6040518082815260200191505060405180910390f35b3480156100eb57600080fd5b506100f461021c565b6040518082815260200191505060405180910390f35b34801561011657600080fd5b506101436004803603602081101561012d57600080fd5b81019080803590602001909291905050506102ef565b6040518082815260200191505060405180910390f35b61016161030d565b005b600080738a753747a1fa494ec906ce90e9f37563a8af630e90508073ffffffffffffffffffffffffffffffffffffffff166354fd4d506040518163ffffffff1660e01b815260040160206040518083038186803b1580156101c357600080fd5b505afa1580156101d7573d6000803e3d6000fd5b505050506040513d60208110156101ed57600080fd5b810190808051906020019092919050505091505090565b60006020528060005260406000206000915090505481565b600080738a753747a1fa494ec906ce90e9f37563a8af630e905060008173ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561027e57600080fd5b505afa158015610292573d6000803e3d6000fd5b505050506040513d60a08110156102a857600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050505050915050809250505090565b6000806102fa61021c565b9050600083820290508092505050919050565b346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555056fea2646970667358221220569c5fe602b6866bd7dac65acb702f238dcb31d79549910cd845e0b6a76b2af464736f6c634300060c0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xD8E6E2C EQ PUSH2 0x4F JUMPI DUP1 PUSH4 0x3E47D6F3 EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0xDF JUMPI DUP1 PUSH4 0xA306C5DA EQ PUSH2 0x10A JUMPI DUP1 PUSH4 0xB60D4288 EQ PUSH2 0x159 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x64 PUSH2 0x163 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 0x86 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xC9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x9D 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 0x204 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 0xEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH2 0x21C 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 0x116 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x143 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x2EF 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 0x161 PUSH2 0x30D 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 0x1C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1D7 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 0x1ED 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 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 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 0x27E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x292 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 0x2A8 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 DUP1 SWAP3 POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2FA PUSH2 0x21C JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP4 DUP3 MUL SWAP1 POP DUP1 SWAP3 POP POP POP SWAP2 SWAP1 POP JUMP 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 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 JUMP SWAP13 0x5F 0xE6 MUL 0xB6 DUP7 PUSH12 0xD7DAC65ACB702F238DCB31D7 SWAP6 0x49 SWAP2 0xC 0xD8 GASLIMIT 0xE0 0xB6 0xA7 PUSH12 0x2AF464736F6C634300060C00 CALLER ",
"sourceMap": "143:887:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;336:205;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;165:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;551:258;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;819:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;232:94;;;:::i;:::-;;336:205;380:7;399:31;455:42;399:99;;515:9;:17;;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;508:26;;;336:205;:::o;165:56::-;;;;;;;;;;;;;;;;;:::o;551:258::-;593:7;612:31;668:42;612:99;;724:9;742;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;721:48;;;;;;796:5;781:21;;;;551:258;:::o;819:209::-;887:7;906:16;925:10;:8;:10::i;:::-;906:29;;945:22;981:9;970:8;:20;945:45;;1007:14;1000:21;;;;819:209;;;:::o;232:94::-;310:9;273:21;:33;295:10;273:33;;;;;;;;;;;;;;;;:46;;;;;;;;;;;232:94::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "182600",
"executionCost": "226",
"totalCost": "182826"
},
"external": {
"addressToAmountFunded(address)": "1169",
"fund()": "21107",
"getConversionReate(uint256)": "infinite",
"getPrice()": "infinite",
"getVersion()": "infinite"
}
},
"methodIdentifiers": {
"addressToAmountFunded(address)": "3e47d6f3",
"fund()": "b60d4288",
"getConversionReate(uint256)": "a306c5da",
"getPrice()": "98d5fdca",
"getVersion()": "0d8e6e2c"
}
},
"abi": [
{
"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": "getConversionReate",
"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"
}
]
}
{
"compiler": {
"version": "0.6.12+commit.27d51765"
},
"language": "Solidity",
"output": {
"abi": [
{
"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": "getConversionReate",
"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"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"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",
"license": "MIT",
"urls": [
"bzz-raw://4472c14df5f311d7a2eff1dfa55d9b4d39a21b0a0ff905fcbbf6913551086a4c",
"dweb:/ipfs/QmQvwFk1SBaLMm4pmZCz7UEhfaXM8kUWu5VG71VFFuMxjF"
]
},
"contracts/FundMe.sol": {
"keccak256": "0xec730e55f40457bcccc3b7381813e73bceeccab33a0ea8bcb22e01874a6cb700",
"license": "MIT",
"urls": [
"bzz-raw://21ab6dd4e6618f26fbea4b6296f95222d15621c783585652bbf71428298c7d10",
"dweb:/ipfs/QmUpaGSfWp5koosXV7Ft1Yp9s27aBpUQQoap8XNhtTdLRz"
]
}
},
"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": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "60806040526000805534801561001457600080fd5b50610771806100246000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631f1094e71461005c5780636057361d1461008d5780636c97d9fa146100a95780636f760f41146100c75780638bab8dd5146100e3575b600080fd5b6100766004803603810190610071919061046d565b610113565b60405161008492919061052a565b60405180910390f35b6100a760048036038101906100a2919061046d565b6101cf565b005b6100b16101d9565b6040516100be919061055a565b60405180910390f35b6100e160048036038101906100dc9190610411565b6101e2565b005b6100fd60048036038101906100f891906103c8565b610272565b60405161010a919061055a565b60405180910390f35b6001818154811061012357600080fd5b90600052602060002090600202016000915090508060000180546101469061063e565b80601f01602080910402602001604051908101604052809291908181526020018280546101729061063e565b80156101bf5780601f10610194576101008083540402835291602001916101bf565b820191906000526020600020905b8154815290600101906020018083116101a257829003601f168201915b5050505050908060010154905082565b8060008190555050565b60008054905090565b60016040518060400160405280848152602001838152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061023e9291906102a0565b506020820151816001015550508060028360405161025c9190610513565b9081526020016040518091039020819055505050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac9061063e565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461059a565b610575565b90508281526020810184848401111561037257610371610704565b5b61037d8482856105fc565b509392505050565b600082601f83011261039a576103996106ff565b5b81356103aa848260208601610343565b91505092915050565b6000813590506103c281610724565b92915050565b6000602082840312156103de576103dd61070e565b5b600082013567ffffffffffffffff8111156103fc576103fb610709565b5b61040884828501610385565b91505092915050565b600080604083850312156104285761042761070e565b5b600083013567ffffffffffffffff81111561044657610445610709565b5b61045285828601610385565b9250506020610463858286016103b3565b9150509250929050565b6000602082840312156104835761048261070e565b5b6000610491848285016103b3565b91505092915050565b60006104a5826105cb565b6104af81856105d6565b93506104bf81856020860161060b565b6104c881610713565b840191505092915050565b60006104de826105cb565b6104e881856105e7565b93506104f881856020860161060b565b80840191505092915050565b61050d816105f2565b82525050565b600061051f82846104d3565b915081905092915050565b60006040820190508181036000830152610544818561049a565b90506105536020830184610504565b9392505050565b600060208201905061056f6000830184610504565b92915050565b600061057f610590565b905061058b8282610670565b919050565b6000604051905090565b600067ffffffffffffffff8211156105b5576105b46106d0565b5b6105be82610713565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561062957808201518184015260208101905061060e565b83811115610638576000848401525b50505050565b6000600282049050600182168061065657607f821691505b6020821081141561066a576106696106a1565b5b50919050565b61067982610713565b810181811067ffffffffffffffff82111715610698576106976106d0565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61072d816105f2565b811461073857600080fd5b5056fea2646970667358221220676bf8b0769985f622d6ef6df1c4f84e72a13e3b1b6d22e7065dce06086ca6f464736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x14 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x771 DUP1 PUSH2 0x24 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 0x1F1094E7 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x6C97D9FA EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0xC7 JUMPI DUP1 PUSH4 0x8BAB8DD5 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 0x46D JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x84 SWAP3 SWAP2 SWAP1 PUSH2 0x52A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xA7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0x46D JUMP JUMPDEST PUSH2 0x1CF JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBE SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE1 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x411 JUMP JUMPDEST PUSH2 0x1E2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C8 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x123 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 DUP1 SLOAD PUSH2 0x146 SWAP1 PUSH2 0x63E 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 0x172 SWAP1 PUSH2 0x63E JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1BF JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x194 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1BF 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 0x1A2 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 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 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x23E SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x25C SWAP2 SWAP1 PUSH2 0x513 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 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 0x63E 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 0x59A JUMP JUMPDEST PUSH2 0x575 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x372 JUMPI PUSH2 0x371 PUSH2 0x704 JUMP JUMPDEST JUMPDEST PUSH2 0x37D DUP5 DUP3 DUP6 PUSH2 0x5FC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x39A JUMPI PUSH2 0x399 PUSH2 0x6FF JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3AA 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 0x3C2 DUP2 PUSH2 0x724 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3DE JUMPI PUSH2 0x3DD PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3FC JUMPI PUSH2 0x3FB PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x408 DUP5 DUP3 DUP6 ADD PUSH2 0x385 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x428 JUMPI PUSH2 0x427 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x446 JUMPI PUSH2 0x445 PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x452 DUP6 DUP3 DUP7 ADD PUSH2 0x385 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x463 DUP6 DUP3 DUP7 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x483 JUMPI PUSH2 0x482 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x491 DUP5 DUP3 DUP6 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4A5 DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4AF DUP2 DUP6 PUSH2 0x5D6 JUMP JUMPDEST SWAP4 POP PUSH2 0x4BF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST PUSH2 0x4C8 DUP2 PUSH2 0x713 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4DE DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4E8 DUP2 DUP6 PUSH2 0x5E7 JUMP JUMPDEST SWAP4 POP PUSH2 0x4F8 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x50D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x51F DUP3 DUP5 PUSH2 0x4D3 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x544 DUP2 DUP6 PUSH2 0x49A JUMP JUMPDEST SWAP1 POP PUSH2 0x553 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x56F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x57F PUSH2 0x590 JUMP JUMPDEST SWAP1 POP PUSH2 0x58B DUP3 DUP3 PUSH2 0x670 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 0x5B5 JUMPI PUSH2 0x5B4 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST PUSH2 0x5BE DUP3 PUSH2 0x713 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 0x629 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x60E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x638 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 0x656 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x66A JUMPI PUSH2 0x669 PUSH2 0x6A1 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x679 DUP3 PUSH2 0x713 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x698 JUMPI PUSH2 0x697 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x72D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP2 EQ PUSH2 0x738 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH8 0x6BF8B0769985F622 0xD6 0xEF PUSH14 0xF1C4F84E72A13E3B1B6D22E7065D 0xCE MOD ADDMOD PUSH13 0xA6F464736F6C63430008070033 ",
"sourceMap": "65:630:0:-:0;;;119:1;94:26;;65:630;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@addPerson_58": {
"entryPoint": 482,
"id": 58,
"parameterSlots": 2,
"returnSlots": 0
},
"@nameToFavoriteNumber_17": {
"entryPoint": 626,
"id": 17,
"parameterSlots": 0,
"returnSlots": 0
},
"@peoples_13": {
"entryPoint": 275,
"id": 13,
"parameterSlots": 0,
"returnSlots": 0
},
"@store_27": {
"entryPoint": 463,
"id": 27,
"parameterSlots": 1,
"returnSlots": 0
},
"@viewFavNumber_35": {
"entryPoint": 473,
"id": 35,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 835,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 901,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 947,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 968,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptrt_uint256": {
"entryPoint": 1041,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 1133,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1178,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 1235,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 1284,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 1299,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed": {
"entryPoint": 1322,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 1370,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1397,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 1424,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 1434,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 1483,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1494,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 1511,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 1522,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 1532,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory": {
"entryPoint": 1547,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 1598,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 1648,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 1697,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1744,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 1791,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 1796,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 1801,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1806,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1811,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 1828,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:7485:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:328:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "101:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "168:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "126:41:1"
},
"nodeType": "YulFunctionCall",
"src": "126:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "110:15:1"
},
"nodeType": "YulFunctionCall",
"src": "110:66:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "101:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "192:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "199:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "185:6:1"
},
"nodeType": "YulFunctionCall",
"src": "185:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "185:21:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "215:27:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "230:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "237:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "226:3:1"
},
"nodeType": "YulFunctionCall",
"src": "226:16:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "219:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "280:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "282:77:1"
},
"nodeType": "YulFunctionCall",
"src": "282:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "282:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "266:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "257:3:1"
},
"nodeType": "YulFunctionCall",
"src": "257:16:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "275:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "254:2:1"
},
"nodeType": "YulFunctionCall",
"src": "254:25:1"
},
"nodeType": "YulIf",
"src": "251:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "396:3:1"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "401:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "406:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "372:23:1"
},
"nodeType": "YulFunctionCall",
"src": "372:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "372:41:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "64:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "69:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "77:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "85:5:1",
"type": ""
}
],
"src": "7:412:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "501:278:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "550:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "552:77:1"
},
"nodeType": "YulFunctionCall",
"src": "552:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "552:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "529:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "537:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "525:3:1"
},
"nodeType": "YulFunctionCall",
"src": "525:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "544:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "521:3:1"
},
"nodeType": "YulFunctionCall",
"src": "521:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "514:6:1"
},
"nodeType": "YulFunctionCall",
"src": "514:35:1"
},
"nodeType": "YulIf",
"src": "511:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "642:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "669:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "656:12:1"
},
"nodeType": "YulFunctionCall",
"src": "656:20:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "646:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "685:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "746:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "754:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "742:3:1"
},
"nodeType": "YulFunctionCall",
"src": "742:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "761:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "769:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "694:47:1"
},
"nodeType": "YulFunctionCall",
"src": "694:79:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "685:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "479:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "487:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "495:5:1",
"type": ""
}
],
"src": "439:340:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "837:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "847:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "869:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "856:12:1"
},
"nodeType": "YulFunctionCall",
"src": "856:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "847:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "912:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "885:26:1"
},
"nodeType": "YulFunctionCall",
"src": "885:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "885:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "815:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "823:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "831:5:1",
"type": ""
}
],
"src": "785:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1006:433:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1052:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1054:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1054:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1054:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1027:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1036:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1023:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1023:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1048:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1019:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1019:32:1"
},
"nodeType": "YulIf",
"src": "1016:119:1"
},
{
"nodeType": "YulBlock",
"src": "1145:287:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1160:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1191:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1202:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1187:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1187:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1174:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1174:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1164:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1252:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1254:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1254:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1254:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1224:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1232:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1221:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1221:30:1"
},
"nodeType": "YulIf",
"src": "1218:117:1"
},
{
"nodeType": "YulAssignment",
"src": "1349:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1394:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1405:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1390:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1390:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1414:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1359:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1359:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1349:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "976:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "987:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "999:6:1",
"type": ""
}
],
"src": "930:509:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1538:561:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1584:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1586:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1586:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1586:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1559:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1568:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1555:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1555:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1580:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1551:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1551:32:1"
},
"nodeType": "YulIf",
"src": "1548:119:1"
},
{
"nodeType": "YulBlock",
"src": "1677:287:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1692:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1723:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1734:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1719:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1719:17:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1706:12:1"
},
"nodeType": "YulFunctionCall",
"src": "1706:31:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1696:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1784:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1786:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1786:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1786:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1756:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1764:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1753:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1753:30:1"
},
"nodeType": "YulIf",
"src": "1750:117:1"
},
{
"nodeType": "YulAssignment",
"src": "1881:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1926:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1937:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1922:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1922:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1946:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1891:30:1"
},
"nodeType": "YulFunctionCall",
"src": "1891:63:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1881:6:1"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1974:118:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1989:16:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2003:2:1",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1993:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2019:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2054:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2065:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2050:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2050:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2074:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2029:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2029:53:1"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2019:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1500:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1511:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1523:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1531:6:1",
"type": ""
}
],
"src": "1445:654:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2171:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2217:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2219:77:1"
},
"nodeType": "YulFunctionCall",
"src": "2219:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "2219:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2192:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2201:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2188:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2188:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2213:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2184:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2184:32:1"
},
"nodeType": "YulIf",
"src": "2181:119:1"
},
{
"nodeType": "YulBlock",
"src": "2310:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2325:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2339:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2329:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2354:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2389:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2400:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2385:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2385:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2409:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2364:20:1"
},
"nodeType": "YulFunctionCall",
"src": "2364:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2354:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2141:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2152:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2164:6:1",
"type": ""
}
],
"src": "2105:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2532:272:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2542:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2589:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2556:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2556:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2546:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2604:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2670:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2675:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2611:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2611:71:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2604:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2717:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2724:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2713:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2713:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2731:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2736:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2691:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2691:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "2691:52:1"
},
{
"nodeType": "YulAssignment",
"src": "2752:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2763:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2790:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2768:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2768:29:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2759:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2759:39:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2752:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2513:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2520:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2528:3:1",
"type": ""
}
],
"src": "2440:364:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2920:267:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2930:53:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2977:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2944:32:1"
},
"nodeType": "YulFunctionCall",
"src": "2944:39:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2934:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2992:96:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3076:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3081:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "2999:76:1"
},
"nodeType": "YulFunctionCall",
"src": "2999:89:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2992:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3123:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3130:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3119:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3119:16:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3137:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3142:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "3097:21:1"
},
"nodeType": "YulFunctionCall",
"src": "3097:52:1"
},
"nodeType": "YulExpressionStatement",
"src": "3097:52:1"
},
{
"nodeType": "YulAssignment",
"src": "3158:23:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3169:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3174:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3165:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3165:16:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3158: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": "2901:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2908:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2916:3:1",
"type": ""
}
],
"src": "2810:377:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3258:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3275:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3298:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3280:17:1"
},
"nodeType": "YulFunctionCall",
"src": "3280:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3268:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3268:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "3268:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3246:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3253:3:1",
"type": ""
}
],
"src": "3193:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3453:139:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3464:102:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3553:6:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3562:3:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "3471:81:1"
},
"nodeType": "YulFunctionCall",
"src": "3471:95:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3464:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3576:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3583:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3576: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": "3432:3:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3438:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3449:3:1",
"type": ""
}
],
"src": "3317:275:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3744:277:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3754:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3766:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3777:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3762:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3762:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3754:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3801:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3812:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3797:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3797:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3820:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3826:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3816:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3816:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3790:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3790:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "3790:47:1"
},
{
"nodeType": "YulAssignment",
"src": "3846:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3918:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3927:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3854:63:1"
},
"nodeType": "YulFunctionCall",
"src": "3854:78:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3846:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "3986:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3999:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4010:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3995:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3995:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3942:43:1"
},
"nodeType": "YulFunctionCall",
"src": "3942:72:1"
},
"nodeType": "YulExpressionStatement",
"src": "3942:72:1"
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3708:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3720:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3728:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3739:4:1",
"type": ""
}
],
"src": "3598:423:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4125:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4135:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4147:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4158:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4143:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4143:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4135:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4215:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4228:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4239:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4224:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4224:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "4171:43:1"
},
"nodeType": "YulFunctionCall",
"src": "4171:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "4171:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4097:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4109:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4120:4:1",
"type": ""
}
],
"src": "4027:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4296:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4306:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "4316:18:1"
},
"nodeType": "YulFunctionCall",
"src": "4316:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4306:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4365:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4373:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "4345:19:1"
},
"nodeType": "YulFunctionCall",
"src": "4345:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "4345:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4280:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4289:6:1",
"type": ""
}
],
"src": "4255:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4430:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4440:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4456:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4450:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4450:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "4440:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "4423:6:1",
"type": ""
}
],
"src": "4390:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4538:241:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4643:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4645:16:1"
},
"nodeType": "YulFunctionCall",
"src": "4645:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "4645:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4615:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4623:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4612:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4612:30:1"
},
"nodeType": "YulIf",
"src": "4609:56:1"
},
{
"nodeType": "YulAssignment",
"src": "4675:37:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4705:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "4683:21:1"
},
"nodeType": "YulFunctionCall",
"src": "4683:29:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4675:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4749:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4761:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4767:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4757:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4757:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "4749:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4522:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "4533:4:1",
"type": ""
}
],
"src": "4471:308:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4844:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4855:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4871:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4865:5:1"
},
"nodeType": "YulFunctionCall",
"src": "4865:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4855:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4827:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4837:6:1",
"type": ""
}
],
"src": "4785:99:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4986:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5003:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5008:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4996:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4996:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "4996:19:1"
},
{
"nodeType": "YulAssignment",
"src": "5024:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5043:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5048:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5039:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5039:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "5024:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4958:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4963:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "4974:11:1",
"type": ""
}
],
"src": "4890:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5179:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5189:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5204:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "5189:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5151:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5156:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "5167:11:1",
"type": ""
}
],
"src": "5065:148:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5264:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5274:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "5285:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5274:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5246:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5256:7:1",
"type": ""
}
],
"src": "5219:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5353:103:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5376:3:1"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5381:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5386:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "5363:12:1"
},
"nodeType": "YulFunctionCall",
"src": "5363:30:1"
},
"nodeType": "YulExpressionStatement",
"src": "5363:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5434:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5439:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5430:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5430:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5448:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5423:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5423:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "5423:27:1"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "5335:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "5340:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5345:6:1",
"type": ""
}
],
"src": "5302:154:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5511:258:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5521:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5530:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "5525:1:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5590:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5615:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5620:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5611:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5611:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5634:3:1"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5639:1:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5630:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5630:11:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5624:5:1"
},
"nodeType": "YulFunctionCall",
"src": "5624:18:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5604:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5604:39:1"
},
"nodeType": "YulExpressionStatement",
"src": "5604:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5551:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5554:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5548:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5548:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "5562:19:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5564:15:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5573:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5576:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5569:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5569:10:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5564:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "5544:3:1",
"statements": []
},
"src": "5540:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5687:76:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5737:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5742:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5733:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5733:16:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5751:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5726:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5726:27:1"
},
"nodeType": "YulExpressionStatement",
"src": "5726:27:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5668:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5671:6:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5665:2:1"
},
"nodeType": "YulFunctionCall",
"src": "5665:13:1"
},
"nodeType": "YulIf",
"src": "5662:101:1"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "5493:3:1",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "5498:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5503:6:1",
"type": ""
}
],
"src": "5462:307:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5826:269:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5836:22:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5850:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5856:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "5846:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5846:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5836:6:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "5867:38:1",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5897:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5903:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5893:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5893:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "5871:18:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5944:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5958:27:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5972:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5980:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5968:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5968:17:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5958:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5924:18:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5917:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5917:26:1"
},
"nodeType": "YulIf",
"src": "5914:81:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6047:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "6061:16:1"
},
"nodeType": "YulFunctionCall",
"src": "6061:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "6061:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6011:18:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6034:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6042:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6031:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6031:14:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6008:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6008:38:1"
},
"nodeType": "YulIf",
"src": "6005:84:1"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5810:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5819:6:1",
"type": ""
}
],
"src": "5775:320:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6144:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "6154:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6176:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6206:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "6184:21:1"
},
"nodeType": "YulFunctionCall",
"src": "6184:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6172:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6172:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "6158:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6323:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "6325:16:1"
},
"nodeType": "YulFunctionCall",
"src": "6325:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "6325:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "6266:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6278:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6263:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "6302:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6314:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6299:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6299:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "6260:2:1"
},
"nodeType": "YulFunctionCall",
"src": "6260:62:1"
},
"nodeType": "YulIf",
"src": "6257:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6361:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "6365:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6354:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6354:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "6354:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "6130:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "6138:4:1",
"type": ""
}
],
"src": "6101:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6416:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6433:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6436:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6426:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6426:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6426:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6530:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6533:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6523:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6523:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6523:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6554:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6557:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6547:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6547:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6547:15:1"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "6388:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6602:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6619:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6622:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6612:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6612:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "6612:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6716:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6719:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6709:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6709:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6709:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6740:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6743:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6733:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6733:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "6733:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "6574:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6849:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6866:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6869:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6859:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6859:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6859:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "6760:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6972:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6989:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6992:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6982:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6982:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "6982:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "6883:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7095:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7112:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7115:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7105:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7105:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7105:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "7006:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7218:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7235:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7238:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7228:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7228:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7228:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "7129:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7300:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7310:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7328:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7335:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7324:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7324:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7344:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "7340:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7340:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7320:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7320:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "7310:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7283:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "7293:6:1",
"type": ""
}
],
"src": "7252:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7403:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7460:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7469:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7472:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "7462:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7462:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "7462:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7426:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7451:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7433:17:1"
},
"nodeType": "YulFunctionCall",
"src": "7433:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7423:2:1"
},
"nodeType": "YulFunctionCall",
"src": "7423:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7416:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7416:43:1"
},
"nodeType": "YulIf",
"src": "7413:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7396:5:1",
"type": ""
}
],
"src": "7360:122:1"
}
]
},
"contents": "{\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_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_string_memory_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function 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 revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100575760003560e01c80631f1094e71461005c5780636057361d1461008d5780636c97d9fa146100a95780636f760f41146100c75780638bab8dd5146100e3575b600080fd5b6100766004803603810190610071919061046d565b610113565b60405161008492919061052a565b60405180910390f35b6100a760048036038101906100a2919061046d565b6101cf565b005b6100b16101d9565b6040516100be919061055a565b60405180910390f35b6100e160048036038101906100dc9190610411565b6101e2565b005b6100fd60048036038101906100f891906103c8565b610272565b60405161010a919061055a565b60405180910390f35b6001818154811061012357600080fd5b90600052602060002090600202016000915090508060000180546101469061063e565b80601f01602080910402602001604051908101604052809291908181526020018280546101729061063e565b80156101bf5780601f10610194576101008083540402835291602001916101bf565b820191906000526020600020905b8154815290600101906020018083116101a257829003601f168201915b5050505050908060010154905082565b8060008190555050565b60008054905090565b60016040518060400160405280848152602001838152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061023e9291906102a0565b506020820151816001015550508060028360405161025c9190610513565b9081526020016040518091039020819055505050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac9061063e565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461059a565b610575565b90508281526020810184848401111561037257610371610704565b5b61037d8482856105fc565b509392505050565b600082601f83011261039a576103996106ff565b5b81356103aa848260208601610343565b91505092915050565b6000813590506103c281610724565b92915050565b6000602082840312156103de576103dd61070e565b5b600082013567ffffffffffffffff8111156103fc576103fb610709565b5b61040884828501610385565b91505092915050565b600080604083850312156104285761042761070e565b5b600083013567ffffffffffffffff81111561044657610445610709565b5b61045285828601610385565b9250506020610463858286016103b3565b9150509250929050565b6000602082840312156104835761048261070e565b5b6000610491848285016103b3565b91505092915050565b60006104a5826105cb565b6104af81856105d6565b93506104bf81856020860161060b565b6104c881610713565b840191505092915050565b60006104de826105cb565b6104e881856105e7565b93506104f881856020860161060b565b80840191505092915050565b61050d816105f2565b82525050565b600061051f82846104d3565b915081905092915050565b60006040820190508181036000830152610544818561049a565b90506105536020830184610504565b9392505050565b600060208201905061056f6000830184610504565b92915050565b600061057f610590565b905061058b8282610670565b919050565b6000604051905090565b600067ffffffffffffffff8211156105b5576105b46106d0565b5b6105be82610713565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561062957808201518184015260208101905061060e565b83811115610638576000848401525b50505050565b6000600282049050600182168061065657607f821691505b6020821081141561066a576106696106a1565b5b50919050565b61067982610713565b810181811067ffffffffffffffff82111715610698576106976106d0565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61072d816105f2565b811461073857600080fd5b5056fea2646970667358221220676bf8b0769985f622d6ef6df1c4f84e72a13e3b1b6d22e7065dce06086ca6f464736f6c63430008070033",
"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 0x1F1094E7 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x6C97D9FA EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0xC7 JUMPI DUP1 PUSH4 0x8BAB8DD5 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 0x46D JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x84 SWAP3 SWAP2 SWAP1 PUSH2 0x52A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xA7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0x46D JUMP JUMPDEST PUSH2 0x1CF JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBE SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE1 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x411 JUMP JUMPDEST PUSH2 0x1E2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C8 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x123 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 DUP1 SLOAD PUSH2 0x146 SWAP1 PUSH2 0x63E 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 0x172 SWAP1 PUSH2 0x63E JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1BF JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x194 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1BF 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 0x1A2 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 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 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x23E SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x25C SWAP2 SWAP1 PUSH2 0x513 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 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 0x63E 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 0x59A JUMP JUMPDEST PUSH2 0x575 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x372 JUMPI PUSH2 0x371 PUSH2 0x704 JUMP JUMPDEST JUMPDEST PUSH2 0x37D DUP5 DUP3 DUP6 PUSH2 0x5FC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x39A JUMPI PUSH2 0x399 PUSH2 0x6FF JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3AA 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 0x3C2 DUP2 PUSH2 0x724 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3DE JUMPI PUSH2 0x3DD PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3FC JUMPI PUSH2 0x3FB PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x408 DUP5 DUP3 DUP6 ADD PUSH2 0x385 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x428 JUMPI PUSH2 0x427 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x446 JUMPI PUSH2 0x445 PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x452 DUP6 DUP3 DUP7 ADD PUSH2 0x385 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x463 DUP6 DUP3 DUP7 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x483 JUMPI PUSH2 0x482 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x491 DUP5 DUP3 DUP6 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4A5 DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4AF DUP2 DUP6 PUSH2 0x5D6 JUMP JUMPDEST SWAP4 POP PUSH2 0x4BF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST PUSH2 0x4C8 DUP2 PUSH2 0x713 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4DE DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4E8 DUP2 DUP6 PUSH2 0x5E7 JUMP JUMPDEST SWAP4 POP PUSH2 0x4F8 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x50D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x51F DUP3 DUP5 PUSH2 0x4D3 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x544 DUP2 DUP6 PUSH2 0x49A JUMP JUMPDEST SWAP1 POP PUSH2 0x553 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x56F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x57F PUSH2 0x590 JUMP JUMPDEST SWAP1 POP PUSH2 0x58B DUP3 DUP3 PUSH2 0x670 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 0x5B5 JUMPI PUSH2 0x5B4 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST PUSH2 0x5BE DUP3 PUSH2 0x713 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 0x629 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x60E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x638 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 0x656 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x66A JUMPI PUSH2 0x669 PUSH2 0x6A1 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x679 DUP3 PUSH2 0x713 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x698 JUMPI PUSH2 0x697 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x72D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP2 EQ PUSH2 0x738 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH8 0x6BF8B0769985F622 0xD6 0xEF PUSH14 0xF1C4F84E72A13E3B1B6D22E7065D 0xCE MOD ADDMOD PUSH13 0xA6F464736F6C63430008070033 ",
"sourceMap": "65:630:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;215:23;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;310:91;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;411:94;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;520:168;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;244:55;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;215:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;310:91::-;382:12;365:14;:29;;;;310:91;:::o;411:94::-;458:7;484:14;;477:21;;411:94;:::o;520:168::-;596:7;609:23;;;;;;;;616:4;609:23;;;;622:9;609:23;;;596:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;672:9;643:20;664:4;643:26;;;;;;:::i;:::-;;;;;;;;;;;;;:38;;;;520:168;;:::o;244:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:412:1:-;85:5;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:112;;;282:79;;:::i;:::-;251:112;372:41;406:6;401:3;396;372:41;:::i;:::-;91:328;7:412;;;;;:::o;439:340::-;495:5;544:3;537:4;529:6;525:17;521:27;511:122;;552:79;;:::i;:::-;511:122;669:6;656:20;694:79;769:3;761:6;754:4;746:6;742:17;694:79;:::i;:::-;685:88;;501:278;439:340;;;;:::o;785:139::-;831:5;869:6;856:20;847:29;;885:33;912:5;885:33;:::i;:::-;785:139;;;;:::o;930:509::-;999:6;1048:2;1036:9;1027:7;1023:23;1019:32;1016:119;;;1054:79;;:::i;:::-;1016:119;1202:1;1191:9;1187:17;1174:31;1232:18;1224:6;1221:30;1218:117;;;1254:79;;:::i;:::-;1218:117;1359:63;1414:7;1405:6;1394:9;1390:22;1359:63;:::i;:::-;1349:73;;1145:287;930:509;;;;:::o;1445:654::-;1523:6;1531;1580:2;1568:9;1559:7;1555:23;1551:32;1548:119;;;1586:79;;:::i;:::-;1548:119;1734:1;1723:9;1719:17;1706:31;1764:18;1756:6;1753:30;1750:117;;;1786:79;;:::i;:::-;1750:117;1891:63;1946:7;1937:6;1926:9;1922:22;1891:63;:::i;:::-;1881:73;;1677:287;2003:2;2029:53;2074:7;2065:6;2054:9;2050:22;2029:53;:::i;:::-;2019:63;;1974:118;1445:654;;;;;:::o;2105:329::-;2164:6;2213:2;2201:9;2192:7;2188:23;2184:32;2181:119;;;2219:79;;:::i;:::-;2181:119;2339:1;2364:53;2409:7;2400:6;2389:9;2385:22;2364:53;:::i;:::-;2354:63;;2310:117;2105:329;;;;:::o;2440:364::-;2528:3;2556:39;2589:5;2556:39;:::i;:::-;2611:71;2675:6;2670:3;2611:71;:::i;:::-;2604:78;;2691:52;2736:6;2731:3;2724:4;2717:5;2713:16;2691:52;:::i;:::-;2768:29;2790:6;2768:29;:::i;:::-;2763:3;2759:39;2752:46;;2532:272;2440:364;;;;:::o;2810:377::-;2916:3;2944:39;2977:5;2944:39;:::i;:::-;2999:89;3081:6;3076:3;2999:89;:::i;:::-;2992:96;;3097:52;3142:6;3137:3;3130:4;3123:5;3119:16;3097:52;:::i;:::-;3174:6;3169:3;3165:16;3158:23;;2920:267;2810:377;;;;:::o;3193:118::-;3280:24;3298:5;3280:24;:::i;:::-;3275:3;3268:37;3193:118;;:::o;3317:275::-;3449:3;3471:95;3562:3;3553:6;3471:95;:::i;:::-;3464:102;;3583:3;3576:10;;3317:275;;;;:::o;3598:423::-;3739:4;3777:2;3766:9;3762:18;3754:26;;3826:9;3820:4;3816:20;3812:1;3801:9;3797:17;3790:47;3854:78;3927:4;3918:6;3854:78;:::i;:::-;3846:86;;3942:72;4010:2;3999:9;3995:18;3986:6;3942:72;:::i;:::-;3598:423;;;;;:::o;4027:222::-;4120:4;4158:2;4147:9;4143:18;4135:26;;4171:71;4239:1;4228:9;4224:17;4215:6;4171:71;:::i;:::-;4027:222;;;;:::o;4255:129::-;4289:6;4316:20;;:::i;:::-;4306:30;;4345:33;4373:4;4365:6;4345:33;:::i;:::-;4255:129;;;:::o;4390:75::-;4423:6;4456:2;4450:9;4440:19;;4390:75;:::o;4471:308::-;4533:4;4623:18;4615:6;4612:30;4609:56;;;4645:18;;:::i;:::-;4609:56;4683:29;4705:6;4683:29;:::i;:::-;4675:37;;4767:4;4761;4757:15;4749:23;;4471:308;;;:::o;4785:99::-;4837:6;4871:5;4865:12;4855:22;;4785:99;;;:::o;4890:169::-;4974:11;5008:6;5003:3;4996:19;5048:4;5043:3;5039:14;5024:29;;4890:169;;;;:::o;5065:148::-;5167:11;5204:3;5189:18;;5065:148;;;;:::o;5219:77::-;5256:7;5285:5;5274:16;;5219:77;;;:::o;5302:154::-;5386:6;5381:3;5376;5363:30;5448:1;5439:6;5434:3;5430:16;5423:27;5302:154;;;:::o;5462:307::-;5530:1;5540:113;5554:6;5551:1;5548:13;5540:113;;;5639:1;5634:3;5630:11;5624:18;5620:1;5615:3;5611:11;5604:39;5576:2;5573:1;5569:10;5564:15;;5540:113;;;5671:6;5668:1;5665:13;5662:101;;;5751:1;5742:6;5737:3;5733:16;5726:27;5662:101;5511:258;5462:307;;;:::o;5775:320::-;5819:6;5856:1;5850:4;5846:12;5836:22;;5903:1;5897:4;5893:12;5924:18;5914:81;;5980:4;5972:6;5968:17;5958:27;;5914:81;6042:2;6034:6;6031:14;6011:18;6008:38;6005:84;;;6061:18;;:::i;:::-;6005:84;5826:269;5775:320;;;:::o;6101:281::-;6184:27;6206:4;6184:27;:::i;:::-;6176:6;6172:40;6314:6;6302:10;6299:22;6278:18;6266:10;6263:34;6260:62;6257:88;;;6325:18;;:::i;:::-;6257:88;6365:10;6361:2;6354:22;6144:238;6101:281;;:::o;6388:180::-;6436:77;6433:1;6426:88;6533:4;6530:1;6523:15;6557:4;6554:1;6547:15;6574:180;6622:77;6619:1;6612:88;6719:4;6716:1;6709:15;6743:4;6740:1;6733:15;6760:117;6869:1;6866;6859:12;6883:117;6992:1;6989;6982:12;7006:117;7115:1;7112;7105:12;7129:117;7238:1;7235;7228:12;7252:102;7293:6;7344:2;7340:7;7335:2;7328:5;7324:14;7320:28;7310:38;;7252:102;;;:::o;7360:122::-;7433:24;7451:5;7433:24;:::i;:::-;7426:5;7423:35;7413:63;;7472:1;7469;7462:12;7413:63;7360:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "381000",
"executionCost": "5424",
"totalCost": "386424"
},
"external": {
"addPerson(string,uint256)": "infinite",
"nameToFavoriteNumber(string)": "infinite",
"peoples(uint256)": "infinite",
"store(uint256)": "22520",
"viewFavNumber()": "2459"
}
},
"methodIdentifiers": {
"addPerson(string,uint256)": "6f760f41",
"nameToFavoriteNumber(string)": "8bab8dd5",
"peoples(uint256)": "1f1094e7",
"store(uint256)": "6057361d",
"viewFavNumber()": "6c97d9fa"
}
},
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavoriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "peoples",
"outputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favoriteNumber",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newFavNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "viewFavNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavoriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "peoples",
"outputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favoriteNumber",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newFavNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "viewFavNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/StorageFactory.sol": "SimpleStorage"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/StorageFactory.sol": {
"keccak256": "0xd3278af78999b48328e7273d95a3d5cb6415e9accb28bdc3880b8ede11533618",
"license": "MIT",
"urls": [
"bzz-raw://f7c31d39fd9f2f83257333e8aa28edc89476a13618732081c7617c074f96bae5",
"dweb:/ipfs/QmWNU8xPzM1A4bqKy3D2SE9FFXfbmzNmzjetJUw3ACrrQU"
]
}
},
"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": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "60806040526000805534801561001457600080fd5b50611350806100246000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80636c97d9fa116100665780636c97d9fa1461010b5780636f760f41146101295780638bab8dd514610145578063e427ea1314610175578063ebb27074146101a557610093565b80631563700f146100985780631dda6541146100b45780631f1094e7146100be5780636057361d146100ef575b600080fd5b6100b260048036038101906100ad91906107f5565b6101d5565b005b6100bc610288565b005b6100d860048036038101906100d3919061079b565b61031b565b6040516100e69291906108ef565b60405180910390f35b6101096004803603810190610104919061079b565b6103d7565b005b6101136103e1565b604051610120919061091f565b60405180910390f35b610143600480360381019061013e919061073f565b6103ea565b005b61015f600480360381019061015a91906106f6565b61047a565b60405161016c919061091f565b60405180910390f35b61018f600480360381019061018a919061079b565b6104a8565b60405161019c91906108d4565b60405180910390f35b6101bf60048036038101906101ba919061079b565b6104e7565b6040516101cc919061091f565b60405180910390f35b6000600383815481106101eb576101ea610aeb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16636057361d836040518263ffffffff1660e01b8152600401610251919061091f565b600060405180830381600087803b15801561026b57600080fd5b505af115801561027f573d6000803e3d6000fd5b50505050505050565b6000604051610296906105ac565b604051809103906000f0801580156102b2573d6000803e3d6000fd5b5090506003819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6001818154811061032b57600080fd5b906000526020600020906002020160009150905080600001805461034e90610a59565b80601f016020809104026020016040519081016040528092919081815260200182805461037a90610a59565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b5050505050908060010154905082565b8060008190555050565b60008054905090565b6001604051806040016040528084815260200183815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000190805190602001906104469291906105b9565b506020820151816001015550508060028360405161046491906108bd565b9081526020016040518091039020819055505050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b600381815481106104b857600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600382815481106104fd576104fc610aeb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636c97d9fa6040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a591906107c8565b9050919050565b61079580610b8683390190565b8280546105c590610a59565b90600052602060002090601f0160209004810192826105e7576000855561062e565b82601f1061060057805160ff191683800117855561062e565b8280016001018555821561062e579182015b8281111561062d578251825591602001919060010190610612565b5b50905061063b919061063f565b5090565b5b80821115610658576000816000905550600101610640565b5090565b600061066f61066a8461095f565b61093a565b90508281526020810184848401111561068b5761068a610b4e565b5b610696848285610a17565b509392505050565b600082601f8301126106b3576106b2610b49565b5b81356106c384826020860161065c565b91505092915050565b6000813590506106db81610b6e565b92915050565b6000815190506106f081610b6e565b92915050565b60006020828403121561070c5761070b610b58565b5b600082013567ffffffffffffffff81111561072a57610729610b53565b5b6107368482850161069e565b91505092915050565b6000806040838503121561075657610755610b58565b5b600083013567ffffffffffffffff81111561077457610773610b53565b5b6107808582860161069e565b9250506020610791858286016106cc565b9150509250929050565b6000602082840312156107b1576107b0610b58565b5b60006107bf848285016106cc565b91505092915050565b6000602082840312156107de576107dd610b58565b5b60006107ec848285016106e1565b91505092915050565b6000806040838503121561080c5761080b610b58565b5b600061081a858286016106cc565b925050602061082b858286016106cc565b9150509250929050565b61083e816109e1565b82525050565b600061084f82610990565b610859818561099b565b9350610869818560208601610a26565b61087281610b5d565b840191505092915050565b600061088882610990565b61089281856109ac565b93506108a2818560208601610a26565b80840191505092915050565b6108b7816109d7565b82525050565b60006108c9828461087d565b915081905092915050565b60006020820190506108e96000830184610835565b92915050565b600060408201905081810360008301526109098185610844565b905061091860208301846108ae565b9392505050565b600060208201905061093460008301846108ae565b92915050565b6000610944610955565b90506109508282610a8b565b919050565b6000604051905090565b600067ffffffffffffffff82111561097a57610979610b1a565b5b61098382610b5d565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006109ec826109f3565b9050919050565b60006109fe82610a05565b9050919050565b6000610a10826109b7565b9050919050565b82818337600083830152505050565b60005b83811015610a44578082015181840152602081019050610a29565b83811115610a53576000848401525b50505050565b60006002820490506001821680610a7157607f821691505b60208210811415610a8557610a84610abc565b5b50919050565b610a9482610b5d565b810181811067ffffffffffffffff82111715610ab357610ab2610b1a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b610b77816109d7565b8114610b8257600080fd5b5056fe60806040526000805534801561001457600080fd5b50610771806100246000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631f1094e71461005c5780636057361d1461008d5780636c97d9fa146100a95780636f760f41146100c75780638bab8dd5146100e3575b600080fd5b6100766004803603810190610071919061046d565b610113565b60405161008492919061052a565b60405180910390f35b6100a760048036038101906100a2919061046d565b6101cf565b005b6100b16101d9565b6040516100be919061055a565b60405180910390f35b6100e160048036038101906100dc9190610411565b6101e2565b005b6100fd60048036038101906100f891906103c8565b610272565b60405161010a919061055a565b60405180910390f35b6001818154811061012357600080fd5b90600052602060002090600202016000915090508060000180546101469061063e565b80601f01602080910402602001604051908101604052809291908181526020018280546101729061063e565b80156101bf5780601f10610194576101008083540402835291602001916101bf565b820191906000526020600020905b8154815290600101906020018083116101a257829003601f168201915b5050505050908060010154905082565b8060008190555050565b60008054905090565b60016040518060400160405280848152602001838152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061023e9291906102a0565b506020820151816001015550508060028360405161025c9190610513565b9081526020016040518091039020819055505050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac9061063e565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461059a565b610575565b90508281526020810184848401111561037257610371610704565b5b61037d8482856105fc565b509392505050565b600082601f83011261039a576103996106ff565b5b81356103aa848260208601610343565b91505092915050565b6000813590506103c281610724565b92915050565b6000602082840312156103de576103dd61070e565b5b600082013567ffffffffffffffff8111156103fc576103fb610709565b5b61040884828501610385565b91505092915050565b600080604083850312156104285761042761070e565b5b600083013567ffffffffffffffff81111561044657610445610709565b5b61045285828601610385565b9250506020610463858286016103b3565b9150509250929050565b6000602082840312156104835761048261070e565b5b6000610491848285016103b3565b91505092915050565b60006104a5826105cb565b6104af81856105d6565b93506104bf81856020860161060b565b6104c881610713565b840191505092915050565b60006104de826105cb565b6104e881856105e7565b93506104f881856020860161060b565b80840191505092915050565b61050d816105f2565b82525050565b600061051f82846104d3565b915081905092915050565b60006040820190508181036000830152610544818561049a565b90506105536020830184610504565b9392505050565b600060208201905061056f6000830184610504565b92915050565b600061057f610590565b905061058b8282610670565b919050565b6000604051905090565b600067ffffffffffffffff8211156105b5576105b46106d0565b5b6105be82610713565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561062957808201518184015260208101905061060e565b83811115610638576000848401525b50505050565b6000600282049050600182168061065657607f821691505b6020821081141561066a576106696106a1565b5b50919050565b61067982610713565b810181811067ffffffffffffffff82111715610698576106976106d0565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61072d816105f2565b811461073857600080fd5b5056fea264697066735822122028f75ff74a14f5000b34fe4fbb2e1085bac7c3698b49ab6888319c3988ce396764736f6c63430008070033a26469706673582212209e318eed361e55b2c724308bde0120553d84cc5709575e168073f1b8834543c864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x14 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1350 DUP1 PUSH2 0x24 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 0x6C97D9FA GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x6C97D9FA EQ PUSH2 0x10B JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x129 JUMPI DUP1 PUSH4 0x8BAB8DD5 EQ PUSH2 0x145 JUMPI DUP1 PUSH4 0xE427EA13 EQ PUSH2 0x175 JUMPI DUP1 PUSH4 0xEBB27074 EQ PUSH2 0x1A5 JUMPI PUSH2 0x93 JUMP JUMPDEST DUP1 PUSH4 0x1563700F EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x1DDA6541 EQ PUSH2 0xB4 JUMPI DUP1 PUSH4 0x1F1094E7 EQ PUSH2 0xBE JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0xEF JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x7F5 JUMP JUMPDEST PUSH2 0x1D5 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xBC PUSH2 0x288 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x79B JUMP JUMPDEST PUSH2 0x31B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xE6 SWAP3 SWAP2 SWAP1 PUSH2 0x8EF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x109 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x104 SWAP2 SWAP1 PUSH2 0x79B JUMP JUMPDEST PUSH2 0x3D7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x113 PUSH2 0x3E1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x120 SWAP2 SWAP1 PUSH2 0x91F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x143 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x13E SWAP2 SWAP1 PUSH2 0x73F JUMP JUMPDEST PUSH2 0x3EA JUMP JUMPDEST STOP JUMPDEST PUSH2 0x15F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x15A SWAP2 SWAP1 PUSH2 0x6F6 JUMP JUMPDEST PUSH2 0x47A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x16C SWAP2 SWAP1 PUSH2 0x91F 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 0x79B JUMP JUMPDEST PUSH2 0x4A8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x19C SWAP2 SWAP1 PUSH2 0x8D4 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 0x79B JUMP JUMPDEST PUSH2 0x4E7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CC SWAP2 SWAP1 PUSH2 0x91F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 PUSH1 0x3 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x1EB JUMPI PUSH2 0x1EA PUSH2 0xAEB JUMP JUMPDEST 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 DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6057361D DUP4 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x251 SWAP2 SWAP1 PUSH2 0x91F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x26B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x27F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH2 0x296 SWAP1 PUSH2 0x5AC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH2 0x2B2 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 PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x32B 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 DUP1 SLOAD PUSH2 0x34E SWAP1 PUSH2 0xA59 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 0x37A SWAP1 PUSH2 0xA59 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3C7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x39C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3C7 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 0x3AA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 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 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x446 SWAP3 SWAP2 SWAP1 PUSH2 0x5B9 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x464 SWAP2 SWAP1 PUSH2 0x8BD 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 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 0x3 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x4B8 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 0x0 PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x4FD JUMPI PUSH2 0x4FC PUSH2 0xAEB JUMP JUMPDEST 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 0x6C97D9FA 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 0x56D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x581 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 0x5A5 SWAP2 SWAP1 PUSH2 0x7C8 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x795 DUP1 PUSH2 0xB86 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x5C5 SWAP1 PUSH2 0xA59 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x5E7 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x62E JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x600 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x62E JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x62E JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x62D JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x612 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x63B SWAP2 SWAP1 PUSH2 0x63F JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x658 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x640 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66F PUSH2 0x66A DUP5 PUSH2 0x95F JUMP JUMPDEST PUSH2 0x93A JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x68B JUMPI PUSH2 0x68A PUSH2 0xB4E JUMP JUMPDEST JUMPDEST PUSH2 0x696 DUP5 DUP3 DUP6 PUSH2 0xA17 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6B3 JUMPI PUSH2 0x6B2 PUSH2 0xB49 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x6C3 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x65C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x6DB DUP2 PUSH2 0xB6E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x6F0 DUP2 PUSH2 0xB6E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x70C JUMPI PUSH2 0x70B PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x72A JUMPI PUSH2 0x729 PUSH2 0xB53 JUMP JUMPDEST JUMPDEST PUSH2 0x736 DUP5 DUP3 DUP6 ADD PUSH2 0x69E JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x756 JUMPI PUSH2 0x755 PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x774 JUMPI PUSH2 0x773 PUSH2 0xB53 JUMP JUMPDEST JUMPDEST PUSH2 0x780 DUP6 DUP3 DUP7 ADD PUSH2 0x69E JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x791 DUP6 DUP3 DUP7 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7B1 JUMPI PUSH2 0x7B0 PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x7BF DUP5 DUP3 DUP6 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7DE JUMPI PUSH2 0x7DD PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x7EC DUP5 DUP3 DUP6 ADD PUSH2 0x6E1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x80C JUMPI PUSH2 0x80B PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x81A DUP6 DUP3 DUP7 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x82B DUP6 DUP3 DUP7 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x83E DUP2 PUSH2 0x9E1 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x84F DUP3 PUSH2 0x990 JUMP JUMPDEST PUSH2 0x859 DUP2 DUP6 PUSH2 0x99B JUMP JUMPDEST SWAP4 POP PUSH2 0x869 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA26 JUMP JUMPDEST PUSH2 0x872 DUP2 PUSH2 0xB5D JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x888 DUP3 PUSH2 0x990 JUMP JUMPDEST PUSH2 0x892 DUP2 DUP6 PUSH2 0x9AC JUMP JUMPDEST SWAP4 POP PUSH2 0x8A2 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA26 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x8B7 DUP2 PUSH2 0x9D7 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C9 DUP3 DUP5 PUSH2 0x87D JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x8E9 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x835 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x909 DUP2 DUP6 PUSH2 0x844 JUMP JUMPDEST SWAP1 POP PUSH2 0x918 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x8AE JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x934 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x8AE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x944 PUSH2 0x955 JUMP JUMPDEST SWAP1 POP PUSH2 0x950 DUP3 DUP3 PUSH2 0xA8B 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 0x97A JUMPI PUSH2 0x979 PUSH2 0xB1A JUMP JUMPDEST JUMPDEST PUSH2 0x983 DUP3 PUSH2 0xB5D 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 0x9EC DUP3 PUSH2 0x9F3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9FE DUP3 PUSH2 0xA05 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA10 DUP3 PUSH2 0x9B7 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 0xA44 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xA29 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xA53 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 0xA71 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0xA85 JUMPI PUSH2 0xA84 PUSH2 0xABC JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xA94 DUP3 PUSH2 0xB5D JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0xAB3 JUMPI PUSH2 0xAB2 PUSH2 0xB1A 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 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xB77 DUP2 PUSH2 0x9D7 JUMP JUMPDEST DUP2 EQ PUSH2 0xB82 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x14 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x771 DUP1 PUSH2 0x24 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 0x1F1094E7 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x6C97D9FA EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0xC7 JUMPI DUP1 PUSH4 0x8BAB8DD5 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 0x46D JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x84 SWAP3 SWAP2 SWAP1 PUSH2 0x52A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xA7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0x46D JUMP JUMPDEST PUSH2 0x1CF JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBE SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE1 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x411 JUMP JUMPDEST PUSH2 0x1E2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C8 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x123 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 DUP1 SLOAD PUSH2 0x146 SWAP1 PUSH2 0x63E 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 0x172 SWAP1 PUSH2 0x63E JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1BF JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x194 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1BF 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 0x1A2 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 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 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x23E SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x25C SWAP2 SWAP1 PUSH2 0x513 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 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 0x63E 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 0x59A JUMP JUMPDEST PUSH2 0x575 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x372 JUMPI PUSH2 0x371 PUSH2 0x704 JUMP JUMPDEST JUMPDEST PUSH2 0x37D DUP5 DUP3 DUP6 PUSH2 0x5FC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x39A JUMPI PUSH2 0x399 PUSH2 0x6FF JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3AA 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 0x3C2 DUP2 PUSH2 0x724 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3DE JUMPI PUSH2 0x3DD PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3FC JUMPI PUSH2 0x3FB PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x408 DUP5 DUP3 DUP6 ADD PUSH2 0x385 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x428 JUMPI PUSH2 0x427 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x446 JUMPI PUSH2 0x445 PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x452 DUP6 DUP3 DUP7 ADD PUSH2 0x385 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x463 DUP6 DUP3 DUP7 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x483 JUMPI PUSH2 0x482 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x491 DUP5 DUP3 DUP6 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4A5 DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4AF DUP2 DUP6 PUSH2 0x5D6 JUMP JUMPDEST SWAP4 POP PUSH2 0x4BF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST PUSH2 0x4C8 DUP2 PUSH2 0x713 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4DE DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4E8 DUP2 DUP6 PUSH2 0x5E7 JUMP JUMPDEST SWAP4 POP PUSH2 0x4F8 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x50D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x51F DUP3 DUP5 PUSH2 0x4D3 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x544 DUP2 DUP6 PUSH2 0x49A JUMP JUMPDEST SWAP1 POP PUSH2 0x553 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x56F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x57F PUSH2 0x590 JUMP JUMPDEST SWAP1 POP PUSH2 0x58B DUP3 DUP3 PUSH2 0x670 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 0x5B5 JUMPI PUSH2 0x5B4 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST PUSH2 0x5BE DUP3 PUSH2 0x713 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 0x629 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x60E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x638 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 0x656 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x66A JUMPI PUSH2 0x669 PUSH2 0x6A1 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x679 DUP3 PUSH2 0x713 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x698 JUMPI PUSH2 0x697 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x72D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP2 EQ PUSH2 0x738 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x28 0xF7 0x5F 0xF7 0x4A EQ CREATE2 STOP SIGNEXTEND CALLVALUE INVALID 0x4F 0xBB 0x2E LT DUP6 0xBA 0xC7 0xC3 PUSH10 0x8B49AB6888319C3988CE CODECOPY PUSH8 0x64736F6C63430008 SMOD STOP CALLER LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP15 BALANCE DUP15 0xED CALLDATASIZE 0x1E SSTORE 0xB2 0xC7 0x24 ADDRESS DUP12 0xDE ADD KECCAK256 SSTORE RETURNDATASIZE DUP5 0xCC JUMPI MULMOD JUMPI 0x5E AND DUP1 PUSH20 0xF1B8834543C864736F6C63430008070033000000 ",
"sourceMap": "96:891:1:-:0;;;119:1:0;94:26;;96:891:1;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@addPerson_58": {
"entryPoint": 1002,
"id": 58,
"parameterSlots": 2,
"returnSlots": 0
},
"@createSimpleStorageContract_86": {
"entryPoint": 648,
"id": 86,
"parameterSlots": 0,
"returnSlots": 0
},
"@nameToFavoriteNumber_17": {
"entryPoint": 1146,
"id": 17,
"parameterSlots": 0,
"returnSlots": 0
},
"@peoples_13": {
"entryPoint": 795,
"id": 13,
"parameterSlots": 0,
"returnSlots": 0
},
"@sfStore_112": {
"entryPoint": 469,
"id": 112,
"parameterSlots": 2,
"returnSlots": 0
},
"@sfViewFavNumber_131": {
"entryPoint": 1255,
"id": 131,
"parameterSlots": 1,
"returnSlots": 1
},
"@simpleStorages_68": {
"entryPoint": 1192,
"id": 68,
"parameterSlots": 0,
"returnSlots": 0
},
"@store_27": {
"entryPoint": 983,
"id": 27,
"parameterSlots": 1,
"returnSlots": 0
},
"@viewFavNumber_35": {
"entryPoint": 993,
"id": 35,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 1628,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 1694,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 1740,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256_fromMemory": {
"entryPoint": 1761,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 1782,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptrt_uint256": {
"entryPoint": 1855,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 1947,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256_fromMemory": {
"entryPoint": 1992,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256t_uint256": {
"entryPoint": 2037,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_encode_t_contract$_SimpleStorage_$59_to_t_address_fromStack": {
"entryPoint": 2101,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2116,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 2173,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 2222,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 2237,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_contract$_SimpleStorage_$59__to_t_address__fromStack_reversed": {
"entryPoint": 2260,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed": {
"entryPoint": 2287,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 2335,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 2362,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 2389,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 2399,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 2448,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 2459,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 2476,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 2487,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 2519,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_contract$_SimpleStorage_$59_to_t_address": {
"entryPoint": 2529,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_uint160_to_t_address": {
"entryPoint": 2547,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_uint160_to_t_uint160": {
"entryPoint": 2565,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 2583,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory": {
"entryPoint": 2598,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 2649,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 2699,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 2748,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 2795,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 2842,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 2889,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 2894,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 2899,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 2904,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 2909,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 2926,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:9637:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "91:328: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:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "282:77:2"
},
"nodeType": "YulFunctionCall",
"src": "282:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "282:79: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:112:2"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "396:3:2"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "401:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "406:6:2"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "372:23:2"
},
"nodeType": "YulFunctionCall",
"src": "372:41:2"
},
"nodeType": "YulExpressionStatement",
"src": "372: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:412:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "501:278:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "550:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "552:77:2"
},
"nodeType": "YulFunctionCall",
"src": "552:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "552:79:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "529:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "537:4:2",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "525:3:2"
},
"nodeType": "YulFunctionCall",
"src": "525:17:2"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "544:3:2"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "521:3:2"
},
"nodeType": "YulFunctionCall",
"src": "521:27:2"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "514:6:2"
},
"nodeType": "YulFunctionCall",
"src": "514:35:2"
},
"nodeType": "YulIf",
"src": "511:122:2"
},
{
"nodeType": "YulVariableDeclaration",
"src": "642:34:2",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "669:6:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "656:12:2"
},
"nodeType": "YulFunctionCall",
"src": "656:20:2"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "646:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "685:88:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "746:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "754:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "742:3:2"
},
"nodeType": "YulFunctionCall",
"src": "742:17:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "761:6:2"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "769:3:2"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "694:47:2"
},
"nodeType": "YulFunctionCall",
"src": "694:79:2"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "685:5:2"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "479:6:2",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "487:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "495:5:2",
"type": ""
}
],
"src": "439:340:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "837:87:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "847:29:2",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "869:6:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "856:12:2"
},
"nodeType": "YulFunctionCall",
"src": "856:20:2"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "847:5:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "912:5:2"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "885:26:2"
},
"nodeType": "YulFunctionCall",
"src": "885:33:2"
},
"nodeType": "YulExpressionStatement",
"src": "885:33:2"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "815:6:2",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "823:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "831:5:2",
"type": ""
}
],
"src": "785:139:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "993:80:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1003:22:2",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1018:6:2"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1012:5:2"
},
"nodeType": "YulFunctionCall",
"src": "1012:13:2"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1003:5:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1061:5:2"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "1034:26:2"
},
"nodeType": "YulFunctionCall",
"src": "1034:33:2"
},
"nodeType": "YulExpressionStatement",
"src": "1034:33:2"
}
]
},
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "971:6:2",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "979:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "987:5:2",
"type": ""
}
],
"src": "930:143:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1155:433:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1201:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1203:77:2"
},
"nodeType": "YulFunctionCall",
"src": "1203:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "1203:79:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1176:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1185:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1172:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1172:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1197:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1168:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1168:32:2"
},
"nodeType": "YulIf",
"src": "1165:119:2"
},
{
"nodeType": "YulBlock",
"src": "1294:287:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1309:45:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1340:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1351:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1336:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1336:17:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1323:12:2"
},
"nodeType": "YulFunctionCall",
"src": "1323:31:2"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1313:6:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1401:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1403:77:2"
},
"nodeType": "YulFunctionCall",
"src": "1403:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "1403:79:2"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1373:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1381:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1370:2:2"
},
"nodeType": "YulFunctionCall",
"src": "1370:30:2"
},
"nodeType": "YulIf",
"src": "1367:117:2"
},
{
"nodeType": "YulAssignment",
"src": "1498:73:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1543:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1554:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1539:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1539:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1563:7:2"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1508:30:2"
},
"nodeType": "YulFunctionCall",
"src": "1508:63:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1498:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1125:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1136:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1148:6:2",
"type": ""
}
],
"src": "1079:509:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1687:561:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1733:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1735:77:2"
},
"nodeType": "YulFunctionCall",
"src": "1735:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "1735:79:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1708:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1717:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1704:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1704:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1729:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1700:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1700:32:2"
},
"nodeType": "YulIf",
"src": "1697:119:2"
},
{
"nodeType": "YulBlock",
"src": "1826:287:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1841:45:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1872:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1883:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1868:3:2"
},
"nodeType": "YulFunctionCall",
"src": "1868:17:2"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1855:12:2"
},
"nodeType": "YulFunctionCall",
"src": "1855:31:2"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1845:6:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1933:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1935:77:2"
},
"nodeType": "YulFunctionCall",
"src": "1935:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "1935:79:2"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1905:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1913:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1902:2:2"
},
"nodeType": "YulFunctionCall",
"src": "1902:30:2"
},
"nodeType": "YulIf",
"src": "1899:117:2"
},
{
"nodeType": "YulAssignment",
"src": "2030:73:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2075:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2086:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2071:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2071:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2095:7:2"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2040:30:2"
},
"nodeType": "YulFunctionCall",
"src": "2040:63:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2030:6:2"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2123:118:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2138:16:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2152:2:2",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2142:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2168:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2203:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2214:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2199:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2199:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2223:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2178:20:2"
},
"nodeType": "YulFunctionCall",
"src": "2178:53:2"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2168:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptrt_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1649:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1660:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1672:6:2",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1680:6:2",
"type": ""
}
],
"src": "1594:654:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2320:263:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2366:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2368:77:2"
},
"nodeType": "YulFunctionCall",
"src": "2368:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "2368:79:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2341:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2350:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2337:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2337:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2362:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2333:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2333:32:2"
},
"nodeType": "YulIf",
"src": "2330:119:2"
},
{
"nodeType": "YulBlock",
"src": "2459:117:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2474:15:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2488:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2478:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2503:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2538:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2549:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2534:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2534:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2558:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2513:20:2"
},
"nodeType": "YulFunctionCall",
"src": "2513:53:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2503:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2290:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2301:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2313:6:2",
"type": ""
}
],
"src": "2254:329:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2666:274:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2712:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2714:77:2"
},
"nodeType": "YulFunctionCall",
"src": "2714:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "2714:79:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2687:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2696:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2683:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2683:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2708:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2679:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2679:32:2"
},
"nodeType": "YulIf",
"src": "2676:119:2"
},
{
"nodeType": "YulBlock",
"src": "2805:128:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2820:15:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2834:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2824:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2849:74:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2895:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2906:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2891:3:2"
},
"nodeType": "YulFunctionCall",
"src": "2891:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2915:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulIdentifier",
"src": "2859:31:2"
},
"nodeType": "YulFunctionCall",
"src": "2859:64:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2849:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2636:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2647:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2659:6:2",
"type": ""
}
],
"src": "2589:351:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3029:391:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3075:83:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "3077:77:2"
},
"nodeType": "YulFunctionCall",
"src": "3077:79:2"
},
"nodeType": "YulExpressionStatement",
"src": "3077:79:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3050:7:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3059:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3046:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3046:23:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3071:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3042:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3042:32:2"
},
"nodeType": "YulIf",
"src": "3039:119:2"
},
{
"nodeType": "YulBlock",
"src": "3168:117:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3183:15:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3197:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3187:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3212:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3247:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3258:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3243:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3243:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3267:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "3222:20:2"
},
"nodeType": "YulFunctionCall",
"src": "3222:53:2"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3212:6:2"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "3295:118:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3310:16:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3324:2:2",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3314:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3340:63:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3375:9:2"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3386:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3371:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3371:22:2"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3395:7:2"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "3350:20:2"
},
"nodeType": "YulFunctionCall",
"src": "3350:53:2"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "3340:6:2"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2991:9:2",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3002:7:2",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3014:6:2",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3022:6:2",
"type": ""
}
],
"src": "2946:474:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3511:86:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3528:3:2"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3584:5:2"
}
],
"functionName": {
"name": "convert_t_contract$_SimpleStorage_$59_to_t_address",
"nodeType": "YulIdentifier",
"src": "3533:50:2"
},
"nodeType": "YulFunctionCall",
"src": "3533:57:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3521:6:2"
},
"nodeType": "YulFunctionCall",
"src": "3521:70:2"
},
"nodeType": "YulExpressionStatement",
"src": "3521:70:2"
}
]
},
"name": "abi_encode_t_contract$_SimpleStorage_$59_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3499:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3506:3:2",
"type": ""
}
],
"src": "3426:171:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3695:272:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3705:53:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3752:5:2"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "3719:32:2"
},
"nodeType": "YulFunctionCall",
"src": "3719:39:2"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3709:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3767:78:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3833:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3838:6:2"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3774:58:2"
},
"nodeType": "YulFunctionCall",
"src": "3774:71:2"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3767:3:2"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3880:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3887:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3876:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3876:16:2"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3894:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3899:6:2"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "3854:21:2"
},
"nodeType": "YulFunctionCall",
"src": "3854:52:2"
},
"nodeType": "YulExpressionStatement",
"src": "3854:52:2"
},
{
"nodeType": "YulAssignment",
"src": "3915:46:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3926:3:2"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3953:6:2"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3931:21:2"
},
"nodeType": "YulFunctionCall",
"src": "3931:29:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3922:3:2"
},
"nodeType": "YulFunctionCall",
"src": "3922:39:2"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3915:3:2"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3676:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3683:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3691:3:2",
"type": ""
}
],
"src": "3603:364:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4083:267:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4093:53:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4140:5:2"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "4107:32:2"
},
"nodeType": "YulFunctionCall",
"src": "4107:39:2"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4097:6:2",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4155:96:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4239:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4244:6:2"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "4162:76:2"
},
"nodeType": "YulFunctionCall",
"src": "4162:89:2"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4155:3:2"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4286:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4293:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4282:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4282:16:2"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4300:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4305:6:2"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "4260:21:2"
},
"nodeType": "YulFunctionCall",
"src": "4260:52:2"
},
"nodeType": "YulExpressionStatement",
"src": "4260:52:2"
},
{
"nodeType": "YulAssignment",
"src": "4321:23:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4332:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4337:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4328:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4328:16:2"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4321: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": "4064:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4071:3:2",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4079:3:2",
"type": ""
}
],
"src": "3973:377:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4421:53:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4438:3:2"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4461:5:2"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "4443:17:2"
},
"nodeType": "YulFunctionCall",
"src": "4443:24:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4431:6:2"
},
"nodeType": "YulFunctionCall",
"src": "4431:37:2"
},
"nodeType": "YulExpressionStatement",
"src": "4431:37:2"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4409:5:2",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4416:3:2",
"type": ""
}
],
"src": "4356:118:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4616:139:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4627:102:2",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4716:6:2"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4725:3:2"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "4634:81:2"
},
"nodeType": "YulFunctionCall",
"src": "4634:95:2"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4627:3:2"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4739:10:2",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4746:3:2"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4739: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": "4595:3:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4601:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4612:3:2",
"type": ""
}
],
"src": "4480:275:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4879:144:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4889:26:2",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4901:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4912:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4897:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4897:18:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4889:4:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4989:6:2"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5002:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5013:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4998:3:2"
},
"nodeType": "YulFunctionCall",
"src": "4998:17:2"
}
],
"functionName": {
"name": "abi_encode_t_contract$_SimpleStorage_$59_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "4925:63:2"
},
"nodeType": "YulFunctionCall",
"src": "4925:91:2"
},
"nodeType": "YulExpressionStatement",
"src": "4925:91:2"
}
]
},
"name": "abi_encode_tuple_t_contract$_SimpleStorage_$59__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4851:9:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4863:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4874:4:2",
"type": ""
}
],
"src": "4761:262:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5175:277:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5185:26:2",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5197:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5208:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5193:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5193:18:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5185:4:2"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5232:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5243:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5228:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5228:17:2"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5251:4:2"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5257:9:2"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5247:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5247:20:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5221:6:2"
},
"nodeType": "YulFunctionCall",
"src": "5221:47:2"
},
"nodeType": "YulExpressionStatement",
"src": "5221:47:2"
},
{
"nodeType": "YulAssignment",
"src": "5277:86:2",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5349:6:2"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5358:4:2"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5285:63:2"
},
"nodeType": "YulFunctionCall",
"src": "5285:78:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5277:4:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "5417:6:2"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5430:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5441:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5426:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5426:18:2"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "5373:43:2"
},
"nodeType": "YulFunctionCall",
"src": "5373:72:2"
},
"nodeType": "YulExpressionStatement",
"src": "5373:72:2"
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5139:9:2",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "5151:6:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5159:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5170:4:2",
"type": ""
}
],
"src": "5029:423:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5556:124:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5566:26:2",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5578:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5589:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5574:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5574:18:2"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5566:4:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5646:6:2"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5659:9:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5670:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5655:3:2"
},
"nodeType": "YulFunctionCall",
"src": "5655:17:2"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "5602:43:2"
},
"nodeType": "YulFunctionCall",
"src": "5602:71:2"
},
"nodeType": "YulExpressionStatement",
"src": "5602:71:2"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5528:9:2",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5540:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5551:4:2",
"type": ""
}
],
"src": "5458:222:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5727:88:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5737:30:2",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "5747:18:2"
},
"nodeType": "YulFunctionCall",
"src": "5747:20:2"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5737:6:2"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5796:6:2"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "5804:4:2"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "5776:19:2"
},
"nodeType": "YulFunctionCall",
"src": "5776:33:2"
},
"nodeType": "YulExpressionStatement",
"src": "5776:33:2"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5711:4:2",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5720:6:2",
"type": ""
}
],
"src": "5686:129:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5861:35:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5871:19:2",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5887:2:2",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5881:5:2"
},
"nodeType": "YulFunctionCall",
"src": "5881:9:2"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5871:6:2"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5854:6:2",
"type": ""
}
],
"src": "5821:75:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5969:241:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6074:22:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "6076:16:2"
},
"nodeType": "YulFunctionCall",
"src": "6076:18:2"
},
"nodeType": "YulExpressionStatement",
"src": "6076:18:2"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6046:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6054:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6043:2:2"
},
"nodeType": "YulFunctionCall",
"src": "6043:30:2"
},
"nodeType": "YulIf",
"src": "6040:56:2"
},
{
"nodeType": "YulAssignment",
"src": "6106:37:2",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6136:6:2"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "6114:21:2"
},
"nodeType": "YulFunctionCall",
"src": "6114:29:2"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6106:4:2"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6180:23:2",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6192:4:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6198:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6188:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6188:15:2"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6180:4:2"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5953:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "5964:4:2",
"type": ""
}
],
"src": "5902:308:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6275:40:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6286:22:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6302:5:2"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "6296:5:2"
},
"nodeType": "YulFunctionCall",
"src": "6296:12:2"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6286:6:2"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6258:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6268:6:2",
"type": ""
}
],
"src": "6216:99:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6417:73:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6434:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6439:6:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6427:6:2"
},
"nodeType": "YulFunctionCall",
"src": "6427:19:2"
},
"nodeType": "YulExpressionStatement",
"src": "6427:19:2"
},
{
"nodeType": "YulAssignment",
"src": "6455:29:2",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6474:3:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6479:4:2",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6470:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6470:14:2"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "6455:11:2"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "6389:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6394:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "6405:11:2",
"type": ""
}
],
"src": "6321:169:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6610:34:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6620:18:2",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6635:3:2"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "6620:11:2"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "6582:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6587:6:2",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "6598:11:2",
"type": ""
}
],
"src": "6496:148:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6695:81:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6705:65:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6720:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6727:42:2",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6716:3:2"
},
"nodeType": "YulFunctionCall",
"src": "6716:54:2"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "6705:7:2"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6677:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "6687:7:2",
"type": ""
}
],
"src": "6650:126:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6827:32:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6837:16:2",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "6848:5:2"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "6837:7:2"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6809:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "6819:7:2",
"type": ""
}
],
"src": "6782:77:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6945:66:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6955:50:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6999:5:2"
}
],
"functionName": {
"name": "convert_t_uint160_to_t_address",
"nodeType": "YulIdentifier",
"src": "6968:30:2"
},
"nodeType": "YulFunctionCall",
"src": "6968:37:2"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "6955:9:2"
}
]
}
]
},
"name": "convert_t_contract$_SimpleStorage_$59_to_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6925:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "6935:9:2",
"type": ""
}
],
"src": "6865:146:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7077:66:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7087:50:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7131:5:2"
}
],
"functionName": {
"name": "convert_t_uint160_to_t_uint160",
"nodeType": "YulIdentifier",
"src": "7100:30:2"
},
"nodeType": "YulFunctionCall",
"src": "7100:37:2"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "7087:9:2"
}
]
}
]
},
"name": "convert_t_uint160_to_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7057:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "7067:9:2",
"type": ""
}
],
"src": "7017:126:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7209:53:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7219:37:2",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7250:5:2"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "7232:17:2"
},
"nodeType": "YulFunctionCall",
"src": "7232:24:2"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "7219:9:2"
}
]
}
]
},
"name": "convert_t_uint160_to_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7189:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "7199:9:2",
"type": ""
}
],
"src": "7149:113:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7319:103:2",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "7342:3:2"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "7347:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7352:6:2"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "7329:12:2"
},
"nodeType": "YulFunctionCall",
"src": "7329:30:2"
},
"nodeType": "YulExpressionStatement",
"src": "7329:30:2"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "7400:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7405:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7396:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7396:16:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7414:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7389:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7389:27:2"
},
"nodeType": "YulExpressionStatement",
"src": "7389:27:2"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "7301:3:2",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "7306:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "7311:6:2",
"type": ""
}
],
"src": "7268:154:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7477:258:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7487:10:2",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "7496:1:2",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "7491:1:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7556:63:2",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "7581:3:2"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "7586:1:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7577:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7577:11:2"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "7600:3:2"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "7605:1:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7596:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7596:11:2"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "7590:5:2"
},
"nodeType": "YulFunctionCall",
"src": "7590:18:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7570:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7570:39:2"
},
"nodeType": "YulExpressionStatement",
"src": "7570:39:2"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "7517:1:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7520:6:2"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7514:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7514:13:2"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "7528:19:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7530:15:2",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "7539:1:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7542:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7535:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7535:10:2"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "7530:1:2"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "7510:3:2",
"statements": []
},
"src": "7506:113:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7653:76:2",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "7703:3:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7708:6:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7699:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7699:16:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7717:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7692:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7692:27:2"
},
"nodeType": "YulExpressionStatement",
"src": "7692:27:2"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "7634:1:2"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7637:6:2"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7631:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7631:13:2"
},
"nodeType": "YulIf",
"src": "7628:101:2"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "7459:3:2",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "7464:3:2",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "7469:6:2",
"type": ""
}
],
"src": "7428:307:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7792:269:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7802:22:2",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "7816:4:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7822:1:2",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "7812:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7812:12:2"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7802:6:2"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "7833:38:2",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "7863:4:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7869:1:2",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7859:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7859:12:2"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "7837:18:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7910:51:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7924:27:2",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7938:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7946:4:2",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7934:3:2"
},
"nodeType": "YulFunctionCall",
"src": "7934:17:2"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7924:6:2"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "7890:18:2"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7883:6:2"
},
"nodeType": "YulFunctionCall",
"src": "7883:26:2"
},
"nodeType": "YulIf",
"src": "7880:81:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8013:42:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "8027:16:2"
},
"nodeType": "YulFunctionCall",
"src": "8027:18:2"
},
"nodeType": "YulExpressionStatement",
"src": "8027:18:2"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "7977:18:2"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8000:6:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8008:2:2",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7997:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7997:14:2"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "7974:2:2"
},
"nodeType": "YulFunctionCall",
"src": "7974:38:2"
},
"nodeType": "YulIf",
"src": "7971:84:2"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "7776:4:2",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "7785:6:2",
"type": ""
}
],
"src": "7741:320:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8110:238:2",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8120:58:2",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "8142:6:2"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "8172:4:2"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "8150:21:2"
},
"nodeType": "YulFunctionCall",
"src": "8150:27:2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8138:3:2"
},
"nodeType": "YulFunctionCall",
"src": "8138:40:2"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "8124:10:2",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8289:22:2",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "8291:16:2"
},
"nodeType": "YulFunctionCall",
"src": "8291:18:2"
},
"nodeType": "YulExpressionStatement",
"src": "8291:18:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "8232:10:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8244:18:2",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "8229:2:2"
},
"nodeType": "YulFunctionCall",
"src": "8229:34:2"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "8268:10:2"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "8280:6:2"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "8265:2:2"
},
"nodeType": "YulFunctionCall",
"src": "8265:22:2"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "8226:2:2"
},
"nodeType": "YulFunctionCall",
"src": "8226:62:2"
},
"nodeType": "YulIf",
"src": "8223:88:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8327:2:2",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "8331:10:2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8320:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8320:22:2"
},
"nodeType": "YulExpressionStatement",
"src": "8320:22:2"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "8096:6:2",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "8104:4:2",
"type": ""
}
],
"src": "8067:281:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8382:152:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8399:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8402:77:2",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8392:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8392:88:2"
},
"nodeType": "YulExpressionStatement",
"src": "8392:88:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8496:1:2",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8499:4:2",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8489:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8489:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "8489:15:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8520:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8523:4:2",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8513:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8513:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "8513:15:2"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "8354:180:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8568:152:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8585:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8588:77:2",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8578:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8578:88:2"
},
"nodeType": "YulExpressionStatement",
"src": "8578:88:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8682:1:2",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8685:4:2",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8675:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8675:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "8675:15:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8706:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8709:4:2",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8699:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8699:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "8699:15:2"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "8540:180:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8754:152:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8771:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8774:77:2",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8764:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8764:88:2"
},
"nodeType": "YulExpressionStatement",
"src": "8764:88:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8868:1:2",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8871:4:2",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8861:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8861:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "8861:15:2"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8892:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8895:4:2",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8885:6:2"
},
"nodeType": "YulFunctionCall",
"src": "8885:15:2"
},
"nodeType": "YulExpressionStatement",
"src": "8885:15:2"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "8726:180:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9001:28:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9018:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9021:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "9011:6:2"
},
"nodeType": "YulFunctionCall",
"src": "9011:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "9011:12:2"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "8912:117:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9124:28:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9141:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9144:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "9134:6:2"
},
"nodeType": "YulFunctionCall",
"src": "9134:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "9134:12:2"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "9035:117:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9247:28:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9264:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9267:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "9257:6:2"
},
"nodeType": "YulFunctionCall",
"src": "9257:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "9257:12:2"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "9158:117:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9370:28:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9387:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9390:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "9380:6:2"
},
"nodeType": "YulFunctionCall",
"src": "9380:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "9380:12:2"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "9281:117:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9452:54:2",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9462:38:2",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9480:5:2"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9487:2:2",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9476:3:2"
},
"nodeType": "YulFunctionCall",
"src": "9476:14:2"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9496:2:2",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "9492:3:2"
},
"nodeType": "YulFunctionCall",
"src": "9492:7:2"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "9472:3:2"
},
"nodeType": "YulFunctionCall",
"src": "9472:28:2"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "9462:6:2"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9435:5:2",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "9445:6:2",
"type": ""
}
],
"src": "9404:102:2"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9555:79:2",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "9612:16:2",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9621:1:2",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9624:1:2",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "9614:6:2"
},
"nodeType": "YulFunctionCall",
"src": "9614:12:2"
},
"nodeType": "YulExpressionStatement",
"src": "9614:12:2"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9578:5:2"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9603:5:2"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "9585:17:2"
},
"nodeType": "YulFunctionCall",
"src": "9585:24:2"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "9575:2:2"
},
"nodeType": "YulFunctionCall",
"src": "9575:35:2"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "9568:6:2"
},
"nodeType": "YulFunctionCall",
"src": "9568:43:2"
},
"nodeType": "YulIf",
"src": "9565:63:2"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9548:5:2",
"type": ""
}
],
"src": "9512: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_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_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_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256_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_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_contract$_SimpleStorage_$59_to_t_address_fromStack(value, pos) {\n mstore(pos, convert_t_contract$_SimpleStorage_$59_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_$59__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_contract$_SimpleStorage_$59_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_string_memory_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function 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_$59_to_t_address(value) -> converted {\n converted := convert_t_uint160_to_t_address(value)\n }\n\n function convert_t_uint160_to_t_address(value) -> converted {\n converted := convert_t_uint160_to_t_uint160(value)\n }\n\n function convert_t_uint160_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_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 2,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c80636c97d9fa116100665780636c97d9fa1461010b5780636f760f41146101295780638bab8dd514610145578063e427ea1314610175578063ebb27074146101a557610093565b80631563700f146100985780631dda6541146100b45780631f1094e7146100be5780636057361d146100ef575b600080fd5b6100b260048036038101906100ad91906107f5565b6101d5565b005b6100bc610288565b005b6100d860048036038101906100d3919061079b565b61031b565b6040516100e69291906108ef565b60405180910390f35b6101096004803603810190610104919061079b565b6103d7565b005b6101136103e1565b604051610120919061091f565b60405180910390f35b610143600480360381019061013e919061073f565b6103ea565b005b61015f600480360381019061015a91906106f6565b61047a565b60405161016c919061091f565b60405180910390f35b61018f600480360381019061018a919061079b565b6104a8565b60405161019c91906108d4565b60405180910390f35b6101bf60048036038101906101ba919061079b565b6104e7565b6040516101cc919061091f565b60405180910390f35b6000600383815481106101eb576101ea610aeb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16636057361d836040518263ffffffff1660e01b8152600401610251919061091f565b600060405180830381600087803b15801561026b57600080fd5b505af115801561027f573d6000803e3d6000fd5b50505050505050565b6000604051610296906105ac565b604051809103906000f0801580156102b2573d6000803e3d6000fd5b5090506003819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6001818154811061032b57600080fd5b906000526020600020906002020160009150905080600001805461034e90610a59565b80601f016020809104026020016040519081016040528092919081815260200182805461037a90610a59565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b5050505050908060010154905082565b8060008190555050565b60008054905090565b6001604051806040016040528084815260200183815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000190805190602001906104469291906105b9565b506020820151816001015550508060028360405161046491906108bd565b9081526020016040518091039020819055505050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b600381815481106104b857600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600382815481106104fd576104fc610aeb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636c97d9fa6040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a591906107c8565b9050919050565b61079580610b8683390190565b8280546105c590610a59565b90600052602060002090601f0160209004810192826105e7576000855561062e565b82601f1061060057805160ff191683800117855561062e565b8280016001018555821561062e579182015b8281111561062d578251825591602001919060010190610612565b5b50905061063b919061063f565b5090565b5b80821115610658576000816000905550600101610640565b5090565b600061066f61066a8461095f565b61093a565b90508281526020810184848401111561068b5761068a610b4e565b5b610696848285610a17565b509392505050565b600082601f8301126106b3576106b2610b49565b5b81356106c384826020860161065c565b91505092915050565b6000813590506106db81610b6e565b92915050565b6000815190506106f081610b6e565b92915050565b60006020828403121561070c5761070b610b58565b5b600082013567ffffffffffffffff81111561072a57610729610b53565b5b6107368482850161069e565b91505092915050565b6000806040838503121561075657610755610b58565b5b600083013567ffffffffffffffff81111561077457610773610b53565b5b6107808582860161069e565b9250506020610791858286016106cc565b9150509250929050565b6000602082840312156107b1576107b0610b58565b5b60006107bf848285016106cc565b91505092915050565b6000602082840312156107de576107dd610b58565b5b60006107ec848285016106e1565b91505092915050565b6000806040838503121561080c5761080b610b58565b5b600061081a858286016106cc565b925050602061082b858286016106cc565b9150509250929050565b61083e816109e1565b82525050565b600061084f82610990565b610859818561099b565b9350610869818560208601610a26565b61087281610b5d565b840191505092915050565b600061088882610990565b61089281856109ac565b93506108a2818560208601610a26565b80840191505092915050565b6108b7816109d7565b82525050565b60006108c9828461087d565b915081905092915050565b60006020820190506108e96000830184610835565b92915050565b600060408201905081810360008301526109098185610844565b905061091860208301846108ae565b9392505050565b600060208201905061093460008301846108ae565b92915050565b6000610944610955565b90506109508282610a8b565b919050565b6000604051905090565b600067ffffffffffffffff82111561097a57610979610b1a565b5b61098382610b5d565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006109ec826109f3565b9050919050565b60006109fe82610a05565b9050919050565b6000610a10826109b7565b9050919050565b82818337600083830152505050565b60005b83811015610a44578082015181840152602081019050610a29565b83811115610a53576000848401525b50505050565b60006002820490506001821680610a7157607f821691505b60208210811415610a8557610a84610abc565b5b50919050565b610a9482610b5d565b810181811067ffffffffffffffff82111715610ab357610ab2610b1a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b610b77816109d7565b8114610b8257600080fd5b5056fe60806040526000805534801561001457600080fd5b50610771806100246000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631f1094e71461005c5780636057361d1461008d5780636c97d9fa146100a95780636f760f41146100c75780638bab8dd5146100e3575b600080fd5b6100766004803603810190610071919061046d565b610113565b60405161008492919061052a565b60405180910390f35b6100a760048036038101906100a2919061046d565b6101cf565b005b6100b16101d9565b6040516100be919061055a565b60405180910390f35b6100e160048036038101906100dc9190610411565b6101e2565b005b6100fd60048036038101906100f891906103c8565b610272565b60405161010a919061055a565b60405180910390f35b6001818154811061012357600080fd5b90600052602060002090600202016000915090508060000180546101469061063e565b80601f01602080910402602001604051908101604052809291908181526020018280546101729061063e565b80156101bf5780601f10610194576101008083540402835291602001916101bf565b820191906000526020600020905b8154815290600101906020018083116101a257829003601f168201915b5050505050908060010154905082565b8060008190555050565b60008054905090565b60016040518060400160405280848152602001838152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061023e9291906102a0565b506020820151816001015550508060028360405161025c9190610513565b9081526020016040518091039020819055505050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b8280546102ac9061063e565b90600052602060002090601f0160209004810192826102ce5760008555610315565b82601f106102e757805160ff1916838001178555610315565b82800160010185558215610315579182015b828111156103145782518255916020019190600101906102f9565b5b5090506103229190610326565b5090565b5b8082111561033f576000816000905550600101610327565b5090565b60006103566103518461059a565b610575565b90508281526020810184848401111561037257610371610704565b5b61037d8482856105fc565b509392505050565b600082601f83011261039a576103996106ff565b5b81356103aa848260208601610343565b91505092915050565b6000813590506103c281610724565b92915050565b6000602082840312156103de576103dd61070e565b5b600082013567ffffffffffffffff8111156103fc576103fb610709565b5b61040884828501610385565b91505092915050565b600080604083850312156104285761042761070e565b5b600083013567ffffffffffffffff81111561044657610445610709565b5b61045285828601610385565b9250506020610463858286016103b3565b9150509250929050565b6000602082840312156104835761048261070e565b5b6000610491848285016103b3565b91505092915050565b60006104a5826105cb565b6104af81856105d6565b93506104bf81856020860161060b565b6104c881610713565b840191505092915050565b60006104de826105cb565b6104e881856105e7565b93506104f881856020860161060b565b80840191505092915050565b61050d816105f2565b82525050565b600061051f82846104d3565b915081905092915050565b60006040820190508181036000830152610544818561049a565b90506105536020830184610504565b9392505050565b600060208201905061056f6000830184610504565b92915050565b600061057f610590565b905061058b8282610670565b919050565b6000604051905090565b600067ffffffffffffffff8211156105b5576105b46106d0565b5b6105be82610713565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000819050919050565b82818337600083830152505050565b60005b8381101561062957808201518184015260208101905061060e565b83811115610638576000848401525b50505050565b6000600282049050600182168061065657607f821691505b6020821081141561066a576106696106a1565b5b50919050565b61067982610713565b810181811067ffffffffffffffff82111715610698576106976106d0565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61072d816105f2565b811461073857600080fd5b5056fea264697066735822122028f75ff74a14f5000b34fe4fbb2e1085bac7c3698b49ab6888319c3988ce396764736f6c63430008070033a26469706673582212209e318eed361e55b2c724308bde0120553d84cc5709575e168073f1b8834543c864736f6c63430008070033",
"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 0x6C97D9FA GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x6C97D9FA EQ PUSH2 0x10B JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0x129 JUMPI DUP1 PUSH4 0x8BAB8DD5 EQ PUSH2 0x145 JUMPI DUP1 PUSH4 0xE427EA13 EQ PUSH2 0x175 JUMPI DUP1 PUSH4 0xEBB27074 EQ PUSH2 0x1A5 JUMPI PUSH2 0x93 JUMP JUMPDEST DUP1 PUSH4 0x1563700F EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x1DDA6541 EQ PUSH2 0xB4 JUMPI DUP1 PUSH4 0x1F1094E7 EQ PUSH2 0xBE JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0xEF JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x7F5 JUMP JUMPDEST PUSH2 0x1D5 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xBC PUSH2 0x288 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x79B JUMP JUMPDEST PUSH2 0x31B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xE6 SWAP3 SWAP2 SWAP1 PUSH2 0x8EF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x109 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x104 SWAP2 SWAP1 PUSH2 0x79B JUMP JUMPDEST PUSH2 0x3D7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x113 PUSH2 0x3E1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x120 SWAP2 SWAP1 PUSH2 0x91F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x143 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x13E SWAP2 SWAP1 PUSH2 0x73F JUMP JUMPDEST PUSH2 0x3EA JUMP JUMPDEST STOP JUMPDEST PUSH2 0x15F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x15A SWAP2 SWAP1 PUSH2 0x6F6 JUMP JUMPDEST PUSH2 0x47A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x16C SWAP2 SWAP1 PUSH2 0x91F 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 0x79B JUMP JUMPDEST PUSH2 0x4A8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x19C SWAP2 SWAP1 PUSH2 0x8D4 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 0x79B JUMP JUMPDEST PUSH2 0x4E7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CC SWAP2 SWAP1 PUSH2 0x91F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 PUSH1 0x3 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x1EB JUMPI PUSH2 0x1EA PUSH2 0xAEB JUMP JUMPDEST 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 DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x6057361D DUP4 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x251 SWAP2 SWAP1 PUSH2 0x91F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x26B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x27F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH2 0x296 SWAP1 PUSH2 0x5AC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 PUSH1 0x0 CREATE DUP1 ISZERO DUP1 ISZERO PUSH2 0x2B2 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 PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x32B 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 DUP1 SLOAD PUSH2 0x34E SWAP1 PUSH2 0xA59 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 0x37A SWAP1 PUSH2 0xA59 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3C7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x39C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3C7 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 0x3AA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 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 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x446 SWAP3 SWAP2 SWAP1 PUSH2 0x5B9 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x464 SWAP2 SWAP1 PUSH2 0x8BD 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 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 0x3 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x4B8 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 0x0 PUSH1 0x3 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x4FD JUMPI PUSH2 0x4FC PUSH2 0xAEB JUMP JUMPDEST 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 0x6C97D9FA 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 0x56D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x581 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 0x5A5 SWAP2 SWAP1 PUSH2 0x7C8 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x795 DUP1 PUSH2 0xB86 DUP4 CODECOPY ADD SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x5C5 SWAP1 PUSH2 0xA59 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x5E7 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x62E JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x600 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x62E JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x62E JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x62D JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x612 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x63B SWAP2 SWAP1 PUSH2 0x63F JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x658 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0x640 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66F PUSH2 0x66A DUP5 PUSH2 0x95F JUMP JUMPDEST PUSH2 0x93A JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x68B JUMPI PUSH2 0x68A PUSH2 0xB4E JUMP JUMPDEST JUMPDEST PUSH2 0x696 DUP5 DUP3 DUP6 PUSH2 0xA17 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6B3 JUMPI PUSH2 0x6B2 PUSH2 0xB49 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x6C3 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x65C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x6DB DUP2 PUSH2 0xB6E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x6F0 DUP2 PUSH2 0xB6E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x70C JUMPI PUSH2 0x70B PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x72A JUMPI PUSH2 0x729 PUSH2 0xB53 JUMP JUMPDEST JUMPDEST PUSH2 0x736 DUP5 DUP3 DUP6 ADD PUSH2 0x69E JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x756 JUMPI PUSH2 0x755 PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x774 JUMPI PUSH2 0x773 PUSH2 0xB53 JUMP JUMPDEST JUMPDEST PUSH2 0x780 DUP6 DUP3 DUP7 ADD PUSH2 0x69E JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x791 DUP6 DUP3 DUP7 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7B1 JUMPI PUSH2 0x7B0 PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x7BF DUP5 DUP3 DUP6 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7DE JUMPI PUSH2 0x7DD PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x7EC DUP5 DUP3 DUP6 ADD PUSH2 0x6E1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x80C JUMPI PUSH2 0x80B PUSH2 0xB58 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x81A DUP6 DUP3 DUP7 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x82B DUP6 DUP3 DUP7 ADD PUSH2 0x6CC JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x83E DUP2 PUSH2 0x9E1 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x84F DUP3 PUSH2 0x990 JUMP JUMPDEST PUSH2 0x859 DUP2 DUP6 PUSH2 0x99B JUMP JUMPDEST SWAP4 POP PUSH2 0x869 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA26 JUMP JUMPDEST PUSH2 0x872 DUP2 PUSH2 0xB5D JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x888 DUP3 PUSH2 0x990 JUMP JUMPDEST PUSH2 0x892 DUP2 DUP6 PUSH2 0x9AC JUMP JUMPDEST SWAP4 POP PUSH2 0x8A2 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xA26 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x8B7 DUP2 PUSH2 0x9D7 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C9 DUP3 DUP5 PUSH2 0x87D JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x8E9 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x835 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x909 DUP2 DUP6 PUSH2 0x844 JUMP JUMPDEST SWAP1 POP PUSH2 0x918 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x8AE JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x934 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x8AE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x944 PUSH2 0x955 JUMP JUMPDEST SWAP1 POP PUSH2 0x950 DUP3 DUP3 PUSH2 0xA8B 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 0x97A JUMPI PUSH2 0x979 PUSH2 0xB1A JUMP JUMPDEST JUMPDEST PUSH2 0x983 DUP3 PUSH2 0xB5D 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 0x9EC DUP3 PUSH2 0x9F3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9FE DUP3 PUSH2 0xA05 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA10 DUP3 PUSH2 0x9B7 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 0xA44 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xA29 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xA53 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 0xA71 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0xA85 JUMPI PUSH2 0xA84 PUSH2 0xABC JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xA94 DUP3 PUSH2 0xB5D JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0xAB3 JUMPI PUSH2 0xAB2 PUSH2 0xB1A 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 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xB77 DUP2 PUSH2 0x9D7 JUMP JUMPDEST DUP2 EQ PUSH2 0xB82 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x14 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x771 DUP1 PUSH2 0x24 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 0x1F1094E7 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x6C97D9FA EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x6F760F41 EQ PUSH2 0xC7 JUMPI DUP1 PUSH4 0x8BAB8DD5 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 0x46D JUMP JUMPDEST PUSH2 0x113 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x84 SWAP3 SWAP2 SWAP1 PUSH2 0x52A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xA7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0x46D JUMP JUMPDEST PUSH2 0x1CF JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB1 PUSH2 0x1D9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBE SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE1 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDC SWAP2 SWAP1 PUSH2 0x411 JUMP JUMPDEST PUSH2 0x1E2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xFD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF8 SWAP2 SWAP1 PUSH2 0x3C8 JUMP JUMPDEST PUSH2 0x272 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10A SWAP2 SWAP1 PUSH2 0x55A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x123 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 DUP1 SLOAD PUSH2 0x146 SWAP1 PUSH2 0x63E 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 0x172 SWAP1 PUSH2 0x63E JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1BF JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x194 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x1BF 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 0x1A2 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 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 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH2 0x23E SWAP3 SWAP2 SWAP1 PUSH2 0x2A0 JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 PUSH1 0x2 DUP4 PUSH1 0x40 MLOAD PUSH2 0x25C SWAP2 SWAP1 PUSH2 0x513 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 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 0x63E 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 0x59A JUMP JUMPDEST PUSH2 0x575 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x372 JUMPI PUSH2 0x371 PUSH2 0x704 JUMP JUMPDEST JUMPDEST PUSH2 0x37D DUP5 DUP3 DUP6 PUSH2 0x5FC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x39A JUMPI PUSH2 0x399 PUSH2 0x6FF JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x3AA 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 0x3C2 DUP2 PUSH2 0x724 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3DE JUMPI PUSH2 0x3DD PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x3FC JUMPI PUSH2 0x3FB PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x408 DUP5 DUP3 DUP6 ADD PUSH2 0x385 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x428 JUMPI PUSH2 0x427 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x446 JUMPI PUSH2 0x445 PUSH2 0x709 JUMP JUMPDEST JUMPDEST PUSH2 0x452 DUP6 DUP3 DUP7 ADD PUSH2 0x385 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x463 DUP6 DUP3 DUP7 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x483 JUMPI PUSH2 0x482 PUSH2 0x70E JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x491 DUP5 DUP3 DUP6 ADD PUSH2 0x3B3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4A5 DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4AF DUP2 DUP6 PUSH2 0x5D6 JUMP JUMPDEST SWAP4 POP PUSH2 0x4BF DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST PUSH2 0x4C8 DUP2 PUSH2 0x713 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4DE DUP3 PUSH2 0x5CB JUMP JUMPDEST PUSH2 0x4E8 DUP2 DUP6 PUSH2 0x5E7 JUMP JUMPDEST SWAP4 POP PUSH2 0x4F8 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x60B JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x50D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x51F DUP3 DUP5 PUSH2 0x4D3 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x544 DUP2 DUP6 PUSH2 0x49A JUMP JUMPDEST SWAP1 POP PUSH2 0x553 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x56F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x504 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x57F PUSH2 0x590 JUMP JUMPDEST SWAP1 POP PUSH2 0x58B DUP3 DUP3 PUSH2 0x670 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 0x5B5 JUMPI PUSH2 0x5B4 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST PUSH2 0x5BE DUP3 PUSH2 0x713 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 0x629 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x60E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x638 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 0x656 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x66A JUMPI PUSH2 0x669 PUSH2 0x6A1 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x679 DUP3 PUSH2 0x713 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x698 JUMPI PUSH2 0x697 PUSH2 0x6D0 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x72D DUP2 PUSH2 0x5F2 JUMP JUMPDEST DUP2 EQ PUSH2 0x738 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x28 0xF7 0x5F 0xF7 0x4A EQ CREATE2 STOP SIGNEXTEND CALLVALUE INVALID 0x4F 0xBB 0x2E LT DUP6 0xBA 0xC7 0xC3 PUSH10 0x8B49AB6888319C3988CE CODECOPY PUSH8 0x64736F6C63430008 SMOD STOP CALLER LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP15 BALANCE DUP15 0xED CALLDATASIZE 0x1E SSTORE 0xB2 0xC7 0x24 ADDRESS DUP12 0xDE ADD KECCAK256 SSTORE RETURNDATASIZE DUP5 0xCC JUMPI MULMOD JUMPI 0x5E AND DUP1 PUSH20 0xF1B8834543C864736F6C63430008070033000000 ",
"sourceMap": "96:891:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;465:240;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;191:156;;;:::i;:::-;;215:23:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;310:91;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;411:94;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;520:168;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;244:55;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;143:37:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;802:183;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;465:240;558:27;610:14;625:19;610:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;558:89;;657:13;:19;;;677:20;657:41;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;548:157;465:240;;:::o;191:156::-;247:27;277:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;247:49;;306:14;326:13;306:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;237:110;191:156::o;215:23:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;310:91::-;382:12;365:14;:29;;;;310:91;:::o;411:94::-;458:7;484:14;;477:21;;411:94;:::o;520:168::-;596:7;609:23;;;;;;;;616:4;609:23;;;;622:9;609:23;;;596:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;672:9;643:20;664:4;643:26;;;;;;:::i;:::-;;;;;;;;;;;;;:38;;;;520:168;;:::o;244:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;143:37:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;802:183::-;877:7;925:14;940:19;925:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;903:73;;;:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;896:82;;802:183;;;:::o;-1:-1:-1:-;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:412:2:-;85:5;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:112;;;282:79;;:::i;:::-;251:112;372:41;406:6;401:3;396;372:41;:::i;:::-;91:328;7:412;;;;;:::o;439:340::-;495:5;544:3;537:4;529:6;525:17;521:27;511:122;;552:79;;:::i;:::-;511:122;669:6;656:20;694:79;769:3;761:6;754:4;746:6;742:17;694:79;:::i;:::-;685:88;;501:278;439:340;;;;:::o;785:139::-;831:5;869:6;856:20;847:29;;885:33;912:5;885:33;:::i;:::-;785:139;;;;:::o;930:143::-;987:5;1018:6;1012:13;1003:22;;1034:33;1061:5;1034:33;:::i;:::-;930:143;;;;:::o;1079:509::-;1148:6;1197:2;1185:9;1176:7;1172:23;1168:32;1165:119;;;1203:79;;:::i;:::-;1165:119;1351:1;1340:9;1336:17;1323:31;1381:18;1373:6;1370:30;1367:117;;;1403:79;;:::i;:::-;1367:117;1508:63;1563:7;1554:6;1543:9;1539:22;1508:63;:::i;:::-;1498:73;;1294:287;1079:509;;;;:::o;1594:654::-;1672:6;1680;1729:2;1717:9;1708:7;1704:23;1700:32;1697:119;;;1735:79;;:::i;:::-;1697:119;1883:1;1872:9;1868:17;1855:31;1913:18;1905:6;1902:30;1899:117;;;1935:79;;:::i;:::-;1899:117;2040:63;2095:7;2086:6;2075:9;2071:22;2040:63;:::i;:::-;2030:73;;1826:287;2152:2;2178:53;2223:7;2214:6;2203:9;2199:22;2178:53;:::i;:::-;2168:63;;2123:118;1594:654;;;;;:::o;2254:329::-;2313:6;2362:2;2350:9;2341:7;2337:23;2333:32;2330:119;;;2368:79;;:::i;:::-;2330:119;2488:1;2513:53;2558:7;2549:6;2538:9;2534:22;2513:53;:::i;:::-;2503:63;;2459:117;2254:329;;;;:::o;2589:351::-;2659:6;2708:2;2696:9;2687:7;2683:23;2679:32;2676:119;;;2714:79;;:::i;:::-;2676:119;2834:1;2859:64;2915:7;2906:6;2895:9;2891:22;2859:64;:::i;:::-;2849:74;;2805:128;2589:351;;;;:::o;2946:474::-;3014:6;3022;3071:2;3059:9;3050:7;3046:23;3042:32;3039:119;;;3077:79;;:::i;:::-;3039:119;3197:1;3222:53;3267:7;3258:6;3247:9;3243:22;3222:53;:::i;:::-;3212:63;;3168:117;3324:2;3350:53;3395:7;3386:6;3375:9;3371:22;3350:53;:::i;:::-;3340:63;;3295:118;2946:474;;;;;:::o;3426:171::-;3533:57;3584:5;3533:57;:::i;:::-;3528:3;3521:70;3426:171;;:::o;3603:364::-;3691:3;3719:39;3752:5;3719:39;:::i;:::-;3774:71;3838:6;3833:3;3774:71;:::i;:::-;3767:78;;3854:52;3899:6;3894:3;3887:4;3880:5;3876:16;3854:52;:::i;:::-;3931:29;3953:6;3931:29;:::i;:::-;3926:3;3922:39;3915:46;;3695:272;3603:364;;;;:::o;3973:377::-;4079:3;4107:39;4140:5;4107:39;:::i;:::-;4162:89;4244:6;4239:3;4162:89;:::i;:::-;4155:96;;4260:52;4305:6;4300:3;4293:4;4286:5;4282:16;4260:52;:::i;:::-;4337:6;4332:3;4328:16;4321:23;;4083:267;3973:377;;;;:::o;4356:118::-;4443:24;4461:5;4443:24;:::i;:::-;4438:3;4431:37;4356:118;;:::o;4480:275::-;4612:3;4634:95;4725:3;4716:6;4634:95;:::i;:::-;4627:102;;4746:3;4739:10;;4480:275;;;;:::o;4761:262::-;4874:4;4912:2;4901:9;4897:18;4889:26;;4925:91;5013:1;5002:9;4998:17;4989:6;4925:91;:::i;:::-;4761:262;;;;:::o;5029:423::-;5170:4;5208:2;5197:9;5193:18;5185:26;;5257:9;5251:4;5247:20;5243:1;5232:9;5228:17;5221:47;5285:78;5358:4;5349:6;5285:78;:::i;:::-;5277:86;;5373:72;5441:2;5430:9;5426:18;5417:6;5373:72;:::i;:::-;5029:423;;;;;:::o;5458:222::-;5551:4;5589:2;5578:9;5574:18;5566:26;;5602:71;5670:1;5659:9;5655:17;5646:6;5602:71;:::i;:::-;5458:222;;;;:::o;5686:129::-;5720:6;5747:20;;:::i;:::-;5737:30;;5776:33;5804:4;5796:6;5776:33;:::i;:::-;5686:129;;;:::o;5821:75::-;5854:6;5887:2;5881:9;5871:19;;5821:75;:::o;5902:308::-;5964:4;6054:18;6046:6;6043:30;6040:56;;;6076:18;;:::i;:::-;6040:56;6114:29;6136:6;6114:29;:::i;:::-;6106:37;;6198:4;6192;6188:15;6180:23;;5902:308;;;:::o;6216:99::-;6268:6;6302:5;6296:12;6286:22;;6216:99;;;:::o;6321:169::-;6405:11;6439:6;6434:3;6427:19;6479:4;6474:3;6470:14;6455:29;;6321:169;;;;:::o;6496:148::-;6598:11;6635:3;6620:18;;6496:148;;;;:::o;6650:126::-;6687:7;6727:42;6720:5;6716:54;6705:65;;6650:126;;;:::o;6782:77::-;6819:7;6848:5;6837:16;;6782:77;;;:::o;6865:146::-;6935:9;6968:37;6999:5;6968:37;:::i;:::-;6955:50;;6865:146;;;:::o;7017:126::-;7067:9;7100:37;7131:5;7100:37;:::i;:::-;7087:50;;7017:126;;;:::o;7149:113::-;7199:9;7232:24;7250:5;7232:24;:::i;:::-;7219:37;;7149:113;;;:::o;7268:154::-;7352:6;7347:3;7342;7329:30;7414:1;7405:6;7400:3;7396:16;7389:27;7268:154;;;:::o;7428:307::-;7496:1;7506:113;7520:6;7517:1;7514:13;7506:113;;;7605:1;7600:3;7596:11;7590:18;7586:1;7581:3;7577:11;7570:39;7542:2;7539:1;7535:10;7530:15;;7506:113;;;7637:6;7634:1;7631:13;7628:101;;;7717:1;7708:6;7703:3;7699:16;7692:27;7628:101;7477:258;7428:307;;;:::o;7741:320::-;7785:6;7822:1;7816:4;7812:12;7802:22;;7869:1;7863:4;7859:12;7890:18;7880:81;;7946:4;7938:6;7934:17;7924:27;;7880:81;8008:2;8000:6;7997:14;7977:18;7974:38;7971:84;;;8027:18;;:::i;:::-;7971:84;7792:269;7741:320;;;:::o;8067:281::-;8150:27;8172:4;8150:27;:::i;:::-;8142:6;8138:40;8280:6;8268:10;8265:22;8244:18;8232:10;8229:34;8226:62;8223:88;;;8291:18;;:::i;:::-;8223:88;8331:10;8327:2;8320:22;8110:238;8067:281;;:::o;8354:180::-;8402:77;8399:1;8392:88;8499:4;8496:1;8489:15;8523:4;8520:1;8513:15;8540:180;8588:77;8585:1;8578:88;8685:4;8682:1;8675:15;8709:4;8706:1;8699:15;8726:180;8774:77;8771:1;8764:88;8871:4;8868:1;8861:15;8895:4;8892:1;8885:15;8912:117;9021:1;9018;9011:12;9035:117;9144:1;9141;9134:12;9158:117;9267:1;9264;9257:12;9281:117;9390:1;9387;9380:12;9404:102;9445:6;9496:2;9492:7;9487:2;9480:5;9476:14;9472:28;9462:38;;9404:102;;;:::o;9512:122::-;9585:24;9603:5;9585:24;:::i;:::-;9578:5;9575:35;9565:63;;9624:1;9621;9614:12;9565:63;9512:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "988800",
"executionCost": "6033",
"totalCost": "994833"
},
"external": {
"addPerson(string,uint256)": "infinite",
"createSimpleStorageContract()": "infinite",
"nameToFavoriteNumber(string)": "infinite",
"peoples(uint256)": "infinite",
"sfStore(uint256,uint256)": "infinite",
"sfViewFavNumber(uint256)": "infinite",
"simpleStorages(uint256)": "5108",
"store(uint256)": "22587",
"viewFavNumber()": "2437"
}
},
"methodIdentifiers": {
"addPerson(string,uint256)": "6f760f41",
"createSimpleStorageContract()": "1dda6541",
"nameToFavoriteNumber(string)": "8bab8dd5",
"peoples(uint256)": "1f1094e7",
"sfStore(uint256,uint256)": "1563700f",
"sfViewFavNumber(uint256)": "ebb27074",
"simpleStorages(uint256)": "e427ea13",
"store(uint256)": "6057361d",
"viewFavNumber()": "6c97d9fa"
}
},
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "createSimpleStorageContract",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavoriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "peoples",
"outputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favoriteNumber",
"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": "_simpleStorageIndex",
"type": "uint256"
}
],
"name": "sfViewFavNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "simpleStorages",
"outputs": [
{
"internalType": "contract SimpleStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newFavNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "viewFavNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "createSimpleStorageContract",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavoriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "peoples",
"outputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "favoriteNumber",
"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": "_simpleStorageIndex",
"type": "uint256"
}
],
"name": "sfViewFavNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "simpleStorages",
"outputs": [
{
"internalType": "contract SimpleStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newFavNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "viewFavNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/StorageFactory.sol": "StorageFactory"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/SimpleStorage.sol": {
"keccak256": "0xd3278af78999b48328e7273d95a3d5cb6415e9accb28bdc3880b8ede11533618",
"license": "MIT",
"urls": [
"bzz-raw://f7c31d39fd9f2f83257333e8aa28edc89476a13618732081c7617c074f96bae5",
"dweb:/ipfs/QmWNU8xPzM1A4bqKy3D2SE9FFXfbmzNmzjetJUw3ACrrQU"
]
},
"contracts/StorageFactory.sol": {
"keccak256": "0xb65d5c512a11e15307a97e0d0c6454f35f681bc7bc97d986d490d9724c1f9e4a",
"license": "MIT",
"urls": [
"bzz-raw://4ec7bb93761c92fde8e60939c4aad11ec74dd9a8c954b98d47e0aa7cdde773cf",
"dweb:/ipfs/QmbGA3kQz84SpB1A7Dkogc8HDAXnyhmQPjXPNbjiYoiQ8b"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;
import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol";
contract FundMe {
mapping(address => uint256) public addressToAmountFunded;
function fund() public payable {
addressToAmountFunded[msg.sender] += msg.value;
}
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);
}
function getConversionReate(uint256 ethAmount) public view returns (uint256) {
uint256 ethPrice = getPrice();
uint256 ethAmountInUSD = ethPrice * ethAmount;
return ethAmountInUSD;
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;
contract SimpleStorage {
uint256 favoriteNumber = 0;
struct People {
string name;
uint256 favoriteNumber;
}
People[] public peoples;
mapping (string => uint256) public nameToFavoriteNumber;
function store (uint256 newFavNumber) public {
favoriteNumber = newFavNumber;
}
function viewFavNumber () public view returns (uint256) {
return favoriteNumber;
}
function addPerson (string memory name, uint256 favNumber) public {
peoples.push(People(name, favNumber));
nameToFavoriteNumber[name] = favNumber;
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;
import "./SimpleStorage.sol";
contract StorageFactory is SimpleStorage {
SimpleStorage[] public simpleStorages;
function createSimpleStorageContract() public {
SimpleStorage simpleStorage = new SimpleStorage();
simpleStorages.push(simpleStorage);
}
// Calls the function `store` from the published contract pushed at simpleStorages[_simpleStorageIndex]
function sfStore(uint256 _simpleStorageIndex, uint256 _simpleStorageNumber) public {
SimpleStorage simpleStorage = SimpleStorage(address(simpleStorages[_simpleStorageIndex]));
simpleStorage.store(_simpleStorageNumber);
}
// Shorter format, but not sure how you can test the validity of the index :shrug:
function sfViewFavNumber(uint256 _simpleStorageIndex) public view returns (uint256) {
return SimpleStorage(address(simpleStorages[_simpleStorageIndex])).viewFavNumber();
}
}
// 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