Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save guilhermealveslopes/afc7ad9b998d44c836f03e1d9bdf8c2e to your computer and use it in GitHub Desktop.
Save guilhermealveslopes/afc7ad9b998d44c836f03e1d9bdf8c2e to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.0+commit.c7dfd78e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract.
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required).
Scripts have full access to the web3.js and ethers.js libraries.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:5069:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "153:183:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "163:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "229:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "234:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "170:58:5"
},
"nodeType": "YulFunctionCall",
"src": "170:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "163:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "258:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "263:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "254:3:5"
},
"nodeType": "YulFunctionCall",
"src": "254:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "267:33:5",
"type": "",
"value": "ERC20: mint to the zero address"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "247:6:5"
},
"nodeType": "YulFunctionCall",
"src": "247:54:5"
},
"nodeType": "YulExpressionStatement",
"src": "247:54:5"
},
{
"nodeType": "YulAssignment",
"src": "311:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "322:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "327:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "318:3:5"
},
"nodeType": "YulFunctionCall",
"src": "318:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "311:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "141:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "149:3:5",
"type": ""
}
],
"src": "7:329:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "407:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "424:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "447:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "429:17:5"
},
"nodeType": "YulFunctionCall",
"src": "429:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "417:6:5"
},
"nodeType": "YulFunctionCall",
"src": "417:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "417:37:5"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "395:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "402:3:5",
"type": ""
}
],
"src": "342:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "637:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "647:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "659:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "670:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "655:3:5"
},
"nodeType": "YulFunctionCall",
"src": "655:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "647:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "694:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "705:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "690:3:5"
},
"nodeType": "YulFunctionCall",
"src": "690:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "713:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "719:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "709:3:5"
},
"nodeType": "YulFunctionCall",
"src": "709:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "683:6:5"
},
"nodeType": "YulFunctionCall",
"src": "683:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "683:47:5"
},
{
"nodeType": "YulAssignment",
"src": "739:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "873:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "747:124:5"
},
"nodeType": "YulFunctionCall",
"src": "747:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "739:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "617:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "632:4:5",
"type": ""
}
],
"src": "466:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "989:124:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "999:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1011:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1022:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1007:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1007:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "999:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1079:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1092:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1103:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1088:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1088:17:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "1035:43:5"
},
"nodeType": "YulFunctionCall",
"src": "1035:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "1035:71:5"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "961:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "973:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "984:4:5",
"type": ""
}
],
"src": "891:222:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1215:73:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1232:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1237:6:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1225:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1225:19:5"
},
"nodeType": "YulExpressionStatement",
"src": "1225:19:5"
},
{
"nodeType": "YulAssignment",
"src": "1253:29:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1272:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1277:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1268:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1268:14:5"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "1253:11:5"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1187:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1192:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "1203:11:5",
"type": ""
}
],
"src": "1119:169:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1338:261:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1348:25:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1371:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1353:17:5"
},
"nodeType": "YulFunctionCall",
"src": "1353:20:5"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1348:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1382:25:5",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1405:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1387:17:5"
},
"nodeType": "YulFunctionCall",
"src": "1387:20:5"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1382:1:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1545:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "1547:16:5"
},
"nodeType": "YulFunctionCall",
"src": "1547:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "1547:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1466:1:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1473:66:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1541:1:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1469:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1469:74:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1463:2:5"
},
"nodeType": "YulFunctionCall",
"src": "1463:81:5"
},
"nodeType": "YulIf",
"src": "1460:2:5"
},
{
"nodeType": "YulAssignment",
"src": "1577:16:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "1588:1:5"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "1591:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1584:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1584:9:5"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "1577:3:5"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "1325:1:5",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "1328:1:5",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "1334:3:5",
"type": ""
}
],
"src": "1294:305:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1678:775:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1688:15:5",
"value": {
"name": "_power",
"nodeType": "YulIdentifier",
"src": "1697:6:5"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "1688:5:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1712:14:5",
"value": {
"name": "_base",
"nodeType": "YulIdentifier",
"src": "1721:5:5"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "1712:4:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1770:677:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1858:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "1860:16:5"
},
"nodeType": "YulFunctionCall",
"src": "1860:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "1860:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "1836:4:5"
},
{
"arguments": [
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "1846:3:5"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "1851:4:5"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "1842:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1842:14:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1833:2:5"
},
"nodeType": "YulFunctionCall",
"src": "1833:24:5"
},
"nodeType": "YulIf",
"src": "1830:2:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1925:419:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2305:25:5",
"value": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "2318:5:5"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "2325:4:5"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "2314:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2314:16:5"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "2305:5:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "1900:8:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1910:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1896:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1896:16:5"
},
"nodeType": "YulIf",
"src": "1893:2:5"
},
{
"nodeType": "YulAssignment",
"src": "2357:23:5",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "2369:4:5"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "2375:4:5"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "2365:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2365:15:5"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "2357:4:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2393:44:5",
"value": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "2428:8:5"
}
],
"functionName": {
"name": "shift_right_1_unsigned",
"nodeType": "YulIdentifier",
"src": "2405:22:5"
},
"nodeType": "YulFunctionCall",
"src": "2405:32:5"
},
"variableNames": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "2393:8:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "1746:8:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1756:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1743:2:5"
},
"nodeType": "YulFunctionCall",
"src": "1743:15:5"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1759:2:5",
"statements": []
},
"pre": {
"nodeType": "YulBlock",
"src": "1739:3:5",
"statements": []
},
"src": "1735:712:5"
}
]
},
"name": "checked_exp_helper",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "_power",
"nodeType": "YulTypedName",
"src": "1633:6:5",
"type": ""
},
{
"name": "_base",
"nodeType": "YulTypedName",
"src": "1641:5:5",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "1648:8:5",
"type": ""
},
{
"name": "max",
"nodeType": "YulTypedName",
"src": "1658:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "1666:5:5",
"type": ""
},
{
"name": "base",
"nodeType": "YulTypedName",
"src": "1673:4:5",
"type": ""
}
],
"src": "1605:848:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2525:219:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2535:31:5",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "2561:4:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2543:17:5"
},
"nodeType": "YulFunctionCall",
"src": "2543:23:5"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "2535:4:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2575:39:5",
"value": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "2605:8:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2587:17:5"
},
"nodeType": "YulFunctionCall",
"src": "2587:27:5"
},
"variableNames": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "2575:8:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2624:113:5",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "2654:4:5"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "2660:8:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2670:66:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "checked_exp_unsigned",
"nodeType": "YulIdentifier",
"src": "2633:20:5"
},
"nodeType": "YulFunctionCall",
"src": "2633:104:5"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "2624:5:5"
}
]
}
]
},
"name": "checked_exp_t_uint256_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "2500:4:5",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "2506:8:5",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "2519:5:5",
"type": ""
}
],
"src": "2459:285:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2810:1013:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3005:20:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3007:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3016:1:5",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3007:5:5"
}
]
},
{
"nodeType": "YulLeave",
"src": "3018:5:5"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "2995:8:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2988:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2988:16:5"
},
"nodeType": "YulIf",
"src": "2985:2:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3050:20:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3052:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3061:1:5",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3052:5:5"
}
]
},
{
"nodeType": "YulLeave",
"src": "3063:5:5"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3044:4:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3037:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3037:12:5"
},
"nodeType": "YulIf",
"src": "3034:2:5"
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "3180:20:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3182:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3191:1:5",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3182:5:5"
}
]
},
{
"nodeType": "YulLeave",
"src": "3193:5:5"
}
]
},
"nodeType": "YulCase",
"src": "3173:27:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3178:1:5",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "3224:176:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3259:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "3261:16:5"
},
"nodeType": "YulFunctionCall",
"src": "3261:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "3261:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3244:8:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3254:3:5",
"type": "",
"value": "255"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3241:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3241:17:5"
},
"nodeType": "YulIf",
"src": "3238:2:5"
},
{
"nodeType": "YulAssignment",
"src": "3294:25:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3307:1:5",
"type": "",
"value": "2"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3310:8:5"
}
],
"functionName": {
"name": "exp",
"nodeType": "YulIdentifier",
"src": "3303:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3303:16:5"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3294:5:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3350:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "3352:16:5"
},
"nodeType": "YulFunctionCall",
"src": "3352:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "3352:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3338:5:5"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "3345:3:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3335:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3335:14:5"
},
"nodeType": "YulIf",
"src": "3332:2:5"
},
{
"nodeType": "YulLeave",
"src": "3385:5:5"
}
]
},
"nodeType": "YulCase",
"src": "3209:191:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3214:1:5",
"type": "",
"value": "2"
}
}
],
"expression": {
"name": "base",
"nodeType": "YulIdentifier",
"src": "3130:4:5"
},
"nodeType": "YulSwitch",
"src": "3123:277:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3532:123:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3546:28:5",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3559:4:5"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3565:8:5"
}
],
"functionName": {
"name": "exp",
"nodeType": "YulIdentifier",
"src": "3555:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3555:19:5"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3546:5:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3605:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "3607:16:5"
},
"nodeType": "YulFunctionCall",
"src": "3607:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "3607:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3593:5:5"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "3600:3:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3590:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3590:14:5"
},
"nodeType": "YulIf",
"src": "3587:2:5"
},
{
"nodeType": "YulLeave",
"src": "3640:5:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3435:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3441:2:5",
"type": "",
"value": "11"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3432:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3432:12:5"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3449:8:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3459:2:5",
"type": "",
"value": "78"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3446:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3446:16:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3428:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3428:35:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3484:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3490:3:5",
"type": "",
"value": "307"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3481:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3481:13:5"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3499:8:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3509:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3496:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3496:16:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3477:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3477:36:5"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "3412:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3412:111:5"
},
"nodeType": "YulIf",
"src": "3409:2:5"
},
{
"nodeType": "YulAssignment",
"src": "3665:57:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3699:1:5",
"type": "",
"value": "1"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3702:4:5"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3708:8:5"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "3718:3:5"
}
],
"functionName": {
"name": "checked_exp_helper",
"nodeType": "YulIdentifier",
"src": "3680:18:5"
},
"nodeType": "YulFunctionCall",
"src": "3680:42:5"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3665:5:5"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3672:4:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3761:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "3763:16:5"
},
"nodeType": "YulFunctionCall",
"src": "3763:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "3763:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3738:5:5"
},
{
"arguments": [
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "3749:3:5"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3754:4:5"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "3745:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3745:14:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3735:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3735:25:5"
},
"nodeType": "YulIf",
"src": "3732:2:5"
},
{
"nodeType": "YulAssignment",
"src": "3792:25:5",
"value": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3805:5:5"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3812:4:5"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "3801:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3801:16:5"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3792:5:5"
}
]
}
]
},
"name": "checked_exp_unsigned",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "2780:4:5",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "2786:8:5",
"type": ""
},
{
"name": "max",
"nodeType": "YulTypedName",
"src": "2796:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "2804:5:5",
"type": ""
}
],
"src": "2750:1073:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3877:300:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3887:25:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "3910:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3892:17:5"
},
"nodeType": "YulFunctionCall",
"src": "3892:20:5"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "3887:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3921:25:5",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "3944:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3926:17:5"
},
"nodeType": "YulFunctionCall",
"src": "3926:20:5"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "3921:1:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4119:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "4121:16:5"
},
"nodeType": "YulFunctionCall",
"src": "4121:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "4121:18:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4031:1:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4024:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4024:9:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4017:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4017:17:5"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4039:1:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4046:66:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4114:1:5"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4042:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4042:74:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4036:2:5"
},
"nodeType": "YulFunctionCall",
"src": "4036:81:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4013:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4013:105:5"
},
"nodeType": "YulIf",
"src": "4010:2:5"
},
{
"nodeType": "YulAssignment",
"src": "4151:20:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4166:1:5"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4169:1:5"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "4162:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4162:9:5"
},
"variableNames": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "4151:7:5"
}
]
}
]
},
"name": "checked_mul_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "3860:1:5",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "3863:1:5",
"type": ""
}
],
"returnVariables": [
{
"name": "product",
"nodeType": "YulTypedName",
"src": "3869:7:5",
"type": ""
}
],
"src": "3829:348:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4228:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4238:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "4249:5:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4238:7:5"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4210:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4220:7:5",
"type": ""
}
],
"src": "4183:77:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4317:269:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4327:22:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4341:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4347:1:5",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4337:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4337:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4327:6:5"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4358:38:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4388:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4394:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4384:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4384:12:5"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "4362:18:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4435:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4449:27:5",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4463:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4471:4:5",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4459:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4459:17:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4449:6:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4415:18:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4408:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4408:26:5"
},
"nodeType": "YulIf",
"src": "4405:2:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4538:42:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "4552:16:5"
},
"nodeType": "YulFunctionCall",
"src": "4552:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "4552:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4502:18:5"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4525:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4533:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4522:2:5"
},
"nodeType": "YulFunctionCall",
"src": "4522:14:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4499:2:5"
},
"nodeType": "YulFunctionCall",
"src": "4499:38:5"
},
"nodeType": "YulIf",
"src": "4496:2:5"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "4301:4:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4310:6:5",
"type": ""
}
],
"src": "4266:320:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4620:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4637:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4640:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4630:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4630:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "4630:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4734:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4737:4:5",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4727:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4727:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4727:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4758:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4761:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4751:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4751:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4751:15:5"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "4592:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4806:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4823:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4826:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4816:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4816:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "4816:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4920:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4923:4:5",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4913:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4913:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4913:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4944:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4947:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4937:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4937:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4937:15:5"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "4778:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5015:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5025:34:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5050:1:5",
"type": "",
"value": "1"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5053:5:5"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "5046:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5046:13:5"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "5025:8:5"
}
]
}
]
},
"name": "shift_right_1_unsigned",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4996:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "5006:8:5",
"type": ""
}
],
"src": "4964:102:5"
}
]
},
"contents": "{\n\n function abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n\n mstore(add(pos, 0), \"ERC20: mint to the zero address\")\n\n end := add(pos, 32)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function 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 checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function checked_exp_helper(_power, _base, exponent, max) -> power, base {\n power := _power\n base := _base\n for { } gt(exponent, 1) {}\n {\n // overflow check for base * base\n if gt(base, div(max, base)) { panic_error_0x11() }\n if and(exponent, 1)\n {\n // No checks for power := mul(power, base) needed, because the check\n // for base * base above is sufficient, since:\n // |power| <= base (proof by induction) and thus:\n // |power * base| <= base * base <= max <= |min| (for signed)\n // (this is equally true for signed and unsigned exp)\n power := mul(power, base)\n }\n base := mul(base, base)\n exponent := shift_right_1_unsigned(exponent)\n }\n }\n\n function checked_exp_t_uint256_t_uint256(base, exponent) -> power {\n base := cleanup_t_uint256(base)\n exponent := cleanup_t_uint256(exponent)\n\n power := checked_exp_unsigned(base, exponent, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n\n }\n\n function checked_exp_unsigned(base, exponent, max) -> power {\n // This function currently cannot be inlined because of the\n // \"leave\" statements. We have to improve the optimizer.\n\n // Note that 0**0 == 1\n if iszero(exponent) { power := 1 leave }\n if iszero(base) { power := 0 leave }\n\n // Specializations for small bases\n switch base\n // 0 is handled above\n case 1 { power := 1 leave }\n case 2\n {\n if gt(exponent, 255) { panic_error_0x11() }\n power := exp(2, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n if or(\n and(lt(base, 11), lt(exponent, 78)),\n and(lt(base, 307), lt(exponent, 32))\n )\n {\n power := exp(base, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n\n power, base := checked_exp_helper(1, base, exponent, max)\n\n if gt(power, div(max, base)) { panic_error_0x11() }\n power := mul(power, base)\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x != 0 and y > (maxValue / x)\n if and(iszero(iszero(x)), gt(y, div(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, x))) { panic_error_0x11() }\n\n product := mul(x, y)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function shift_right_1_unsigned(value) -> newValue {\n newValue :=\n\n shr(1, value)\n\n }\n\n}\n",
"id": 5,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040523480156200001157600080fd5b506040518060400160405280600681526020017f506978656c7300000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f5a504958454c000000000000000000000000000000000000000000000000000081525081600390805190602001906200009692919062000286565b508060049080519060200190620000af92919062000286565b505050620000f433620000c7620000fa60201b60201c565b60ff16600a620000d8919062000491565b620f4240620000e89190620005ce565b6200010360201b60201c565b620006da565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000176576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200016d9062000389565b60405180910390fd5b6200018a600083836200027c60201b60201c565b80600260008282546200019e9190620003d9565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620001f59190620003d9565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200025c9190620003ab565b60405180910390a362000278600083836200028160201b60201c565b5050565b505050565b505050565b828054620002949062000639565b90600052602060002090601f016020900481019282620002b8576000855562000304565b82601f10620002d357805160ff191683800117855562000304565b8280016001018555821562000304579182015b8281111562000303578251825591602001919060010190620002e6565b5b50905062000313919062000317565b5090565b5b808211156200033257600081600090555060010162000318565b5090565b600062000345601f83620003c8565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b62000383816200062f565b82525050565b60006020820190508181036000830152620003a48162000336565b9050919050565b6000602082019050620003c2600083018462000378565b92915050565b600082825260208201905092915050565b6000620003e6826200062f565b9150620003f3836200062f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200042b576200042a6200066f565b5b828201905092915050565b6000808291508390505b6001851115620004885780860481111562000460576200045f6200066f565b5b6001851615620004705780820291505b80810290506200048085620006cd565b945062000440565b94509492505050565b60006200049e826200062f565b9150620004ab836200062f565b9250620004da7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620004e2565b905092915050565b600082620004f45760019050620005c7565b81620005045760009050620005c7565b81600181146200051d576002811462000528576200055e565b6001915050620005c7565b60ff8411156200053d576200053c6200066f565b5b8360020a9150848211156200055757620005566200066f565b5b50620005c7565b5060208310610133831016604e8410600b8410161715620005985782820a9050838111156200059257620005916200066f565b5b620005c7565b620005a7848484600162000436565b92509050818404811115620005c157620005c06200066f565b5b81810290505b9392505050565b6000620005db826200062f565b9150620005e8836200062f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200062457620006236200066f565b5b828202905092915050565b6000819050919050565b600060028204905060018216806200065257607f821691505b602082108114156200066957620006686200069e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60008160011c9050919050565b61134180620006ea6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c3919061100a565b60405180910390f35b6100e660048036038101906100e19190610c83565b610308565b6040516100f39190610fef565b60405180910390f35b610104610326565b604051610111919061110c565b60405180910390f35b610134600480360381019061012f9190610c34565b610330565b6040516101419190610fef565b60405180910390f35b610152610428565b60405161015f9190611127565b60405180910390f35b610182600480360381019061017d9190610c83565b610431565b60405161018f9190610fef565b60405180910390f35b6101b260048036038101906101ad9190610bcf565b6104dd565b6040516101bf919061110c565b60405180910390f35b6101d0610525565b6040516101dd919061100a565b60405180910390f35b61020060048036038101906101fb9190610c83565b6105b7565b60405161020d9190610fef565b60405180910390f35b610230600480360381019061022b9190610c83565b6106a2565b60405161023d9190610fef565b60405180910390f35b610260600480360381019061025b9190610bf8565b6106c0565b60405161026d919061110c565b60405180910390f35b6060600380546102859061123c565b80601f01602080910402602001604051908101604052809291908181526020018280546102b19061123c565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b600061031c610315610747565b848461074f565b6001905092915050565b6000600254905090565b600061033d84848461091a565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610388610747565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ff9061108c565b60405180910390fd5b61041c85610414610747565b85840361074f565b60019150509392505050565b60006012905090565b60006104d361043e610747565b84846001600061044c610747565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104ce919061115e565b61074f565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546105349061123c565b80601f01602080910402602001604051908101604052809291908181526020018280546105609061123c565b80156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b600080600160006105c6610747565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067a906110ec565b60405180910390fd5b61069761068e610747565b8585840361074f565b600191505092915050565b60006106b66106af610747565b848461091a565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b6906110cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561082f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108269061104c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161090d919061110c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610981906110ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f19061102c565b60405180910390fd5b610a05838383610b9b565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a829061106c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b1e919061115e565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b82919061110c565b60405180910390a3610b95848484610ba0565b50505050565b505050565b505050565b600081359050610bb4816112dd565b92915050565b600081359050610bc9816112f4565b92915050565b600060208284031215610be157600080fd5b6000610bef84828501610ba5565b91505092915050565b60008060408385031215610c0b57600080fd5b6000610c1985828601610ba5565b9250506020610c2a85828601610ba5565b9150509250929050565b600080600060608486031215610c4957600080fd5b6000610c5786828701610ba5565b9350506020610c6886828701610ba5565b9250506040610c7986828701610bba565b9150509250925092565b60008060408385031215610c9657600080fd5b6000610ca485828601610ba5565b9250506020610cb585828601610bba565b9150509250929050565b610cc8816111c6565b82525050565b6000610cd982611142565b610ce3818561114d565b9350610cf3818560208601611209565b610cfc816112cc565b840191505092915050565b6000610d1460238361114d565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610d7a60228361114d565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610de060268361114d565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610e4660288361114d565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610eac60258361114d565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610f1260248361114d565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610f7860258361114d565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b610fda816111f2565b82525050565b610fe9816111fc565b82525050565b60006020820190506110046000830184610cbf565b92915050565b600060208201905081810360008301526110248184610cce565b905092915050565b6000602082019050818103600083015261104581610d07565b9050919050565b6000602082019050818103600083015261106581610d6d565b9050919050565b6000602082019050818103600083015261108581610dd3565b9050919050565b600060208201905081810360008301526110a581610e39565b9050919050565b600060208201905081810360008301526110c581610e9f565b9050919050565b600060208201905081810360008301526110e581610f05565b9050919050565b6000602082019050818103600083015261110581610f6b565b9050919050565b60006020820190506111216000830184610fd1565b92915050565b600060208201905061113c6000830184610fe0565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611169826111f2565b9150611174836111f2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156111a9576111a861126e565b5b828201905092915050565b60006111bf826111d2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561122757808201518184015260208101905061120c565b83811115611236576000848401525b50505050565b6000600282049050600182168061125457607f821691505b602082108114156112685761126761129d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6112e6816111b4565b81146112f157600080fd5b50565b6112fd816111f2565b811461130857600080fd5b5056fea2646970667358221220769f9e57cd31fd13556d325b9a71a76d756c14168b4abe4bde16113f0a4527bf64736f6c63430008000033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x506978656C730000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5A504958454C0000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x3 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x96 SWAP3 SWAP2 SWAP1 PUSH3 0x286 JUMP JUMPDEST POP DUP1 PUSH1 0x4 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0xAF SWAP3 SWAP2 SWAP1 PUSH3 0x286 JUMP JUMPDEST POP POP POP PUSH3 0xF4 CALLER PUSH3 0xC7 PUSH3 0xFA PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0xFF AND PUSH1 0xA PUSH3 0xD8 SWAP2 SWAP1 PUSH3 0x491 JUMP JUMPDEST PUSH3 0xF4240 PUSH3 0xE8 SWAP2 SWAP1 PUSH3 0x5CE JUMP JUMPDEST PUSH3 0x103 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x6DA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH3 0x176 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x16D SWAP1 PUSH3 0x389 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH3 0x18A PUSH1 0x0 DUP4 DUP4 PUSH3 0x27C PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP1 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH3 0x19E SWAP2 SWAP1 PUSH3 0x3D9 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x0 DUP1 DUP5 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 PUSH3 0x1F5 SWAP2 SWAP1 PUSH3 0x3D9 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP4 PUSH1 0x40 MLOAD PUSH3 0x25C SWAP2 SWAP1 PUSH3 0x3AB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH3 0x278 PUSH1 0x0 DUP4 DUP4 PUSH3 0x281 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0x294 SWAP1 PUSH3 0x639 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0x2B8 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0x304 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0x2D3 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0x304 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0x304 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x303 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x2E6 JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x313 SWAP2 SWAP1 PUSH3 0x317 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x332 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH3 0x318 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x345 PUSH1 0x1F DUP4 PUSH3 0x3C8 JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A206D696E7420746F20746865207A65726F206164647265737300 PUSH1 0x0 DUP4 ADD MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x383 DUP2 PUSH3 0x62F JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH3 0x3A4 DUP2 PUSH3 0x336 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH3 0x3C2 PUSH1 0x0 DUP4 ADD DUP5 PUSH3 0x378 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x3E6 DUP3 PUSH3 0x62F JUMP JUMPDEST SWAP2 POP PUSH3 0x3F3 DUP4 PUSH3 0x62F JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH3 0x42B JUMPI PUSH3 0x42A PUSH3 0x66F JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP2 POP DUP4 SWAP1 POP JUMPDEST PUSH1 0x1 DUP6 GT ISZERO PUSH3 0x488 JUMPI DUP1 DUP7 DIV DUP2 GT ISZERO PUSH3 0x460 JUMPI PUSH3 0x45F PUSH3 0x66F JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 AND ISZERO PUSH3 0x470 JUMPI DUP1 DUP3 MUL SWAP2 POP JUMPDEST DUP1 DUP2 MUL SWAP1 POP PUSH3 0x480 DUP6 PUSH3 0x6CD JUMP JUMPDEST SWAP5 POP PUSH3 0x440 JUMP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x49E DUP3 PUSH3 0x62F JUMP JUMPDEST SWAP2 POP PUSH3 0x4AB DUP4 PUSH3 0x62F JUMP JUMPDEST SWAP3 POP PUSH3 0x4DA PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP5 PUSH3 0x4E2 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH3 0x4F4 JUMPI PUSH1 0x1 SWAP1 POP PUSH3 0x5C7 JUMP JUMPDEST DUP2 PUSH3 0x504 JUMPI PUSH1 0x0 SWAP1 POP PUSH3 0x5C7 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH3 0x51D JUMPI PUSH1 0x2 DUP2 EQ PUSH3 0x528 JUMPI PUSH3 0x55E JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH3 0x5C7 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH3 0x53D JUMPI PUSH3 0x53C PUSH3 0x66F JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x2 EXP SWAP2 POP DUP5 DUP3 GT ISZERO PUSH3 0x557 JUMPI PUSH3 0x556 PUSH3 0x66F JUMP JUMPDEST JUMPDEST POP PUSH3 0x5C7 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH3 0x598 JUMPI DUP3 DUP3 EXP SWAP1 POP DUP4 DUP2 GT ISZERO PUSH3 0x592 JUMPI PUSH3 0x591 PUSH3 0x66F JUMP JUMPDEST JUMPDEST PUSH3 0x5C7 JUMP JUMPDEST PUSH3 0x5A7 DUP5 DUP5 DUP5 PUSH1 0x1 PUSH3 0x436 JUMP JUMPDEST SWAP3 POP SWAP1 POP DUP2 DUP5 DIV DUP2 GT ISZERO PUSH3 0x5C1 JUMPI PUSH3 0x5C0 PUSH3 0x66F JUMP JUMPDEST JUMPDEST DUP2 DUP2 MUL SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x5DB DUP3 PUSH3 0x62F JUMP JUMPDEST SWAP2 POP PUSH3 0x5E8 DUP4 PUSH3 0x62F JUMP JUMPDEST SWAP3 POP DUP2 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH3 0x624 JUMPI PUSH3 0x623 PUSH3 0x66F JUMP JUMPDEST JUMPDEST DUP3 DUP3 MUL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x652 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x669 JUMPI PUSH3 0x668 PUSH3 0x69E JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 SHR SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1341 DUP1 PUSH3 0x6EA 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 0xA9 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x39509351 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x168 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x198 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x1C8 JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x1E6 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x216 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x246 JUMPI PUSH2 0xA9 JUMP JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0xAE JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xFC JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x11A JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x14A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB6 PUSH2 0x276 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC3 SWAP2 SWAP1 PUSH2 0x100A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE6 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xE1 SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x308 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xF3 SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x104 PUSH2 0x326 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x111 SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x134 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x12F SWAP2 SWAP1 PUSH2 0xC34 JUMP JUMPDEST PUSH2 0x330 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x141 SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x152 PUSH2 0x428 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x15F SWAP2 SWAP1 PUSH2 0x1127 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x17D SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x431 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18F SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1B2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1AD SWAP2 SWAP1 PUSH2 0xBCF JUMP JUMPDEST PUSH2 0x4DD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1BF SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1D0 PUSH2 0x525 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1DD SWAP2 SWAP1 PUSH2 0x100A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x200 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1FB SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x5B7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x20D SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x230 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x22B SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x6A2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x23D SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x260 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x25B SWAP2 SWAP1 PUSH2 0xBF8 JUMP JUMPDEST PUSH2 0x6C0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x26D SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x285 SWAP1 PUSH2 0x123C 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 0x2B1 SWAP1 PUSH2 0x123C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2FE JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2D3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2FE 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 0x2E1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x31C PUSH2 0x315 PUSH2 0x747 JUMP JUMPDEST DUP5 DUP5 PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x33D DUP5 DUP5 DUP5 PUSH2 0x91A JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x388 PUSH2 0x747 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP3 DUP2 LT ISZERO PUSH2 0x408 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3FF SWAP1 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x41C DUP6 PUSH2 0x414 PUSH2 0x747 JUMP JUMPDEST DUP6 DUP5 SUB PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4D3 PUSH2 0x43E PUSH2 0x747 JUMP JUMPDEST DUP5 DUP5 PUSH1 0x1 PUSH1 0x0 PUSH2 0x44C PUSH2 0x747 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH2 0x4CE SWAP2 SWAP1 PUSH2 0x115E JUMP JUMPDEST PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x534 SWAP1 PUSH2 0x123C 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 0x560 SWAP1 PUSH2 0x123C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5AD JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x582 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5AD 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 0x590 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x5C6 PUSH2 0x747 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP3 DUP2 LT ISZERO PUSH2 0x683 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x67A SWAP1 PUSH2 0x10EC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x697 PUSH2 0x68E PUSH2 0x747 JUMP JUMPDEST DUP6 DUP6 DUP5 SUB PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6B6 PUSH2 0x6AF PUSH2 0x747 JUMP JUMPDEST DUP5 DUP5 PUSH2 0x91A JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x7BF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x7B6 SWAP1 PUSH2 0x10CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x82F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x826 SWAP1 PUSH2 0x104C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP4 PUSH1 0x40 MLOAD PUSH2 0x90D SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x98A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x981 SWAP1 PUSH2 0x10AC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x9FA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9F1 SWAP1 PUSH2 0x102C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xA05 DUP4 DUP4 DUP4 PUSH2 0xB9B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0xA8B JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA82 SWAP1 PUSH2 0x106C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x0 DUP1 DUP6 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 PUSH2 0xB1E SWAP2 SWAP1 PUSH2 0x115E JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0xB82 SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0xB95 DUP5 DUP5 DUP5 PUSH2 0xBA0 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xBB4 DUP2 PUSH2 0x12DD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xBC9 DUP2 PUSH2 0x12F4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xBE1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xBEF DUP5 DUP3 DUP6 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC0B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xC19 DUP6 DUP3 DUP7 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xC2A DUP6 DUP3 DUP7 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xC49 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xC57 DUP7 DUP3 DUP8 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0xC68 DUP7 DUP3 DUP8 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0xC79 DUP7 DUP3 DUP8 ADD PUSH2 0xBBA JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC96 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xCA4 DUP6 DUP3 DUP7 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xCB5 DUP6 DUP3 DUP7 ADD PUSH2 0xBBA JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xCC8 DUP2 PUSH2 0x11C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCD9 DUP3 PUSH2 0x1142 JUMP JUMPDEST PUSH2 0xCE3 DUP2 DUP6 PUSH2 0x114D JUMP JUMPDEST SWAP4 POP PUSH2 0xCF3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x1209 JUMP JUMPDEST PUSH2 0xCFC DUP2 PUSH2 0x12CC JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD14 PUSH1 0x23 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x6573730000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD7A PUSH1 0x22 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x7373000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDE0 PUSH1 0x26 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x616C616E63650000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE46 PUSH1 0x28 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732061 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x6C6C6F77616E6365000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEAC PUSH1 0x25 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x6472657373000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF12 PUSH1 0x24 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF78 PUSH1 0x25 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x207A65726F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xFDA DUP2 PUSH2 0x11F2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xFE9 DUP2 PUSH2 0x11FC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1004 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCBF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1024 DUP2 DUP5 PUSH2 0xCCE JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1045 DUP2 PUSH2 0xD07 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1065 DUP2 PUSH2 0xD6D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1085 DUP2 PUSH2 0xDD3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x10A5 DUP2 PUSH2 0xE39 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x10C5 DUP2 PUSH2 0xE9F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x10E5 DUP2 PUSH2 0xF05 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1105 DUP2 PUSH2 0xF6B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1121 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xFD1 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x113C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xFE0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1169 DUP3 PUSH2 0x11F2 JUMP JUMPDEST SWAP2 POP PUSH2 0x1174 DUP4 PUSH2 0x11F2 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x11A9 JUMPI PUSH2 0x11A8 PUSH2 0x126E JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x11BF DUP3 PUSH2 0x11D2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1227 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x120C JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1236 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 0x1254 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x1268 JUMPI PUSH2 0x1267 PUSH2 0x129D JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x12E6 DUP2 PUSH2 0x11B4 JUMP JUMPDEST DUP2 EQ PUSH2 0x12F1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x12FD DUP2 PUSH2 0x11F2 JUMP JUMPDEST DUP2 EQ PUSH2 0x1308 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH23 0x9F9E57CD31FD13556D325B9A71A76D756C14168B4ABE4B 0xDE AND GT EXTCODEHASH EXP GASLIMIT 0x27 0xBF PUSH5 0x736F6C6343 STOP ADDMOD STOP STOP CALLER ",
"sourceMap": "190:146:0:-:0;;;221:113;;;;;;;;;;1963::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2037:5;2029;:13;;;;;;;;;;;;:::i;:::-;;2062:7;2052;:17;;;;;;;;;;;;:::i;:::-;;1963:113;;271:56:0::1;277:10;314;:8;;;:10;;:::i;:::-;306:19;;300:2;:25;;;;:::i;:::-;289:7;:37;;;;:::i;:::-;271:5;;;:56;;:::i;:::-;190:146:::0;;3078:91:1;3136:5;3160:2;3153:9;;3078:91;:::o;8311:389::-;8413:1;8394:21;;:7;:21;;;;8386:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;8462:49;8491:1;8495:7;8504:6;8462:20;;;:49;;:::i;:::-;8538:6;8522:12;;:22;;;;;;;:::i;:::-;;;;;;;;8576:6;8554:9;:18;8564:7;8554:18;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;8618:7;8597:37;;8614:1;8597:37;;;8627:6;8597:37;;;;;;:::i;:::-;;;;;;;;8645:48;8673:1;8677:7;8686:6;8645:19;;;:48;;:::i;:::-;8311:389;;:::o;10973:121::-;;;;:::o;11682:120::-;;;;:::o;190:146:0:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:329:5:-;;170:67;234:2;229:3;170:67;:::i;:::-;163:74;;267:33;263:1;258:3;254:11;247:54;327:2;322:3;318:12;311:19;;153:183;;;:::o;342:118::-;429:24;447:5;429:24;:::i;:::-;424:3;417:37;407:53;;:::o;466:419::-;;670:2;659:9;655:18;647:26;;719:9;713:4;709:20;705:1;694:9;690:17;683:47;747:131;873:4;747:131;:::i;:::-;739:139;;637:248;;;:::o;891:222::-;;1022:2;1011:9;1007:18;999:26;;1035:71;1103:1;1092:9;1088:17;1079:6;1035:71;:::i;:::-;989:124;;;;:::o;1119:169::-;;1237:6;1232:3;1225:19;1277:4;1272:3;1268:14;1253:29;;1215:73;;;;:::o;1294:305::-;;1353:20;1371:1;1353:20;:::i;:::-;1348:25;;1387:20;1405:1;1387:20;:::i;:::-;1382:25;;1541:1;1473:66;1469:74;1466:1;1463:81;1460:2;;;1547:18;;:::i;:::-;1460:2;1591:1;1588;1584:9;1577:16;;1338:261;;;;:::o;1605:848::-;;;1697:6;1688:15;;1721:5;1712:14;;1735:712;1756:1;1746:8;1743:15;1735:712;;;1851:4;1846:3;1842:14;1836:4;1833:24;1830:2;;;1860:18;;:::i;:::-;1830:2;1910:1;1900:8;1896:16;1893:2;;;2325:4;2318:5;2314:16;2305:25;;1893:2;2375:4;2369;2365:15;2357:23;;2405:32;2428:8;2405:32;:::i;:::-;2393:44;;1735:712;;;1678:775;;;;;;;:::o;2459:285::-;;2543:23;2561:4;2543:23;:::i;:::-;2535:31;;2587:27;2605:8;2587:27;:::i;:::-;2575:39;;2633:104;2670:66;2660:8;2654:4;2633:104;:::i;:::-;2624:113;;2525:219;;;;:::o;2750:1073::-;;2995:8;2985:2;;3016:1;3007:10;;3018:5;;2985:2;3044:4;3034:2;;3061:1;3052:10;;3063:5;;3034:2;3130:4;3178:1;3173:27;;;;3214:1;3209:191;;;;3123:277;;3173:27;3191:1;3182:10;;3193:5;;;3209:191;3254:3;3244:8;3241:17;3238:2;;;3261:18;;:::i;:::-;3238:2;3310:8;3307:1;3303:16;3294:25;;3345:3;3338:5;3335:14;3332:2;;;3352:18;;:::i;:::-;3332:2;3385:5;;;3123:277;;3509:2;3499:8;3496:16;3490:3;3484:4;3481:13;3477:36;3459:2;3449:8;3446:16;3441:2;3435:4;3432:12;3428:35;3412:111;3409:2;;;3565:8;3559:4;3555:19;3546:28;;3600:3;3593:5;3590:14;3587:2;;;3607:18;;:::i;:::-;3587:2;3640:5;;3409:2;3680:42;3718:3;3708:8;3702:4;3699:1;3680:42;:::i;:::-;3665:57;;;;3754:4;3749:3;3745:14;3738:5;3735:25;3732:2;;;3763:18;;:::i;:::-;3732:2;3812:4;3805:5;3801:16;3792:25;;2810:1013;;;;;;:::o;3829:348::-;;3892:20;3910:1;3892:20;:::i;:::-;3887:25;;3926:20;3944:1;3926:20;:::i;:::-;3921:25;;4114:1;4046:66;4042:74;4039:1;4036:81;4031:1;4024:9;4017:17;4013:105;4010:2;;;4121:18;;:::i;:::-;4010:2;4169:1;4166;4162:9;4151:20;;3877:300;;;;:::o;4183:77::-;;4249:5;4238:16;;4228:32;;;:::o;4266:320::-;;4347:1;4341:4;4337:12;4327:22;;4394:1;4388:4;4384:12;4415:18;4405:2;;4471:4;4463:6;4459:17;4449:27;;4405:2;4533;4525:6;4522:14;4502:18;4499:38;4496:2;;;4552:18;;:::i;:::-;4496:2;4317:269;;;;:::o;4592:180::-;4640:77;4637:1;4630:88;4737:4;4734:1;4727:15;4761:4;4758:1;4751:15;4778:180;4826:77;4823:1;4816:88;4923:4;4920:1;4913:15;4947:4;4944:1;4937:15;4964:102;;5053:5;5050:1;5046:13;5025:34;;5015:51;;;:::o;190:146:0:-;;;;;;;"
},
"deployedBytecode": {
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:11725:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "59:87:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "69:29:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "91:6:5"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "78:12:5"
},
"nodeType": "YulFunctionCall",
"src": "78:20:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "69:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "134:5:5"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "107:26:5"
},
"nodeType": "YulFunctionCall",
"src": "107:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "107:33:5"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "37:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "45:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:5",
"type": ""
}
],
"src": "7:139:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "204:87:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "214:29:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "236:6:5"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "223:12:5"
},
"nodeType": "YulFunctionCall",
"src": "223:20:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "214:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "279:5:5"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "252:26:5"
},
"nodeType": "YulFunctionCall",
"src": "252:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "252:33:5"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "182:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "190:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "198:5:5",
"type": ""
}
],
"src": "152:139:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "363:196:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "409:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "418:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "421:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "411:6:5"
},
"nodeType": "YulFunctionCall",
"src": "411:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "411:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "384:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "393:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "380:3:5"
},
"nodeType": "YulFunctionCall",
"src": "380:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "405:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "376:3:5"
},
"nodeType": "YulFunctionCall",
"src": "376:32:5"
},
"nodeType": "YulIf",
"src": "373:2:5"
},
{
"nodeType": "YulBlock",
"src": "435:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "450:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "464:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "454:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "479:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "514:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "525:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "510:3:5"
},
"nodeType": "YulFunctionCall",
"src": "510:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "534:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "489:20:5"
},
"nodeType": "YulFunctionCall",
"src": "489:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "479:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "333:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "344:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "356:6:5",
"type": ""
}
],
"src": "297:262:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "648:324:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "694:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "703:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "706:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "696:6:5"
},
"nodeType": "YulFunctionCall",
"src": "696:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "696:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "669:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "678:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "665:3:5"
},
"nodeType": "YulFunctionCall",
"src": "665:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "690:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "661:3:5"
},
"nodeType": "YulFunctionCall",
"src": "661:32:5"
},
"nodeType": "YulIf",
"src": "658:2:5"
},
{
"nodeType": "YulBlock",
"src": "720:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "735:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "749:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "739:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "764:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "799:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "810:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "795:3:5"
},
"nodeType": "YulFunctionCall",
"src": "795:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "819:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "774:20:5"
},
"nodeType": "YulFunctionCall",
"src": "774:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "764:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "847:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "862:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "876:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "866:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "892:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "927:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "938:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "923:3:5"
},
"nodeType": "YulFunctionCall",
"src": "923:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "947:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "902:20:5"
},
"nodeType": "YulFunctionCall",
"src": "902:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "892:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "610:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "621:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "633:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "641:6:5",
"type": ""
}
],
"src": "565:407:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1078:452:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1124:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1133:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1136:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1126:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1126:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1126:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1099:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1108:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1095:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1095:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1120:2:5",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1091:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1091:32:5"
},
"nodeType": "YulIf",
"src": "1088:2:5"
},
{
"nodeType": "YulBlock",
"src": "1150:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1165:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1179:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1169:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1194:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1229:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1240:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1225:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1225:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1249:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "1204:20:5"
},
"nodeType": "YulFunctionCall",
"src": "1204:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1194:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1277:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1292:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1306:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1296:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1322:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1357:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1368:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1353:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1353:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1377:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "1332:20:5"
},
"nodeType": "YulFunctionCall",
"src": "1332:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1322:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1405:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1420:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1434:2:5",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1424:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1450:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1485:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1496:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1481:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1481:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1505:7:5"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1460:20:5"
},
"nodeType": "YulFunctionCall",
"src": "1460:53:5"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1450:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1032:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1043:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1055:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1063:6:5",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1071:6:5",
"type": ""
}
],
"src": "978:552:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1619:324:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1665:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1674:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1677:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1667:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1667:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1667:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1640:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1649:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1636:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1636:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1661:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1632:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1632:32:5"
},
"nodeType": "YulIf",
"src": "1629:2:5"
},
{
"nodeType": "YulBlock",
"src": "1691:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1706:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1720:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1710:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1735:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1770:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1781:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1766:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1766:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1790:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "1745:20:5"
},
"nodeType": "YulFunctionCall",
"src": "1745:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1735:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1818:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1833:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1847:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1837:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1863:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1898:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1909:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1894:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1894:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1918:7:5"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1873:20:5"
},
"nodeType": "YulFunctionCall",
"src": "1873:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1863:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1581:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1592:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1604:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1612:6:5",
"type": ""
}
],
"src": "1536:407:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2008:50:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2025:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2045:5:5"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "2030:14:5"
},
"nodeType": "YulFunctionCall",
"src": "2030:21:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2018:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2018:34:5"
},
"nodeType": "YulExpressionStatement",
"src": "2018:34:5"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1996:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2003:3:5",
"type": ""
}
],
"src": "1949:109:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2156:272:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2166:53:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2213:5:5"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2180:32:5"
},
"nodeType": "YulFunctionCall",
"src": "2180:39:5"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2170:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2228:78:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2294:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2299:6:5"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2235:58:5"
},
"nodeType": "YulFunctionCall",
"src": "2235:71:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2228:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2341:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2348:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2337:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2337:16:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2355:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2360:6:5"
}
],
"functionName": {
"name": "copy_memory_to_memory",
"nodeType": "YulIdentifier",
"src": "2315:21:5"
},
"nodeType": "YulFunctionCall",
"src": "2315:52:5"
},
"nodeType": "YulExpressionStatement",
"src": "2315:52:5"
},
{
"nodeType": "YulAssignment",
"src": "2376:46:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2387:3:5"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2414:6:5"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2392:21:5"
},
"nodeType": "YulFunctionCall",
"src": "2392:29:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2383:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2383:39:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2376:3:5"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2137:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2144:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2152:3:5",
"type": ""
}
],
"src": "2064:364:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2580:221:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2590:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2656:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2661:2:5",
"type": "",
"value": "35"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2597:58:5"
},
"nodeType": "YulFunctionCall",
"src": "2597:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2590:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2685:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2690:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2681:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2681:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "2694:34:5",
"type": "",
"value": "ERC20: transfer to the zero addr"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2674:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2674:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "2674:55:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2750:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2755:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2746:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2746:12:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "2760:5:5",
"type": "",
"value": "ess"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2739:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2739:27:5"
},
"nodeType": "YulExpressionStatement",
"src": "2739:27:5"
},
{
"nodeType": "YulAssignment",
"src": "2776:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2787:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2792:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2783:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2783:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2776:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2568:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2576:3:5",
"type": ""
}
],
"src": "2434:367:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2953:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2963:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3029:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3034:2:5",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2970:58:5"
},
"nodeType": "YulFunctionCall",
"src": "2970:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2963:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3058:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3063:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3054:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3054:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "3067:34:5",
"type": "",
"value": "ERC20: approve to the zero addre"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3047:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3047:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "3047:55:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3123:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3128:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3119:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3119:12:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "3133:4:5",
"type": "",
"value": "ss"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3112:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3112:26:5"
},
"nodeType": "YulExpressionStatement",
"src": "3112:26:5"
},
{
"nodeType": "YulAssignment",
"src": "3148:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3159:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3164:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3155:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3155:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3148:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2941:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2949:3:5",
"type": ""
}
],
"src": "2807:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3325:224:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3335:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3401:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3406:2:5",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3342:58:5"
},
"nodeType": "YulFunctionCall",
"src": "3342:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3335:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3430:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3435:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3426:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3426:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "3439:34:5",
"type": "",
"value": "ERC20: transfer amount exceeds b"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3419:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3419:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "3419:55:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3495:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3500:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3491:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3491:12:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "3505:8:5",
"type": "",
"value": "alance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3484:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3484:30:5"
},
"nodeType": "YulExpressionStatement",
"src": "3484:30:5"
},
{
"nodeType": "YulAssignment",
"src": "3524:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3535:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3540:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3531:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3531:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3524:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3313:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3321:3:5",
"type": ""
}
],
"src": "3179:370:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3701:226:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3711:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3777:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3782:2:5",
"type": "",
"value": "40"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3718:58:5"
},
"nodeType": "YulFunctionCall",
"src": "3718:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3711:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3806:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3811:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3802:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3802:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "3815:34:5",
"type": "",
"value": "ERC20: transfer amount exceeds a"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3795:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3795:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "3795:55:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3871:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3876:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3867:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3867:12:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "3881:10:5",
"type": "",
"value": "llowance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3860:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3860:32:5"
},
"nodeType": "YulExpressionStatement",
"src": "3860:32:5"
},
{
"nodeType": "YulAssignment",
"src": "3902:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3913:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3918:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3909:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3909:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3902:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3689:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3697:3:5",
"type": ""
}
],
"src": "3555:372:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4079:223:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4089:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4155:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4160:2:5",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4096:58:5"
},
"nodeType": "YulFunctionCall",
"src": "4096:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4089:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4184:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4189:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4180:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4180:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "4193:34:5",
"type": "",
"value": "ERC20: transfer from the zero ad"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4173:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4173:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "4173:55:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4249:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4254:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4245:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4245:12:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "4259:7:5",
"type": "",
"value": "dress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4238:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4238:29:5"
},
"nodeType": "YulExpressionStatement",
"src": "4238:29:5"
},
{
"nodeType": "YulAssignment",
"src": "4277:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4288:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4293:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4284:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4284:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4277:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4067:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4075:3:5",
"type": ""
}
],
"src": "3933:369:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4454:222:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4464:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4530:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4535:2:5",
"type": "",
"value": "36"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4471:58:5"
},
"nodeType": "YulFunctionCall",
"src": "4471:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4464:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4559:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4564:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4555:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4555:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "4568:34:5",
"type": "",
"value": "ERC20: approve from the zero add"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4548:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4548:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "4548:55:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4624:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4629:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4620:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4620:12:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "4634:6:5",
"type": "",
"value": "ress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4613:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4613:28:5"
},
"nodeType": "YulExpressionStatement",
"src": "4613:28:5"
},
{
"nodeType": "YulAssignment",
"src": "4651:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4662:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4667:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4658:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4658:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4651:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4442:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4450:3:5",
"type": ""
}
],
"src": "4308:368:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4828:223:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4838:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4904:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4909:2:5",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4845:58:5"
},
"nodeType": "YulFunctionCall",
"src": "4845:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4838:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4933:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4938:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4929:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4929:11:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "4942:34:5",
"type": "",
"value": "ERC20: decreased allowance below"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4922:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4922:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "4922:55:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4998:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5003:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4994:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4994:12:5"
},
{
"kind": "string",
"nodeType": "YulLiteral",
"src": "5008:7:5",
"type": "",
"value": " zero"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4987:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4987:29:5"
},
"nodeType": "YulExpressionStatement",
"src": "4987:29:5"
},
{
"nodeType": "YulAssignment",
"src": "5026:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5037:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5042:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5033:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5033:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "5026:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4816:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4824:3:5",
"type": ""
}
],
"src": "4682:369:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5122:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5139:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5162:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "5144:17:5"
},
"nodeType": "YulFunctionCall",
"src": "5144:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5132:6:5"
},
"nodeType": "YulFunctionCall",
"src": "5132:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "5132:37:5"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5110:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5117:3:5",
"type": ""
}
],
"src": "5057:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5242:51:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5259:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5280:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "5264:15:5"
},
"nodeType": "YulFunctionCall",
"src": "5264:22:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5252:6:5"
},
"nodeType": "YulFunctionCall",
"src": "5252:35:5"
},
"nodeType": "YulExpressionStatement",
"src": "5252:35:5"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5230:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5237:3:5",
"type": ""
}
],
"src": "5181:112:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5391:118:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5401:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5413:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5424:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5409:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5409:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5401:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5475:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5488:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5499:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5484:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5484:17:5"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "5437:37:5"
},
"nodeType": "YulFunctionCall",
"src": "5437:65:5"
},
"nodeType": "YulExpressionStatement",
"src": "5437:65:5"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5363:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5375:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5386:4:5",
"type": ""
}
],
"src": "5299:210:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5633:195:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5643:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5655:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5666:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5651:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5651:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5643:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5690:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5701:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5686:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5686:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5709:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5715:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5705:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5705:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5679:6:5"
},
"nodeType": "YulFunctionCall",
"src": "5679:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "5679:47:5"
},
{
"nodeType": "YulAssignment",
"src": "5735:86:5",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5807:6:5"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5816:4:5"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5743:63:5"
},
"nodeType": "YulFunctionCall",
"src": "5743:78:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5735:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5605:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5617:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5628:4:5",
"type": ""
}
],
"src": "5515:313:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6005:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6015:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6027:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6038:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6023:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6023:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6015:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6062:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6073:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6058:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6058:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6081:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6087:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6077:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6077:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6051:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6051:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "6051:47:5"
},
{
"nodeType": "YulAssignment",
"src": "6107:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6241:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6115:124:5"
},
"nodeType": "YulFunctionCall",
"src": "6115:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6107:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5985:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6000:4:5",
"type": ""
}
],
"src": "5834:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6430:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6440:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6452:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6463:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6448:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6448:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6440:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6487:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6498:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6483:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6483:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6506:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6512:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6502:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6502:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6476:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6476:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "6476:47:5"
},
{
"nodeType": "YulAssignment",
"src": "6532:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6666:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6540:124:5"
},
"nodeType": "YulFunctionCall",
"src": "6540:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6532:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6410:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6425:4:5",
"type": ""
}
],
"src": "6259:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6855:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6865:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6877:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6888:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6873:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6873:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6865:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6912:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6923:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6908:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6908:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6931:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6937:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6927:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6927:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6901:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6901:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "6901:47:5"
},
{
"nodeType": "YulAssignment",
"src": "6957:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7091:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6965:124:5"
},
"nodeType": "YulFunctionCall",
"src": "6965:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6957:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6835:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6850:4:5",
"type": ""
}
],
"src": "6684:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7280:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7290:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7302:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7313:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7298:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7298:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7290:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7337:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7348:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7333:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7333:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7356:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7362:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7352:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7352:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7326:6:5"
},
"nodeType": "YulFunctionCall",
"src": "7326:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "7326:47:5"
},
{
"nodeType": "YulAssignment",
"src": "7382:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7516:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "7390:124:5"
},
"nodeType": "YulFunctionCall",
"src": "7390:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7382:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7260:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7275:4:5",
"type": ""
}
],
"src": "7109:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7705:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7715:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7727:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7738:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7723:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7723:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7715:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7762:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7773:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7758:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7758:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7781:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7787:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7777:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7777:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7751:6:5"
},
"nodeType": "YulFunctionCall",
"src": "7751:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "7751:47:5"
},
{
"nodeType": "YulAssignment",
"src": "7807:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7941:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "7815:124:5"
},
"nodeType": "YulFunctionCall",
"src": "7815:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7807:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7685:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7700:4:5",
"type": ""
}
],
"src": "7534:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8130:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8140:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8152:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8163:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8148:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8148:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8140:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8187:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8198:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8183:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8183:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8206:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8212:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "8202:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8202:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8176:6:5"
},
"nodeType": "YulFunctionCall",
"src": "8176:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "8176:47:5"
},
{
"nodeType": "YulAssignment",
"src": "8232:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8366:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "8240:124:5"
},
"nodeType": "YulFunctionCall",
"src": "8240:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8232:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8110:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8125:4:5",
"type": ""
}
],
"src": "7959:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8555:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8565:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8577:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8588:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8573:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8573:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8565:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8612:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8623:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8608:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8608:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8631:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8637:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "8627:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8627:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8601:6:5"
},
"nodeType": "YulFunctionCall",
"src": "8601:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "8601:47:5"
},
{
"nodeType": "YulAssignment",
"src": "8657:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8791:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "8665:124:5"
},
"nodeType": "YulFunctionCall",
"src": "8665:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8657:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8535:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8550:4:5",
"type": ""
}
],
"src": "8384:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8907:124:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8917:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8929:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8940:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8925:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8925:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8917:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8997:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9010:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9021:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9006:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9006:17:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "8953:43:5"
},
"nodeType": "YulFunctionCall",
"src": "8953:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "8953:71:5"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8879:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "8891:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8902:4:5",
"type": ""
}
],
"src": "8809:222:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9131:120:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9141:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9153:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9164:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9149:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9149:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9141:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "9217:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9230:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9241:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9226:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9226:17:5"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "9177:39:5"
},
"nodeType": "YulFunctionCall",
"src": "9177:67:5"
},
"nodeType": "YulExpressionStatement",
"src": "9177:67:5"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9103:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "9115:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9126:4:5",
"type": ""
}
],
"src": "9037:214:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9316:40:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9327:22:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9343:5:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "9337:5:5"
},
"nodeType": "YulFunctionCall",
"src": "9337:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "9327:6:5"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9299:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "9309:6:5",
"type": ""
}
],
"src": "9257:99:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9458:73:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9475:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "9480:6:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9468:6:5"
},
"nodeType": "YulFunctionCall",
"src": "9468:19:5"
},
"nodeType": "YulExpressionStatement",
"src": "9468:19:5"
},
{
"nodeType": "YulAssignment",
"src": "9496:29:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9515:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9520:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9511:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9511:14:5"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "9496:11:5"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "9430:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "9435:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "9446:11:5",
"type": ""
}
],
"src": "9362:169:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9581:261:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9591:25:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9614:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "9596:17:5"
},
"nodeType": "YulFunctionCall",
"src": "9596:20:5"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9591:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "9625:25:5",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9648:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "9630:17:5"
},
"nodeType": "YulFunctionCall",
"src": "9630:20:5"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9625:1:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "9788:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "9790:16:5"
},
"nodeType": "YulFunctionCall",
"src": "9790:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "9790:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9709:1:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9716:66:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9784:1:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9712:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9712:74:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "9706:2:5"
},
"nodeType": "YulFunctionCall",
"src": "9706:81:5"
},
"nodeType": "YulIf",
"src": "9703:2:5"
},
{
"nodeType": "YulAssignment",
"src": "9820:16:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9831:1:5"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9834:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9827:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9827:9:5"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "9820:3:5"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "9568:1:5",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "9571:1:5",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "9577:3:5",
"type": ""
}
],
"src": "9537:305:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9893:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9903:35:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9932:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "9914:17:5"
},
"nodeType": "YulFunctionCall",
"src": "9914:24:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "9903:7:5"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9875:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "9885:7:5",
"type": ""
}
],
"src": "9848:96:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9992:48:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10002:32:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "10027:5:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "10020:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10020:13:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "10013:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10013:21:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "10002:7:5"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9974:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "9984:7:5",
"type": ""
}
],
"src": "9950:90:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10091:81:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10101:65:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "10116:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10123:42:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "10112:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10112:54:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "10101:7:5"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "10073:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "10083:7:5",
"type": ""
}
],
"src": "10046:126:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10223:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10233:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "10244:5:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "10233:7:5"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "10205:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "10215:7:5",
"type": ""
}
],
"src": "10178:77:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10304:43:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10314:27:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "10329:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10336:4:5",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "10325:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10325:16:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "10314:7:5"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "10286:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "10296:7:5",
"type": ""
}
],
"src": "10261:86:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10402:258:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "10412:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "10421:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "10416:1:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "10481:63:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "10506:3:5"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10511:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10502:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10502:11:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "10525:3:5"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10530:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10521:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10521:11:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "10515:5:5"
},
"nodeType": "YulFunctionCall",
"src": "10515:18:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10495:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10495:39:5"
},
"nodeType": "YulExpressionStatement",
"src": "10495:39:5"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10442:1:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "10445:6:5"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "10439:2:5"
},
"nodeType": "YulFunctionCall",
"src": "10439:13:5"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "10453:19:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10455:15:5",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10464:1:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10467:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10460:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10460:10:5"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10455:1:5"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "10435:3:5",
"statements": []
},
"src": "10431:113:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10578:76:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "10628:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "10633:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10624:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10624:16:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10642:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10617:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10617:27:5"
},
"nodeType": "YulExpressionStatement",
"src": "10617:27:5"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10559:1:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "10562:6:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "10556:2:5"
},
"nodeType": "YulFunctionCall",
"src": "10556:13:5"
},
"nodeType": "YulIf",
"src": "10553:2:5"
}
]
},
"name": "copy_memory_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "10384:3:5",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "10389:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "10394:6:5",
"type": ""
}
],
"src": "10353:307:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10717:269:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10727:22:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "10741:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10747:1:5",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "10737:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10737:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "10727:6:5"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "10758:38:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "10788:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10794:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "10784:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10784:12:5"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "10762:18:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "10835:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10849:27:5",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "10863:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10871:4:5",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "10859:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10859:17:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "10849:6:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "10815:18:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "10808:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10808:26:5"
},
"nodeType": "YulIf",
"src": "10805:2:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10938:42:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "10952:16:5"
},
"nodeType": "YulFunctionCall",
"src": "10952:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "10952:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "10902:18:5"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "10925:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10933:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "10922:2:5"
},
"nodeType": "YulFunctionCall",
"src": "10922:14:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "10899:2:5"
},
"nodeType": "YulFunctionCall",
"src": "10899:38:5"
},
"nodeType": "YulIf",
"src": "10896:2:5"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "10701:4:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "10710:6:5",
"type": ""
}
],
"src": "10666:320:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11020:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11037:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11040:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11030:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11030:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "11030:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11134:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11137:4:5",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11127:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11127:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "11127:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11158:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11161:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "11151:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11151:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "11151:15:5"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "10992:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11206:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11223:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11226:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11216:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11216:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "11216:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11320:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11323:4:5",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11313:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11313:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "11313:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11344:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11347:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "11337:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11337:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "11337:15:5"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "11178:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11412:54:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11422:38:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11440:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11447:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11436:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11436:14:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11456:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "11452:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11452:7:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "11432:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11432:28:5"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "11422:6:5"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "11395:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "11405:6:5",
"type": ""
}
],
"src": "11364:102:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11515:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "11572:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11581:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11584:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "11574:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11574:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "11574:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11538:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11563:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "11545:17:5"
},
"nodeType": "YulFunctionCall",
"src": "11545:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "11535:2:5"
},
"nodeType": "YulFunctionCall",
"src": "11535:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "11528:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11528:43:5"
},
"nodeType": "YulIf",
"src": "11525:2:5"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "11508:5:5",
"type": ""
}
],
"src": "11472:122:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11643:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "11700:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11709:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11712:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "11702:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11702:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "11702:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11666:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11691:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "11673:17:5"
},
"nodeType": "YulFunctionCall",
"src": "11673:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "11663:2:5"
},
"nodeType": "YulFunctionCall",
"src": "11663:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "11656:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11656:43:5"
},
"nodeType": "YulIf",
"src": "11653:2:5"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "11636:5:5",
"type": ""
}
],
"src": "11600:122:5"
}
]
},
"contents": "{\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(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_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n\n mstore(add(pos, 0), \"ERC20: transfer to the zero addr\")\n\n mstore(add(pos, 32), \"ess\")\n\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n\n mstore(add(pos, 0), \"ERC20: approve to the zero addre\")\n\n mstore(add(pos, 32), \"ss\")\n\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 38)\n\n mstore(add(pos, 0), \"ERC20: transfer amount exceeds b\")\n\n mstore(add(pos, 32), \"alance\")\n\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 40)\n\n mstore(add(pos, 0), \"ERC20: transfer amount exceeds a\")\n\n mstore(add(pos, 32), \"llowance\")\n\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n\n mstore(add(pos, 0), \"ERC20: transfer from the zero ad\")\n\n mstore(add(pos, 32), \"dress\")\n\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 36)\n\n mstore(add(pos, 0), \"ERC20: approve from the zero add\")\n\n mstore(add(pos, 32), \"ress\")\n\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n\n mstore(add(pos, 0), \"ERC20: decreased allowance below\")\n\n mstore(add(pos, 32), \" zero\")\n\n end := add(pos, 64)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_t_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_974d1b4421da69cc60b481194f0dad36a5bb4e23da810da7a7fb30cdba178330_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint8_to_t_uint8_fromStack(value0, add(headStart, 0))\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 checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 5,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c3919061100a565b60405180910390f35b6100e660048036038101906100e19190610c83565b610308565b6040516100f39190610fef565b60405180910390f35b610104610326565b604051610111919061110c565b60405180910390f35b610134600480360381019061012f9190610c34565b610330565b6040516101419190610fef565b60405180910390f35b610152610428565b60405161015f9190611127565b60405180910390f35b610182600480360381019061017d9190610c83565b610431565b60405161018f9190610fef565b60405180910390f35b6101b260048036038101906101ad9190610bcf565b6104dd565b6040516101bf919061110c565b60405180910390f35b6101d0610525565b6040516101dd919061100a565b60405180910390f35b61020060048036038101906101fb9190610c83565b6105b7565b60405161020d9190610fef565b60405180910390f35b610230600480360381019061022b9190610c83565b6106a2565b60405161023d9190610fef565b60405180910390f35b610260600480360381019061025b9190610bf8565b6106c0565b60405161026d919061110c565b60405180910390f35b6060600380546102859061123c565b80601f01602080910402602001604051908101604052809291908181526020018280546102b19061123c565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b600061031c610315610747565b848461074f565b6001905092915050565b6000600254905090565b600061033d84848461091a565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610388610747565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ff9061108c565b60405180910390fd5b61041c85610414610747565b85840361074f565b60019150509392505050565b60006012905090565b60006104d361043e610747565b84846001600061044c610747565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104ce919061115e565b61074f565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546105349061123c565b80601f01602080910402602001604051908101604052809291908181526020018280546105609061123c565b80156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b600080600160006105c6610747565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067a906110ec565b60405180910390fd5b61069761068e610747565b8585840361074f565b600191505092915050565b60006106b66106af610747565b848461091a565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b6906110cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561082f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108269061104c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161090d919061110c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610981906110ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f19061102c565b60405180910390fd5b610a05838383610b9b565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a829061106c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b1e919061115e565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b82919061110c565b60405180910390a3610b95848484610ba0565b50505050565b505050565b505050565b600081359050610bb4816112dd565b92915050565b600081359050610bc9816112f4565b92915050565b600060208284031215610be157600080fd5b6000610bef84828501610ba5565b91505092915050565b60008060408385031215610c0b57600080fd5b6000610c1985828601610ba5565b9250506020610c2a85828601610ba5565b9150509250929050565b600080600060608486031215610c4957600080fd5b6000610c5786828701610ba5565b9350506020610c6886828701610ba5565b9250506040610c7986828701610bba565b9150509250925092565b60008060408385031215610c9657600080fd5b6000610ca485828601610ba5565b9250506020610cb585828601610bba565b9150509250929050565b610cc8816111c6565b82525050565b6000610cd982611142565b610ce3818561114d565b9350610cf3818560208601611209565b610cfc816112cc565b840191505092915050565b6000610d1460238361114d565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610d7a60228361114d565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610de060268361114d565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610e4660288361114d565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610eac60258361114d565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610f1260248361114d565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610f7860258361114d565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b610fda816111f2565b82525050565b610fe9816111fc565b82525050565b60006020820190506110046000830184610cbf565b92915050565b600060208201905081810360008301526110248184610cce565b905092915050565b6000602082019050818103600083015261104581610d07565b9050919050565b6000602082019050818103600083015261106581610d6d565b9050919050565b6000602082019050818103600083015261108581610dd3565b9050919050565b600060208201905081810360008301526110a581610e39565b9050919050565b600060208201905081810360008301526110c581610e9f565b9050919050565b600060208201905081810360008301526110e581610f05565b9050919050565b6000602082019050818103600083015261110581610f6b565b9050919050565b60006020820190506111216000830184610fd1565b92915050565b600060208201905061113c6000830184610fe0565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611169826111f2565b9150611174836111f2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156111a9576111a861126e565b5b828201905092915050565b60006111bf826111d2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561122757808201518184015260208101905061120c565b83811115611236576000848401525b50505050565b6000600282049050600182168061125457607f821691505b602082108114156112685761126761129d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6112e6816111b4565b81146112f157600080fd5b50565b6112fd816111f2565b811461130857600080fd5b5056fea2646970667358221220769f9e57cd31fd13556d325b9a71a76d756c14168b4abe4bde16113f0a4527bf64736f6c63430008000033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xA9 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x39509351 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x168 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x198 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x1C8 JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x1E6 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x216 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x246 JUMPI PUSH2 0xA9 JUMP JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0xAE JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xFC JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x11A JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x14A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB6 PUSH2 0x276 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC3 SWAP2 SWAP1 PUSH2 0x100A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE6 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xE1 SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x308 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xF3 SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x104 PUSH2 0x326 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x111 SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x134 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x12F SWAP2 SWAP1 PUSH2 0xC34 JUMP JUMPDEST PUSH2 0x330 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x141 SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x152 PUSH2 0x428 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x15F SWAP2 SWAP1 PUSH2 0x1127 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x17D SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x431 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18F SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1B2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1AD SWAP2 SWAP1 PUSH2 0xBCF JUMP JUMPDEST PUSH2 0x4DD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1BF SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1D0 PUSH2 0x525 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1DD SWAP2 SWAP1 PUSH2 0x100A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x200 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1FB SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x5B7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x20D SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x230 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x22B SWAP2 SWAP1 PUSH2 0xC83 JUMP JUMPDEST PUSH2 0x6A2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x23D SWAP2 SWAP1 PUSH2 0xFEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x260 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x25B SWAP2 SWAP1 PUSH2 0xBF8 JUMP JUMPDEST PUSH2 0x6C0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x26D SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x285 SWAP1 PUSH2 0x123C 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 0x2B1 SWAP1 PUSH2 0x123C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2FE JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2D3 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x2FE 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 0x2E1 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x31C PUSH2 0x315 PUSH2 0x747 JUMP JUMPDEST DUP5 DUP5 PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x33D DUP5 DUP5 DUP5 PUSH2 0x91A JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x388 PUSH2 0x747 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP3 DUP2 LT ISZERO PUSH2 0x408 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3FF SWAP1 PUSH2 0x108C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x41C DUP6 PUSH2 0x414 PUSH2 0x747 JUMP JUMPDEST DUP6 DUP5 SUB PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4D3 PUSH2 0x43E PUSH2 0x747 JUMP JUMPDEST DUP5 DUP5 PUSH1 0x1 PUSH1 0x0 PUSH2 0x44C PUSH2 0x747 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH2 0x4CE SWAP2 SWAP1 PUSH2 0x115E JUMP JUMPDEST PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x534 SWAP1 PUSH2 0x123C 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 0x560 SWAP1 PUSH2 0x123C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5AD JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x582 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5AD 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 0x590 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x1 PUSH1 0x0 PUSH2 0x5C6 PUSH2 0x747 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP3 DUP2 LT ISZERO PUSH2 0x683 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x67A SWAP1 PUSH2 0x10EC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x697 PUSH2 0x68E PUSH2 0x747 JUMP JUMPDEST DUP6 DUP6 DUP5 SUB PUSH2 0x74F JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6B6 PUSH2 0x6AF PUSH2 0x747 JUMP JUMPDEST DUP5 DUP5 PUSH2 0x91A JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x7BF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x7B6 SWAP1 PUSH2 0x10CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x82F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x826 SWAP1 PUSH2 0x104C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP4 PUSH1 0x40 MLOAD PUSH2 0x90D SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x98A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x981 SWAP1 PUSH2 0x10AC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x9FA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9F1 SWAP1 PUSH2 0x102C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xA05 DUP4 DUP4 DUP4 PUSH2 0xB9B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0xA8B JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA82 SWAP1 PUSH2 0x106C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x0 DUP1 DUP6 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 PUSH2 0xB1E SWAP2 SWAP1 PUSH2 0x115E JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0xB82 SWAP2 SWAP1 PUSH2 0x110C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0xB95 DUP5 DUP5 DUP5 PUSH2 0xBA0 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xBB4 DUP2 PUSH2 0x12DD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xBC9 DUP2 PUSH2 0x12F4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xBE1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xBEF DUP5 DUP3 DUP6 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC0B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xC19 DUP6 DUP3 DUP7 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xC2A DUP6 DUP3 DUP7 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xC49 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xC57 DUP7 DUP3 DUP8 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0xC68 DUP7 DUP3 DUP8 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0xC79 DUP7 DUP3 DUP8 ADD PUSH2 0xBBA JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC96 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xCA4 DUP6 DUP3 DUP7 ADD PUSH2 0xBA5 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xCB5 DUP6 DUP3 DUP7 ADD PUSH2 0xBBA JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xCC8 DUP2 PUSH2 0x11C6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCD9 DUP3 PUSH2 0x1142 JUMP JUMPDEST PUSH2 0xCE3 DUP2 DUP6 PUSH2 0x114D JUMP JUMPDEST SWAP4 POP PUSH2 0xCF3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x1209 JUMP JUMPDEST PUSH2 0xCFC DUP2 PUSH2 0x12CC JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD14 PUSH1 0x23 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x6573730000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD7A PUSH1 0x22 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x7373000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDE0 PUSH1 0x26 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x616C616E63650000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE46 PUSH1 0x28 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732061 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x6C6C6F77616E6365000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEAC PUSH1 0x25 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x6472657373000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF12 PUSH1 0x24 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF78 PUSH1 0x25 DUP4 PUSH2 0x114D JUMP JUMPDEST SWAP2 POP PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x0 DUP4 ADD MSTORE PUSH32 0x207A65726F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xFDA DUP2 PUSH2 0x11F2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xFE9 DUP2 PUSH2 0x11FC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1004 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xCBF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1024 DUP2 DUP5 PUSH2 0xCCE JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1045 DUP2 PUSH2 0xD07 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1065 DUP2 PUSH2 0xD6D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1085 DUP2 PUSH2 0xDD3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x10A5 DUP2 PUSH2 0xE39 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x10C5 DUP2 PUSH2 0xE9F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x10E5 DUP2 PUSH2 0xF05 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1105 DUP2 PUSH2 0xF6B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1121 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xFD1 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x113C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xFE0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1169 DUP3 PUSH2 0x11F2 JUMP JUMPDEST SWAP2 POP PUSH2 0x1174 DUP4 PUSH2 0x11F2 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0x11A9 JUMPI PUSH2 0x11A8 PUSH2 0x126E JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x11BF DUP3 PUSH2 0x11D2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1227 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x120C JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1236 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 0x1254 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x1268 JUMPI PUSH2 0x1267 PUSH2 0x129D JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x12E6 DUP2 PUSH2 0x11B4 JUMP JUMPDEST DUP2 EQ PUSH2 0x12F1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x12FD DUP2 PUSH2 0x11F2 JUMP JUMPDEST DUP2 EQ PUSH2 0x1308 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH23 0x9F9E57CD31FD13556D325B9A71A76D756C14168B4ABE4B 0xDE AND GT EXTCODEHASH EXP GASLIMIT 0x27 0xBF PUSH5 0x736F6C6343 STOP ADDMOD STOP STOP CALLER ",
"sourceMap": "190:146:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2141:98:1;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4238:166;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3229:106;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4871:478;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3078:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5744:212;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3393:125;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2352:102;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6443:405;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3721:172;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3951:149;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2141:98;2195:13;2227:5;2220:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2141:98;:::o;4238:166::-;4321:4;4337:39;4346:12;:10;:12::i;:::-;4360:7;4369:6;4337:8;:39::i;:::-;4393:4;4386:11;;4238:166;;;;:::o;3229:106::-;3290:7;3316:12;;3309:19;;3229:106;:::o;4871:478::-;5007:4;5023:36;5033:6;5041:9;5052:6;5023:9;:36::i;:::-;5070:24;5097:11;:19;5109:6;5097:19;;;;;;;;;;;;;;;:33;5117:12;:10;:12::i;:::-;5097:33;;;;;;;;;;;;;;;;5070:60;;5168:6;5148:16;:26;;5140:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;5253:57;5262:6;5270:12;:10;:12::i;:::-;5303:6;5284:16;:25;5253:8;:57::i;:::-;5338:4;5331:11;;;4871:478;;;;;:::o;3078:91::-;3136:5;3160:2;3153:9;;3078:91;:::o;5744:212::-;5832:4;5848:80;5857:12;:10;:12::i;:::-;5871:7;5917:10;5880:11;:25;5892:12;:10;:12::i;:::-;5880:25;;;;;;;;;;;;;;;:34;5906:7;5880:34;;;;;;;;;;;;;;;;:47;;;;:::i;:::-;5848:8;:80::i;:::-;5945:4;5938:11;;5744:212;;;;:::o;3393:125::-;3467:7;3493:9;:18;3503:7;3493:18;;;;;;;;;;;;;;;;3486:25;;3393:125;;;:::o;2352:102::-;2408:13;2440:7;2433:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2352:102;:::o;6443:405::-;6536:4;6552:24;6579:11;:25;6591:12;:10;:12::i;:::-;6579:25;;;;;;;;;;;;;;;:34;6605:7;6579:34;;;;;;;;;;;;;;;;6552:61;;6651:15;6631:16;:35;;6623:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;6742:67;6751:12;:10;:12::i;:::-;6765:7;6793:15;6774:16;:34;6742:8;:67::i;:::-;6837:4;6830:11;;;6443:405;;;;:::o;3721:172::-;3807:4;3823:42;3833:12;:10;:12::i;:::-;3847:9;3858:6;3823:9;:42::i;:::-;3882:4;3875:11;;3721:172;;;;:::o;3951:149::-;4040:7;4066:11;:18;4078:5;4066:18;;;;;;;;;;;;;;;:27;4085:7;4066:27;;;;;;;;;;;;;;;;4059:34;;3951:149;;;;:::o;640:96:4:-;693:7;719:10;712:17;;640:96;:::o;10019:370:1:-;10167:1;10150:19;;:5;:19;;;;10142:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;10247:1;10228:21;;:7;:21;;;;10220:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;10329:6;10299:11;:18;10311:5;10299:18;;;;;;;;;;;;;;;:27;10318:7;10299:27;;;;;;;;;;;;;;;:36;;;;10366:7;10350:32;;10359:5;10350:32;;;10375:6;10350:32;;;;;;:::i;:::-;;;;;;;;10019:370;;;:::o;7322:713::-;7475:1;7457:20;;:6;:20;;;;7449:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;7558:1;7537:23;;:9;:23;;;;7529:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;7611:47;7632:6;7640:9;7651:6;7611:20;:47::i;:::-;7669:21;7693:9;:17;7703:6;7693:17;;;;;;;;;;;;;;;;7669:41;;7745:6;7728:13;:23;;7720:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;7864:6;7848:13;:22;7828:9;:17;7838:6;7828:17;;;;;;;;;;;;;;;:42;;;;7914:6;7890:9;:20;7900:9;7890:20;;;;;;;;;;;;;;;;:30;;;;;;;:::i;:::-;;;;;;;;7953:9;7936:35;;7945:6;7936:35;;;7964:6;7936:35;;;;;;:::i;:::-;;;;;;;;7982:46;8002:6;8010:9;8021:6;7982:19;:46::i;:::-;7322:713;;;;:::o;10973:121::-;;;;:::o;11682:120::-;;;;:::o;7:139:5:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:139::-;;236:6;223:20;214:29;;252:33;279:5;252:33;:::i;:::-;204:87;;;;:::o;297:262::-;;405:2;393:9;384:7;380:23;376:32;373:2;;;421:1;418;411:12;373:2;464:1;489:53;534:7;525:6;514:9;510:22;489:53;:::i;:::-;479:63;;435:117;363:196;;;;:::o;565:407::-;;;690:2;678:9;669:7;665:23;661:32;658:2;;;706:1;703;696:12;658:2;749:1;774:53;819:7;810:6;799:9;795:22;774:53;:::i;:::-;764:63;;720:117;876:2;902:53;947:7;938:6;927:9;923:22;902:53;:::i;:::-;892:63;;847:118;648:324;;;;;:::o;978:552::-;;;;1120:2;1108:9;1099:7;1095:23;1091:32;1088:2;;;1136:1;1133;1126:12;1088:2;1179:1;1204:53;1249:7;1240:6;1229:9;1225:22;1204:53;:::i;:::-;1194:63;;1150:117;1306:2;1332:53;1377:7;1368:6;1357:9;1353:22;1332:53;:::i;:::-;1322:63;;1277:118;1434:2;1460:53;1505:7;1496:6;1485:9;1481:22;1460:53;:::i;:::-;1450:63;;1405:118;1078:452;;;;;:::o;1536:407::-;;;1661:2;1649:9;1640:7;1636:23;1632:32;1629:2;;;1677:1;1674;1667:12;1629:2;1720:1;1745:53;1790:7;1781:6;1770:9;1766:22;1745:53;:::i;:::-;1735:63;;1691:117;1847:2;1873:53;1918:7;1909:6;1898:9;1894:22;1873:53;:::i;:::-;1863:63;;1818:118;1619:324;;;;;:::o;1949:109::-;2030:21;2045:5;2030:21;:::i;:::-;2025:3;2018:34;2008:50;;:::o;2064:364::-;;2180:39;2213:5;2180:39;:::i;:::-;2235:71;2299:6;2294:3;2235:71;:::i;:::-;2228:78;;2315:52;2360:6;2355:3;2348:4;2341:5;2337:16;2315:52;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2156:272;;;;;:::o;2434:367::-;;2597:67;2661:2;2656:3;2597:67;:::i;:::-;2590:74;;2694:34;2690:1;2685:3;2681:11;2674:55;2760:5;2755:2;2750:3;2746:12;2739:27;2792:2;2787:3;2783:12;2776:19;;2580:221;;;:::o;2807:366::-;;2970:67;3034:2;3029:3;2970:67;:::i;:::-;2963:74;;3067:34;3063:1;3058:3;3054:11;3047:55;3133:4;3128:2;3123:3;3119:12;3112:26;3164:2;3159:3;3155:12;3148:19;;2953:220;;;:::o;3179:370::-;;3342:67;3406:2;3401:3;3342:67;:::i;:::-;3335:74;;3439:34;3435:1;3430:3;3426:11;3419:55;3505:8;3500:2;3495:3;3491:12;3484:30;3540:2;3535:3;3531:12;3524:19;;3325:224;;;:::o;3555:372::-;;3718:67;3782:2;3777:3;3718:67;:::i;:::-;3711:74;;3815:34;3811:1;3806:3;3802:11;3795:55;3881:10;3876:2;3871:3;3867:12;3860:32;3918:2;3913:3;3909:12;3902:19;;3701:226;;;:::o;3933:369::-;;4096:67;4160:2;4155:3;4096:67;:::i;:::-;4089:74;;4193:34;4189:1;4184:3;4180:11;4173:55;4259:7;4254:2;4249:3;4245:12;4238:29;4293:2;4288:3;4284:12;4277:19;;4079:223;;;:::o;4308:368::-;;4471:67;4535:2;4530:3;4471:67;:::i;:::-;4464:74;;4568:34;4564:1;4559:3;4555:11;4548:55;4634:6;4629:2;4624:3;4620:12;4613:28;4667:2;4662:3;4658:12;4651:19;;4454:222;;;:::o;4682:369::-;;4845:67;4909:2;4904:3;4845:67;:::i;:::-;4838:74;;4942:34;4938:1;4933:3;4929:11;4922:55;5008:7;5003:2;4998:3;4994:12;4987:29;5042:2;5037:3;5033:12;5026:19;;4828:223;;;:::o;5057:118::-;5144:24;5162:5;5144:24;:::i;:::-;5139:3;5132:37;5122:53;;:::o;5181:112::-;5264:22;5280:5;5264:22;:::i;:::-;5259:3;5252:35;5242:51;;:::o;5299:210::-;;5424:2;5413:9;5409:18;5401:26;;5437:65;5499:1;5488:9;5484:17;5475:6;5437:65;:::i;:::-;5391:118;;;;:::o;5515:313::-;;5666:2;5655:9;5651:18;5643:26;;5715:9;5709:4;5705:20;5701:1;5690:9;5686:17;5679:47;5743:78;5816:4;5807:6;5743:78;:::i;:::-;5735:86;;5633:195;;;;:::o;5834:419::-;;6038:2;6027:9;6023:18;6015:26;;6087:9;6081:4;6077:20;6073:1;6062:9;6058:17;6051:47;6115:131;6241:4;6115:131;:::i;:::-;6107:139;;6005:248;;;:::o;6259:419::-;;6463:2;6452:9;6448:18;6440:26;;6512:9;6506:4;6502:20;6498:1;6487:9;6483:17;6476:47;6540:131;6666:4;6540:131;:::i;:::-;6532:139;;6430:248;;;:::o;6684:419::-;;6888:2;6877:9;6873:18;6865:26;;6937:9;6931:4;6927:20;6923:1;6912:9;6908:17;6901:47;6965:131;7091:4;6965:131;:::i;:::-;6957:139;;6855:248;;;:::o;7109:419::-;;7313:2;7302:9;7298:18;7290:26;;7362:9;7356:4;7352:20;7348:1;7337:9;7333:17;7326:47;7390:131;7516:4;7390:131;:::i;:::-;7382:139;;7280:248;;;:::o;7534:419::-;;7738:2;7727:9;7723:18;7715:26;;7787:9;7781:4;7777:20;7773:1;7762:9;7758:17;7751:47;7815:131;7941:4;7815:131;:::i;:::-;7807:139;;7705:248;;;:::o;7959:419::-;;8163:2;8152:9;8148:18;8140:26;;8212:9;8206:4;8202:20;8198:1;8187:9;8183:17;8176:47;8240:131;8366:4;8240:131;:::i;:::-;8232:139;;8130:248;;;:::o;8384:419::-;;8588:2;8577:9;8573:18;8565:26;;8637:9;8631:4;8627:20;8623:1;8612:9;8608:17;8601:47;8665:131;8791:4;8665:131;:::i;:::-;8657:139;;8555:248;;;:::o;8809:222::-;;8940:2;8929:9;8925:18;8917:26;;8953:71;9021:1;9010:9;9006:17;8997:6;8953:71;:::i;:::-;8907:124;;;;:::o;9037:214::-;;9164:2;9153:9;9149:18;9141:26;;9177:67;9241:1;9230:9;9226:17;9217:6;9177:67;:::i;:::-;9131:120;;;;:::o;9257:99::-;;9343:5;9337:12;9327:22;;9316:40;;;:::o;9362:169::-;;9480:6;9475:3;9468:19;9520:4;9515:3;9511:14;9496:29;;9458:73;;;;:::o;9537:305::-;;9596:20;9614:1;9596:20;:::i;:::-;9591:25;;9630:20;9648:1;9630:20;:::i;:::-;9625:25;;9784:1;9716:66;9712:74;9709:1;9706:81;9703:2;;;9790:18;;:::i;:::-;9703:2;9834:1;9831;9827:9;9820:16;;9581:261;;;;:::o;9848:96::-;;9914:24;9932:5;9914:24;:::i;:::-;9903:35;;9893:51;;;:::o;9950:90::-;;10027:5;10020:13;10013:21;10002:32;;9992:48;;;:::o;10046:126::-;;10123:42;10116:5;10112:54;10101:65;;10091:81;;;:::o;10178:77::-;;10244:5;10233:16;;10223:32;;;:::o;10261:86::-;;10336:4;10329:5;10325:16;10314:27;;10304:43;;;:::o;10353:307::-;10421:1;10431:113;10445:6;10442:1;10439:13;10431:113;;;10530:1;10525:3;10521:11;10515:18;10511:1;10506:3;10502:11;10495:39;10467:2;10464:1;10460:10;10455:15;;10431:113;;;10562:6;10559:1;10556:13;10553:2;;;10642:1;10633:6;10628:3;10624:16;10617:27;10553:2;10402:258;;;;:::o;10666:320::-;;10747:1;10741:4;10737:12;10727:22;;10794:1;10788:4;10784:12;10815:18;10805:2;;10871:4;10863:6;10859:17;10849:27;;10805:2;10933;10925:6;10922:14;10902:18;10899:38;10896:2;;;10952:18;;:::i;:::-;10896:2;10717:269;;;;:::o;10992:180::-;11040:77;11037:1;11030:88;11137:4;11134:1;11127:15;11161:4;11158:1;11151:15;11178:180;11226:77;11223:1;11216:88;11323:4;11320:1;11313:15;11347:4;11344:1;11337:15;11364:102;;11456:2;11452:7;11447:2;11440:5;11436:14;11432:28;11422:38;;11412:54;;;:::o;11472:122::-;11545:24;11563:5;11545:24;:::i;:::-;11538:5;11535:35;11525:2;;11584:1;11581;11574:12;11525:2;11515:79;:::o;11600:122::-;11673:24;11691:5;11673:24;:::i;:::-;11666:5;11663:35;11653:2;;11712:1;11709;11702:12;11653:2;11643:79;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "985800",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "infinite",
"balanceOf(address)": "1563",
"decimals()": "432",
"decreaseAllowance(address,uint256)": "infinite",
"increaseAllowance(address,uint256)": "infinite",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "1182",
"transfer(address,uint256)": "infinite",
"transferFrom(address,address,uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"decreaseAllowance(address,uint256)": "a457c2d7",
"increaseAllowance(address,uint256)": "39509351",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.0+commit.c7dfd78e"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"allowance(address,address)": {
"details": "See {IERC20-allowance}."
},
"approve(address,uint256)": {
"details": "See {IERC20-approve}. Requirements: - `spender` cannot be the zero address."
},
"balanceOf(address)": {
"details": "See {IERC20-balanceOf}."
},
"decimals()": {
"details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."
},
"decreaseAllowance(address,uint256)": {
"details": "Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."
},
"increaseAllowance(address,uint256)": {
"details": "Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."
},
"name()": {
"details": "Returns the name of the token."
},
"symbol()": {
"details": "Returns the symbol of the token, usually a shorter version of the name."
},
"totalSupply()": {
"details": "See {IERC20-totalSupply}."
},
"transfer(address,uint256)": {
"details": "See {IERC20-transfer}. Requirements: - `recipient` cannot be the zero address. - the caller must have a balance of at least `amount`."
},
"transferFrom(address,address,uint256)": {
"details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. Requirements: - `sender` and `recipient` cannot be the zero address. - `sender` must have a balance of at least `amount`. - the caller must have allowance for ``sender``'s tokens of at least `amount`."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/Token.sol": "ZToken"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/Token.sol": {
"keccak256": "0x28011001714847cc1ee1fb76d2871d0652a924eb64d1ef500e31b6b5b910f23b",
"license": "MIT",
"urls": [
"bzz-raw://18368b47260e83eadd6d34174a975239bdc1be28a26689449edd8539ce235950",
"dweb:/ipfs/Qmd4Qcz5syrVe8EcZzUBVZ3SFeFfX9aPdydKdcSkABUzXN"
]
},
"https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol": {
"keccak256": "0x90ddd0bd062a33fa68cefe0b4ced8a25a1e544751d8390f6fbfc8999445ee338",
"license": "MIT",
"urls": [
"bzz-raw://cd593a0663e5450a5af30e4c99c5f3bbbc4aa90ce72fc17a45332bef36aa7e02",
"dweb:/ipfs/QmdsLUKi1rn2jpj6tA5mrZLPhCi4EffnSjXNYbgs1Covcs"
]
},
"https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol": {
"keccak256": "0x56611e8ecb97ec1d51818c63ce411c4a91a57d4d4f36ea40f826ce21377df1e7",
"license": "MIT",
"urls": [
"bzz-raw://c205a2e68df8a81c6d59ade64023a23afd9d0d706546c3f667d5cbd58f253a8e",
"dweb:/ipfs/QmeXCALDCf3YNE6FjNjerStTfs8DV3d62H9w3VjfQvdu37"
]
},
"https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/IERC20Metadata.sol": {
"keccak256": "0x2fda19861a67c11ecec0fc3e461e3245c06ec15637978177dc0c83d6aec97963",
"license": "MIT",
"urls": [
"bzz-raw://0df626ea0433982e59747e391f46236ef6faa4922fdae12a0b4c1b6fc398a58b",
"dweb:/ipfs/QmV4qKFppaPrYWTEseNGYfxQpPMsNAHoKG5Fn7zuV5he1o"
]
},
"https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol": {
"keccak256": "0x00f8a1bd52713525eb90f70b64f028de5c075fb6298cc9de2e8f0c022e1595ff",
"license": "MIT",
"urls": [
"bzz-raw://4b5121409ef8f276add2cb646a4614809fb824012addf8f584d0bb2e0bb7ba53",
"dweb:/ipfs/QmdN1Yk9Xmskgk2Y6DWNX7EmXU5EtKroCGHiQrHpXSWRZp"
]
}
},
"version": 1
}
// contracts/token.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract ZToken is ERC20 {
constructor() ERC20("Pixels", "ZPIXEL") {
_mint(msg.sender, 1000000 * (100 ** uint256(decimals())));
}
}
// 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