Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save c-exinsco/784c55f39ab3cc7abb337ea5c5571717 to your computer and use it in GitHub Desktop.
Save c-exinsco/784c55f39ab3cc7abb337ea5c5571717 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.7+commit.e28d00a7.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol)
pragma solidity ^0.8.0;
/**
* @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
*
* _Available since v4.5._
*/
interface IVotes {
/**
* @dev Emitted when an account changes their delegate.
*/
event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);
/**
* @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.
*/
event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);
/**
* @dev Returns the current amount of votes that `account` has.
*/
function getVotes(address account) external view returns (uint256);
/**
* @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).
*/
function getPastVotes(address account, uint256 blockNumber) external view returns (uint256);
/**
* @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).
*
* NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
* Votes that have not been delegated are still part of total supply, even though they would not participate in a
* vote.
*/
function getPastTotalSupply(uint256 blockNumber) external view returns (uint256);
/**
* @dev Returns the delegate that `account` has chosen.
*/
function delegates(address account) external view returns (address);
/**
* @dev Delegates votes from the sender to `delegatee`.
*/
function delegate(address delegatee) external;
/**
* @dev Delegates votes from signer to `delegatee`.
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) external;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156FlashBorrower.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC3156 FlashBorrower, as defined in
* https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
*
* _Available since v4.1._
*/
interface IERC3156FlashBorrower {
/**
* @dev Receive a flash loan.
* @param initiator The initiator of the loan.
* @param token The loan currency.
* @param amount The amount of tokens lent.
* @param fee The additional amount of tokens to repay.
* @param data Arbitrary data structure, intended to contain user-defined parameters.
* @return The keccak256 hash of "IERC3156FlashBorrower.onFlashLoan"
*/
function onFlashLoan(
address initiator,
address token,
uint256 amount,
uint256 fee,
bytes calldata data
) external returns (bytes32);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156FlashLender.sol)
pragma solidity ^0.8.0;
import "./IERC3156FlashBorrower.sol";
/**
* @dev Interface of the ERC3156 FlashLender, as defined in
* https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
*
* _Available since v4.1._
*/
interface IERC3156FlashLender {
/**
* @dev The amount of currency available to be lended.
* @param token The loan currency.
* @return The amount of `token` that can be borrowed.
*/
function maxFlashLoan(address token) external view returns (uint256);
/**
* @dev The fee to be charged for a given loan.
* @param token The loan currency.
* @param amount The amount of tokens lent.
* @return The amount of `token` to be charged for the loan, on top of the returned principal.
*/
function flashFee(address token, uint256 amount) external view returns (uint256);
/**
* @dev Initiate a flash loan.
* @param receiver The receiver of the tokens in the loan, and the receiver of the callback.
* @param token The loan currency.
* @param amount The amount of tokens lent.
* @param data Arbitrary data structure, intended to contain user-defined parameters.
*/
function flashLoan(
IERC3156FlashBorrower receiver,
address token,
uint256 amount,
bytes calldata data
) external returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, 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}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, 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}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, 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) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, 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) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* 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:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, 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 Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - 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 (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol)
pragma solidity ^0.8.0;
import "./draft-IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/draft-EIP712.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/Counters.sol";
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping(address => Counters.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private constant _PERMIT_TYPEHASH =
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
* However, to ensure consistency with the upgradeable transpiler, we will continue
* to reserve a slot.
* @custom:oz-renamed-from _PERMIT_TYPEHASH
*/
// solhint-disable-next-line var-name-mixedcase
bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
constructor(string memory name) EIP712(name, "1") {}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= deadline, "ERC20Permit: expired deadline");
bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSA.recover(hash, v, r, s);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
Counters.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, _msgSender(), amount);
_burn(account, amount);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/ERC20FlashMint.sol)
pragma solidity ^0.8.0;
import "../../../interfaces/IERC3156FlashBorrower.sol";
import "../../../interfaces/IERC3156FlashLender.sol";
import "../ERC20.sol";
/**
* @dev Implementation of the ERC3156 Flash loans extension, as defined in
* https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
*
* Adds the {flashLoan} method, which provides flash loan support at the token
* level. By default there is no fee, but this can be changed by overriding {flashFee}.
*
* _Available since v4.1._
*/
abstract contract ERC20FlashMint is ERC20, IERC3156FlashLender {
bytes32 private constant _RETURN_VALUE = keccak256("ERC3156FlashBorrower.onFlashLoan");
/**
* @dev Returns the maximum amount of tokens available for loan.
* @param token The address of the token that is requested.
* @return The amount of token that can be loaned.
*/
function maxFlashLoan(address token) public view virtual override returns (uint256) {
return token == address(this) ? type(uint256).max - ERC20.totalSupply() : 0;
}
/**
* @dev Returns the fee applied when doing flash loans. By default this
* implementation has 0 fees. This function can be overloaded to make
* the flash loan mechanism deflationary.
* @param token The token to be flash loaned.
* @param amount The amount of tokens to be loaned.
* @return The fees applied to the corresponding flash loan.
*/
function flashFee(address token, uint256 amount) public view virtual override returns (uint256) {
require(token == address(this), "ERC20FlashMint: wrong token");
// silence warning about unused variable without the addition of bytecode.
amount;
return 0;
}
/**
* @dev Returns the receiver address of the flash fee. By default this
* implementation returns the address(0) which means the fee amount will be burnt.
* This function can be overloaded to change the fee receiver.
* @return The address for which the flash fee will be sent to.
*/
function _flashFeeReceiver() internal view virtual returns (address) {
return address(0);
}
/**
* @dev Performs a flash loan. New tokens are minted and sent to the
* `receiver`, who is required to implement the {IERC3156FlashBorrower}
* interface. By the end of the flash loan, the receiver is expected to own
* amount + fee tokens and have them approved back to the token contract itself so
* they can be burned.
* @param receiver The receiver of the flash loan. Should implement the
* {IERC3156FlashBorrower.onFlashLoan} interface.
* @param token The token to be flash loaned. Only `address(this)` is
* supported.
* @param amount The amount of tokens to be loaned.
* @param data An arbitrary datafield that is passed to the receiver.
* @return `true` if the flash loan was successful.
*/
// This function can reenter, but it doesn't pose a risk because it always preserves the property that the amount
// minted at the beginning is always recovered and burned at the end, or else the entire function will revert.
// slither-disable-next-line reentrancy-no-eth
function flashLoan(
IERC3156FlashBorrower receiver,
address token,
uint256 amount,
bytes calldata data
) public virtual override returns (bool) {
require(amount <= maxFlashLoan(token), "ERC20FlashMint: amount exceeds maxFlashLoan");
uint256 fee = flashFee(token, amount);
_mint(address(receiver), amount);
require(
receiver.onFlashLoan(msg.sender, token, amount, fee, data) == _RETURN_VALUE,
"ERC20FlashMint: invalid return value"
);
address flashFeeReceiver = _flashFeeReceiver();
_spendAllowance(address(receiver), address(this), amount + fee);
if (fee == 0 || flashFeeReceiver == address(0)) {
_burn(address(receiver), amount + fee);
} else {
_burn(address(receiver), amount);
_transfer(address(receiver), flashFeeReceiver, fee);
}
return true;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../security/Pausable.sol";
/**
* @dev ERC20 token with pausable token transfers, minting and burning.
*
* Useful for scenarios such as preventing trades until the end of an evaluation
* period, or having an emergency switch for freezing all token transfers in the
* event of a large bug.
*/
abstract contract ERC20Pausable is ERC20, Pausable {
/**
* @dev See {ERC20-_beforeTokenTransfer}.
*
* Requirements:
*
* - the contract must not be paused.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._beforeTokenTransfer(from, to, amount);
require(!paused(), "ERC20Pausable: token transfer while paused");
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/ERC20Snapshot.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Arrays.sol";
import "../../../utils/Counters.sol";
/**
* @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
* total supply at the time are recorded for later access.
*
* This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
* In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
* accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
* used to create an efficient ERC20 forking mechanism.
*
* Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
* snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
* id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
* and the account address.
*
* NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it
* return `block.number` will trigger the creation of snapshot at the beginning of each new block. When overriding this
* function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract.
*
* Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient
* alternative consider {ERC20Votes}.
*
* ==== Gas Costs
*
* Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
* n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
* smaller since identical balances in subsequent snapshots are stored as a single entry.
*
* There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
* only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
* transfers will have normal cost until the next snapshot, and so on.
*/
abstract contract ERC20Snapshot is ERC20 {
// Inspired by Jordi Baylina's MiniMeToken to record historical balances:
// https://github.com/Giveth/minime/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol
using Arrays for uint256[];
using Counters for Counters.Counter;
// Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
// Snapshot struct, but that would impede usage of functions that work on an array.
struct Snapshots {
uint256[] ids;
uint256[] values;
}
mapping(address => Snapshots) private _accountBalanceSnapshots;
Snapshots private _totalSupplySnapshots;
// Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
Counters.Counter private _currentSnapshotId;
/**
* @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
*/
event Snapshot(uint256 id);
/**
* @dev Creates a new snapshot and returns its snapshot id.
*
* Emits a {Snapshot} event that contains the same id.
*
* {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
* set of accounts, for example using {AccessControl}, or it may be open to the public.
*
* [WARNING]
* ====
* While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
* you must consider that it can potentially be used by attackers in two ways.
*
* First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
* logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
* specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
* section above.
*
* We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
* ====
*/
function _snapshot() internal virtual returns (uint256) {
_currentSnapshotId.increment();
uint256 currentId = _getCurrentSnapshotId();
emit Snapshot(currentId);
return currentId;
}
/**
* @dev Get the current snapshotId
*/
function _getCurrentSnapshotId() internal view virtual returns (uint256) {
return _currentSnapshotId.current();
}
/**
* @dev Retrieves the balance of `account` at the time `snapshotId` was created.
*/
function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);
return snapshotted ? value : balanceOf(account);
}
/**
* @dev Retrieves the total supply at the time `snapshotId` was created.
*/
function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);
return snapshotted ? value : totalSupply();
}
// Update balance and/or total supply snapshots before the values are modified. This is implemented
// in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations.
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._beforeTokenTransfer(from, to, amount);
if (from == address(0)) {
// mint
_updateAccountSnapshot(to);
_updateTotalSupplySnapshot();
} else if (to == address(0)) {
// burn
_updateAccountSnapshot(from);
_updateTotalSupplySnapshot();
} else {
// transfer
_updateAccountSnapshot(from);
_updateAccountSnapshot(to);
}
}
function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) {
require(snapshotId > 0, "ERC20Snapshot: id is 0");
require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id");
// When a valid snapshot is queried, there are three possibilities:
// a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
// created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
// to this id is the current one.
// b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
// requested id, and its value is the one to return.
// c) More snapshots were created after the requested one, and the queried value was later modified. There will be
// no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
// larger than the requested one.
//
// In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
// it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
// exactly this.
uint256 index = snapshots.ids.findUpperBound(snapshotId);
if (index == snapshots.ids.length) {
return (false, 0);
} else {
return (true, snapshots.values[index]);
}
}
function _updateAccountSnapshot(address account) private {
_updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
}
function _updateTotalSupplySnapshot() private {
_updateSnapshot(_totalSupplySnapshots, totalSupply());
}
function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
uint256 currentId = _getCurrentSnapshotId();
if (_lastSnapshotId(snapshots.ids) < currentId) {
snapshots.ids.push(currentId);
snapshots.values.push(currentValue);
}
}
function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
if (ids.length == 0) {
return 0;
} else {
return ids[ids.length - 1];
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Votes.sol)
pragma solidity ^0.8.0;
import "./draft-ERC20Permit.sol";
import "../../../utils/math/Math.sol";
import "../../../governance/utils/IVotes.sol";
import "../../../utils/math/SafeCast.sol";
import "../../../utils/cryptography/ECDSA.sol";
/**
* @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,
* and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1.
*
* NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.
*
* This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either
* by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting
* power can be queried through the public accessors {getVotes} and {getPastVotes}.
*
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
*
* _Available since v4.2._
*/
abstract contract ERC20Votes is IVotes, ERC20Permit {
struct Checkpoint {
uint32 fromBlock;
uint224 votes;
}
bytes32 private constant _DELEGATION_TYPEHASH =
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
mapping(address => address) private _delegates;
mapping(address => Checkpoint[]) private _checkpoints;
Checkpoint[] private _totalSupplyCheckpoints;
/**
* @dev Get the `pos`-th checkpoint for `account`.
*/
function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) {
return _checkpoints[account][pos];
}
/**
* @dev Get number of checkpoints for `account`.
*/
function numCheckpoints(address account) public view virtual returns (uint32) {
return SafeCast.toUint32(_checkpoints[account].length);
}
/**
* @dev Get the address `account` is currently delegating to.
*/
function delegates(address account) public view virtual override returns (address) {
return _delegates[account];
}
/**
* @dev Gets the current votes balance for `account`
*/
function getVotes(address account) public view virtual override returns (uint256) {
uint256 pos = _checkpoints[account].length;
return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes;
}
/**
* @dev Retrieve the number of votes for `account` at the end of `blockNumber`.
*
* Requirements:
*
* - `blockNumber` must have been already mined
*/
function getPastVotes(address account, uint256 blockNumber) public view virtual override returns (uint256) {
require(blockNumber < block.number, "ERC20Votes: block not yet mined");
return _checkpointsLookup(_checkpoints[account], blockNumber);
}
/**
* @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances.
* It is but NOT the sum of all the delegated votes!
*
* Requirements:
*
* - `blockNumber` must have been already mined
*/
function getPastTotalSupply(uint256 blockNumber) public view virtual override returns (uint256) {
require(blockNumber < block.number, "ERC20Votes: block not yet mined");
return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber);
}
/**
* @dev Lookup a value in a list of (sorted) checkpoints.
*/
function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) {
// We run a binary search to look for the earliest checkpoint taken after `blockNumber`.
//
// During the loop, the index of the wanted checkpoint remains in the range [low-1, high).
// With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant.
// - If the middle checkpoint is after `blockNumber`, we look in [low, mid)
// - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high)
// Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not
// out of bounds (in which case we're looking too far in the past and the result is 0).
// Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is
// past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out
// the same.
uint256 high = ckpts.length;
uint256 low = 0;
while (low < high) {
uint256 mid = Math.average(low, high);
if (ckpts[mid].fromBlock > blockNumber) {
high = mid;
} else {
low = mid + 1;
}
}
return high == 0 ? 0 : ckpts[high - 1].votes;
}
/**
* @dev Delegate votes from the sender to `delegatee`.
*/
function delegate(address delegatee) public virtual override {
_delegate(_msgSender(), delegatee);
}
/**
* @dev Delegates votes from signer to `delegatee`
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= expiry, "ERC20Votes: signature expired");
address signer = ECDSA.recover(
_hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
v,
r,
s
);
require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce");
_delegate(signer, delegatee);
}
/**
* @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1).
*/
function _maxSupply() internal view virtual returns (uint224) {
return type(uint224).max;
}
/**
* @dev Snapshots the totalSupply after it has been increased.
*/
function _mint(address account, uint256 amount) internal virtual override {
super._mint(account, amount);
require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes");
_writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
}
/**
* @dev Snapshots the totalSupply after it has been decreased.
*/
function _burn(address account, uint256 amount) internal virtual override {
super._burn(account, amount);
_writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
}
/**
* @dev Move voting power when tokens are transferred.
*
* Emits a {DelegateVotesChanged} event.
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._afterTokenTransfer(from, to, amount);
_moveVotingPower(delegates(from), delegates(to), amount);
}
/**
* @dev Change delegation for `delegator` to `delegatee`.
*
* Emits events {DelegateChanged} and {DelegateVotesChanged}.
*/
function _delegate(address delegator, address delegatee) internal virtual {
address currentDelegate = delegates(delegator);
uint256 delegatorBalance = balanceOf(delegator);
_delegates[delegator] = delegatee;
emit DelegateChanged(delegator, currentDelegate, delegatee);
_moveVotingPower(currentDelegate, delegatee, delegatorBalance);
}
function _moveVotingPower(
address src,
address dst,
uint256 amount
) private {
if (src != dst && amount > 0) {
if (src != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount);
emit DelegateVotesChanged(src, oldWeight, newWeight);
}
if (dst != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount);
emit DelegateVotesChanged(dst, oldWeight, newWeight);
}
}
}
function _writeCheckpoint(
Checkpoint[] storage ckpts,
function(uint256, uint256) view returns (uint256) op,
uint256 delta
) private returns (uint256 oldWeight, uint256 newWeight) {
uint256 pos = ckpts.length;
oldWeight = pos == 0 ? 0 : ckpts[pos - 1].votes;
newWeight = op(oldWeight, delta);
if (pos > 0 && ckpts[pos - 1].fromBlock == block.number) {
ckpts[pos - 1].votes = SafeCast.toUint224(newWeight);
} else {
ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)}));
}
}
function _add(uint256 a, uint256 b) private pure returns (uint256) {
return a + b;
}
function _subtract(uint256 a, uint256 b) private pure returns (uint256) {
return a - b;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @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);
/**
* @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 `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, 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 `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev Collection of functions related to array types.
*/
library Arrays {
/**
* @dev Searches a sorted `array` and returns the first index that contains
* a value greater or equal to `element`. If no such index exists (i.e. all
* values in the array are strictly less than `element`), the array length is
* returned. Time complexity O(log n).
*
* `array` is expected to be sorted in ascending order, and to contain no
* repeated elements.
*/
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
if (array.length == 0) {
return 0;
}
uint256 low = 0;
uint256 high = array.length;
while (low < high) {
uint256 mid = Math.average(low, high);
// Note that mid will always be strictly less than high (i.e. it will be a valid array index)
// because Math.average rounds down (it does integer division with truncation).
if (array[mid] > element) {
high = mid;
} else {
low = mid + 1;
}
}
// At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
if (low > 0 && array[low - 1] == element) {
return low - 1;
} else {
return low;
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)
pragma solidity ^0.8.0;
import "./ECDSA.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712 {
/* solhint-disable var-name-mixedcase */
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
uint256 private immutable _CACHED_CHAIN_ID;
address private immutable _CACHED_THIS;
bytes32 private immutable _HASHED_NAME;
bytes32 private immutable _HASHED_VERSION;
bytes32 private immutable _TYPE_HASH;
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
bytes32 typeHash = keccak256(
"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
);
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
_CACHED_CHAIN_ID = block.chainid;
_CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
_CACHED_THIS = address(this);
_TYPE_HASH = typeHash;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
return _CACHED_DOMAIN_SEPARATOR;
} else {
return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
}
}
function _buildDomainSeparator(
bytes32 typeHash,
bytes32 nameHash,
bytes32 versionHash
) private view returns (bytes32) {
return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator
) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1);
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator,
Rounding rounding
) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. It the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`.
// We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`.
// This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`.
// Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a
// good first aproximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1;
uint256 x = a;
if (x >> 128 > 0) {
x >>= 128;
result <<= 64;
}
if (x >> 64 > 0) {
x >>= 64;
result <<= 32;
}
if (x >> 32 > 0) {
x >>= 32;
result <<= 16;
}
if (x >> 16 > 0) {
x >>= 16;
result <<= 8;
}
if (x >> 8 > 0) {
x >>= 8;
result <<= 4;
}
if (x >> 4 > 0) {
x >>= 4;
result <<= 2;
}
if (x >> 2 > 0) {
result <<= 1;
}
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
uint256 result = sqrt(a);
if (rounding == Rounding.Up && result * result < a) {
result += 1;
}
return result;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.4.1) (utils/math/SafeCast.sol)
pragma solidity ^0.8.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows raise errors. `SafeCast` restores this intuition by
* reverting the transaction when such an operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*
* Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
* all math on `uint256` and `int256` and then downcasting.
*/
library SafeCast {
/**
* @dev Returns the downcasted uint248 from uint256, reverting on
* overflow (when the input is greater than largest uint248).
*
* Counterpart to Solidity's `uint248` operator.
*
* Requirements:
*
* - input must fit into 248 bits
*
* _Available since v4.7._
*/
function toUint248(uint256 value) internal pure returns (uint248) {
require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits");
return uint248(value);
}
/**
* @dev Returns the downcasted uint240 from uint256, reverting on
* overflow (when the input is greater than largest uint240).
*
* Counterpart to Solidity's `uint240` operator.
*
* Requirements:
*
* - input must fit into 240 bits
*
* _Available since v4.7._
*/
function toUint240(uint256 value) internal pure returns (uint240) {
require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits");
return uint240(value);
}
/**
* @dev Returns the downcasted uint232 from uint256, reverting on
* overflow (when the input is greater than largest uint232).
*
* Counterpart to Solidity's `uint232` operator.
*
* Requirements:
*
* - input must fit into 232 bits
*
* _Available since v4.7._
*/
function toUint232(uint256 value) internal pure returns (uint232) {
require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits");
return uint232(value);
}
/**
* @dev Returns the downcasted uint224 from uint256, reverting on
* overflow (when the input is greater than largest uint224).
*
* Counterpart to Solidity's `uint224` operator.
*
* Requirements:
*
* - input must fit into 224 bits
*
* _Available since v4.2._
*/
function toUint224(uint256 value) internal pure returns (uint224) {
require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
return uint224(value);
}
/**
* @dev Returns the downcasted uint216 from uint256, reverting on
* overflow (when the input is greater than largest uint216).
*
* Counterpart to Solidity's `uint216` operator.
*
* Requirements:
*
* - input must fit into 216 bits
*
* _Available since v4.7._
*/
function toUint216(uint256 value) internal pure returns (uint216) {
require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits");
return uint216(value);
}
/**
* @dev Returns the downcasted uint208 from uint256, reverting on
* overflow (when the input is greater than largest uint208).
*
* Counterpart to Solidity's `uint208` operator.
*
* Requirements:
*
* - input must fit into 208 bits
*
* _Available since v4.7._
*/
function toUint208(uint256 value) internal pure returns (uint208) {
require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits");
return uint208(value);
}
/**
* @dev Returns the downcasted uint200 from uint256, reverting on
* overflow (when the input is greater than largest uint200).
*
* Counterpart to Solidity's `uint200` operator.
*
* Requirements:
*
* - input must fit into 200 bits
*
* _Available since v4.7._
*/
function toUint200(uint256 value) internal pure returns (uint200) {
require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits");
return uint200(value);
}
/**
* @dev Returns the downcasted uint192 from uint256, reverting on
* overflow (when the input is greater than largest uint192).
*
* Counterpart to Solidity's `uint192` operator.
*
* Requirements:
*
* - input must fit into 192 bits
*
* _Available since v4.7._
*/
function toUint192(uint256 value) internal pure returns (uint192) {
require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits");
return uint192(value);
}
/**
* @dev Returns the downcasted uint184 from uint256, reverting on
* overflow (when the input is greater than largest uint184).
*
* Counterpart to Solidity's `uint184` operator.
*
* Requirements:
*
* - input must fit into 184 bits
*
* _Available since v4.7._
*/
function toUint184(uint256 value) internal pure returns (uint184) {
require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits");
return uint184(value);
}
/**
* @dev Returns the downcasted uint176 from uint256, reverting on
* overflow (when the input is greater than largest uint176).
*
* Counterpart to Solidity's `uint176` operator.
*
* Requirements:
*
* - input must fit into 176 bits
*
* _Available since v4.7._
*/
function toUint176(uint256 value) internal pure returns (uint176) {
require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits");
return uint176(value);
}
/**
* @dev Returns the downcasted uint168 from uint256, reverting on
* overflow (when the input is greater than largest uint168).
*
* Counterpart to Solidity's `uint168` operator.
*
* Requirements:
*
* - input must fit into 168 bits
*
* _Available since v4.7._
*/
function toUint168(uint256 value) internal pure returns (uint168) {
require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits");
return uint168(value);
}
/**
* @dev Returns the downcasted uint160 from uint256, reverting on
* overflow (when the input is greater than largest uint160).
*
* Counterpart to Solidity's `uint160` operator.
*
* Requirements:
*
* - input must fit into 160 bits
*
* _Available since v4.7._
*/
function toUint160(uint256 value) internal pure returns (uint160) {
require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits");
return uint160(value);
}
/**
* @dev Returns the downcasted uint152 from uint256, reverting on
* overflow (when the input is greater than largest uint152).
*
* Counterpart to Solidity's `uint152` operator.
*
* Requirements:
*
* - input must fit into 152 bits
*
* _Available since v4.7._
*/
function toUint152(uint256 value) internal pure returns (uint152) {
require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits");
return uint152(value);
}
/**
* @dev Returns the downcasted uint144 from uint256, reverting on
* overflow (when the input is greater than largest uint144).
*
* Counterpart to Solidity's `uint144` operator.
*
* Requirements:
*
* - input must fit into 144 bits
*
* _Available since v4.7._
*/
function toUint144(uint256 value) internal pure returns (uint144) {
require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits");
return uint144(value);
}
/**
* @dev Returns the downcasted uint136 from uint256, reverting on
* overflow (when the input is greater than largest uint136).
*
* Counterpart to Solidity's `uint136` operator.
*
* Requirements:
*
* - input must fit into 136 bits
*
* _Available since v4.7._
*/
function toUint136(uint256 value) internal pure returns (uint136) {
require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits");
return uint136(value);
}
/**
* @dev Returns the downcasted uint128 from uint256, reverting on
* overflow (when the input is greater than largest uint128).
*
* Counterpart to Solidity's `uint128` operator.
*
* Requirements:
*
* - input must fit into 128 bits
*
* _Available since v2.5._
*/
function toUint128(uint256 value) internal pure returns (uint128) {
require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
return uint128(value);
}
/**
* @dev Returns the downcasted uint120 from uint256, reverting on
* overflow (when the input is greater than largest uint120).
*
* Counterpart to Solidity's `uint120` operator.
*
* Requirements:
*
* - input must fit into 120 bits
*
* _Available since v4.7._
*/
function toUint120(uint256 value) internal pure returns (uint120) {
require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits");
return uint120(value);
}
/**
* @dev Returns the downcasted uint112 from uint256, reverting on
* overflow (when the input is greater than largest uint112).
*
* Counterpart to Solidity's `uint112` operator.
*
* Requirements:
*
* - input must fit into 112 bits
*
* _Available since v4.7._
*/
function toUint112(uint256 value) internal pure returns (uint112) {
require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits");
return uint112(value);
}
/**
* @dev Returns the downcasted uint104 from uint256, reverting on
* overflow (when the input is greater than largest uint104).
*
* Counterpart to Solidity's `uint104` operator.
*
* Requirements:
*
* - input must fit into 104 bits
*
* _Available since v4.7._
*/
function toUint104(uint256 value) internal pure returns (uint104) {
require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits");
return uint104(value);
}
/**
* @dev Returns the downcasted uint96 from uint256, reverting on
* overflow (when the input is greater than largest uint96).
*
* Counterpart to Solidity's `uint96` operator.
*
* Requirements:
*
* - input must fit into 96 bits
*
* _Available since v4.2._
*/
function toUint96(uint256 value) internal pure returns (uint96) {
require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
return uint96(value);
}
/**
* @dev Returns the downcasted uint88 from uint256, reverting on
* overflow (when the input is greater than largest uint88).
*
* Counterpart to Solidity's `uint88` operator.
*
* Requirements:
*
* - input must fit into 88 bits
*
* _Available since v4.7._
*/
function toUint88(uint256 value) internal pure returns (uint88) {
require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits");
return uint88(value);
}
/**
* @dev Returns the downcasted uint80 from uint256, reverting on
* overflow (when the input is greater than largest uint80).
*
* Counterpart to Solidity's `uint80` operator.
*
* Requirements:
*
* - input must fit into 80 bits
*
* _Available since v4.7._
*/
function toUint80(uint256 value) internal pure returns (uint80) {
require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits");
return uint80(value);
}
/**
* @dev Returns the downcasted uint72 from uint256, reverting on
* overflow (when the input is greater than largest uint72).
*
* Counterpart to Solidity's `uint72` operator.
*
* Requirements:
*
* - input must fit into 72 bits
*
* _Available since v4.7._
*/
function toUint72(uint256 value) internal pure returns (uint72) {
require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits");
return uint72(value);
}
/**
* @dev Returns the downcasted uint64 from uint256, reverting on
* overflow (when the input is greater than largest uint64).
*
* Counterpart to Solidity's `uint64` operator.
*
* Requirements:
*
* - input must fit into 64 bits
*
* _Available since v2.5._
*/
function toUint64(uint256 value) internal pure returns (uint64) {
require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
return uint64(value);
}
/**
* @dev Returns the downcasted uint56 from uint256, reverting on
* overflow (when the input is greater than largest uint56).
*
* Counterpart to Solidity's `uint56` operator.
*
* Requirements:
*
* - input must fit into 56 bits
*
* _Available since v4.7._
*/
function toUint56(uint256 value) internal pure returns (uint56) {
require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits");
return uint56(value);
}
/**
* @dev Returns the downcasted uint48 from uint256, reverting on
* overflow (when the input is greater than largest uint48).
*
* Counterpart to Solidity's `uint48` operator.
*
* Requirements:
*
* - input must fit into 48 bits
*
* _Available since v4.7._
*/
function toUint48(uint256 value) internal pure returns (uint48) {
require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits");
return uint48(value);
}
/**
* @dev Returns the downcasted uint40 from uint256, reverting on
* overflow (when the input is greater than largest uint40).
*
* Counterpart to Solidity's `uint40` operator.
*
* Requirements:
*
* - input must fit into 40 bits
*
* _Available since v4.7._
*/
function toUint40(uint256 value) internal pure returns (uint40) {
require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits");
return uint40(value);
}
/**
* @dev Returns the downcasted uint32 from uint256, reverting on
* overflow (when the input is greater than largest uint32).
*
* Counterpart to Solidity's `uint32` operator.
*
* Requirements:
*
* - input must fit into 32 bits
*
* _Available since v2.5._
*/
function toUint32(uint256 value) internal pure returns (uint32) {
require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
return uint32(value);
}
/**
* @dev Returns the downcasted uint24 from uint256, reverting on
* overflow (when the input is greater than largest uint24).
*
* Counterpart to Solidity's `uint24` operator.
*
* Requirements:
*
* - input must fit into 24 bits
*
* _Available since v4.7._
*/
function toUint24(uint256 value) internal pure returns (uint24) {
require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits");
return uint24(value);
}
/**
* @dev Returns the downcasted uint16 from uint256, reverting on
* overflow (when the input is greater than largest uint16).
*
* Counterpart to Solidity's `uint16` operator.
*
* Requirements:
*
* - input must fit into 16 bits
*
* _Available since v2.5._
*/
function toUint16(uint256 value) internal pure returns (uint16) {
require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
return uint16(value);
}
/**
* @dev Returns the downcasted uint8 from uint256, reverting on
* overflow (when the input is greater than largest uint8).
*
* Counterpart to Solidity's `uint8` operator.
*
* Requirements:
*
* - input must fit into 8 bits
*
* _Available since v2.5._
*/
function toUint8(uint256 value) internal pure returns (uint8) {
require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
return uint8(value);
}
/**
* @dev Converts a signed int256 into an unsigned uint256.
*
* Requirements:
*
* - input must be greater than or equal to 0.
*
* _Available since v3.0._
*/
function toUint256(int256 value) internal pure returns (uint256) {
require(value >= 0, "SafeCast: value must be positive");
return uint256(value);
}
/**
* @dev Returns the downcasted int248 from int256, reverting on
* overflow (when the input is less than smallest int248 or
* greater than largest int248).
*
* Counterpart to Solidity's `int248` operator.
*
* Requirements:
*
* - input must fit into 248 bits
*
* _Available since v4.7._
*/
function toInt248(int256 value) internal pure returns (int248) {
require(value >= type(int248).min && value <= type(int248).max, "SafeCast: value doesn't fit in 248 bits");
return int248(value);
}
/**
* @dev Returns the downcasted int240 from int256, reverting on
* overflow (when the input is less than smallest int240 or
* greater than largest int240).
*
* Counterpart to Solidity's `int240` operator.
*
* Requirements:
*
* - input must fit into 240 bits
*
* _Available since v4.7._
*/
function toInt240(int256 value) internal pure returns (int240) {
require(value >= type(int240).min && value <= type(int240).max, "SafeCast: value doesn't fit in 240 bits");
return int240(value);
}
/**
* @dev Returns the downcasted int232 from int256, reverting on
* overflow (when the input is less than smallest int232 or
* greater than largest int232).
*
* Counterpart to Solidity's `int232` operator.
*
* Requirements:
*
* - input must fit into 232 bits
*
* _Available since v4.7._
*/
function toInt232(int256 value) internal pure returns (int232) {
require(value >= type(int232).min && value <= type(int232).max, "SafeCast: value doesn't fit in 232 bits");
return int232(value);
}
/**
* @dev Returns the downcasted int224 from int256, reverting on
* overflow (when the input is less than smallest int224 or
* greater than largest int224).
*
* Counterpart to Solidity's `int224` operator.
*
* Requirements:
*
* - input must fit into 224 bits
*
* _Available since v4.7._
*/
function toInt224(int256 value) internal pure returns (int224) {
require(value >= type(int224).min && value <= type(int224).max, "SafeCast: value doesn't fit in 224 bits");
return int224(value);
}
/**
* @dev Returns the downcasted int216 from int256, reverting on
* overflow (when the input is less than smallest int216 or
* greater than largest int216).
*
* Counterpart to Solidity's `int216` operator.
*
* Requirements:
*
* - input must fit into 216 bits
*
* _Available since v4.7._
*/
function toInt216(int256 value) internal pure returns (int216) {
require(value >= type(int216).min && value <= type(int216).max, "SafeCast: value doesn't fit in 216 bits");
return int216(value);
}
/**
* @dev Returns the downcasted int208 from int256, reverting on
* overflow (when the input is less than smallest int208 or
* greater than largest int208).
*
* Counterpart to Solidity's `int208` operator.
*
* Requirements:
*
* - input must fit into 208 bits
*
* _Available since v4.7._
*/
function toInt208(int256 value) internal pure returns (int208) {
require(value >= type(int208).min && value <= type(int208).max, "SafeCast: value doesn't fit in 208 bits");
return int208(value);
}
/**
* @dev Returns the downcasted int200 from int256, reverting on
* overflow (when the input is less than smallest int200 or
* greater than largest int200).
*
* Counterpart to Solidity's `int200` operator.
*
* Requirements:
*
* - input must fit into 200 bits
*
* _Available since v4.7._
*/
function toInt200(int256 value) internal pure returns (int200) {
require(value >= type(int200).min && value <= type(int200).max, "SafeCast: value doesn't fit in 200 bits");
return int200(value);
}
/**
* @dev Returns the downcasted int192 from int256, reverting on
* overflow (when the input is less than smallest int192 or
* greater than largest int192).
*
* Counterpart to Solidity's `int192` operator.
*
* Requirements:
*
* - input must fit into 192 bits
*
* _Available since v4.7._
*/
function toInt192(int256 value) internal pure returns (int192) {
require(value >= type(int192).min && value <= type(int192).max, "SafeCast: value doesn't fit in 192 bits");
return int192(value);
}
/**
* @dev Returns the downcasted int184 from int256, reverting on
* overflow (when the input is less than smallest int184 or
* greater than largest int184).
*
* Counterpart to Solidity's `int184` operator.
*
* Requirements:
*
* - input must fit into 184 bits
*
* _Available since v4.7._
*/
function toInt184(int256 value) internal pure returns (int184) {
require(value >= type(int184).min && value <= type(int184).max, "SafeCast: value doesn't fit in 184 bits");
return int184(value);
}
/**
* @dev Returns the downcasted int176 from int256, reverting on
* overflow (when the input is less than smallest int176 or
* greater than largest int176).
*
* Counterpart to Solidity's `int176` operator.
*
* Requirements:
*
* - input must fit into 176 bits
*
* _Available since v4.7._
*/
function toInt176(int256 value) internal pure returns (int176) {
require(value >= type(int176).min && value <= type(int176).max, "SafeCast: value doesn't fit in 176 bits");
return int176(value);
}
/**
* @dev Returns the downcasted int168 from int256, reverting on
* overflow (when the input is less than smallest int168 or
* greater than largest int168).
*
* Counterpart to Solidity's `int168` operator.
*
* Requirements:
*
* - input must fit into 168 bits
*
* _Available since v4.7._
*/
function toInt168(int256 value) internal pure returns (int168) {
require(value >= type(int168).min && value <= type(int168).max, "SafeCast: value doesn't fit in 168 bits");
return int168(value);
}
/**
* @dev Returns the downcasted int160 from int256, reverting on
* overflow (when the input is less than smallest int160 or
* greater than largest int160).
*
* Counterpart to Solidity's `int160` operator.
*
* Requirements:
*
* - input must fit into 160 bits
*
* _Available since v4.7._
*/
function toInt160(int256 value) internal pure returns (int160) {
require(value >= type(int160).min && value <= type(int160).max, "SafeCast: value doesn't fit in 160 bits");
return int160(value);
}
/**
* @dev Returns the downcasted int152 from int256, reverting on
* overflow (when the input is less than smallest int152 or
* greater than largest int152).
*
* Counterpart to Solidity's `int152` operator.
*
* Requirements:
*
* - input must fit into 152 bits
*
* _Available since v4.7._
*/
function toInt152(int256 value) internal pure returns (int152) {
require(value >= type(int152).min && value <= type(int152).max, "SafeCast: value doesn't fit in 152 bits");
return int152(value);
}
/**
* @dev Returns the downcasted int144 from int256, reverting on
* overflow (when the input is less than smallest int144 or
* greater than largest int144).
*
* Counterpart to Solidity's `int144` operator.
*
* Requirements:
*
* - input must fit into 144 bits
*
* _Available since v4.7._
*/
function toInt144(int256 value) internal pure returns (int144) {
require(value >= type(int144).min && value <= type(int144).max, "SafeCast: value doesn't fit in 144 bits");
return int144(value);
}
/**
* @dev Returns the downcasted int136 from int256, reverting on
* overflow (when the input is less than smallest int136 or
* greater than largest int136).
*
* Counterpart to Solidity's `int136` operator.
*
* Requirements:
*
* - input must fit into 136 bits
*
* _Available since v4.7._
*/
function toInt136(int256 value) internal pure returns (int136) {
require(value >= type(int136).min && value <= type(int136).max, "SafeCast: value doesn't fit in 136 bits");
return int136(value);
}
/**
* @dev Returns the downcasted int128 from int256, reverting on
* overflow (when the input is less than smallest int128 or
* greater than largest int128).
*
* Counterpart to Solidity's `int128` operator.
*
* Requirements:
*
* - input must fit into 128 bits
*
* _Available since v3.1._
*/
function toInt128(int256 value) internal pure returns (int128) {
require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
return int128(value);
}
/**
* @dev Returns the downcasted int120 from int256, reverting on
* overflow (when the input is less than smallest int120 or
* greater than largest int120).
*
* Counterpart to Solidity's `int120` operator.
*
* Requirements:
*
* - input must fit into 120 bits
*
* _Available since v4.7._
*/
function toInt120(int256 value) internal pure returns (int120) {
require(value >= type(int120).min && value <= type(int120).max, "SafeCast: value doesn't fit in 120 bits");
return int120(value);
}
/**
* @dev Returns the downcasted int112 from int256, reverting on
* overflow (when the input is less than smallest int112 or
* greater than largest int112).
*
* Counterpart to Solidity's `int112` operator.
*
* Requirements:
*
* - input must fit into 112 bits
*
* _Available since v4.7._
*/
function toInt112(int256 value) internal pure returns (int112) {
require(value >= type(int112).min && value <= type(int112).max, "SafeCast: value doesn't fit in 112 bits");
return int112(value);
}
/**
* @dev Returns the downcasted int104 from int256, reverting on
* overflow (when the input is less than smallest int104 or
* greater than largest int104).
*
* Counterpart to Solidity's `int104` operator.
*
* Requirements:
*
* - input must fit into 104 bits
*
* _Available since v4.7._
*/
function toInt104(int256 value) internal pure returns (int104) {
require(value >= type(int104).min && value <= type(int104).max, "SafeCast: value doesn't fit in 104 bits");
return int104(value);
}
/**
* @dev Returns the downcasted int96 from int256, reverting on
* overflow (when the input is less than smallest int96 or
* greater than largest int96).
*
* Counterpart to Solidity's `int96` operator.
*
* Requirements:
*
* - input must fit into 96 bits
*
* _Available since v4.7._
*/
function toInt96(int256 value) internal pure returns (int96) {
require(value >= type(int96).min && value <= type(int96).max, "SafeCast: value doesn't fit in 96 bits");
return int96(value);
}
/**
* @dev Returns the downcasted int88 from int256, reverting on
* overflow (when the input is less than smallest int88 or
* greater than largest int88).
*
* Counterpart to Solidity's `int88` operator.
*
* Requirements:
*
* - input must fit into 88 bits
*
* _Available since v4.7._
*/
function toInt88(int256 value) internal pure returns (int88) {
require(value >= type(int88).min && value <= type(int88).max, "SafeCast: value doesn't fit in 88 bits");
return int88(value);
}
/**
* @dev Returns the downcasted int80 from int256, reverting on
* overflow (when the input is less than smallest int80 or
* greater than largest int80).
*
* Counterpart to Solidity's `int80` operator.
*
* Requirements:
*
* - input must fit into 80 bits
*
* _Available since v4.7._
*/
function toInt80(int256 value) internal pure returns (int80) {
require(value >= type(int80).min && value <= type(int80).max, "SafeCast: value doesn't fit in 80 bits");
return int80(value);
}
/**
* @dev Returns the downcasted int72 from int256, reverting on
* overflow (when the input is less than smallest int72 or
* greater than largest int72).
*
* Counterpart to Solidity's `int72` operator.
*
* Requirements:
*
* - input must fit into 72 bits
*
* _Available since v4.7._
*/
function toInt72(int256 value) internal pure returns (int72) {
require(value >= type(int72).min && value <= type(int72).max, "SafeCast: value doesn't fit in 72 bits");
return int72(value);
}
/**
* @dev Returns the downcasted int64 from int256, reverting on
* overflow (when the input is less than smallest int64 or
* greater than largest int64).
*
* Counterpart to Solidity's `int64` operator.
*
* Requirements:
*
* - input must fit into 64 bits
*
* _Available since v3.1._
*/
function toInt64(int256 value) internal pure returns (int64) {
require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
return int64(value);
}
/**
* @dev Returns the downcasted int56 from int256, reverting on
* overflow (when the input is less than smallest int56 or
* greater than largest int56).
*
* Counterpart to Solidity's `int56` operator.
*
* Requirements:
*
* - input must fit into 56 bits
*
* _Available since v4.7._
*/
function toInt56(int256 value) internal pure returns (int56) {
require(value >= type(int56).min && value <= type(int56).max, "SafeCast: value doesn't fit in 56 bits");
return int56(value);
}
/**
* @dev Returns the downcasted int48 from int256, reverting on
* overflow (when the input is less than smallest int48 or
* greater than largest int48).
*
* Counterpart to Solidity's `int48` operator.
*
* Requirements:
*
* - input must fit into 48 bits
*
* _Available since v4.7._
*/
function toInt48(int256 value) internal pure returns (int48) {
require(value >= type(int48).min && value <= type(int48).max, "SafeCast: value doesn't fit in 48 bits");
return int48(value);
}
/**
* @dev Returns the downcasted int40 from int256, reverting on
* overflow (when the input is less than smallest int40 or
* greater than largest int40).
*
* Counterpart to Solidity's `int40` operator.
*
* Requirements:
*
* - input must fit into 40 bits
*
* _Available since v4.7._
*/
function toInt40(int256 value) internal pure returns (int40) {
require(value >= type(int40).min && value <= type(int40).max, "SafeCast: value doesn't fit in 40 bits");
return int40(value);
}
/**
* @dev Returns the downcasted int32 from int256, reverting on
* overflow (when the input is less than smallest int32 or
* greater than largest int32).
*
* Counterpart to Solidity's `int32` operator.
*
* Requirements:
*
* - input must fit into 32 bits
*
* _Available since v3.1._
*/
function toInt32(int256 value) internal pure returns (int32) {
require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
return int32(value);
}
/**
* @dev Returns the downcasted int24 from int256, reverting on
* overflow (when the input is less than smallest int24 or
* greater than largest int24).
*
* Counterpart to Solidity's `int24` operator.
*
* Requirements:
*
* - input must fit into 24 bits
*
* _Available since v4.7._
*/
function toInt24(int256 value) internal pure returns (int24) {
require(value >= type(int24).min && value <= type(int24).max, "SafeCast: value doesn't fit in 24 bits");
return int24(value);
}
/**
* @dev Returns the downcasted int16 from int256, reverting on
* overflow (when the input is less than smallest int16 or
* greater than largest int16).
*
* Counterpart to Solidity's `int16` operator.
*
* Requirements:
*
* - input must fit into 16 bits
*
* _Available since v3.1._
*/
function toInt16(int256 value) internal pure returns (int16) {
require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
return int16(value);
}
/**
* @dev Returns the downcasted int8 from int256, reverting on
* overflow (when the input is less than smallest int8 or
* greater than largest int8).
*
* Counterpart to Solidity's `int8` operator.
*
* Requirements:
*
* - input must fit into 8 bits
*
* _Available since v3.1._
*/
function toInt8(int256 value) internal pure returns (int8) {
require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
return int8(value);
}
/**
* @dev Converts an unsigned uint256 into a signed int256.
*
* Requirements:
*
* - input must be less than or equal to maxInt256.
*
* _Available since v3.0._
*/
function toInt256(uint256 value) internal pure returns (int256) {
// Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
return int256(value);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol)
pragma solidity ^0.8.0;
/**
* @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
*
* _Available since v4.5._
*/
interface IVotes {
/**
* @dev Emitted when an account changes their delegate.
*/
event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);
/**
* @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.
*/
event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);
/**
* @dev Returns the current amount of votes that `account` has.
*/
function getVotes(address account) external view returns (uint256);
/**
* @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).
*/
function getPastVotes(address account, uint256 blockNumber) external view returns (uint256);
/**
* @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).
*
* NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
* Votes that have not been delegated are still part of total supply, even though they would not participate in a
* vote.
*/
function getPastTotalSupply(uint256 blockNumber) external view returns (uint256);
/**
* @dev Returns the delegate that `account` has chosen.
*/
function delegates(address account) external view returns (address);
/**
* @dev Delegates votes from the sender to `delegatee`.
*/
function delegate(address delegatee) external;
/**
* @dev Delegates votes from signer to `delegatee`.
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) external;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156FlashBorrower.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC3156 FlashBorrower, as defined in
* https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
*
* _Available since v4.1._
*/
interface IERC3156FlashBorrower {
/**
* @dev Receive a flash loan.
* @param initiator The initiator of the loan.
* @param token The loan currency.
* @param amount The amount of tokens lent.
* @param fee The additional amount of tokens to repay.
* @param data Arbitrary data structure, intended to contain user-defined parameters.
* @return The keccak256 hash of "ERC3156FlashBorrower.onFlashLoan"
*/
function onFlashLoan(
address initiator,
address token,
uint256 amount,
uint256 fee,
bytes calldata data
) external returns (bytes32);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156FlashLender.sol)
pragma solidity ^0.8.0;
import "./IERC3156FlashBorrower.sol";
/**
* @dev Interface of the ERC3156 FlashLender, as defined in
* https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
*
* _Available since v4.1._
*/
interface IERC3156FlashLender {
/**
* @dev The amount of currency available to be lended.
* @param token The loan currency.
* @return The amount of `token` that can be borrowed.
*/
function maxFlashLoan(address token) external view returns (uint256);
/**
* @dev The fee to be charged for a given loan.
* @param token The loan currency.
* @param amount The amount of tokens lent.
* @return The amount of `token` to be charged for the loan, on top of the returned principal.
*/
function flashFee(address token, uint256 amount) external view returns (uint256);
/**
* @dev Initiate a flash loan.
* @param receiver The receiver of the tokens in the loan, and the receiver of the callback.
* @param token The loan currency.
* @param amount The amount of tokens lent.
* @param data Arbitrary data structure, intended to contain user-defined parameters.
*/
function flashLoan(
IERC3156FlashBorrower receiver,
address token,
uint256 amount,
bytes calldata data
) external returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, 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}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, 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}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, 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) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, 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) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, 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:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, 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 Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - 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 (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol)
pragma solidity ^0.8.0;
import "./draft-IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/draft-EIP712.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/Counters.sol";
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping(address => Counters.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private constant _PERMIT_TYPEHASH =
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
* However, to ensure consistency with the upgradeable transpiler, we will continue
* to reserve a slot.
* @custom:oz-renamed-from _PERMIT_TYPEHASH
*/
// solhint-disable-next-line var-name-mixedcase
bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
constructor(string memory name) EIP712(name, "1") {}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= deadline, "ERC20Permit: expired deadline");
bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSA.recover(hash, v, r, s);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
Counters.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, _msgSender(), amount);
_burn(account, amount);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/ERC20FlashMint.sol)
pragma solidity ^0.8.0;
import "../../../interfaces/IERC3156FlashBorrower.sol";
import "../../../interfaces/IERC3156FlashLender.sol";
import "../ERC20.sol";
/**
* @dev Implementation of the ERC3156 Flash loans extension, as defined in
* https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
*
* Adds the {flashLoan} method, which provides flash loan support at the token
* level. By default there is no fee, but this can be changed by overriding {flashFee}.
*
* _Available since v4.1._
*/
abstract contract ERC20FlashMint is ERC20, IERC3156FlashLender {
bytes32 private constant _RETURN_VALUE = keccak256("ERC3156FlashBorrower.onFlashLoan");
/**
* @dev Returns the maximum amount of tokens available for loan.
* @param token The address of the token that is requested.
* @return The amount of token that can be loaned.
*/
function maxFlashLoan(address token) public view virtual override returns (uint256) {
return token == address(this) ? type(uint256).max - ERC20.totalSupply() : 0;
}
/**
* @dev Returns the fee applied when doing flash loans. By default this
* implementation has 0 fees. This function can be overloaded to make
* the flash loan mechanism deflationary.
* @param token The token to be flash loaned.
* @param amount The amount of tokens to be loaned.
* @return The fees applied to the corresponding flash loan.
*/
function flashFee(address token, uint256 amount) public view virtual override returns (uint256) {
require(token == address(this), "ERC20FlashMint: wrong token");
// silence warning about unused variable without the addition of bytecode.
amount;
return 0;
}
/**
* @dev Performs a flash loan. New tokens are minted and sent to the
* `receiver`, who is required to implement the {IERC3156FlashBorrower}
* interface. By the end of the flash loan, the receiver is expected to own
* amount + fee tokens and have them approved back to the token contract itself so
* they can be burned.
* @param receiver The receiver of the flash loan. Should implement the
* {IERC3156FlashBorrower.onFlashLoan} interface.
* @param token The token to be flash loaned. Only `address(this)` is
* supported.
* @param amount The amount of tokens to be loaned.
* @param data An arbitrary datafield that is passed to the receiver.
* @return `true` if the flash loan was successful.
*/
// This function can reenter, but it doesn't pose a risk because it always preserves the property that the amount
// minted at the beginning is always recovered and burned at the end, or else the entire function will revert.
// slither-disable-next-line reentrancy-no-eth
function flashLoan(
IERC3156FlashBorrower receiver,
address token,
uint256 amount,
bytes calldata data
) public virtual override returns (bool) {
require(amount <= maxFlashLoan(token), "ERC20FlashMint: amount exceeds maxFlashLoan");
uint256 fee = flashFee(token, amount);
_mint(address(receiver), amount);
require(
receiver.onFlashLoan(msg.sender, token, amount, fee, data) == _RETURN_VALUE,
"ERC20FlashMint: invalid return value"
);
_spendAllowance(address(receiver), address(this), amount + fee);
_burn(address(receiver), amount + fee);
return true;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/ERC20Snapshot.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Arrays.sol";
import "../../../utils/Counters.sol";
/**
* @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
* total supply at the time are recorded for later access.
*
* This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
* In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
* accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
* used to create an efficient ERC20 forking mechanism.
*
* Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
* snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
* id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
* and the account address.
*
* NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it
* return `block.number` will trigger the creation of snapshot at the beginning of each new block. When overriding this
* function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract.
*
* Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient
* alternative consider {ERC20Votes}.
*
* ==== Gas Costs
*
* Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
* n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
* smaller since identical balances in subsequent snapshots are stored as a single entry.
*
* There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
* only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
* transfers will have normal cost until the next snapshot, and so on.
*/
abstract contract ERC20Snapshot is ERC20 {
// Inspired by Jordi Baylina's MiniMeToken to record historical balances:
// https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol
using Arrays for uint256[];
using Counters for Counters.Counter;
// Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
// Snapshot struct, but that would impede usage of functions that work on an array.
struct Snapshots {
uint256[] ids;
uint256[] values;
}
mapping(address => Snapshots) private _accountBalanceSnapshots;
Snapshots private _totalSupplySnapshots;
// Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
Counters.Counter private _currentSnapshotId;
/**
* @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
*/
event Snapshot(uint256 id);
/**
* @dev Creates a new snapshot and returns its snapshot id.
*
* Emits a {Snapshot} event that contains the same id.
*
* {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
* set of accounts, for example using {AccessControl}, or it may be open to the public.
*
* [WARNING]
* ====
* While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
* you must consider that it can potentially be used by attackers in two ways.
*
* First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
* logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
* specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
* section above.
*
* We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
* ====
*/
function _snapshot() internal virtual returns (uint256) {
_currentSnapshotId.increment();
uint256 currentId = _getCurrentSnapshotId();
emit Snapshot(currentId);
return currentId;
}
/**
* @dev Get the current snapshotId
*/
function _getCurrentSnapshotId() internal view virtual returns (uint256) {
return _currentSnapshotId.current();
}
/**
* @dev Retrieves the balance of `account` at the time `snapshotId` was created.
*/
function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);
return snapshotted ? value : balanceOf(account);
}
/**
* @dev Retrieves the total supply at the time `snapshotId` was created.
*/
function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);
return snapshotted ? value : totalSupply();
}
// Update balance and/or total supply snapshots before the values are modified. This is implemented
// in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations.
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._beforeTokenTransfer(from, to, amount);
if (from == address(0)) {
// mint
_updateAccountSnapshot(to);
_updateTotalSupplySnapshot();
} else if (to == address(0)) {
// burn
_updateAccountSnapshot(from);
_updateTotalSupplySnapshot();
} else {
// transfer
_updateAccountSnapshot(from);
_updateAccountSnapshot(to);
}
}
function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) {
require(snapshotId > 0, "ERC20Snapshot: id is 0");
require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id");
// When a valid snapshot is queried, there are three possibilities:
// a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
// created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
// to this id is the current one.
// b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
// requested id, and its value is the one to return.
// c) More snapshots were created after the requested one, and the queried value was later modified. There will be
// no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
// larger than the requested one.
//
// In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
// it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
// exactly this.
uint256 index = snapshots.ids.findUpperBound(snapshotId);
if (index == snapshots.ids.length) {
return (false, 0);
} else {
return (true, snapshots.values[index]);
}
}
function _updateAccountSnapshot(address account) private {
_updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
}
function _updateTotalSupplySnapshot() private {
_updateSnapshot(_totalSupplySnapshots, totalSupply());
}
function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
uint256 currentId = _getCurrentSnapshotId();
if (_lastSnapshotId(snapshots.ids) < currentId) {
snapshots.ids.push(currentId);
snapshots.values.push(currentValue);
}
}
function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
if (ids.length == 0) {
return 0;
} else {
return ids[ids.length - 1];
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Votes.sol)
pragma solidity ^0.8.0;
import "./draft-ERC20Permit.sol";
import "../../../utils/math/Math.sol";
import "../../../governance/utils/IVotes.sol";
import "../../../utils/math/SafeCast.sol";
import "../../../utils/cryptography/ECDSA.sol";
/**
* @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,
* and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1.
*
* NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.
*
* This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either
* by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting
* power can be queried through the public accessors {getVotes} and {getPastVotes}.
*
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
*
* _Available since v4.2._
*/
abstract contract ERC20Votes is IVotes, ERC20Permit {
struct Checkpoint {
uint32 fromBlock;
uint224 votes;
}
bytes32 private constant _DELEGATION_TYPEHASH =
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
mapping(address => address) private _delegates;
mapping(address => Checkpoint[]) private _checkpoints;
Checkpoint[] private _totalSupplyCheckpoints;
/**
* @dev Get the `pos`-th checkpoint for `account`.
*/
function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) {
return _checkpoints[account][pos];
}
/**
* @dev Get number of checkpoints for `account`.
*/
function numCheckpoints(address account) public view virtual returns (uint32) {
return SafeCast.toUint32(_checkpoints[account].length);
}
/**
* @dev Get the address `account` is currently delegating to.
*/
function delegates(address account) public view virtual override returns (address) {
return _delegates[account];
}
/**
* @dev Gets the current votes balance for `account`
*/
function getVotes(address account) public view virtual override returns (uint256) {
uint256 pos = _checkpoints[account].length;
return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes;
}
/**
* @dev Retrieve the number of votes for `account` at the end of `blockNumber`.
*
* Requirements:
*
* - `blockNumber` must have been already mined
*/
function getPastVotes(address account, uint256 blockNumber) public view virtual override returns (uint256) {
require(blockNumber < block.number, "ERC20Votes: block not yet mined");
return _checkpointsLookup(_checkpoints[account], blockNumber);
}
/**
* @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances.
* It is but NOT the sum of all the delegated votes!
*
* Requirements:
*
* - `blockNumber` must have been already mined
*/
function getPastTotalSupply(uint256 blockNumber) public view virtual override returns (uint256) {
require(blockNumber < block.number, "ERC20Votes: block not yet mined");
return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber);
}
/**
* @dev Lookup a value in a list of (sorted) checkpoints.
*/
function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) {
// We run a binary search to look for the earliest checkpoint taken after `blockNumber`.
//
// During the loop, the index of the wanted checkpoint remains in the range [low-1, high).
// With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant.
// - If the middle checkpoint is after `blockNumber`, we look in [low, mid)
// - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high)
// Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not
// out of bounds (in which case we're looking too far in the past and the result is 0).
// Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is
// past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out
// the same.
uint256 high = ckpts.length;
uint256 low = 0;
while (low < high) {
uint256 mid = Math.average(low, high);
if (ckpts[mid].fromBlock > blockNumber) {
high = mid;
} else {
low = mid + 1;
}
}
return high == 0 ? 0 : ckpts[high - 1].votes;
}
/**
* @dev Delegate votes from the sender to `delegatee`.
*/
function delegate(address delegatee) public virtual override {
_delegate(_msgSender(), delegatee);
}
/**
* @dev Delegates votes from signer to `delegatee`
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= expiry, "ERC20Votes: signature expired");
address signer = ECDSA.recover(
_hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
v,
r,
s
);
require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce");
_delegate(signer, delegatee);
}
/**
* @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1).
*/
function _maxSupply() internal view virtual returns (uint224) {
return type(uint224).max;
}
/**
* @dev Snapshots the totalSupply after it has been increased.
*/
function _mint(address account, uint256 amount) internal virtual override {
super._mint(account, amount);
require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes");
_writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
}
/**
* @dev Snapshots the totalSupply after it has been decreased.
*/
function _burn(address account, uint256 amount) internal virtual override {
super._burn(account, amount);
_writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
}
/**
* @dev Move voting power when tokens are transferred.
*
* Emits a {DelegateVotesChanged} event.
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._afterTokenTransfer(from, to, amount);
_moveVotingPower(delegates(from), delegates(to), amount);
}
/**
* @dev Change delegation for `delegator` to `delegatee`.
*
* Emits events {DelegateChanged} and {DelegateVotesChanged}.
*/
function _delegate(address delegator, address delegatee) internal virtual {
address currentDelegate = delegates(delegator);
uint256 delegatorBalance = balanceOf(delegator);
_delegates[delegator] = delegatee;
emit DelegateChanged(delegator, currentDelegate, delegatee);
_moveVotingPower(currentDelegate, delegatee, delegatorBalance);
}
function _moveVotingPower(
address src,
address dst,
uint256 amount
) private {
if (src != dst && amount > 0) {
if (src != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount);
emit DelegateVotesChanged(src, oldWeight, newWeight);
}
if (dst != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount);
emit DelegateVotesChanged(dst, oldWeight, newWeight);
}
}
}
function _writeCheckpoint(
Checkpoint[] storage ckpts,
function(uint256, uint256) view returns (uint256) op,
uint256 delta
) private returns (uint256 oldWeight, uint256 newWeight) {
uint256 pos = ckpts.length;
oldWeight = pos == 0 ? 0 : ckpts[pos - 1].votes;
newWeight = op(oldWeight, delta);
if (pos > 0 && ckpts[pos - 1].fromBlock == block.number) {
ckpts[pos - 1].votes = SafeCast.toUint224(newWeight);
} else {
ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)}));
}
}
function _add(uint256 a, uint256 b) private pure returns (uint256) {
return a + b;
}
function _subtract(uint256 a, uint256 b) private pure returns (uint256) {
return a - b;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @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);
/**
* @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 `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, 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 `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev Collection of functions related to array types.
*/
library Arrays {
/**
* @dev Searches a sorted `array` and returns the first index that contains
* a value greater or equal to `element`. If no such index exists (i.e. all
* values in the array are strictly less than `element`), the array length is
* returned. Time complexity O(log n).
*
* `array` is expected to be sorted in ascending order, and to contain no
* repeated elements.
*/
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
if (array.length == 0) {
return 0;
}
uint256 low = 0;
uint256 high = array.length;
while (low < high) {
uint256 mid = Math.average(low, high);
// Note that mid will always be strictly less than high (i.e. it will be a valid array index)
// because Math.average rounds down (it does integer division with truncation).
if (array[mid] > element) {
high = mid;
} else {
low = mid + 1;
}
}
// At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
if (low > 0 && array[low - 1] == element) {
return low - 1;
} else {
return low;
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)
pragma solidity ^0.8.0;
import "./ECDSA.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712 {
/* solhint-disable var-name-mixedcase */
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
uint256 private immutable _CACHED_CHAIN_ID;
address private immutable _CACHED_THIS;
bytes32 private immutable _HASHED_NAME;
bytes32 private immutable _HASHED_VERSION;
bytes32 private immutable _TYPE_HASH;
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
bytes32 typeHash = keccak256(
"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
);
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
_CACHED_CHAIN_ID = block.chainid;
_CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
_CACHED_THIS = address(this);
_TYPE_HASH = typeHash;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
return _CACHED_DOMAIN_SEPARATOR;
} else {
return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
}
}
function _buildDomainSeparator(
bytes32 typeHash,
bytes32 nameHash,
bytes32 versionHash
) private view returns (bytes32) {
return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a / b + (a % b == 0 ? 0 : 1);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeCast.sol)
pragma solidity ^0.8.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows raise errors. `SafeCast` restores this intuition by
* reverting the transaction when such an operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*
* Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
* all math on `uint256` and `int256` and then downcasting.
*/
library SafeCast {
/**
* @dev Returns the downcasted uint224 from uint256, reverting on
* overflow (when the input is greater than largest uint224).
*
* Counterpart to Solidity's `uint224` operator.
*
* Requirements:
*
* - input must fit into 224 bits
*/
function toUint224(uint256 value) internal pure returns (uint224) {
require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
return uint224(value);
}
/**
* @dev Returns the downcasted uint128 from uint256, reverting on
* overflow (when the input is greater than largest uint128).
*
* Counterpart to Solidity's `uint128` operator.
*
* Requirements:
*
* - input must fit into 128 bits
*/
function toUint128(uint256 value) internal pure returns (uint128) {
require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
return uint128(value);
}
/**
* @dev Returns the downcasted uint96 from uint256, reverting on
* overflow (when the input is greater than largest uint96).
*
* Counterpart to Solidity's `uint96` operator.
*
* Requirements:
*
* - input must fit into 96 bits
*/
function toUint96(uint256 value) internal pure returns (uint96) {
require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
return uint96(value);
}
/**
* @dev Returns the downcasted uint64 from uint256, reverting on
* overflow (when the input is greater than largest uint64).
*
* Counterpart to Solidity's `uint64` operator.
*
* Requirements:
*
* - input must fit into 64 bits
*/
function toUint64(uint256 value) internal pure returns (uint64) {
require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
return uint64(value);
}
/**
* @dev Returns the downcasted uint32 from uint256, reverting on
* overflow (when the input is greater than largest uint32).
*
* Counterpart to Solidity's `uint32` operator.
*
* Requirements:
*
* - input must fit into 32 bits
*/
function toUint32(uint256 value) internal pure returns (uint32) {
require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
return uint32(value);
}
/**
* @dev Returns the downcasted uint16 from uint256, reverting on
* overflow (when the input is greater than largest uint16).
*
* Counterpart to Solidity's `uint16` operator.
*
* Requirements:
*
* - input must fit into 16 bits
*/
function toUint16(uint256 value) internal pure returns (uint16) {
require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
return uint16(value);
}
/**
* @dev Returns the downcasted uint8 from uint256, reverting on
* overflow (when the input is greater than largest uint8).
*
* Counterpart to Solidity's `uint8` operator.
*
* Requirements:
*
* - input must fit into 8 bits.
*/
function toUint8(uint256 value) internal pure returns (uint8) {
require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
return uint8(value);
}
/**
* @dev Converts a signed int256 into an unsigned uint256.
*
* Requirements:
*
* - input must be greater than or equal to 0.
*/
function toUint256(int256 value) internal pure returns (uint256) {
require(value >= 0, "SafeCast: value must be positive");
return uint256(value);
}
/**
* @dev Returns the downcasted int128 from int256, reverting on
* overflow (when the input is less than smallest int128 or
* greater than largest int128).
*
* Counterpart to Solidity's `int128` operator.
*
* Requirements:
*
* - input must fit into 128 bits
*
* _Available since v3.1._
*/
function toInt128(int256 value) internal pure returns (int128) {
require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
return int128(value);
}
/**
* @dev Returns the downcasted int64 from int256, reverting on
* overflow (when the input is less than smallest int64 or
* greater than largest int64).
*
* Counterpart to Solidity's `int64` operator.
*
* Requirements:
*
* - input must fit into 64 bits
*
* _Available since v3.1._
*/
function toInt64(int256 value) internal pure returns (int64) {
require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
return int64(value);
}
/**
* @dev Returns the downcasted int32 from int256, reverting on
* overflow (when the input is less than smallest int32 or
* greater than largest int32).
*
* Counterpart to Solidity's `int32` operator.
*
* Requirements:
*
* - input must fit into 32 bits
*
* _Available since v3.1._
*/
function toInt32(int256 value) internal pure returns (int32) {
require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
return int32(value);
}
/**
* @dev Returns the downcasted int16 from int256, reverting on
* overflow (when the input is less than smallest int16 or
* greater than largest int16).
*
* Counterpart to Solidity's `int16` operator.
*
* Requirements:
*
* - input must fit into 16 bits
*
* _Available since v3.1._
*/
function toInt16(int256 value) internal pure returns (int16) {
require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
return int16(value);
}
/**
* @dev Returns the downcasted int8 from int256, reverting on
* overflow (when the input is less than smallest int8 or
* greater than largest int8).
*
* Counterpart to Solidity's `int8` operator.
*
* Requirements:
*
* - input must fit into 8 bits.
*
* _Available since v3.1._
*/
function toInt8(int256 value) internal pure returns (int8) {
require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
return int8(value);
}
/**
* @dev Converts an unsigned uint256 into a signed int256.
*
* Requirements:
*
* - input must be less than or equal to maxInt256.
*/
function toInt256(uint256 value) internal pure returns (int256) {
// Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
return int256(value);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created
iii. There are no files existing in the File Explorer
This workspace 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 Solidity test file for 'Ballot' contract & one JS test file for 'Storage' contract
SCRIPTS
The 'scripts' folder contains two 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).
Also, there is a script containing some unit tests for Storage contract inside tests directory.
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.
Please note, 'require' statement is supported in a limited manner for Remix supported modules.
For now, modules supported by Remix are ethers, web3, swarmgw, chai, remix and hardhat only for hardhat.ethers object/plugin.
For unsupported modules, an error like this will be thrown: '<module_name> module require is not supported by Remix IDE will be shown.'
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
* @custom:dev-run-script ./scripts/deploy_with_ethers.ts
*/
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;
import "hardhat/console.sol";
/**
* @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() {
console.log("Owner contract deployed by:", msg.sender);
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;
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
import "@openzeppelin/contracts@4.6.0/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts@4.6.0/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts@4.6.0/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts@4.6.0/access/Ownable.sol";
import "@openzeppelin/contracts@4.6.0/security/Pausable.sol";
import "@openzeppelin/contracts@4.6.0/token/ERC20/extensions/draft-ERC20Permit.sol";
import "@openzeppelin/contracts@4.6.0/token/ERC20/extensions/ERC20Votes.sol";
import "@openzeppelin/contracts@4.6.0/token/ERC20/extensions/ERC20FlashMint.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20Burnable.sol";
*/
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/Pausable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20Votes.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20FlashMint.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20Pausable.sol";
/// @custom:security-contact CXBNB@c-exins.co
contract CXBNB is ERC20, ERC20Burnable, ERC20Snapshot, Ownable, Pausable, ERC20Permit, ERC20Votes, ERC20FlashMint {
constructor() ERC20("CX BNB", "CXB") ERC20Permit("CX BNB") {
_mint(msg.sender, 100000000000 * 10 ** decimals());
}
function snapshot() public onlyOwner {
_snapshot();
}
function pause() public onlyOwner {
_pause();
}
function unpause() public onlyOwner {
_unpause();
}
function mint(address to, uint256 amount) public onlyOwner {
_mint(to, amount);
}
function _beforeTokenTransfer(address from, address to, uint256 amount)
internal
whenNotPaused
override(ERC20, ERC20Snapshot)
{
super._beforeTokenTransfer(from, to, amount);
}
// The following functions are overrides required by Solidity.
function _afterTokenTransfer(address from, address to, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._afterTokenTransfer(from, to, amount);
}
function _mint(address to, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._mint(to, amount);
}
function _burn(address account, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._burn(account, amount);
}
}
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

This file has been truncated, but you can view the full file.
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"görli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_196": {
"entryPoint": null,
"id": 196,
"parameterSlots": 0,
"returnSlots": 0
},
"@_2505": {
"entryPoint": null,
"id": 2505,
"parameterSlots": 1,
"returnSlots": 0
},
"@_3566": {
"entryPoint": null,
"id": 3566,
"parameterSlots": 2,
"returnSlots": 0
},
"@_448": {
"entryPoint": null,
"id": 448,
"parameterSlots": 0,
"returnSlots": 0
},
"@_49": {
"entryPoint": null,
"id": 49,
"parameterSlots": 0,
"returnSlots": 0
},
"@_574": {
"entryPoint": null,
"id": 574,
"parameterSlots": 2,
"returnSlots": 0
},
"@_add_2423": {
"entryPoint": 987,
"id": 2423,
"parameterSlots": 2,
"returnSlots": 1
},
"@_afterTokenTransfer_1114": {
"entryPoint": null,
"id": 1114,
"parameterSlots": 3,
"returnSlots": 0
},
"@_afterTokenTransfer_135": {
"entryPoint": 1483,
"id": 135,
"parameterSlots": 3,
"returnSlots": 0
},
"@_afterTokenTransfer_2205": {
"entryPoint": 1917,
"id": 2205,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_1103": {
"entryPoint": null,
"id": 1103,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_114": {
"entryPoint": 1444,
"id": 114,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_1657": {
"entryPoint": 1809,
"id": 1657,
"parameterSlots": 3,
"returnSlots": 0
},
"@_buildDomainSeparator_3622": {
"entryPoint": null,
"id": 3622,
"parameterSlots": 3,
"returnSlots": 1
},
"@_getCurrentSnapshotId_1546": {
"entryPoint": 2473,
"id": 1546,
"parameterSlots": 0,
"returnSlots": 1
},
"@_lastSnapshotId_1800": {
"entryPoint": 2503,
"id": 1800,
"parameterSlots": 1,
"returnSlots": 1
},
"@_maxSupply_2120": {
"entryPoint": null,
"id": 2120,
"parameterSlots": 0,
"returnSlots": 1
},
"@_mint_153": {
"entryPoint": 518,
"id": 153,
"parameterSlots": 2,
"returnSlots": 0
},
"@_mint_2152": {
"entryPoint": 545,
"id": 2152,
"parameterSlots": 2,
"returnSlots": 0
},
"@_mint_932": {
"entryPoint": 728,
"id": 932,
"parameterSlots": 2,
"returnSlots": 0
},
"@_moveVotingPower_2315": {
"entryPoint": 2065,
"id": 2315,
"parameterSlots": 3,
"returnSlots": 0
},
"@_msgSender_2768": {
"entryPoint": 432,
"id": 2768,
"parameterSlots": 0,
"returnSlots": 1
},
"@_requireNotPaused_485": {
"entryPoint": 1721,
"id": 485,
"parameterSlots": 0,
"returnSlots": 0
},
"@_subtract_2437": {
"entryPoint": 2459,
"id": 2437,
"parameterSlots": 2,
"returnSlots": 1
},
"@_transferOwnership_284": {
"entryPoint": 436,
"id": 284,
"parameterSlots": 1,
"returnSlots": 0
},
"@_updateAccountSnapshot_1727": {
"entryPoint": 1993,
"id": 1727,
"parameterSlots": 1,
"returnSlots": 0
},
"@_updateSnapshot_1775": {
"entryPoint": 2380,
"id": 1775,
"parameterSlots": 2,
"returnSlots": 0
},
"@_updateTotalSupplySnapshot_1737": {
"entryPoint": 2049,
"id": 1737,
"parameterSlots": 0,
"returnSlots": 0
},
"@_writeCheckpoint_2409": {
"entryPoint": 1010,
"id": 2409,
"parameterSlots": 3,
"returnSlots": 2
},
"@balanceOf_628": {
"entryPoint": null,
"id": 628,
"parameterSlots": 1,
"returnSlots": 1
},
"@current_2796": {
"entryPoint": 2576,
"id": 2796,
"parameterSlots": 1,
"returnSlots": 1
},
"@decimals_604": {
"entryPoint": null,
"id": 604,
"parameterSlots": 0,
"returnSlots": 1
},
"@delegates_1886": {
"entryPoint": null,
"id": 1886,
"parameterSlots": 1,
"returnSlots": 1
},
"@paused_473": {
"entryPoint": null,
"id": 473,
"parameterSlots": 0,
"returnSlots": 1
},
"@toUint224_4246": {
"entryPoint": 1507,
"id": 4246,
"parameterSlots": 1,
"returnSlots": 1
},
"@toUint32_4846": {
"entryPoint": 1618,
"id": 4846,
"parameterSlots": 1,
"returnSlots": 1
},
"@totalSupply_614": {
"entryPoint": 981,
"id": 614,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 6,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_97859f657b3d95198b68f29ae96ee966779795bec3ef1e76700d2d39fefd7699__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 2736,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_exp_helper": {
"entryPoint": 2763,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"checked_exp_t_uint256_t_uint8": {
"entryPoint": 2836,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_exp_unsigned": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_mul_t_uint256": {
"entryPoint": 3027,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_sub_t_uint256": {
"entryPoint": 3061,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 3087,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 3148,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 3170,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:5345:24",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:24",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "227:276:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "237:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "249:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "260:3:24",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "245:3:24"
},
"nodeType": "YulFunctionCall",
"src": "245:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "237:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "280:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "291:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "273:6:24"
},
"nodeType": "YulFunctionCall",
"src": "273:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "273:25:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "318:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "329:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "314:3:24"
},
"nodeType": "YulFunctionCall",
"src": "314:18:24"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "334:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "307:6:24"
},
"nodeType": "YulFunctionCall",
"src": "307:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "307:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "361:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "372:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "357:3:24"
},
"nodeType": "YulFunctionCall",
"src": "357:18:24"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "377:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "350:6:24"
},
"nodeType": "YulFunctionCall",
"src": "350:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "350:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "404:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "415:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "400:3:24"
},
"nodeType": "YulFunctionCall",
"src": "400:18:24"
},
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "420:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "393:6:24"
},
"nodeType": "YulFunctionCall",
"src": "393:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "393:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "447:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "458:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "443:3:24"
},
"nodeType": "YulFunctionCall",
"src": "443:19:24"
},
{
"arguments": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "468:6:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "484:3:24",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "489:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "480:3:24"
},
"nodeType": "YulFunctionCall",
"src": "480:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "493:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "476:3:24"
},
"nodeType": "YulFunctionCall",
"src": "476:19:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "464:3:24"
},
"nodeType": "YulFunctionCall",
"src": "464:32:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "436:6:24"
},
"nodeType": "YulFunctionCall",
"src": "436:61:24"
},
"nodeType": "YulExpressionStatement",
"src": "436:61:24"
}
]
},
"name": "abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "164:9:24",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "175:6:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "183:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "191:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "199:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "207:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "218:4:24",
"type": ""
}
],
"src": "14:489:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "682:166:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "699:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "710:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "692:6:24"
},
"nodeType": "YulFunctionCall",
"src": "692:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "692:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "733:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "744:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "729:3:24"
},
"nodeType": "YulFunctionCall",
"src": "729:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "749:2:24",
"type": "",
"value": "16"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "722:6:24"
},
"nodeType": "YulFunctionCall",
"src": "722:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "722:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "772:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "783:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "768:3:24"
},
"nodeType": "YulFunctionCall",
"src": "768:18:24"
},
{
"hexValue": "5061757361626c653a20706175736564",
"kind": "string",
"nodeType": "YulLiteral",
"src": "788:18:24",
"type": "",
"value": "Pausable: paused"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "761:6:24"
},
"nodeType": "YulFunctionCall",
"src": "761:46:24"
},
"nodeType": "YulExpressionStatement",
"src": "761:46:24"
},
{
"nodeType": "YulAssignment",
"src": "816:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "828:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "839:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "824:3:24"
},
"nodeType": "YulFunctionCall",
"src": "824:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "816:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "659:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "673:4:24",
"type": ""
}
],
"src": "508:340:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1027:238:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1044:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1055:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1037:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1037:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "1037:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1078:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1089:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1074:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1074:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1094:2:24",
"type": "",
"value": "48"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1067:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1067:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "1067:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1117:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1128:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1113:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1113:18:24"
},
{
"hexValue": "4552433230566f7465733a20746f74616c20737570706c79207269736b73206f",
"kind": "string",
"nodeType": "YulLiteral",
"src": "1133:34:24",
"type": "",
"value": "ERC20Votes: total supply risks o"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1106:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1106:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "1106:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1188:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1199:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1184:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1184:18:24"
},
{
"hexValue": "766572666c6f77696e6720766f746573",
"kind": "string",
"nodeType": "YulLiteral",
"src": "1204:18:24",
"type": "",
"value": "verflowing votes"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1177:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1177:46:24"
},
"nodeType": "YulExpressionStatement",
"src": "1177:46:24"
},
{
"nodeType": "YulAssignment",
"src": "1232:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1244:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1255:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1240:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1240:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1232:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_97859f657b3d95198b68f29ae96ee966779795bec3ef1e76700d2d39fefd7699__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1004:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1018:4:24",
"type": ""
}
],
"src": "853:412:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1444:229:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1461:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1472:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1454:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1454:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "1454:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1495:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1506:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1491:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1491:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1511:2:24",
"type": "",
"value": "39"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1484:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1484:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "1484:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1534:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1545:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1530:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1530:18:24"
},
{
"hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2032",
"kind": "string",
"nodeType": "YulLiteral",
"src": "1550:34:24",
"type": "",
"value": "SafeCast: value doesn't fit in 2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1523:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1523:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "1523:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1605:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1616:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1601:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1601:18:24"
},
{
"hexValue": "32342062697473",
"kind": "string",
"nodeType": "YulLiteral",
"src": "1621:9:24",
"type": "",
"value": "24 bits"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1594:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1594:37:24"
},
"nodeType": "YulExpressionStatement",
"src": "1594:37:24"
},
{
"nodeType": "YulAssignment",
"src": "1640:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1652:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1663:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1648:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1648:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1640:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1421:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1435:4:24",
"type": ""
}
],
"src": "1270:403:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1852:228:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1869:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1880:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1862:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1862:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "1862:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1903:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1914:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1899:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1899:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1919:2:24",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1892:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1892:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "1892:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1942:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1953:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1938:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1938:18:24"
},
{
"hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2033",
"kind": "string",
"nodeType": "YulLiteral",
"src": "1958:34:24",
"type": "",
"value": "SafeCast: value doesn't fit in 3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1931:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1931:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "1931:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2013:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2024:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2009:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2009:18:24"
},
{
"hexValue": "322062697473",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2029:8:24",
"type": "",
"value": "2 bits"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2002:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2002:36:24"
},
"nodeType": "YulExpressionStatement",
"src": "2002:36:24"
},
{
"nodeType": "YulAssignment",
"src": "2047:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2059:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2070:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2055:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2055:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2047:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1829:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1843:4:24",
"type": ""
}
],
"src": "1678:402:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2259:181:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2276:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2287:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2269:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2269:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "2269:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2310:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2321:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2306:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2306:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2326:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2299:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2299:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "2299:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2349:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2360:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2345:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2345:18:24"
},
{
"hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2365:33:24",
"type": "",
"value": "ERC20: mint to the zero address"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2338:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2338:61:24"
},
"nodeType": "YulExpressionStatement",
"src": "2338:61:24"
},
{
"nodeType": "YulAssignment",
"src": "2408:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2420:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2431:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2416:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2416:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2408:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2236:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2250:4:24",
"type": ""
}
],
"src": "2085:355:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2546:76:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2556:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2568:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2579:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2564:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2564:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2556:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2598:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2609:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2591:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2591:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "2591:25:24"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2515:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2526:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2537:4:24",
"type": ""
}
],
"src": "2445:177:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2756:119:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2766:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2778:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2789:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2774:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2774:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2766:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2808:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2819:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2801:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2801:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "2801:25:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2846:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2857:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2842:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2842:18:24"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2862:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2835:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2835:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "2835:34:24"
}
]
},
"name": "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2717:9:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2728:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2736:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2747:4:24",
"type": ""
}
],
"src": "2627:248:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2928:80:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2955:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "2957:16:24"
},
"nodeType": "YulFunctionCall",
"src": "2957:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "2957:18:24"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2944:1:24"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "2951:1:24"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "2947:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2947:6:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2941:2:24"
},
"nodeType": "YulFunctionCall",
"src": "2941:13:24"
},
"nodeType": "YulIf",
"src": "2938:39:24"
},
{
"nodeType": "YulAssignment",
"src": "2986:16:24",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "2997:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "3000:1:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2993:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2993:9:24"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "2986:3:24"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "2911:1:24",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "2914:1:24",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "2920:3:24",
"type": ""
}
],
"src": "2880:128:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3077:358:24",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3087:16:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3102:1:24",
"type": "",
"value": "1"
},
"variables": [
{
"name": "power_1",
"nodeType": "YulTypedName",
"src": "3091:7:24",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3112:16:24",
"value": {
"name": "power_1",
"nodeType": "YulIdentifier",
"src": "3121:7:24"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3112:5:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3137:13:24",
"value": {
"name": "_base",
"nodeType": "YulIdentifier",
"src": "3145:5:24"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3137:4:24"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3201:228:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3246:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "3248:16:24"
},
"nodeType": "YulFunctionCall",
"src": "3248:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "3248:18:24"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3221:4:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3235:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3231:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3231:6:24"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3239:4:24"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "3227:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3227:17:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3218:2:24"
},
"nodeType": "YulFunctionCall",
"src": "3218:27:24"
},
"nodeType": "YulIf",
"src": "3215:53:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3307:29:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3309:25:24",
"value": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3322:5:24"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3329:4:24"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "3318:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3318:16:24"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3309:5:24"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3288:8:24"
},
{
"name": "power_1",
"nodeType": "YulIdentifier",
"src": "3298:7:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3284:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3284:22:24"
},
"nodeType": "YulIf",
"src": "3281:55:24"
},
{
"nodeType": "YulAssignment",
"src": "3349:23:24",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3361:4:24"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3367:4:24"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "3357:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3357:15:24"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3349:4:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3385:34:24",
"value": {
"arguments": [
{
"name": "power_1",
"nodeType": "YulIdentifier",
"src": "3401:7:24"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3410:8:24"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "3397:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3397:22:24"
},
"variableNames": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3385:8:24"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3170:8:24"
},
{
"name": "power_1",
"nodeType": "YulIdentifier",
"src": "3180:7:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3167:2:24"
},
"nodeType": "YulFunctionCall",
"src": "3167:21:24"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "3189:3:24",
"statements": []
},
"pre": {
"nodeType": "YulBlock",
"src": "3163:3:24",
"statements": []
},
"src": "3159:270:24"
}
]
},
"name": "checked_exp_helper",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "_base",
"nodeType": "YulTypedName",
"src": "3041:5:24",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "3048:8:24",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "3061:5:24",
"type": ""
},
{
"name": "base",
"nodeType": "YulTypedName",
"src": "3068:4:24",
"type": ""
}
],
"src": "3013:422:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3508:72:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3518:56:24",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3548:4:24"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3558:8:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3568:4:24",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3554:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3554:19:24"
}
],
"functionName": {
"name": "checked_exp_unsigned",
"nodeType": "YulIdentifier",
"src": "3527:20:24"
},
"nodeType": "YulFunctionCall",
"src": "3527:47:24"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3518:5:24"
}
]
}
]
},
"name": "checked_exp_t_uint256_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "3479:4:24",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "3485:8:24",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "3498:5:24",
"type": ""
}
],
"src": "3440:140:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3644:747:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3682:52:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3696:10:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3705:1:24",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3696:5:24"
}
]
},
{
"nodeType": "YulLeave",
"src": "3719:5:24"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3664:8:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3657:6:24"
},
"nodeType": "YulFunctionCall",
"src": "3657:16:24"
},
"nodeType": "YulIf",
"src": "3654:80:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3767:52:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3781:10:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3790:1:24",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3781:5:24"
}
]
},
{
"nodeType": "YulLeave",
"src": "3804:5:24"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "3753:4:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3746:6:24"
},
"nodeType": "YulFunctionCall",
"src": "3746:12:24"
},
"nodeType": "YulIf",
"src": "3743:76:24"
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "3855:52:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3869:10:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3878:1:24",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3869:5:24"
}
]
},
{
"nodeType": "YulLeave",
"src": "3892:5:24"
}
]
},
"nodeType": "YulCase",
"src": "3848:59:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3853:1:24",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "3923:123:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3958:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "3960:16:24"
},
"nodeType": "YulFunctionCall",
"src": "3960:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "3960:18:24"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "3943:8:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3953:3:24",
"type": "",
"value": "255"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3940:2:24"
},
"nodeType": "YulFunctionCall",
"src": "3940:17:24"
},
"nodeType": "YulIf",
"src": "3937:43:24"
},
{
"nodeType": "YulAssignment",
"src": "3993:25:24",
"value": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "4006:8:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4016:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "4002:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4002:16:24"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "3993:5:24"
}
]
},
{
"nodeType": "YulLeave",
"src": "4031:5:24"
}
]
},
"nodeType": "YulCase",
"src": "3916:130:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3921:1:24",
"type": "",
"value": "2"
}
}
],
"expression": {
"name": "base",
"nodeType": "YulIdentifier",
"src": "3835:4:24"
},
"nodeType": "YulSwitch",
"src": "3828:218:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4144:70:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4158:28:24",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "4171:4:24"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "4177:8:24"
}
],
"functionName": {
"name": "exp",
"nodeType": "YulIdentifier",
"src": "4167:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4167:19:24"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "4158:5:24"
}
]
},
{
"nodeType": "YulLeave",
"src": "4199:5:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "4068:4:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4074:2:24",
"type": "",
"value": "11"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4065:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4065:12:24"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "4082:8:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4092:2:24",
"type": "",
"value": "78"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4079:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4079:16:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4061:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4061:35:24"
},
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "4105:4:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4111:3:24",
"type": "",
"value": "307"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4102:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4102:13:24"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "4120:8:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4130:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4117:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4117:16:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4098:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4098:36:24"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "4058:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4058:77:24"
},
"nodeType": "YulIf",
"src": "4055:159:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "4223:57:24",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "4265:4:24"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "4271:8:24"
}
],
"functionName": {
"name": "checked_exp_helper",
"nodeType": "YulIdentifier",
"src": "4246:18:24"
},
"nodeType": "YulFunctionCall",
"src": "4246:34:24"
},
"variables": [
{
"name": "power_1",
"nodeType": "YulTypedName",
"src": "4227:7:24",
"type": ""
},
{
"name": "base_1",
"nodeType": "YulTypedName",
"src": "4236:6:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4325:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "4327:16:24"
},
"nodeType": "YulFunctionCall",
"src": "4327:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "4327:18:24"
}
]
},
"condition": {
"arguments": [
{
"name": "power_1",
"nodeType": "YulIdentifier",
"src": "4295:7:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4312:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4308:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4308:6:24"
},
{
"name": "base_1",
"nodeType": "YulIdentifier",
"src": "4316:6:24"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4304:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4304:19:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4292:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4292:32:24"
},
"nodeType": "YulIf",
"src": "4289:58:24"
},
{
"nodeType": "YulAssignment",
"src": "4356:29:24",
"value": {
"arguments": [
{
"name": "power_1",
"nodeType": "YulIdentifier",
"src": "4369:7:24"
},
{
"name": "base_1",
"nodeType": "YulIdentifier",
"src": "4378:6:24"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "4365:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4365:20:24"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "4356:5:24"
}
]
}
]
},
"name": "checked_exp_unsigned",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "3615:4:24",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "3621:8:24",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "3634:5:24",
"type": ""
}
],
"src": "3585:806:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4448:116:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4507:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "4509:16:24"
},
"nodeType": "YulFunctionCall",
"src": "4509:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "4509:18:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4479:1:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4472:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4472:9:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4465:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4465:17:24"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4487:1:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4498:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4494:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4494:6:24"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4502:1:24"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "4490:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4490:14:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4484:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4484:21:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4461:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4461:45:24"
},
"nodeType": "YulIf",
"src": "4458:71:24"
},
{
"nodeType": "YulAssignment",
"src": "4538:20:24",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4553:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4556:1:24"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "4549:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4549:9:24"
},
"variableNames": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "4538:7:24"
}
]
}
]
},
"name": "checked_mul_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "4427:1:24",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "4430:1:24",
"type": ""
}
],
"returnVariables": [
{
"name": "product",
"nodeType": "YulTypedName",
"src": "4436:7:24",
"type": ""
}
],
"src": "4396:168:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4618:76:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4640:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "4642:16:24"
},
"nodeType": "YulFunctionCall",
"src": "4642:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "4642:18:24"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4634:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4637:1:24"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4631:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4631:8:24"
},
"nodeType": "YulIf",
"src": "4628:34:24"
},
{
"nodeType": "YulAssignment",
"src": "4671:17:24",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "4683:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "4686:1:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4679:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4679:9:24"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "4671:4:24"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "4600:1:24",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "4603:1:24",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "4609:4:24",
"type": ""
}
],
"src": "4569:125:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4754:325:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4764:22:24",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4778:1:24",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4781:4:24"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "4774:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4774:12:24"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4764:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4795:38:24",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "4825:4:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4831:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4821:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4821:12:24"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "4799:18:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4872:31:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4874:27:24",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4888:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4896:4:24",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4884:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4884:17:24"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4874:6:24"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4852:18:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4845:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4845:26:24"
},
"nodeType": "YulIf",
"src": "4842:61:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4962:111:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4983:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4990:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4995:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "4986:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4986:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4976:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4976:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "4976:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5027:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5030:4:24",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5020:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5020:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "5020:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5055:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5058:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5048:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5048:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "5048:15:24"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "4918:18:24"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4941:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4949:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4938:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4938:14:24"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4915:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4915:38:24"
},
"nodeType": "YulIf",
"src": "4912:161:24"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "4734:4:24",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4743:6:24",
"type": ""
}
],
"src": "4699:380:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5116:95:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5133:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5140:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5145:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "5136:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5136:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5126:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5126:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "5126:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5173:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5176:4:24",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5166:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5166:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "5166:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5197:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5200:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5190:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5190:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "5190:15:24"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "5084:127:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5248:95:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5265:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5272:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5277:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "5268:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5268:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5258:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5258:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "5258:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5305:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5308:4:24",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5298:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5298:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "5298:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5329:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5332:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5322:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5322:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "5322:15:24"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "5216:127:24"
}
]
},
"contents": "{\n { }\n function abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 160)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n mstore(add(headStart, 64), value2)\n mstore(add(headStart, 96), value3)\n mstore(add(headStart, 128), and(value4, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 16)\n mstore(add(headStart, 64), \"Pausable: paused\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_97859f657b3d95198b68f29ae96ee966779795bec3ef1e76700d2d39fefd7699__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 48)\n mstore(add(headStart, 64), \"ERC20Votes: total supply risks o\")\n mstore(add(headStart, 96), \"verflowing votes\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"SafeCast: value doesn't fit in 2\")\n mstore(add(headStart, 96), \"24 bits\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"SafeCast: value doesn't fit in 3\")\n mstore(add(headStart, 96), \"2 bits\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 31)\n mstore(add(headStart, 64), \"ERC20: mint to the zero address\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_exp_helper(_base, exponent) -> power, base\n {\n let power_1 := 1\n power := power_1\n base := _base\n for { } gt(exponent, power_1) { }\n {\n if gt(base, div(not(0), base)) { panic_error_0x11() }\n if and(exponent, power_1) { power := mul(power, base) }\n base := mul(base, base)\n exponent := shr(power_1, exponent)\n }\n }\n function checked_exp_t_uint256_t_uint8(base, exponent) -> power\n {\n power := checked_exp_unsigned(base, and(exponent, 0xff))\n }\n function checked_exp_unsigned(base, exponent) -> power\n {\n if iszero(exponent)\n {\n power := 1\n leave\n }\n if iszero(base)\n {\n power := 0\n leave\n }\n switch base\n case 1 {\n power := 1\n leave\n }\n case 2 {\n if gt(exponent, 255) { panic_error_0x11() }\n power := shl(exponent, 1)\n leave\n }\n if or(and(lt(base, 11), lt(exponent, 78)), and(lt(base, 307), lt(exponent, 32)))\n {\n power := exp(base, exponent)\n leave\n }\n let power_1, base_1 := checked_exp_helper(base, exponent)\n if gt(power_1, div(not(0), base_1)) { panic_error_0x11() }\n power := mul(power_1, base_1)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n}",
"id": 24,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "6101406040523480156200001257600080fd5b506040518060400160405280600681526020016521ac1021272160d11b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600681526020016521ac1021272160d11b8152506040518060400160405280600381526020016221ac2160e91b8152508160039080519060200190620000a092919062000a14565b508051620000b690600490602084019062000a14565b505050620000d3620000cd620001b060201b60201c565b620001b4565b6009805460ff60a01b19169055815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060601b60c0526101205250620001aa935033925062000186915050601290565b6200019390600a62000b14565b620001a49064174876e80062000bd3565b62000206565b62000c78565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200021d82826200022160201b62000fc61760201c565b5050565b620002388282620002d860201b620010561760201c565b6001600160e01b036200024c620003d58216565b1115620002b95760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084015b60405180910390fd5b620002d2600e62001149620003db60201b1783620003f2565b50505050565b6001600160a01b038216620003305760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002b0565b6200033e60008383620005a4565b806002600082825462000352919062000ab0565b90915550506001600160a01b038216600090815260208190526040812080548392906200038190849062000ab0565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36200021d60008383620005cb565b60025490565b6000620003e9828462000ab0565b90505b92915050565b8254600090819080156200044457856200040e60018362000bf5565b8154811062000421576200042162000c62565b60009182526020909120015464010000000090046001600160e01b031662000447565b60005b6001600160e01b031692506200045e83858760201c565b9150600081118015620004a2575043866200047b60018462000bf5565b815481106200048e576200048e62000c62565b60009182526020909120015463ffffffff16145b156200051657620004be82620005e360201b620011551760201c565b86620004cc60018462000bf5565b81548110620004df57620004df62000c62565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506200059b565b85604051806040016040528062000538436200065260201b620011c21760201c565b63ffffffff1681526020016200055985620005e360201b620011551760201c565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b620005ae620006b9565b620005c68383836200071160201b620012271760201c565b505050565b620005c68383836200077d60201b620012741760201c565b60006001600160e01b038211156200064e5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401620002b0565b5090565b600063ffffffff8211156200064e5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401620002b0565b620006cd600954600160a01b900460ff1690565b156200070f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620002b0565b565b62000729838383620005c660201b620012461760201c565b6001600160a01b0383166200074d576200074382620007c9565b620005c662000801565b6001600160a01b03821662000767576200074383620007c9565b6200077283620007c9565b620005c682620007c9565b62000795838383620005c660201b620012461760201c565b6001600160a01b038381166000908152600c6020526040808220548584168352912054620005c69291821691168362000811565b6001600160a01b03811660009081526005602090815260408083209183905290912054620007fe91906200094c565b6200094c565b50565b6200070f6006620007f860025490565b816001600160a01b0316836001600160a01b031614158015620008345750600081115b15620005c6576001600160a01b03831615620008c1576001600160a01b0383166000908152600d60209081526040822082916200087e91906200099b901b620012a61785620003f2565b91509150846001600160a01b0316600080516020620036518339815191528383604051620008b6929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615620005c6576001600160a01b0382166000908152600d6020908152604082208291620009059190620003db901b620011491785620003f2565b91509150836001600160a01b03166000805160206200365183398151915283836040516200093d929190918252602082015260400190565b60405180910390a25050505050565b600062000958620009a9565b9050806200096684620009c7565b1015620005c6578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000620003e9828462000bf5565b6000620009c2600862000a1060201b620012b21760201c565b905090565b8054600090620009d957506000919050565b81548290620009eb9060019062000bf5565b81548110620009fe57620009fe62000c62565b90600052602060002001549050919050565b5490565b82805462000a229062000c0f565b90600052602060002090601f01602090048101928262000a46576000855562000a91565b82601f1062000a6157805160ff191683800117855562000a91565b8280016001018555821562000a91579182015b8281111562000a9157825182559160200191906001019062000a74565b506200064e9291505b808211156200064e576000815560010162000a9a565b6000821982111562000ac65762000ac662000c4c565b500190565b600181815b8085111562000b0c57816000190482111562000af05762000af062000c4c565b8085161562000afe57918102915b93841c939080029062000ad0565b509250929050565b6000620003e960ff84168360008262000b3057506001620003ec565b8162000b3f57506000620003ec565b816001811462000b58576002811462000b635762000b83565b6001915050620003ec565b60ff84111562000b775762000b7762000c4c565b50506001821b620003ec565b5060208310610133831016604e8410600b841016171562000ba8575081810a620003ec565b62000bb4838362000acb565b806000190482111562000bcb5762000bcb62000c4c565b029392505050565b600081600019048311821515161562000bf05762000bf062000c4c565b500290565b60008282101562000c0a5762000c0a62000c4c565b500390565b600181811c9082168062000c2457607f821691505b6020821081141562000c4657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60805160a05160c05160601c60e051610100516101205161298662000ccb60003960006116b701526000611706015260006116e10152600061163a015260006116640152600061168e01526129866000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c806370a0823111610130578063981b24d0116100b8578063d505accf1161007c578063d505accf146104bb578063d9d98ce4146104ce578063dd62ed3e146104e1578063f1127ed8146104f4578063f2fde38b1461053157600080fd5b8063981b24d01461045c5780639ab24eb01461046f578063a457c2d714610482578063a9059cbb14610495578063c3cda520146104a857600080fd5b80638456cb59116100ff5780638456cb59146104205780638da5cb5b146104285780638e539e8c1461043957806395d89b411461044c5780639711715a1461045457600080fd5b806370a08231146103c9578063715018a6146103f257806379cc6790146103fa5780637ecebe001461040d57600080fd5b806340c10f19116101b35780635c19a95c116101825780635c19a95c146103565780635c975abb146103695780635cffe9de1461037b578063613255ab1461038e5780636fcfff45146103a157600080fd5b806340c10f19146102d957806342966c68146102ec5780634ee2cd7e146102ff578063587cde1e1461031257600080fd5b8063313ce567116101fa578063313ce567146102925780633644e515146102a157806339509351146102a95780633a46b1a8146102bc5780633f4ba83a146102cf57600080fd5b806306fdde031461022c578063095ea7b31461024a57806318160ddd1461026d57806323b872dd1461027f575b600080fd5b610234610544565b604051610241919061281e565b60405180910390f35b61025d610258366004612634565b6105d6565b6040519015158152602001610241565b6002545b604051908152602001610241565b61025d61028d366004612585565b6105f0565b60405160128152602001610241565b610271610614565b61025d6102b7366004612634565b610623565b6102716102ca366004612634565b610645565b6102d76106c4565b005b6102d76102e7366004612634565b6106d6565b6102d76102fa3660046127a9565b6106ec565b61027161030d366004612634565b6106f9565b61033e61032036600461252f565b6001600160a01b039081166000908152600c60205260409020541690565b6040516001600160a01b039091168152602001610241565b6102d761036436600461252f565b610752565b600954600160a01b900460ff1661025d565b61025d61038936600461270a565b61075c565b61027161039c36600461252f565b61094f565b6103b46103af36600461252f565b610977565b60405163ffffffff9091168152602001610241565b6102716103d736600461252f565b6001600160a01b031660009081526020819052604090205490565b6102d7610999565b6102d7610408366004612634565b6109ab565b61027161041b36600461252f565b6109c0565b6102d76109de565b6009546001600160a01b031661033e565b6102716104473660046127a9565b6109ee565b610234610a4a565b6102d7610a59565b61027161046a3660046127a9565b610a69565b61027161047d36600461252f565b610a94565b61025d610490366004612634565b610b1b565b61025d6104a3366004612634565b610b96565b6102d76104b6366004612660565b610ba4565b6102d76104c93660046125c6565b610cda565b6102716104dc366004612634565b610e3e565b6102716104ef36600461254c565b610ea1565b6105076105023660046126ba565b610ecc565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610241565b6102d761053f36600461252f565b610f50565b606060038054610553906128c4565b80601f016020809104026020016040519081016040528092919081815260200182805461057f906128c4565b80156105cc5780601f106105a1576101008083540402835291602001916105cc565b820191906000526020600020905b8154815290600101906020018083116105af57829003601f168201915b5050505050905090565b6000336105e48185856112b6565b60019150505b92915050565b6000336105fe8582856113da565b61060985858561144e565b506001949350505050565b600061061e61162d565b905090565b6000336105e48185856106368383610ea1565b6106409190612873565b6112b6565b600043821061069b5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600d602052604090206106bd9083611754565b9392505050565b6106cc611811565b6106d461186b565b565b6106de611811565b6106e882826118c0565b5050565b6106f633826118ca565b50565b6001600160a01b0382166000908152600560205260408120819081906107209085906118d4565b9150915081610747576001600160a01b038516600090815260208190526040902054610749565b805b95945050505050565b6106f633826119cb565b60006107678561094f565b8411156107ca5760405162461bcd60e51b815260206004820152602b60248201527f4552433230466c6173684d696e743a20616d6f756e742065786365656473206d60448201526a30bc233630b9b42637b0b760a91b6064820152608401610692565b60006107d68686610e3e565b90506107e287866118c0565b6040516323e30c8b60e01b81527f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9906001600160a01b038916906323e30c8b9061083a9033908b908b9088908c908c906004016127c2565b602060405180830381600087803b15801561085457600080fd5b505af1158015610868573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088c91906126f1565b146108e55760405162461bcd60e51b8152602060048201526024808201527f4552433230466c6173684d696e743a20696e76616c69642072657475726e2076604482015263616c756560e01b6064820152608401610692565b60006108fb88306108f6858a612873565b6113da565b81158061090f57506001600160a01b038116155b1561092c57610927886109228489612873565b6118ca565b610941565b61093688876118ca565b61094188828461144e565b506001979650505050505050565b60006001600160a01b03821630146109685760006105ea565b6002546105ea906000196128ad565b6001600160a01b0381166000908152600d60205260408120546105ea906111c2565b6109a1611811565b6106d46000611a44565b6109b68233836113da565b6106e882826118ca565b6001600160a01b0381166000908152600a60205260408120546105ea565b6109e6611811565b6106d4611a96565b6000438210610a3f5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610692565b6105ea600e83611754565b606060048054610553906128c4565b610a61611811565b6106f6611ad9565b6000806000610a798460066118d4565b9150915081610a8a57600254610a8c565b805b949350505050565b6001600160a01b0381166000908152600d60205260408120548015610b08576001600160a01b0383166000908152600d60205260409020610ad66001836128ad565b81548110610ae657610ae6612925565b60009182526020909120015464010000000090046001600160e01b0316610b0b565b60005b6001600160e01b03169392505050565b60003381610b298286610ea1565b905083811015610b895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610692565b61060982868684036112b6565b6000336105e481858561144e565b83421115610bf45760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610692565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610c6e90610c669060a00160405160208183030381529060405280519060200120611b33565b858585611b81565b9050610c7981611ba9565b8614610cc75760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610692565b610cd181886119cb565b50505050505050565b83421115610d2a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610692565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610d598c611ba9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610db482611b33565b90506000610dc482878787611b81565b9050896001600160a01b0316816001600160a01b031614610e275760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610692565b610e328a8a8a6112b6565b50505050505050505050565b60006001600160a01b0383163014610e985760405162461bcd60e51b815260206004820152601b60248201527f4552433230466c6173684d696e743a2077726f6e6720746f6b656e00000000006044820152606401610692565b50600092915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60408051808201909152600080825260208201526001600160a01b0383166000908152600d60205260409020805463ffffffff8416908110610f1057610f10612925565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610f58611811565b6001600160a01b038116610fbd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610692565b6106f681611a44565b610fd08282611056565b6002546001600160e01b0310156110425760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610692565b611050600e61114983611bd1565b50505050565b6001600160a01b0382166110ac5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610692565b6110b860008383611d4a565b80600260008282546110ca9190612873565b90915550506001600160a01b038216600090815260208190526040812080548392906110f7908490612873565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36106e860008383611d5d565b60006106bd8284612873565b60006001600160e01b038211156111be5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610692565b5090565b600063ffffffff8211156111be5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610692565b6001600160a01b03831661124b5761123e82611d68565b611246611d9a565b505050565b6001600160a01b0382166112625761123e83611d68565b61126b83611d68565b61124682611d68565b6001600160a01b038381166000908152600c602052604080822054858416835291205461124692918216911683611da8565b60006106bd82846128ad565b5490565b6001600160a01b0383166113185760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610692565b6001600160a01b0382166113795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610692565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006113e68484610ea1565b9050600019811461105057818110156114415760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610692565b61105084848484036112b6565b6001600160a01b0383166114b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610692565b6001600160a01b0382166115145760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610692565b61151f838383611d4a565b6001600160a01b038316600090815260208190526040902054818110156115975760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610692565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906115ce908490612873565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161161a91815260200190565b60405180910390a3611050848484611d5d565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561168657507f000000000000000000000000000000000000000000000000000000000000000046145b156116b057507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b818110156117b857600061176f8284611ee5565b90508486828154811061178457611784612925565b60009182526020909120015463ffffffff1611156117a4578092506117b2565b6117af816001612873565b91505b5061175b565b81156117fc57846117ca6001846128ad565b815481106117da576117da612925565b60009182526020909120015464010000000090046001600160e01b03166117ff565b60005b6001600160e01b031695945050505050565b6009546001600160a01b031633146106d45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610692565b611873611f00565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6106e88282610fc6565b6106e88282611f50565b600080600084116119205760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610692565b611928611f68565b8411156119775760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610692565b60006119838486611f73565b845490915081141561199c5760008092509250506119c4565b60018460010182815481106119b3576119b3612925565b906000526020600020015492509250505b9250929050565b6001600160a01b038281166000818152600c60208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611050828483611da8565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a9e612036565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118a33390565b6000611ae9600880546001019055565b6000611af3611f68565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051611b2691815260200190565b60405180910390a1919050565b60006105ea611b4061162d565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611b9287878787612083565b91509150611b9f81612170565b5095945050505050565b6001600160a01b0381166000908152600a602052604090208054600181018255905b50919050565b825460009081908015611c1c5785611bea6001836128ad565b81548110611bfa57611bfa612925565b60009182526020909120015464010000000090046001600160e01b0316611c1f565b60005b6001600160e01b03169250611c3883858763ffffffff16565b9150600081118015611c7657504386611c526001846128ad565b81548110611c6257611c62612925565b60009182526020909120015463ffffffff16145b15611cd657611c8482611155565b86611c906001846128ad565b81548110611ca057611ca0612925565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611d41565b856040518060400160405280611ceb436111c2565b63ffffffff168152602001611cff85611155565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b611d52612036565b611246838383611227565b611246838383611274565b6001600160a01b038116600090815260056020908152604080832091839052909120546106f6919061232b565b61232b565b6106d46006611d9560025490565b816001600160a01b0316836001600160a01b031614158015611dca5750600081115b15611246576001600160a01b03831615611e58576001600160a01b0383166000908152600d602052604081208190611e05906112a685611bd1565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611e4d929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615611246576001600160a01b0382166000908152600d602052604081208190611e8e9061114985611bd1565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611ed6929190918252602082015260400190565b60405180910390a25050505050565b6000611ef4600284841861288b565b6106bd90848416612873565b600954600160a01b900460ff166106d45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610692565b611f5a8282612375565b611050600e6112a683611bd1565b600061061e60085490565b8154600090611f84575060006105ea565b82546000905b80821015611fe0576000611f9e8383611ee5565b905084868281548110611fb357611fb3612925565b90600052602060002001541115611fcc57809150611fda565b611fd7816001612873565b92505b50611f8a565b60008211801561201557508385611ff86001856128ad565b8154811061200857612008612925565b9060005260206000200154145b1561202e576120256001836128ad565b925050506105ea565b5090506105ea565b600954600160a01b900460ff16156106d45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610692565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120ba5750600090506003612167565b8460ff16601b141580156120d257508460ff16601c14155b156120e35750600090506004612167565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612137573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661216057600060019250925050612167565b9150600090505b94509492505050565b60008160048111156121845761218461290f565b141561218d5750565b60018160048111156121a1576121a161290f565b14156121ef5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610692565b60028160048111156122035761220361290f565b14156122515760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610692565b60038160048111156122655761226561290f565b14156122be5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610692565b60048160048111156122d2576122d261290f565b14156106f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610692565b6000612335611f68565b905080612341846124d6565b1015611246578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6001600160a01b0382166123d55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610692565b6123e182600083611d4a565b6001600160a01b038216600090815260208190526040902054818110156124555760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610692565b6001600160a01b03831660009081526020819052604081208383039055600280548492906124849084906128ad565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361124683600084611d5d565b80546000906124e757506000919050565b815482906124f7906001906128ad565b8154811061250757612507612925565b90600052602060002001549050919050565b919050565b803560ff8116811461251957600080fd5b60006020828403121561254157600080fd5b81356106bd8161293b565b6000806040838503121561255f57600080fd5b823561256a8161293b565b9150602083013561257a8161293b565b809150509250929050565b60008060006060848603121561259a57600080fd5b83356125a58161293b565b925060208401356125b58161293b565b929592945050506040919091013590565b600080600080600080600060e0888a0312156125e157600080fd5b87356125ec8161293b565b965060208801356125fc8161293b565b955060408801359450606088013593506126186080890161251e565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561264757600080fd5b82356126528161293b565b946020939093013593505050565b60008060008060008060c0878903121561267957600080fd5b86356126848161293b565b955060208701359450604087013593506126a06060880161251e565b92506080870135915060a087013590509295509295509295565b600080604083850312156126cd57600080fd5b82356126d88161293b565b9150602083013563ffffffff8116811461257a57600080fd5b60006020828403121561270357600080fd5b5051919050565b60008060008060006080868803121561272257600080fd5b853561272d8161293b565b9450602086013561273d8161293b565b935060408601359250606086013567ffffffffffffffff8082111561276157600080fd5b818801915088601f83011261277557600080fd5b81358181111561278457600080fd5b89602082850101111561279657600080fd5b9699959850939650602001949392505050565b6000602082840312156127bb57600080fd5b5035919050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a06080820181905281018290526000828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b600060208083528351808285015260005b8181101561284b5785810183015185820160400152820161282f565b8181111561285d576000604083870101525b50601f01601f1916929092016040019392505050565b60008219821115612886576128866128f9565b500190565b6000826128a857634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156128bf576128bf6128f9565b500390565b600181811c908216806128d857607f821691505b60208210811415611bcb57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106f657600080fdfea2646970667358221220a840cb2243cac6be4f1fb110ecd5006bcc4d85c3b6cb118b00c0cfaaa529037864736f6c63430008070033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724",
"opcodes": "PUSH2 0x140 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x12 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 PUSH6 0x21AC10212721 PUSH1 0xD1 SHL DUP2 MSTORE POP DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x31 PUSH1 0xF8 SHL DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x6 DUP2 MSTORE PUSH1 0x20 ADD PUSH6 0x21AC10212721 PUSH1 0xD1 SHL DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x21AC21 PUSH1 0xE9 SHL DUP2 MSTORE POP DUP2 PUSH1 0x3 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0xA0 SWAP3 SWAP2 SWAP1 PUSH3 0xA14 JUMP JUMPDEST POP DUP1 MLOAD PUSH3 0xB6 SWAP1 PUSH1 0x4 SWAP1 PUSH1 0x20 DUP5 ADD SWAP1 PUSH3 0xA14 JUMP JUMPDEST POP POP POP PUSH3 0xD3 PUSH3 0xCD PUSH3 0x1B0 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x1B4 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE DUP2 MLOAD PUSH1 0x20 DUP1 DUP5 ADD SWAP2 SWAP1 SWAP2 KECCAK256 DUP3 MLOAD DUP4 DUP4 ADD KECCAK256 PUSH1 0xE0 DUP3 SWAP1 MSTORE PUSH2 0x100 DUP2 SWAP1 MSTORE CHAINID PUSH1 0xA0 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 MLOAD PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP2 DUP9 ADD DUP2 SWAP1 MSTORE DUP2 DUP4 ADD DUP8 SWAP1 MSTORE PUSH1 0x60 DUP3 ADD DUP7 SWAP1 MSTORE PUSH1 0x80 DUP3 ADD SWAP5 SWAP1 SWAP5 MSTORE ADDRESS DUP2 DUP5 ADD MSTORE DUP2 MLOAD DUP1 DUP3 SUB SWAP1 SWAP4 ADD DUP4 MSTORE PUSH1 0xC0 ADD SWAP1 MSTORE DUP1 MLOAD SWAP5 ADD SWAP4 SWAP1 SWAP4 KECCAK256 SWAP2 SWAP3 SWAP1 SWAP2 PUSH1 0x80 MSTORE ADDRESS PUSH1 0x60 SHL PUSH1 0xC0 MSTORE PUSH2 0x120 MSTORE POP PUSH3 0x1AA SWAP4 POP CALLER SWAP3 POP PUSH3 0x186 SWAP2 POP POP PUSH1 0x12 SWAP1 JUMP JUMPDEST PUSH3 0x193 SWAP1 PUSH1 0xA PUSH3 0xB14 JUMP JUMPDEST PUSH3 0x1A4 SWAP1 PUSH5 0x174876E800 PUSH3 0xBD3 JUMP JUMPDEST PUSH3 0x206 JUMP JUMPDEST PUSH3 0xC78 JUMP JUMPDEST CALLER SWAP1 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP2 AND SWAP2 SWAP1 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH3 0x21D DUP3 DUP3 PUSH3 0x221 PUSH1 0x20 SHL PUSH3 0xFC6 OR PUSH1 0x20 SHR JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH3 0x238 DUP3 DUP3 PUSH3 0x2D8 PUSH1 0x20 SHL PUSH3 0x1056 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB PUSH3 0x24C PUSH3 0x3D5 DUP3 AND JUMP JUMPDEST GT ISZERO PUSH3 0x2B9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x30 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A20746F74616C20737570706C79207269736B73206F PUSH1 0x44 DUP3 ADD MSTORE PUSH16 0x766572666C6F77696E6720766F746573 PUSH1 0x80 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH3 0x2D2 PUSH1 0xE PUSH3 0x1149 PUSH3 0x3DB PUSH1 0x20 SHL OR DUP4 PUSH3 0x3F2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0x330 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206D696E7420746F20746865207A65726F206164647265737300 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH3 0x2B0 JUMP JUMPDEST PUSH3 0x33E PUSH1 0x0 DUP4 DUP4 PUSH3 0x5A4 JUMP JUMPDEST DUP1 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH3 0x352 SWAP2 SWAP1 PUSH3 0xAB0 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH3 0x381 SWAP1 DUP5 SWAP1 PUSH3 0xAB0 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH1 0x0 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH3 0x21D PUSH1 0x0 DUP4 DUP4 PUSH3 0x5CB JUMP JUMPDEST PUSH1 0x2 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x3E9 DUP3 DUP5 PUSH3 0xAB0 JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP3 SLOAD PUSH1 0x0 SWAP1 DUP2 SWAP1 DUP1 ISZERO PUSH3 0x444 JUMPI DUP6 PUSH3 0x40E PUSH1 0x1 DUP4 PUSH3 0xBF5 JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH3 0x421 JUMPI PUSH3 0x421 PUSH3 0xC62 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH5 0x100000000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH3 0x447 JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP3 POP PUSH3 0x45E DUP4 DUP6 DUP8 PUSH1 0x20 SHR JUMP JUMPDEST SWAP2 POP PUSH1 0x0 DUP2 GT DUP1 ISZERO PUSH3 0x4A2 JUMPI POP NUMBER DUP7 PUSH3 0x47B PUSH1 0x1 DUP5 PUSH3 0xBF5 JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH3 0x48E JUMPI PUSH3 0x48E PUSH3 0xC62 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH4 0xFFFFFFFF AND EQ JUMPDEST ISZERO PUSH3 0x516 JUMPI PUSH3 0x4BE DUP3 PUSH3 0x5E3 PUSH1 0x20 SHL PUSH3 0x1155 OR PUSH1 0x20 SHR JUMP JUMPDEST DUP7 PUSH3 0x4CC PUSH1 0x1 DUP5 PUSH3 0xBF5 JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH3 0x4DF JUMPI PUSH3 0x4DF PUSH3 0xC62 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 ADD PUSH1 0x4 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB MUL NOT AND SWAP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND MUL OR SWAP1 SSTORE POP PUSH3 0x59B JUMP JUMPDEST DUP6 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH3 0x538 NUMBER PUSH3 0x652 PUSH1 0x20 SHL PUSH3 0x11C2 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH3 0x559 DUP6 PUSH3 0x5E3 PUSH1 0x20 SHL PUSH3 0x1155 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB SWAP1 DUP2 AND SWAP1 SWAP2 MSTORE DUP3 SLOAD PUSH1 0x1 DUP2 ADD DUP5 SSTORE PUSH1 0x0 SWAP4 DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 SWAP1 KECCAK256 DUP4 MLOAD SWAP5 SWAP1 SWAP4 ADD MLOAD SWAP1 SWAP2 AND PUSH5 0x100000000 MUL PUSH4 0xFFFFFFFF SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP2 ADD SSTORE JUMPDEST POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH3 0x5AE PUSH3 0x6B9 JUMP JUMPDEST PUSH3 0x5C6 DUP4 DUP4 DUP4 PUSH3 0x711 PUSH1 0x20 SHL PUSH3 0x1227 OR PUSH1 0x20 SHR JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH3 0x5C6 DUP4 DUP4 DUP4 PUSH3 0x77D PUSH1 0x20 SHL PUSH3 0x1274 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB DUP3 GT ISZERO PUSH3 0x64E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53616665436173743A2076616C756520646F65736E27742066697420696E2032 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x32342062697473 PUSH1 0xC8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2B0 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH4 0xFFFFFFFF DUP3 GT ISZERO PUSH3 0x64E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53616665436173743A2076616C756520646F65736E27742066697420696E2033 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x322062697473 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH3 0x2B0 JUMP JUMPDEST PUSH3 0x6CD PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND SWAP1 JUMP JUMPDEST ISZERO PUSH3 0x70F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x10 PUSH1 0x24 DUP3 ADD MSTORE PUSH16 0x14185D5CD8589B194E881C185D5CD959 PUSH1 0x82 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH3 0x2B0 JUMP JUMPDEST JUMP JUMPDEST PUSH3 0x729 DUP4 DUP4 DUP4 PUSH3 0x5C6 PUSH1 0x20 SHL PUSH3 0x1246 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH3 0x74D JUMPI PUSH3 0x743 DUP3 PUSH3 0x7C9 JUMP JUMPDEST PUSH3 0x5C6 PUSH3 0x801 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH3 0x767 JUMPI PUSH3 0x743 DUP4 PUSH3 0x7C9 JUMP JUMPDEST PUSH3 0x772 DUP4 PUSH3 0x7C9 JUMP JUMPDEST PUSH3 0x5C6 DUP3 PUSH3 0x7C9 JUMP JUMPDEST PUSH3 0x795 DUP4 DUP4 DUP4 PUSH3 0x5C6 PUSH1 0x20 SHL PUSH3 0x1246 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xC PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SLOAD DUP6 DUP5 AND DUP4 MSTORE SWAP2 KECCAK256 SLOAD PUSH3 0x5C6 SWAP3 SWAP2 DUP3 AND SWAP2 AND DUP4 PUSH3 0x811 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP2 DUP4 SWAP1 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH3 0x7FE SWAP2 SWAP1 PUSH3 0x94C JUMP JUMPDEST PUSH3 0x94C JUMP JUMPDEST POP JUMP JUMPDEST PUSH3 0x70F PUSH1 0x6 PUSH3 0x7F8 PUSH1 0x2 SLOAD SWAP1 JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO DUP1 ISZERO PUSH3 0x834 JUMPI POP PUSH1 0x0 DUP2 GT JUMPDEST ISZERO PUSH3 0x5C6 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH3 0x8C1 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP3 SWAP2 PUSH3 0x87E SWAP2 SWAP1 PUSH3 0x99B SWAP1 SHL PUSH3 0x12A6 OR DUP6 PUSH3 0x3F2 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3651 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x8B6 SWAP3 SWAP2 SWAP1 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO PUSH3 0x5C6 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP3 SWAP2 PUSH3 0x905 SWAP2 SWAP1 PUSH3 0x3DB SWAP1 SHL PUSH3 0x1149 OR DUP6 PUSH3 0x3F2 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH3 0x3651 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 DUP4 PUSH1 0x40 MLOAD PUSH3 0x93D SWAP3 SWAP2 SWAP1 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x958 PUSH3 0x9A9 JUMP JUMPDEST SWAP1 POP DUP1 PUSH3 0x966 DUP5 PUSH3 0x9C7 JUMP JUMPDEST LT ISZERO PUSH3 0x5C6 JUMPI DUP3 SLOAD PUSH1 0x1 DUP1 DUP3 ADD DUP6 SSTORE PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 ADD SWAP4 SWAP1 SWAP4 SSTORE SWAP4 DUP5 ADD DUP1 SLOAD SWAP5 DUP6 ADD DUP2 SSTORE DUP3 MSTORE SWAP1 KECCAK256 SWAP1 SWAP2 ADD SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH3 0x3E9 DUP3 DUP5 PUSH3 0xBF5 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x9C2 PUSH1 0x8 PUSH3 0xA10 PUSH1 0x20 SHL PUSH3 0x12B2 OR PUSH1 0x20 SHR JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 SLOAD PUSH1 0x0 SWAP1 PUSH3 0x9D9 JUMPI POP PUSH1 0x0 SWAP2 SWAP1 POP JUMP JUMPDEST DUP2 SLOAD DUP3 SWAP1 PUSH3 0x9EB SWAP1 PUSH1 0x1 SWAP1 PUSH3 0xBF5 JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH3 0x9FE JUMPI PUSH3 0x9FE PUSH3 0xC62 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST SLOAD SWAP1 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0xA22 SWAP1 PUSH3 0xC0F JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0xA46 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0xA91 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0xA61 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0xA91 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0xA91 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0xA91 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0xA74 JUMP JUMPDEST POP PUSH3 0x64E SWAP3 SWAP2 POP JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x64E JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0xA9A JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH3 0xAC6 JUMPI PUSH3 0xAC6 PUSH3 0xC4C JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 JUMPDEST DUP1 DUP6 GT ISZERO PUSH3 0xB0C JUMPI DUP2 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH3 0xAF0 JUMPI PUSH3 0xAF0 PUSH3 0xC4C JUMP JUMPDEST DUP1 DUP6 AND ISZERO PUSH3 0xAFE JUMPI SWAP2 DUP2 MUL SWAP2 JUMPDEST SWAP4 DUP5 SHR SWAP4 SWAP1 DUP1 MUL SWAP1 PUSH3 0xAD0 JUMP JUMPDEST POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x3E9 PUSH1 0xFF DUP5 AND DUP4 PUSH1 0x0 DUP3 PUSH3 0xB30 JUMPI POP PUSH1 0x1 PUSH3 0x3EC JUMP JUMPDEST DUP2 PUSH3 0xB3F JUMPI POP PUSH1 0x0 PUSH3 0x3EC JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH3 0xB58 JUMPI PUSH1 0x2 DUP2 EQ PUSH3 0xB63 JUMPI PUSH3 0xB83 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH3 0x3EC JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH3 0xB77 JUMPI PUSH3 0xB77 PUSH3 0xC4C JUMP JUMPDEST POP POP PUSH1 0x1 DUP3 SHL PUSH3 0x3EC JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH3 0xBA8 JUMPI POP DUP2 DUP2 EXP PUSH3 0x3EC JUMP JUMPDEST PUSH3 0xBB4 DUP4 DUP4 PUSH3 0xACB JUMP JUMPDEST DUP1 PUSH1 0x0 NOT DIV DUP3 GT ISZERO PUSH3 0xBCB JUMPI PUSH3 0xBCB PUSH3 0xC4C JUMP JUMPDEST MUL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH3 0xBF0 JUMPI PUSH3 0xBF0 PUSH3 0xC4C JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH3 0xC0A JUMPI PUSH3 0xC0A PUSH3 0xC4C JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH3 0xC24 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0xC46 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x80 MLOAD PUSH1 0xA0 MLOAD PUSH1 0xC0 MLOAD PUSH1 0x60 SHR PUSH1 0xE0 MLOAD PUSH2 0x100 MLOAD PUSH2 0x120 MLOAD PUSH2 0x2986 PUSH3 0xCCB PUSH1 0x0 CODECOPY PUSH1 0x0 PUSH2 0x16B7 ADD MSTORE PUSH1 0x0 PUSH2 0x1706 ADD MSTORE PUSH1 0x0 PUSH2 0x16E1 ADD MSTORE PUSH1 0x0 PUSH2 0x163A ADD MSTORE PUSH1 0x0 PUSH2 0x1664 ADD MSTORE PUSH1 0x0 PUSH2 0x168E ADD MSTORE PUSH2 0x2986 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 0x227 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x70A08231 GT PUSH2 0x130 JUMPI DUP1 PUSH4 0x981B24D0 GT PUSH2 0xB8 JUMPI DUP1 PUSH4 0xD505ACCF GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0x4BB JUMPI DUP1 PUSH4 0xD9D98CE4 EQ PUSH2 0x4CE JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x4E1 JUMPI DUP1 PUSH4 0xF1127ED8 EQ PUSH2 0x4F4 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x531 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x981B24D0 EQ PUSH2 0x45C JUMPI DUP1 PUSH4 0x9AB24EB0 EQ PUSH2 0x46F JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x482 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x495 JUMPI DUP1 PUSH4 0xC3CDA520 EQ PUSH2 0x4A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8456CB59 GT PUSH2 0xFF JUMPI DUP1 PUSH4 0x8456CB59 EQ PUSH2 0x420 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x428 JUMPI DUP1 PUSH4 0x8E539E8C EQ PUSH2 0x439 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x44C JUMPI DUP1 PUSH4 0x9711715A EQ PUSH2 0x454 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x70A08231 EQ PUSH2 0x3C9 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x3F2 JUMPI DUP1 PUSH4 0x79CC6790 EQ PUSH2 0x3FA JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x40D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x40C10F19 GT PUSH2 0x1B3 JUMPI DUP1 PUSH4 0x5C19A95C GT PUSH2 0x182 JUMPI DUP1 PUSH4 0x5C19A95C EQ PUSH2 0x356 JUMPI DUP1 PUSH4 0x5C975ABB EQ PUSH2 0x369 JUMPI DUP1 PUSH4 0x5CFFE9DE EQ PUSH2 0x37B JUMPI DUP1 PUSH4 0x613255AB EQ PUSH2 0x38E JUMPI DUP1 PUSH4 0x6FCFFF45 EQ PUSH2 0x3A1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x40C10F19 EQ PUSH2 0x2D9 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x2EC JUMPI DUP1 PUSH4 0x4EE2CD7E EQ PUSH2 0x2FF JUMPI DUP1 PUSH4 0x587CDE1E EQ PUSH2 0x312 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x313CE567 GT PUSH2 0x1FA JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x292 JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x2A1 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x2A9 JUMPI DUP1 PUSH4 0x3A46B1A8 EQ PUSH2 0x2BC JUMPI DUP1 PUSH4 0x3F4BA83A EQ PUSH2 0x2CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x22C JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x26D JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x27F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x234 PUSH2 0x544 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x241 SWAP2 SWAP1 PUSH2 0x281E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x25D PUSH2 0x258 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x5D6 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH1 0x2 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x25D PUSH2 0x28D CALLDATASIZE PUSH1 0x4 PUSH2 0x2585 JUMP JUMPDEST PUSH2 0x5F0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x614 JUMP JUMPDEST PUSH2 0x25D PUSH2 0x2B7 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x623 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x2CA CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x645 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x6C4 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2D7 PUSH2 0x2E7 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x6D6 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x2FA CALLDATASIZE PUSH1 0x4 PUSH2 0x27A9 JUMP JUMPDEST PUSH2 0x6EC JUMP JUMPDEST PUSH2 0x271 PUSH2 0x30D CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x6F9 JUMP JUMPDEST PUSH2 0x33E PUSH2 0x320 CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xC PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x364 CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x752 JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND PUSH2 0x25D JUMP JUMPDEST PUSH2 0x25D PUSH2 0x389 CALLDATASIZE PUSH1 0x4 PUSH2 0x270A JUMP JUMPDEST PUSH2 0x75C JUMP JUMPDEST PUSH2 0x271 PUSH2 0x39C CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x94F JUMP JUMPDEST PUSH2 0x3B4 PUSH2 0x3AF CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x977 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x3D7 CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x999 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x408 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x9AB JUMP JUMPDEST PUSH2 0x271 PUSH2 0x41B CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x9C0 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x9DE JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x33E JUMP JUMPDEST PUSH2 0x271 PUSH2 0x447 CALLDATASIZE PUSH1 0x4 PUSH2 0x27A9 JUMP JUMPDEST PUSH2 0x9EE JUMP JUMPDEST PUSH2 0x234 PUSH2 0xA4A JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0xA59 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x46A CALLDATASIZE PUSH1 0x4 PUSH2 0x27A9 JUMP JUMPDEST PUSH2 0xA69 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x47D CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0xA94 JUMP JUMPDEST PUSH2 0x25D PUSH2 0x490 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0xB1B JUMP JUMPDEST PUSH2 0x25D PUSH2 0x4A3 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0xB96 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x4B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x2660 JUMP JUMPDEST PUSH2 0xBA4 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x4C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x25C6 JUMP JUMPDEST PUSH2 0xCDA JUMP JUMPDEST PUSH2 0x271 PUSH2 0x4DC CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x271 PUSH2 0x4EF CALLDATASIZE PUSH1 0x4 PUSH2 0x254C JUMP JUMPDEST PUSH2 0xEA1 JUMP JUMPDEST PUSH2 0x507 PUSH2 0x502 CALLDATASIZE PUSH1 0x4 PUSH2 0x26BA JUMP JUMPDEST PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP3 MLOAD PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP3 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x53F CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0xF50 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x553 SWAP1 PUSH2 0x28C4 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 0x57F SWAP1 PUSH2 0x28C4 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5CC JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x5A1 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5CC 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 0x5AF JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x5E4 DUP2 DUP6 DUP6 PUSH2 0x12B6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x5FE DUP6 DUP3 DUP6 PUSH2 0x13DA JUMP JUMPDEST PUSH2 0x609 DUP6 DUP6 DUP6 PUSH2 0x144E JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x61E PUSH2 0x162D JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x5E4 DUP2 DUP6 DUP6 PUSH2 0x636 DUP4 DUP4 PUSH2 0xEA1 JUMP JUMPDEST PUSH2 0x640 SWAP2 SWAP1 PUSH2 0x2873 JUMP JUMPDEST PUSH2 0x12B6 JUMP JUMPDEST PUSH1 0x0 NUMBER DUP3 LT PUSH2 0x69B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A20626C6F636B206E6F7420796574206D696E656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x6BD SWAP1 DUP4 PUSH2 0x1754 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x6CC PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6D4 PUSH2 0x186B JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x6DE PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6E8 DUP3 DUP3 PUSH2 0x18C0 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x6F6 CALLER DUP3 PUSH2 0x18CA JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 SWAP1 DUP2 SWAP1 PUSH2 0x720 SWAP1 DUP6 SWAP1 PUSH2 0x18D4 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP2 PUSH2 0x747 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x749 JUMP JUMPDEST DUP1 JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x6F6 CALLER DUP3 PUSH2 0x19CB JUMP JUMPDEST PUSH1 0x0 PUSH2 0x767 DUP6 PUSH2 0x94F JUMP JUMPDEST DUP5 GT ISZERO PUSH2 0x7CA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230466C6173684D696E743A20616D6F756E742065786365656473206D PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x30BC233630B9B42637B0B7 PUSH1 0xA9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7D6 DUP7 DUP7 PUSH2 0xE3E JUMP JUMPDEST SWAP1 POP PUSH2 0x7E2 DUP8 DUP7 PUSH2 0x18C0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x23E30C8B PUSH1 0xE0 SHL DUP2 MSTORE PUSH32 0x439148F0BBC682CA079E46D6E2C2F0C1E3B820F1A291B069D8882ABF8CF18DD9 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND SWAP1 PUSH4 0x23E30C8B SWAP1 PUSH2 0x83A SWAP1 CALLER SWAP1 DUP12 SWAP1 DUP12 SWAP1 DUP9 SWAP1 DUP13 SWAP1 DUP13 SWAP1 PUSH1 0x4 ADD PUSH2 0x27C2 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x854 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x868 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x88C SWAP2 SWAP1 PUSH2 0x26F1 JUMP JUMPDEST EQ PUSH2 0x8E5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4552433230466C6173684D696E743A20696E76616C69642072657475726E2076 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x616C7565 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8FB DUP9 ADDRESS PUSH2 0x8F6 DUP6 DUP11 PUSH2 0x2873 JUMP JUMPDEST PUSH2 0x13DA JUMP JUMPDEST DUP2 ISZERO DUP1 PUSH2 0x90F JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO JUMPDEST ISZERO PUSH2 0x92C JUMPI PUSH2 0x927 DUP9 PUSH2 0x922 DUP5 DUP10 PUSH2 0x2873 JUMP JUMPDEST PUSH2 0x18CA JUMP JUMPDEST PUSH2 0x941 JUMP JUMPDEST PUSH2 0x936 DUP9 DUP8 PUSH2 0x18CA JUMP JUMPDEST PUSH2 0x941 DUP9 DUP3 DUP5 PUSH2 0x144E JUMP JUMPDEST POP PUSH1 0x1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH2 0x968 JUMPI PUSH1 0x0 PUSH2 0x5EA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x5EA SWAP1 PUSH1 0x0 NOT PUSH2 0x28AD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH2 0x5EA SWAP1 PUSH2 0x11C2 JUMP JUMPDEST PUSH2 0x9A1 PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6D4 PUSH1 0x0 PUSH2 0x1A44 JUMP JUMPDEST PUSH2 0x9B6 DUP3 CALLER DUP4 PUSH2 0x13DA JUMP JUMPDEST PUSH2 0x6E8 DUP3 DUP3 PUSH2 0x18CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH2 0x5EA JUMP JUMPDEST PUSH2 0x9E6 PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6D4 PUSH2 0x1A96 JUMP JUMPDEST PUSH1 0x0 NUMBER DUP3 LT PUSH2 0xA3F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A20626C6F636B206E6F7420796574206D696E656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x5EA PUSH1 0xE DUP4 PUSH2 0x1754 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x553 SWAP1 PUSH2 0x28C4 JUMP JUMPDEST PUSH2 0xA61 PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6F6 PUSH2 0x1AD9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0xA79 DUP5 PUSH1 0x6 PUSH2 0x18D4 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP2 PUSH2 0xA8A JUMPI PUSH1 0x2 SLOAD PUSH2 0xA8C JUMP JUMPDEST DUP1 JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0xB08 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0xAD6 PUSH1 0x1 DUP4 PUSH2 0x28AD JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0xAE6 JUMPI PUSH2 0xAE6 PUSH2 0x2925 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH5 0x100000000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH2 0xB0B JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 CALLER DUP2 PUSH2 0xB29 DUP3 DUP7 PUSH2 0xEA1 JUMP JUMPDEST SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0xB89 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x207A65726F PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x609 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0x12B6 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x5E4 DUP2 DUP6 DUP6 PUSH2 0x144E JUMP JUMPDEST DUP4 TIMESTAMP GT ISZERO PUSH2 0xBF4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A207369676E61747572652065787069726564000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xE48329057BFD03D55E49B547132E39CFFD9C1820AD7B9D4C5307691425D15ADF PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x80 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH2 0xC6E SWAP1 PUSH2 0xC66 SWAP1 PUSH1 0xA0 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH2 0x1B33 JUMP JUMPDEST DUP6 DUP6 DUP6 PUSH2 0x1B81 JUMP JUMPDEST SWAP1 POP PUSH2 0xC79 DUP2 PUSH2 0x1BA9 JUMP JUMPDEST DUP7 EQ PUSH2 0xCC7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A20696E76616C6964206E6F6E636500000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0xCD1 DUP2 DUP9 PUSH2 0x19CB JUMP JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST DUP4 TIMESTAMP GT ISZERO PUSH2 0xD2A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332305065726D69743A206578706972656420646561646C696E65000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP9 DUP9 DUP9 PUSH2 0xD59 DUP13 PUSH2 0x1BA9 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP7 SWAP1 SWAP7 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND SWAP1 DUP7 ADD MSTORE SWAP3 SWAP1 SWAP2 AND PUSH1 0x60 DUP5 ADD MSTORE PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xC0 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0xE0 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH2 0xDB4 DUP3 PUSH2 0x1B33 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0xDC4 DUP3 DUP8 DUP8 DUP8 PUSH2 0x1B81 JUMP JUMPDEST SWAP1 POP DUP10 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xE27 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332305065726D69743A20696E76616C6964207369676E61747572650000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0xE32 DUP11 DUP11 DUP11 PUSH2 0x12B6 JUMP JUMPDEST POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ADDRESS EQ PUSH2 0xE98 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230466C6173684D696E743A2077726F6E6720746F6B656E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST POP PUSH1 0x0 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH4 0xFFFFFFFF DUP5 AND SWAP1 DUP2 LT PUSH2 0xF10 JUMPI PUSH2 0xF10 PUSH2 0x2925 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP2 DUP3 SWAP1 KECCAK256 PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE SWAP2 ADD SLOAD PUSH4 0xFFFFFFFF DUP2 AND DUP3 MSTORE PUSH5 0x100000000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xF58 PUSH2 0x1811 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xFBD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x6F6 DUP2 PUSH2 0x1A44 JUMP JUMPDEST PUSH2 0xFD0 DUP3 DUP3 PUSH2 0x1056 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB LT ISZERO PUSH2 0x1042 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x30 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A20746F74616C20737570706C79207269736B73206F PUSH1 0x44 DUP3 ADD MSTORE PUSH16 0x766572666C6F77696E6720766F746573 PUSH1 0x80 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x1050 PUSH1 0xE PUSH2 0x1149 DUP4 PUSH2 0x1BD1 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x10AC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206D696E7420746F20746865207A65726F206164647265737300 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x10B8 PUSH1 0x0 DUP4 DUP4 PUSH2 0x1D4A JUMP JUMPDEST DUP1 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x10CA SWAP2 SWAP1 PUSH2 0x2873 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x10F7 SWAP1 DUP5 SWAP1 PUSH2 0x2873 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH1 0x0 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x6E8 PUSH1 0x0 DUP4 DUP4 PUSH2 0x1D5D JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6BD DUP3 DUP5 PUSH2 0x2873 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB DUP3 GT ISZERO PUSH2 0x11BE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53616665436173743A2076616C756520646F65736E27742066697420696E2032 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x32342062697473 PUSH1 0xC8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH4 0xFFFFFFFF DUP3 GT ISZERO PUSH2 0x11BE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53616665436173743A2076616C756520646F65736E27742066697420696E2033 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x322062697473 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x124B JUMPI PUSH2 0x123E DUP3 PUSH2 0x1D68 JUMP JUMPDEST PUSH2 0x1246 PUSH2 0x1D9A JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1262 JUMPI PUSH2 0x123E DUP4 PUSH2 0x1D68 JUMP JUMPDEST PUSH2 0x126B DUP4 PUSH2 0x1D68 JUMP JUMPDEST PUSH2 0x1246 DUP3 PUSH2 0x1D68 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xC PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SLOAD DUP6 DUP5 AND DUP4 MSTORE SWAP2 KECCAK256 SLOAD PUSH2 0x1246 SWAP3 SWAP2 DUP3 AND SWAP2 AND DUP4 PUSH2 0x1DA8 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6BD DUP3 DUP5 PUSH2 0x28AD JUMP JUMPDEST SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x1318 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x72657373 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1379 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x7373 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP6 SWAP1 SSTORE SWAP1 MLOAD DUP5 DUP2 MSTORE PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x13E6 DUP5 DUP5 PUSH2 0xEA1 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 NOT DUP2 EQ PUSH2 0x1050 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x1441 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x1050 DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0x12B6 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x14B2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x6472657373 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1514 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x657373 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x151F DUP4 DUP4 DUP4 PUSH2 0x1D4A JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x1597 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x616C616E6365 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP6 DUP6 SUB SWAP1 SSTORE SWAP2 DUP6 AND DUP2 MSTORE SWAP1 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x15CE SWAP1 DUP5 SWAP1 PUSH2 0x2873 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x161A SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x1050 DUP5 DUP5 DUP5 PUSH2 0x1D5D JUMP JUMPDEST PUSH1 0x0 ADDRESS PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH32 0x0 AND EQ DUP1 ISZERO PUSH2 0x1686 JUMPI POP PUSH32 0x0 CHAINID EQ JUMPDEST ISZERO PUSH2 0x16B0 JUMPI POP PUSH32 0x0 SWAP1 JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH32 0x0 PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH32 0x0 DUP3 DUP5 ADD MSTORE PUSH32 0x0 PUSH1 0x60 DUP4 ADD MSTORE CHAINID PUSH1 0x80 DUP4 ADD MSTORE ADDRESS PUSH1 0xA0 DUP1 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP4 MLOAD DUP1 DUP5 SUB SWAP1 SWAP2 ADD DUP2 MSTORE PUSH1 0xC0 SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 SWAP1 JUMP JUMPDEST DUP2 SLOAD PUSH1 0x0 SWAP1 DUP2 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x17B8 JUMPI PUSH1 0x0 PUSH2 0x176F DUP3 DUP5 PUSH2 0x1EE5 JUMP JUMPDEST SWAP1 POP DUP5 DUP7 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x1784 JUMPI PUSH2 0x1784 PUSH2 0x2925 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH4 0xFFFFFFFF AND GT ISZERO PUSH2 0x17A4 JUMPI DUP1 SWAP3 POP PUSH2 0x17B2 JUMP JUMPDEST PUSH2 0x17AF DUP2 PUSH1 0x1 PUSH2 0x2873 JUMP JUMPDEST SWAP2 POP JUMPDEST POP PUSH2 0x175B JUMP JUMPDEST DUP2 ISZERO PUSH2 0x17FC JUMPI DUP5 PUSH2 0x17CA PUSH1 0x1 DUP5 PUSH2 0x28AD JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x17DA JUMPI PUSH2 0x17DA PUSH2 0x2925 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH5 0x100000000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH2 0x17FF JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x6D4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x1873 PUSH2 0x1F00 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND SWAP1 SSTORE PUSH32 0x5DB9EE0A495BF2E6FF9C91A7834C1BA4FDD244A5E8AA4E537BD38AEAE4B073AA CALLER JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMP JUMPDEST PUSH2 0x6E8 DUP3 DUP3 PUSH2 0xFC6 JUMP JUMPDEST PUSH2 0x6E8 DUP3 DUP3 PUSH2 0x1F50 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 GT PUSH2 0x1920 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x4552433230536E617073686F743A206964206973203 PUSH1 0x54 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x1928 PUSH2 0x1F68 JUMP JUMPDEST DUP5 GT ISZERO PUSH2 0x1977 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230536E617073686F743A206E6F6E6578697374656E74206964000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1983 DUP5 DUP7 PUSH2 0x1F73 JUMP JUMPDEST DUP5 SLOAD SWAP1 SWAP2 POP DUP2 EQ ISZERO PUSH2 0x199C JUMPI PUSH1 0x0 DUP1 SWAP3 POP SWAP3 POP POP PUSH2 0x19C4 JUMP JUMPDEST PUSH1 0x1 DUP5 PUSH1 0x1 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x19B3 JUMPI PUSH2 0x19B3 PUSH2 0x2925 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP3 POP SWAP3 POP POP JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0xC PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 DUP1 SLOAD DUP6 DUP5 MSTORE DUP3 DUP7 KECCAK256 SLOAD SWAP5 SWAP1 SWAP4 MSTORE DUP8 DUP8 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP5 AND DUP2 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD SWAP2 SWAP1 SWAP6 AND SWAP5 SWAP2 SWAP4 SWAP2 SWAP3 DUP6 SWAP3 SWAP2 PUSH32 0x3134E8A2E6D97E929A7E54011EA5485D7D196DD5F0BA4D4EF95803E8E3FC257F SWAP2 SWAP1 LOG4 PUSH2 0x1050 DUP3 DUP5 DUP4 PUSH2 0x1DA8 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP2 AND SWAP2 SWAP1 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH2 0x1A9E PUSH2 0x2036 JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH1 0xFF PUSH1 0xA0 SHL NOT AND PUSH1 0x1 PUSH1 0xA0 SHL OR SWAP1 SSTORE PUSH32 0x62E78CEA01BEE320CD4E420270B5EA74000D11B0C9F74754EBDBFC544B05A258 PUSH2 0x18A3 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1AE9 PUSH1 0x8 DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1AF3 PUSH2 0x1F68 JUMP JUMPDEST SWAP1 POP PUSH32 0x8030E83B04D87BEF53480E26263266D6CA66863AA8506ACA6F2559D18AA1CB67 DUP2 PUSH1 0x40 MLOAD PUSH2 0x1B26 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5EA PUSH2 0x1B40 PUSH2 0x162D JUMP JUMPDEST DUP4 PUSH1 0x40 MLOAD PUSH2 0x1901 PUSH1 0xF0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x22 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x42 DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x62 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x1B92 DUP8 DUP8 DUP8 DUP8 PUSH2 0x2083 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x1B9F DUP2 PUSH2 0x2170 JUMP JUMPDEST POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 DUP2 ADD DUP3 SSTORE SWAP1 JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 SLOAD PUSH1 0x0 SWAP1 DUP2 SWAP1 DUP1 ISZERO PUSH2 0x1C1C JUMPI DUP6 PUSH2 0x1BEA PUSH1 0x1 DUP4 PUSH2 0x28AD JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x1BFA JUMPI PUSH2 0x1BFA PUSH2 0x2925 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH5 0x100000000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH2 0x1C1F JUMP JUMPDEST PUSH1 0x0 JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP3 POP PUSH2 0x1C38 DUP4 DUP6 DUP8 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP2 POP PUSH1 0x0 DUP2 GT DUP1 ISZERO PUSH2 0x1C76 JUMPI POP NUMBER DUP7 PUSH2 0x1C52 PUSH1 0x1 DUP5 PUSH2 0x28AD JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x1C62 JUMPI PUSH2 0x1C62 PUSH2 0x2925 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH4 0xFFFFFFFF AND EQ JUMPDEST ISZERO PUSH2 0x1CD6 JUMPI PUSH2 0x1C84 DUP3 PUSH2 0x1155 JUMP JUMPDEST DUP7 PUSH2 0x1C90 PUSH1 0x1 DUP5 PUSH2 0x28AD JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x1CA0 JUMPI PUSH2 0x1CA0 PUSH2 0x2925 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 ADD PUSH1 0x4 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB MUL NOT AND SWAP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND MUL OR SWAP1 SSTORE POP PUSH2 0x1D41 JUMP JUMPDEST DUP6 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH2 0x1CEB NUMBER PUSH2 0x11C2 JUMP JUMPDEST PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CFF DUP6 PUSH2 0x1155 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB SWAP1 DUP2 AND SWAP1 SWAP2 MSTORE DUP3 SLOAD PUSH1 0x1 DUP2 ADD DUP5 SSTORE PUSH1 0x0 SWAP4 DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 SWAP1 KECCAK256 DUP4 MLOAD SWAP5 SWAP1 SWAP4 ADD MLOAD SWAP1 SWAP2 AND PUSH5 0x100000000 MUL PUSH4 0xFFFFFFFF SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP2 ADD SSTORE JUMPDEST POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1D52 PUSH2 0x2036 JUMP JUMPDEST PUSH2 0x1246 DUP4 DUP4 DUP4 PUSH2 0x1227 JUMP JUMPDEST PUSH2 0x1246 DUP4 DUP4 DUP4 PUSH2 0x1274 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP2 DUP4 SWAP1 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH2 0x6F6 SWAP2 SWAP1 PUSH2 0x232B JUMP JUMPDEST PUSH2 0x232B JUMP JUMPDEST PUSH2 0x6D4 PUSH1 0x6 PUSH2 0x1D95 PUSH1 0x2 SLOAD SWAP1 JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO DUP1 ISZERO PUSH2 0x1DCA JUMPI POP PUSH1 0x0 DUP2 GT JUMPDEST ISZERO PUSH2 0x1246 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH2 0x1E58 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 SWAP1 PUSH2 0x1E05 SWAP1 PUSH2 0x12A6 DUP6 PUSH2 0x1BD1 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDEC2BACDD2F05B59DE34DA9B523DFF8BE42E5E38E818C82FDB0BAE774387A724 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x1E4D SWAP3 SWAP2 SWAP1 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO PUSH2 0x1246 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 SWAP1 PUSH2 0x1E8E SWAP1 PUSH2 0x1149 DUP6 PUSH2 0x1BD1 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDEC2BACDD2F05B59DE34DA9B523DFF8BE42E5E38E818C82FDB0BAE774387A724 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x1ED6 SWAP3 SWAP2 SWAP1 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1EF4 PUSH1 0x2 DUP5 DUP5 XOR PUSH2 0x288B JUMP JUMPDEST PUSH2 0x6BD SWAP1 DUP5 DUP5 AND PUSH2 0x2873 JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND PUSH2 0x6D4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x14185D5CD8589B194E881B9BDD081C185D5CD959 PUSH1 0x62 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x1F5A DUP3 DUP3 PUSH2 0x2375 JUMP JUMPDEST PUSH2 0x1050 PUSH1 0xE PUSH2 0x12A6 DUP4 PUSH2 0x1BD1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x61E PUSH1 0x8 SLOAD SWAP1 JUMP JUMPDEST DUP2 SLOAD PUSH1 0x0 SWAP1 PUSH2 0x1F84 JUMPI POP PUSH1 0x0 PUSH2 0x5EA JUMP JUMPDEST DUP3 SLOAD PUSH1 0x0 SWAP1 JUMPDEST DUP1 DUP3 LT ISZERO PUSH2 0x1FE0 JUMPI PUSH1 0x0 PUSH2 0x1F9E DUP4 DUP4 PUSH2 0x1EE5 JUMP JUMPDEST SWAP1 POP DUP5 DUP7 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x1FB3 JUMPI PUSH2 0x1FB3 PUSH2 0x2925 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD GT ISZERO PUSH2 0x1FCC JUMPI DUP1 SWAP2 POP PUSH2 0x1FDA JUMP JUMPDEST PUSH2 0x1FD7 DUP2 PUSH1 0x1 PUSH2 0x2873 JUMP JUMPDEST SWAP3 POP JUMPDEST POP PUSH2 0x1F8A JUMP JUMPDEST PUSH1 0x0 DUP3 GT DUP1 ISZERO PUSH2 0x2015 JUMPI POP DUP4 DUP6 PUSH2 0x1FF8 PUSH1 0x1 DUP6 PUSH2 0x28AD JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x2008 JUMPI PUSH2 0x2008 PUSH2 0x2925 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD EQ JUMPDEST ISZERO PUSH2 0x202E JUMPI PUSH2 0x2025 PUSH1 0x1 DUP4 PUSH2 0x28AD JUMP JUMPDEST SWAP3 POP POP POP PUSH2 0x5EA JUMP JUMPDEST POP SWAP1 POP PUSH2 0x5EA JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x6D4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x10 PUSH1 0x24 DUP3 ADD MSTORE PUSH16 0x14185D5CD8589B194E881C185D5CD959 PUSH1 0x82 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP4 GT ISZERO PUSH2 0x20BA JUMPI POP PUSH1 0x0 SWAP1 POP PUSH1 0x3 PUSH2 0x2167 JUMP JUMPDEST DUP5 PUSH1 0xFF AND PUSH1 0x1B EQ ISZERO DUP1 ISZERO PUSH2 0x20D2 JUMPI POP DUP5 PUSH1 0xFF AND PUSH1 0x1C EQ ISZERO JUMPDEST ISZERO PUSH2 0x20E3 JUMPI POP PUSH1 0x0 SWAP1 POP PUSH1 0x4 PUSH2 0x2167 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP1 DUP5 MSTORE DUP10 SWAP1 MSTORE PUSH1 0xFF DUP9 AND SWAP3 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x60 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x80 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 SWAP1 PUSH1 0xA0 ADD PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2137 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH1 0x1F NOT ADD MLOAD SWAP2 POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x2160 JUMPI PUSH1 0x0 PUSH1 0x1 SWAP3 POP SWAP3 POP POP PUSH2 0x2167 JUMP JUMPDEST SWAP2 POP PUSH1 0x0 SWAP1 POP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x2184 JUMPI PUSH2 0x2184 PUSH2 0x290F JUMP JUMPDEST EQ ISZERO PUSH2 0x218D JUMPI POP JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x21A1 JUMPI PUSH2 0x21A1 PUSH2 0x290F JUMP JUMPDEST EQ ISZERO PUSH2 0x21EF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45434453413A20696E76616C6964207369676E61747572650000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x2 DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x2203 JUMPI PUSH2 0x2203 PUSH2 0x290F JUMP JUMPDEST EQ ISZERO PUSH2 0x2251 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45434453413A20696E76616C6964207369676E6174757265206C656E67746800 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x3 DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x2265 JUMPI PUSH2 0x2265 PUSH2 0x290F JUMP JUMPDEST EQ ISZERO PUSH2 0x22BE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45434453413A20696E76616C6964207369676E6174757265202773272076616C PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x7565 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x4 DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x22D2 JUMPI PUSH2 0x22D2 PUSH2 0x290F JUMP JUMPDEST EQ ISZERO PUSH2 0x6F6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45434453413A20696E76616C6964207369676E6174757265202776272076616C PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x7565 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2335 PUSH2 0x1F68 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x2341 DUP5 PUSH2 0x24D6 JUMP JUMPDEST LT ISZERO PUSH2 0x1246 JUMPI DUP3 SLOAD PUSH1 0x1 DUP1 DUP3 ADD DUP6 SSTORE PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 ADD SWAP4 SWAP1 SWAP4 SSTORE SWAP4 DUP5 ADD DUP1 SLOAD SWAP5 DUP6 ADD DUP2 SSTORE DUP3 MSTORE SWAP1 KECCAK256 SWAP1 SWAP2 ADD SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x23D5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206275726E2066726F6D20746865207A65726F20616464726573 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x73 PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x23E1 DUP3 PUSH1 0x0 DUP4 PUSH2 0x1D4A JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x2455 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206275726E20616D6F756E7420657863656564732062616C616E PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x6365 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP4 DUP4 SUB SWAP1 SSTORE PUSH1 0x2 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2484 SWAP1 DUP5 SWAP1 PUSH2 0x28AD JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x1246 DUP4 PUSH1 0x0 DUP5 PUSH2 0x1D5D JUMP JUMPDEST DUP1 SLOAD PUSH1 0x0 SWAP1 PUSH2 0x24E7 JUMPI POP PUSH1 0x0 SWAP2 SWAP1 POP JUMP JUMPDEST DUP2 SLOAD DUP3 SWAP1 PUSH2 0x24F7 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x28AD JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x2507 JUMPI PUSH2 0x2507 PUSH2 0x2925 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x2519 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2541 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x6BD DUP2 PUSH2 0x293B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x255F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x256A DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x257A DUP2 PUSH2 0x293B JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x259A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x25A5 DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x25B5 DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xE0 DUP9 DUP11 SUB SLT ISZERO PUSH2 0x25E1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 CALLDATALOAD PUSH2 0x25EC DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP7 POP PUSH1 0x20 DUP9 ADD CALLDATALOAD PUSH2 0x25FC DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP6 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD SWAP5 POP PUSH1 0x60 DUP9 ADD CALLDATALOAD SWAP4 POP PUSH2 0x2618 PUSH1 0x80 DUP10 ADD PUSH2 0x251E JUMP JUMPDEST SWAP3 POP PUSH1 0xA0 DUP9 ADD CALLDATALOAD SWAP2 POP PUSH1 0xC0 DUP9 ADD CALLDATALOAD SWAP1 POP SWAP3 SWAP6 SWAP9 SWAP2 SWAP5 SWAP8 POP SWAP3 SWAP6 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2647 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x2652 DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x2679 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 CALLDATALOAD PUSH2 0x2684 DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD SWAP5 POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP4 POP PUSH2 0x26A0 PUSH1 0x60 DUP9 ADD PUSH2 0x251E JUMP JUMPDEST SWAP3 POP PUSH1 0x80 DUP8 ADD CALLDATALOAD SWAP2 POP PUSH1 0xA0 DUP8 ADD CALLDATALOAD SWAP1 POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x26CD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x26D8 DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH4 0xFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x257A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2703 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x80 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x2722 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH2 0x272D DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP5 POP PUSH1 0x20 DUP7 ADD CALLDATALOAD PUSH2 0x273D DUP2 PUSH2 0x293B JUMP JUMPDEST SWAP4 POP PUSH1 0x40 DUP7 ADD CALLDATALOAD SWAP3 POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x2761 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP9 ADD SWAP2 POP DUP9 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x2775 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x2784 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x2796 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP7 SWAP10 SWAP6 SWAP9 POP SWAP4 SWAP7 POP PUSH1 0x20 ADD SWAP5 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x27BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 DUP2 AND DUP3 MSTORE DUP7 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x60 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0xA0 PUSH1 0x80 DUP3 ADD DUP2 SWAP1 MSTORE DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x0 DUP3 DUP5 PUSH1 0xC0 DUP5 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0xC0 DUP5 DUP5 ADD ADD MSTORE PUSH1 0xC0 PUSH1 0x1F NOT PUSH1 0x1F DUP6 ADD AND DUP4 ADD ADD SWAP1 POP SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x284B JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x282F JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x285D JUMPI PUSH1 0x0 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x2886 JUMPI PUSH2 0x2886 PUSH2 0x28F9 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x28A8 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x28BF JUMPI PUSH2 0x28BF PUSH2 0x28F9 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x28D8 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x1BCB JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x6F6 JUMPI PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA8 BLOCKHASH 0xCB 0x22 NUMBER 0xCA 0xC6 0xBE 0x4F 0x1F 0xB1 LT 0xEC 0xD5 STOP PUSH12 0xCC4D85C3B6CB118B00C0CFAA 0xA5 0x29 SUB PUSH25 0x64736F6C63430008070033DEC2BACDD2F05B59DE34DA9B523D SELFDESTRUCT DUP12 0xE4 0x2E 0x5E CODESIZE 0xE8 XOR 0xC8 0x2F 0xDB SIGNEXTEND 0xAE PUSH24 0x4387A7240000000000000000000000000000000000000000 ",
"sourceMap": "1949:1388:0:-:0;;;2070:128;;;;;;;;;;1835:52:14;;;;;;;;;;;;;-1:-1:-1;;;1835:52:14;;;1874:4;2455:602:21;;;;;;;;;;;;;-1:-1:-1;;;2455:602:21;;;1978:113:6;;;;;;;;;;;;;-1:-1:-1;;;1978:113:6;;;;;;;;;;;;;;;;-1:-1:-1;;;1978:113:6;;;2052:5;2044;:13;;;;;;;;;;;;:::i;:::-;-1:-1:-1;2067:17:6;;;;:7;;:17;;;;;:::i;:::-;;1978:113;;921:32:1;940:12;:10;;;:12;;:::i;:::-;921:18;:32::i;:::-;981:7:5;:15;;-1:-1:-1;;;;981:15:5;;;2541:22:21;;;;;;;;;;2597:25;;;;;;2778;;;;981:15:5;2813:31:21;;;2873:13;2854:32;;;;-1:-1:-1;3633:73:21;;2651:117;3633:73;;;273:25:24;;;314:18;;;307:34;;;-1:-1:-1;357:18:24;;350:34;;;400:18;;;393:34;;;;3700:4:21;443:19:24;;;436:61;3633:73:21;;;;;;;;;;245:19:24;;3633:73:21;;3623:84;;;;;;;;2541:22;;2597:25;;2896:85;;3014:4;2991:28;;;;3029:21;;-1:-1:-1;2140:50:0::2;::::0;-1:-1:-1;2146:10:0::2;::::0;-1:-1:-1;2179:10:0::2;::::0;-1:-1:-1;;3175:2:6;;3093:91;2179:10:0::2;2173:16;::::0;:2:::2;:16;:::i;:::-;2158:31;::::0;:12:::2;:31;:::i;:::-;2140:5;:50::i;:::-;1949:1388:::0;;640:96:17;719:10;;640:96::o;2418:187:1:-;2510:6;;;-1:-1:-1;;;;;2526:17:1;;;-1:-1:-1;;;;;;2526:17:1;;;;;;;2558:40;;2510:6;;;2526:17;2510:6;;2558:40;;2491:16;;2558:40;2481:124;2418:187;:::o;3026:145:0:-;3140:23;3152:2;3156:6;3140:11;;;;;:23;;:::i;:::-;3026:145;;:::o;6305:285:12:-;6389:28;6401:7;6410:6;6389:11;;;;;:28;;:::i;:::-;-1:-1:-1;;;;;6435:13:12;:11;:13;;:::i;:::-;:29;;6427:90;;;;-1:-1:-1;;;6427:90:12;;1055:2:24;6427:90:12;;;1037:21:24;1094:2;1074:18;;;1067:30;1133:34;1113:18;;;1106:62;-1:-1:-1;;;1184:18:24;;;1177:46;1240:19;;6427:90:12;;;;;;;;;6528:55;6545:23;6570:4;;;;;6576:6;6528:16;:55::i;:::-;;;6305:285;;:::o;8402:389:6:-;-1:-1:-1;;;;;8485:21:6;;8477:65;;;;-1:-1:-1;;;8477:65:6;;2287:2:24;8477:65:6;;;2269:21:24;2326:2;2306:18;;;2299:30;2365:33;2345:18;;;2338:61;2416:18;;8477:65:6;2085:355:24;8477:65:6;8553:49;8582:1;8586:7;8595:6;8553:20;:49::i;:::-;8629:6;8613:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8645:18:6;;:9;:18;;;;;;;;;;:28;;8667:6;;8645:9;:28;;8667:6;;8645:28;:::i;:::-;;;;-1:-1:-1;;8688:37:6;;2591:25:24;;;-1:-1:-1;;;;;8688:37:6;;;8705:1;;8688:37;;2579:2:24;2564:18;8688:37:6;;;;;;;8736:48;8764:1;8768:7;8777:6;8736:19;:48::i;3244:106::-;3331:12;;;3244:106::o;9069:96:12:-;9127:7;9153:5;9157:1;9153;:5;:::i;:::-;9146:12;;9069:96;;;;;:::o;8432:631::-;8664:12;;8602:17;;;;8698:8;;:35;;8713:5;8719:7;8725:1;8719:3;:7;:::i;:::-;8713:14;;;;;;;;:::i;:::-;;;;;;;;;;:20;;;;-1:-1:-1;;;;;8713:20:12;8698:35;;;8709:1;8698:35;-1:-1:-1;;;;;8686:47:12;;;8755:20;8758:9;8769:5;8755:2;:20;;:::i;:::-;8743:32;;8796:1;8790:3;:7;:51;;;;-1:-1:-1;8829:12:12;8801:5;8807:7;8813:1;8807:3;:7;:::i;:::-;8801:14;;;;;;;;:::i;:::-;;;;;;;;;;:24;;;:40;8790:51;8786:271;;;8880:29;8899:9;8880:18;;;;;:29;;:::i;:::-;8857:5;8863:7;8869:1;8863:3;:7;:::i;:::-;8857:14;;;;;;;;:::i;:::-;;;;;;;;:20;;;:52;;;;;-1:-1:-1;;;;;8857:52:12;;;;;-1:-1:-1;;;;;8857:52:12;;;;;;8786:271;;;8940:5;8951:94;;;;;;;;8974:31;8992:12;8974:17;;;;;:31;;:::i;:::-;8951:94;;;;;;9014:29;9033:9;9014:18;;;;;:29;;:::i;:::-;-1:-1:-1;;;;;8951:94:12;;;;;;8940:106;;;;;;;-1:-1:-1;8940:106:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8786:271;8640:423;8432:631;;;;;;:::o;2526:221:0:-;1224:19:5;:17;:19::i;:::-;2695:44:0::1;2722:4;2728:2;2732:6;2695:26;;;;;:44;;:::i;:::-;2526:221:::0;;;:::o;2825:193::-;2967:43;2993:4;2999:2;3003:6;2967:25;;;;;:43;;:::i;2751:192:23:-;2808:7;-1:-1:-1;;;;;2835:26:23;;;2827:78;;;;-1:-1:-1;;;2827:78:23;;1472:2:24;2827:78:23;;;1454:21:24;1511:2;1491:18;;;1484:30;1550:34;1530:18;;;1523:62;-1:-1:-1;;;1601:18:24;;;1594:37;1648:19;;2827:78:23;1270:403:24;2827:78:23;-1:-1:-1;2930:5:23;2751:192::o;15179:187::-;15235:6;15270:16;15261:25;;;15253:76;;;;-1:-1:-1;;;15253:76:23;;1880:2:24;15253:76:23;;;1862:21:24;1919:2;1899:18;;;1892:30;1958:34;1938:18;;;1931:62;-1:-1:-1;;;2009:18:24;;;2002:36;2055:19;;15253:76:23;1678:402:24;1752:106:5;1822:8;1670:7;;-1:-1:-1;;;1670:7:5;;;;;1600:84;1822:8;1821:9;1813:38;;;;-1:-1:-1;;;1813:38:5;;710:2:24;1813:38:5;;;692:21:24;749:2;729:18;;;722:30;-1:-1:-1;;;768:18:24;;;761:46;824:18;;1813:38:5;508:340:24;1813:38:5;1752:106::o;5802:602:11:-;5940:44;5967:4;5973:2;5977:6;5940:26;;;;;:44;;:::i;:::-;-1:-1:-1;;;;;5999:18:11;;5995:403;;6053:26;6076:2;6053:22;:26::i;:::-;6093:28;:26;:28::i;5995:403::-;-1:-1:-1;;;;;6142:16:11;;6138:260;;6194:28;6217:4;6194:22;:28::i;6138:260::-;6319:28;6342:4;6319:22;:28::i;:::-;6361:26;6384:2;6361:22;:26::i;7002:254:12:-;7139:43;7165:4;7171:2;7175:6;7139:25;;;;;:43;;:::i;:::-;-1:-1:-1;;;;;2318:19:12;;;2292:7;2318:19;;;:10;:19;;;;;;;;;;;;;;;7193:56;;2318:19;;;;;7242:6;7193:16;:56::i;8010:144:11:-;-1:-1:-1;;;;;8093:33:11;;;;;;:24;:33;;;;;;;;3508:18:6;;;;;;;;8077:70:11;;8093:33;8077:15;:70::i;8128:18::-;8077:15;:70::i;:::-;8010:144;:::o;8160:116::-;8216:53;8232:21;8255:13;3331:12:6;;;3244:106;7799:627:12;7926:3;-1:-1:-1;;;;;7919:10:12;:3;-1:-1:-1;;;;;7919:10:12;;;:24;;;;;7942:1;7933:6;:10;7919:24;7915:505;;;-1:-1:-1;;;;;7963:17:12;;;7959:221;;-1:-1:-1;;;;;8058:17:12;;8001;8058;;;:12;:17;;;;;;;8001;;8041:54;;8058:17;8077:9;;;;;8088:6;8041:16;:54::i;:::-;8000:95;;;;8139:3;-1:-1:-1;;;;;8118:47:12;-1:-1:-1;;;;;;;;;;;8144:9:12;8155;8118:47;;;;;;2801:25:24;;;2857:2;2842:18;;2835:34;2789:2;2774:18;;2627:248;8118:47:12;;;;;;;;7982:198;;7959:221;-1:-1:-1;;;;;8198:17:12;;;8194:216;;-1:-1:-1;;;;;8293:17:12;;8236;8293;;;:12;:17;;;;;;;8236;;8276:49;;8293:17;8312:4;;;;;8318:6;8276:16;:49::i;:::-;8235:90;;;;8369:3;-1:-1:-1;;;;;8348:47:12;-1:-1:-1;;;;;;;;;;;8374:9:12;8385;8348:47;;;;;;2801:25:24;;;2857:2;2842:18;;2835:34;2789:2;2774:18;;2627:248;8348:47:12;;;;;;;;8217:193;;7799:627;;;:::o;8282:304:11:-;8376:17;8396:23;:21;:23::i;:::-;8376:43;-1:-1:-1;8376:43:11;8433:30;8449:9;8433:15;:30::i;:::-;:42;8429:151;;;8491:29;;;;;;;;-1:-1:-1;8491:29:11;;;;;;;;;;;;;;8534:16;;;:35;;;;;;;;;;;;;;;8282:304::o;9171:101:12:-;9234:7;9260:5;9264:1;9260;:5;:::i;4766:125:11:-;4830:7;4856:28;:18;:26;;;;;:28;;:::i;:::-;4849:35;;4766:125;:::o;8592:206::-;8685:10;;8662:7;;8681:111;;-1:-1:-1;8723:1:11;;8592:206;-1:-1:-1;8592:206:11:o;8681:111::-;8766:10;;8762:3;;8766:14;;8779:1;;8766:14;:::i;:::-;8762:19;;;;;;;;:::i;:::-;;;;;;;;;8755:26;;8592:206;;;:::o;827:112:18:-;918:14;;827:112::o;1949:1388:0:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1949:1388:0;;;-1:-1:-1;1949:1388:0;;;;;;;;;;;;;;2880:128:24;2920:3;2951:1;2947:6;2944:1;2941:13;2938:39;;;2957:18;;:::i;:::-;-1:-1:-1;2993:9:24;;2880:128::o;3013:422::-;3102:1;3145:5;3102:1;3159:270;3180:7;3170:8;3167:21;3159:270;;;3239:4;3235:1;3231:6;3227:17;3221:4;3218:27;3215:53;;;3248:18;;:::i;:::-;3298:7;3288:8;3284:22;3281:55;;;3318:16;;;;3281:55;3397:22;;;;3357:15;;;;3159:270;;;3163:3;3013:422;;;;;:::o;3440:140::-;3498:5;3527:47;3568:4;3558:8;3554:19;3548:4;3634:5;3664:8;3654:80;;-1:-1:-1;3705:1:24;3719:5;;3654:80;3753:4;3743:76;;-1:-1:-1;3790:1:24;3804:5;;3743:76;3835:4;3853:1;3848:59;;;;3921:1;3916:130;;;;3828:218;;3848:59;3878:1;3869:10;;3892:5;;;3916:130;3953:3;3943:8;3940:17;3937:43;;;3960:18;;:::i;:::-;-1:-1:-1;;4016:1:24;4002:16;;4031:5;;3828:218;;4130:2;4120:8;4117:16;4111:3;4105:4;4102:13;4098:36;4092:2;4082:8;4079:16;4074:2;4068:4;4065:12;4061:35;4058:77;4055:159;;;-1:-1:-1;4167:19:24;;;4199:5;;4055:159;4246:34;4271:8;4265:4;4246:34;:::i;:::-;4316:6;4312:1;4308:6;4304:19;4295:7;4292:32;4289:58;;;4327:18;;:::i;:::-;4365:20;;3585:806;-1:-1:-1;;;3585:806:24:o;4396:168::-;4436:7;4502:1;4498;4494:6;4490:14;4487:1;4484:21;4479:1;4472:9;4465:17;4461:45;4458:71;;;4509:18;;:::i;:::-;-1:-1:-1;4549:9:24;;4396:168::o;4569:125::-;4609:4;4637:1;4634;4631:8;4628:34;;;4642:18;;:::i;:::-;-1:-1:-1;4679:9:24;;4569:125::o;4699:380::-;4778:1;4774:12;;;;4821;;;4842:61;;4896:4;4888:6;4884:17;4874:27;;4842:61;4949:2;4941:6;4938:14;4918:18;4915:38;4912:161;;;4995:10;4990:3;4986:20;4983:1;4976:31;5030:4;5027:1;5020:15;5058:4;5055:1;5048:15;4912:161;;4699:380;;;:::o;5084:127::-;5145:10;5140:3;5136:20;5133:1;5126:31;5176:4;5173:1;5166:15;5200:4;5197:1;5190:15;5216:127;5277:10;5272:3;5268:20;5265:1;5258:31;5308:4;5305:1;5298:15;5332:4;5329:1;5322:15;5216:127;1949:1388:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@DOMAIN_SEPARATOR_2605": {
"entryPoint": 1556,
"id": 2605,
"parameterSlots": 0,
"returnSlots": 1
},
"@_add_2423": {
"entryPoint": 4425,
"id": 2423,
"parameterSlots": 2,
"returnSlots": 1
},
"@_afterTokenTransfer_1114": {
"entryPoint": null,
"id": 1114,
"parameterSlots": 3,
"returnSlots": 0
},
"@_afterTokenTransfer_135": {
"entryPoint": 7517,
"id": 135,
"parameterSlots": 3,
"returnSlots": 0
},
"@_afterTokenTransfer_2205": {
"entryPoint": 4724,
"id": 2205,
"parameterSlots": 3,
"returnSlots": 0
},
"@_approve_1049": {
"entryPoint": 4790,
"id": 1049,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_1103": {
"entryPoint": null,
"id": 1103,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_114": {
"entryPoint": 7498,
"id": 114,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_1657": {
"entryPoint": 4647,
"id": 1657,
"parameterSlots": 3,
"returnSlots": 0
},
"@_buildDomainSeparator_3622": {
"entryPoint": null,
"id": 3622,
"parameterSlots": 3,
"returnSlots": 1
},
"@_burn_1004": {
"entryPoint": 9077,
"id": 1004,
"parameterSlots": 2,
"returnSlots": 0
},
"@_burn_171": {
"entryPoint": 6346,
"id": 171,
"parameterSlots": 2,
"returnSlots": 0
},
"@_burn_2175": {
"entryPoint": 8016,
"id": 2175,
"parameterSlots": 2,
"returnSlots": 0
},
"@_checkOwner_227": {
"entryPoint": 6161,
"id": 227,
"parameterSlots": 0,
"returnSlots": 0
},
"@_checkpointsLookup_2033": {
"entryPoint": 5972,
"id": 2033,
"parameterSlots": 2,
"returnSlots": 1
},
"@_delegate_2244": {
"entryPoint": 6603,
"id": 2244,
"parameterSlots": 2,
"returnSlots": 0
},
"@_domainSeparatorV4_3595": {
"entryPoint": 5677,
"id": 3595,
"parameterSlots": 0,
"returnSlots": 1
},
"@_flashFeeReceiver_1318": {
"entryPoint": null,
"id": 1318,
"parameterSlots": 0,
"returnSlots": 1
},
"@_getCurrentSnapshotId_1546": {
"entryPoint": 8040,
"id": 1546,
"parameterSlots": 0,
"returnSlots": 1
},
"@_hashTypedDataV4_3638": {
"entryPoint": 6963,
"id": 3638,
"parameterSlots": 1,
"returnSlots": 1
},
"@_lastSnapshotId_1800": {
"entryPoint": 9430,
"id": 1800,
"parameterSlots": 1,
"returnSlots": 1
},
"@_maxSupply_2120": {
"entryPoint": null,
"id": 2120,
"parameterSlots": 0,
"returnSlots": 1
},
"@_mint_153": {
"entryPoint": 6336,
"id": 153,
"parameterSlots": 2,
"returnSlots": 0
},
"@_mint_2152": {
"entryPoint": 4038,
"id": 2152,
"parameterSlots": 2,
"returnSlots": 0
},
"@_mint_932": {
"entryPoint": 4182,
"id": 932,
"parameterSlots": 2,
"returnSlots": 0
},
"@_moveVotingPower_2315": {
"entryPoint": 7592,
"id": 2315,
"parameterSlots": 3,
"returnSlots": 0
},
"@_msgSender_2768": {
"entryPoint": null,
"id": 2768,
"parameterSlots": 0,
"returnSlots": 1
},
"@_pause_512": {
"entryPoint": 6806,
"id": 512,
"parameterSlots": 0,
"returnSlots": 0
},
"@_requireNotPaused_485": {
"entryPoint": 8246,
"id": 485,
"parameterSlots": 0,
"returnSlots": 0
},
"@_requirePaused_496": {
"entryPoint": 7936,
"id": 496,
"parameterSlots": 0,
"returnSlots": 0
},
"@_snapshot_1535": {
"entryPoint": 6873,
"id": 1535,
"parameterSlots": 0,
"returnSlots": 1
},
"@_spendAllowance_1092": {
"entryPoint": 5082,
"id": 1092,
"parameterSlots": 3,
"returnSlots": 0
},
"@_subtract_2437": {
"entryPoint": 4774,
"id": 2437,
"parameterSlots": 2,
"returnSlots": 1
},
"@_throwError_3142": {
"entryPoint": 8560,
"id": 3142,
"parameterSlots": 1,
"returnSlots": 0
},
"@_transferOwnership_284": {
"entryPoint": 6724,
"id": 284,
"parameterSlots": 1,
"returnSlots": 0
},
"@_transfer_876": {
"entryPoint": 5198,
"id": 876,
"parameterSlots": 3,
"returnSlots": 0
},
"@_unpause_528": {
"entryPoint": 6251,
"id": 528,
"parameterSlots": 0,
"returnSlots": 0
},
"@_updateAccountSnapshot_1727": {
"entryPoint": 7528,
"id": 1727,
"parameterSlots": 1,
"returnSlots": 0
},
"@_updateSnapshot_1775": {
"entryPoint": 9003,
"id": 1775,
"parameterSlots": 2,
"returnSlots": 0
},
"@_updateTotalSupplySnapshot_1737": {
"entryPoint": 7578,
"id": 1737,
"parameterSlots": 0,
"returnSlots": 0
},
"@_useNonce_2634": {
"entryPoint": 7081,
"id": 2634,
"parameterSlots": 1,
"returnSlots": 1
},
"@_valueAt_1712": {
"entryPoint": 6356,
"id": 1712,
"parameterSlots": 2,
"returnSlots": 2
},
"@_writeCheckpoint_2409": {
"entryPoint": 7121,
"id": 2409,
"parameterSlots": 3,
"returnSlots": 2
},
"@allowance_671": {
"entryPoint": 3745,
"id": 671,
"parameterSlots": 2,
"returnSlots": 1
},
"@approve_696": {
"entryPoint": 1494,
"id": 696,
"parameterSlots": 2,
"returnSlots": 1
},
"@average_3705": {
"entryPoint": 7909,
"id": 3705,
"parameterSlots": 2,
"returnSlots": 1
},
"@balanceOfAt_1575": {
"entryPoint": 1785,
"id": 1575,
"parameterSlots": 2,
"returnSlots": 1
},
"@balanceOf_628": {
"entryPoint": null,
"id": 628,
"parameterSlots": 1,
"returnSlots": 1
},
"@burnFrom_1236": {
"entryPoint": 2475,
"id": 1236,
"parameterSlots": 2,
"returnSlots": 0
},
"@burn_1215": {
"entryPoint": 1772,
"id": 1215,
"parameterSlots": 1,
"returnSlots": 0
},
"@checkpoints_1855": {
"entryPoint": 3788,
"id": 1855,
"parameterSlots": 2,
"returnSlots": 1
},
"@current_2796": {
"entryPoint": 4786,
"id": 2796,
"parameterSlots": 1,
"returnSlots": 1
},
"@decimals_604": {
"entryPoint": null,
"id": 604,
"parameterSlots": 0,
"returnSlots": 1
},
"@decreaseAllowance_799": {
"entryPoint": 2843,
"id": 799,
"parameterSlots": 2,
"returnSlots": 1
},
"@delegateBySig_2107": {
"entryPoint": 2980,
"id": 2107,
"parameterSlots": 6,
"returnSlots": 0
},
"@delegate_2047": {
"entryPoint": 1874,
"id": 2047,
"parameterSlots": 1,
"returnSlots": 0
},
"@delegates_1886": {
"entryPoint": null,
"id": 1886,
"parameterSlots": 1,
"returnSlots": 1
},
"@findUpperBound_2755": {
"entryPoint": 8051,
"id": 2755,
"parameterSlots": 2,
"returnSlots": 1
},
"@flashFee_1306": {
"entryPoint": 3646,
"id": 1306,
"parameterSlots": 2,
"returnSlots": 1
},
"@flashLoan_1435": {
"entryPoint": 1884,
"id": 1435,
"parameterSlots": 5,
"returnSlots": 1
},
"@getPastTotalSupply_1967": {
"entryPoint": 2542,
"id": 1967,
"parameterSlots": 1,
"returnSlots": 1
},
"@getPastVotes_1944": {
"entryPoint": 1605,
"id": 1944,
"parameterSlots": 2,
"returnSlots": 1
},
"@getVotes_1917": {
"entryPoint": 2708,
"id": 1917,
"parameterSlots": 1,
"returnSlots": 1
},
"@increaseAllowance_758": {
"entryPoint": 1571,
"id": 758,
"parameterSlots": 2,
"returnSlots": 1
},
"@increment_2810": {
"entryPoint": null,
"id": 2810,
"parameterSlots": 1,
"returnSlots": 0
},
"@maxFlashLoan_1280": {
"entryPoint": 2383,
"id": 1280,
"parameterSlots": 1,
"returnSlots": 1
},
"@mint_91": {
"entryPoint": 1750,
"id": 91,
"parameterSlots": 2,
"returnSlots": 0
},
"@name_584": {
"entryPoint": 1348,
"id": 584,
"parameterSlots": 0,
"returnSlots": 1
},
"@nonces_2594": {
"entryPoint": 2496,
"id": 2594,
"parameterSlots": 1,
"returnSlots": 1
},
"@numCheckpoints_1872": {
"entryPoint": 2423,
"id": 1872,
"parameterSlots": 1,
"returnSlots": 1
},
"@owner_213": {
"entryPoint": null,
"id": 213,
"parameterSlots": 0,
"returnSlots": 1
},
"@pause_67": {
"entryPoint": 2526,
"id": 67,
"parameterSlots": 0,
"returnSlots": 0
},
"@paused_473": {
"entryPoint": null,
"id": 473,
"parameterSlots": 0,
"returnSlots": 1
},
"@permit_2578": {
"entryPoint": 3290,
"id": 2578,
"parameterSlots": 7,
"returnSlots": 0
},
"@recover_3425": {
"entryPoint": 7041,
"id": 3425,
"parameterSlots": 4,
"returnSlots": 1
},
"@renounceOwnership_241": {
"entryPoint": 2457,
"id": 241,
"parameterSlots": 0,
"returnSlots": 0
},
"@snapshot_58": {
"entryPoint": 2649,
"id": 58,
"parameterSlots": 0,
"returnSlots": 0
},
"@symbol_594": {
"entryPoint": 2634,
"id": 594,
"parameterSlots": 0,
"returnSlots": 1
},
"@toTypedDataHash_3484": {
"entryPoint": null,
"id": 3484,
"parameterSlots": 2,
"returnSlots": 1
},
"@toUint224_4246": {
"entryPoint": 4437,
"id": 4246,
"parameterSlots": 1,
"returnSlots": 1
},
"@toUint32_4846": {
"entryPoint": 4546,
"id": 4846,
"parameterSlots": 1,
"returnSlots": 1
},
"@totalSupplyAt_1599": {
"entryPoint": 2665,
"id": 1599,
"parameterSlots": 1,
"returnSlots": 1
},
"@totalSupply_614": {
"entryPoint": null,
"id": 614,
"parameterSlots": 0,
"returnSlots": 1
},
"@transferFrom_729": {
"entryPoint": 1520,
"id": 729,
"parameterSlots": 3,
"returnSlots": 1
},
"@transferOwnership_264": {
"entryPoint": 3920,
"id": 264,
"parameterSlots": 1,
"returnSlots": 0
},
"@transfer_653": {
"entryPoint": 2966,
"id": 653,
"parameterSlots": 2,
"returnSlots": 1
},
"@tryRecover_3392": {
"entryPoint": 8323,
"id": 3392,
"parameterSlots": 4,
"returnSlots": 2
},
"@unpause_76": {
"entryPoint": 1732,
"id": 76,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_decode_tuple_t_address": {
"entryPoint": 9519,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_address": {
"entryPoint": 9548,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_addresst_addresst_uint256": {
"entryPoint": 9605,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32": {
"entryPoint": 9670,
"id": null,
"parameterSlots": 2,
"returnSlots": 7
},
"abi_decode_tuple_t_addresst_uint256": {
"entryPoint": 9780,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32": {
"entryPoint": 9824,
"id": null,
"parameterSlots": 2,
"returnSlots": 6
},
"abi_decode_tuple_t_addresst_uint32": {
"entryPoint": 9914,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_bytes32_fromMemory": {
"entryPoint": 9969,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_contract$_IERC3156FlashBorrower_$383t_addresst_uint256t_bytes_calldata_ptr": {
"entryPoint": 9994,
"id": null,
"parameterSlots": 2,
"returnSlots": 5
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 10153,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_uint8": {
"entryPoint": 9502,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_packed_t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541_t_bytes32_t_bytes32__to_t_string_memory_ptr_t_bytes32_t_bytes32__nonPadded_inplace_fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_address_t_uint256_t_uint256_t_bytes_calldata_ptr__to_t_address_t_address_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed": {
"entryPoint": 10178,
"id": null,
"parameterSlots": 7,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__to_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 7,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32_t_address_t_uint256_t_uint256__to_t_bytes32_t_address_t_uint256_t_uint256__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 5,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 6,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 5,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 10270,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_031e0835d070e7bbd2c8dcce466eadb8c6b9fd22432b0357ab8c37bd9a385940__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_06e5bbaaa109e1d058e1026fbdce9ec5e51f304d46ad524d922a17511e41fd0d__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_136d0f69bc85a5c125b5cc368e2880ebdb3c89d4d9828f6476431c386ea60257__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_1a23b43d95073d55a7380117ca03cace60cd22fee15d5cb140d51e46236e6872__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_60b46eee919fdc048fce2496f82a5160d2d7a573b9d7b3321e803c603f0879cb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_8045752bf1f8e0707249246eec289248dc4bbf20a7a2babbd0d33f8827b6ff30__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_97859f657b3d95198b68f29ae96ee966779795bec3ef1e76700d2d39fefd7699__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_a95260fc1ea50b9fae0bd0c2ec12cfdf9bb2fb03a7e318182193c7e9cfe937d9__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_d85a3cdc203c5cdc6dda93c12cd017145671a0ed9058a16c7aa00b8398a4a8e6__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_struct$_Checkpoint_$1818_memory_ptr__to_t_struct$_Checkpoint_$1818_memory_ptr__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_uint32__to_t_uint32__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed": {
"entryPoint": null,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 10355,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_div_t_uint256": {
"entryPoint": 10379,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_sub_t_uint256": {
"entryPoint": 10413,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 10436,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 10489,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x21": {
"entryPoint": 10511,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 10533,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"validator_revert_address": {
"entryPoint": 10555,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:23349:24",
"statements": [
{
"nodeType": "YulBlock",
"src": "6:3:24",
"statements": []
},
{
"body": {
"nodeType": "YulBlock",
"src": "61:109:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "71:29:24",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "93:6:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "80:12:24"
},
"nodeType": "YulFunctionCall",
"src": "80:20:24"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "71:5:24"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "148:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "157:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "160:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "150:6:24"
},
"nodeType": "YulFunctionCall",
"src": "150:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "150:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "122:5:24"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "133:5:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "140:4:24",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "129:3:24"
},
"nodeType": "YulFunctionCall",
"src": "129:16:24"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "119:2:24"
},
"nodeType": "YulFunctionCall",
"src": "119:27:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "112:6:24"
},
"nodeType": "YulFunctionCall",
"src": "112:35:24"
},
"nodeType": "YulIf",
"src": "109:55:24"
}
]
},
"name": "abi_decode_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "40:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "51:5:24",
"type": ""
}
],
"src": "14:156:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "245:177:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "291:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "300:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "303:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "293:6:24"
},
"nodeType": "YulFunctionCall",
"src": "293:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "293:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "266:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "275:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "262:3:24"
},
"nodeType": "YulFunctionCall",
"src": "262:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "287:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "258:3:24"
},
"nodeType": "YulFunctionCall",
"src": "258:32:24"
},
"nodeType": "YulIf",
"src": "255:52:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "316:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "342:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "329:12:24"
},
"nodeType": "YulFunctionCall",
"src": "329:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "320:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "386:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "361:24:24"
},
"nodeType": "YulFunctionCall",
"src": "361:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "361:31:24"
},
{
"nodeType": "YulAssignment",
"src": "401:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "411:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "401:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "211:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "222:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "234:6:24",
"type": ""
}
],
"src": "175:247:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "514:301:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "560:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "569:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "572:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "562:6:24"
},
"nodeType": "YulFunctionCall",
"src": "562:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "562:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "535:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "544:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "531:3:24"
},
"nodeType": "YulFunctionCall",
"src": "531:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "556:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "527:3:24"
},
"nodeType": "YulFunctionCall",
"src": "527:32:24"
},
"nodeType": "YulIf",
"src": "524:52:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "585:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "611:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "598:12:24"
},
"nodeType": "YulFunctionCall",
"src": "598:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "589:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "655:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "630:24:24"
},
"nodeType": "YulFunctionCall",
"src": "630:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "630:31:24"
},
{
"nodeType": "YulAssignment",
"src": "670:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "680:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "670:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "694:47:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "726:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "737:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "722:3:24"
},
"nodeType": "YulFunctionCall",
"src": "722:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "709:12:24"
},
"nodeType": "YulFunctionCall",
"src": "709:32:24"
},
"variables": [
{
"name": "value_1",
"nodeType": "YulTypedName",
"src": "698:7:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "775:7:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "750:24:24"
},
"nodeType": "YulFunctionCall",
"src": "750:33:24"
},
"nodeType": "YulExpressionStatement",
"src": "750:33:24"
},
{
"nodeType": "YulAssignment",
"src": "792:17:24",
"value": {
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "802:7:24"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "792:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "472:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "483:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "495:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "503:6:24",
"type": ""
}
],
"src": "427:388:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "924:352:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "970:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "979:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "982:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "972:6:24"
},
"nodeType": "YulFunctionCall",
"src": "972:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "972:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "945:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "954:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "941:3:24"
},
"nodeType": "YulFunctionCall",
"src": "941:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "966:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "937:3:24"
},
"nodeType": "YulFunctionCall",
"src": "937:32:24"
},
"nodeType": "YulIf",
"src": "934:52:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "995:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1021:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1008:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1008:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "999:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1065:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "1040:24:24"
},
"nodeType": "YulFunctionCall",
"src": "1040:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "1040:31:24"
},
{
"nodeType": "YulAssignment",
"src": "1080:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1090:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1080:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "1104:47:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1136:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1147:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1132:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1132:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1119:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1119:32:24"
},
"variables": [
{
"name": "value_1",
"nodeType": "YulTypedName",
"src": "1108:7:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "1185:7:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "1160:24:24"
},
"nodeType": "YulFunctionCall",
"src": "1160:33:24"
},
"nodeType": "YulExpressionStatement",
"src": "1160:33:24"
},
{
"nodeType": "YulAssignment",
"src": "1202:17:24",
"value": {
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "1212:7:24"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1202:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1228:42:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1255:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1266:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1251:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1251:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1238:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1238:32:24"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1228:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "874:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "885:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "897:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "905:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "913:6:24",
"type": ""
}
],
"src": "820:456:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1451:564:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1498:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1507:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1510:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1500:6:24"
},
"nodeType": "YulFunctionCall",
"src": "1500:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "1500:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1472:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1481:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1468:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1468:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1493:3:24",
"type": "",
"value": "224"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1464:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1464:33:24"
},
"nodeType": "YulIf",
"src": "1461:53:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1523:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1549:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1536:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1536:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1527:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1593:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "1568:24:24"
},
"nodeType": "YulFunctionCall",
"src": "1568:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "1568:31:24"
},
{
"nodeType": "YulAssignment",
"src": "1608:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1618:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1608:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "1632:47:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1664:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1675:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1660:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1660:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1647:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1647:32:24"
},
"variables": [
{
"name": "value_1",
"nodeType": "YulTypedName",
"src": "1636:7:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "1713:7:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "1688:24:24"
},
"nodeType": "YulFunctionCall",
"src": "1688:33:24"
},
"nodeType": "YulExpressionStatement",
"src": "1688:33:24"
},
{
"nodeType": "YulAssignment",
"src": "1730:17:24",
"value": {
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "1740:7:24"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1730:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1756:42:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1783:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1794:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1779:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1779:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1766:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1766:32:24"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1756:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1807:42:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1834:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1845:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1830:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1830:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1817:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1817:32:24"
},
"variableNames": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "1807:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1858:47:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1889:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1900:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1885:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1885:19:24"
}
],
"functionName": {
"name": "abi_decode_uint8",
"nodeType": "YulIdentifier",
"src": "1868:16:24"
},
"nodeType": "YulFunctionCall",
"src": "1868:37:24"
},
"variableNames": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "1858:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1914:43:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1941:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1952:3:24",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1937:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1937:19:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1924:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1924:33:24"
},
"variableNames": [
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "1914:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1966:43:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1993:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2004:3:24",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1989:3:24"
},
"nodeType": "YulFunctionCall",
"src": "1989:19:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1976:12:24"
},
"nodeType": "YulFunctionCall",
"src": "1976:33:24"
},
"variableNames": [
{
"name": "value6",
"nodeType": "YulIdentifier",
"src": "1966:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1369:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1380:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1392:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "1400:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "1408:6:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "1416:6:24",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "1424:6:24",
"type": ""
},
{
"name": "value5",
"nodeType": "YulTypedName",
"src": "1432:6:24",
"type": ""
},
{
"name": "value6",
"nodeType": "YulTypedName",
"src": "1440:6:24",
"type": ""
}
],
"src": "1281:734:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2107:228:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2153:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2162:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2165:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2155:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2155:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "2155:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2128:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2137:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2124:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2124:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2149:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2120:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2120:32:24"
},
"nodeType": "YulIf",
"src": "2117:52:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "2178:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2204:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2191:12:24"
},
"nodeType": "YulFunctionCall",
"src": "2191:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2182:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2248:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "2223:24:24"
},
"nodeType": "YulFunctionCall",
"src": "2223:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "2223:31:24"
},
{
"nodeType": "YulAssignment",
"src": "2263:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2273:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2263:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2287:42:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2314:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2325:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2310:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2310:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2297:12:24"
},
"nodeType": "YulFunctionCall",
"src": "2297:32:24"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2287:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2065:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2076:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2088:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2096:6:24",
"type": ""
}
],
"src": "2020:315:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2493:439:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2540:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2549:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2552:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2542:6:24"
},
"nodeType": "YulFunctionCall",
"src": "2542:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "2542:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2514:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2523:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2510:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2510:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2535:3:24",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2506:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2506:33:24"
},
"nodeType": "YulIf",
"src": "2503:53:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "2565:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2591:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2578:12:24"
},
"nodeType": "YulFunctionCall",
"src": "2578:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2569:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2635:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "2610:24:24"
},
"nodeType": "YulFunctionCall",
"src": "2610:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "2610:31:24"
},
{
"nodeType": "YulAssignment",
"src": "2650:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2660:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2650:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2674:42:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2701:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2712:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2697:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2697:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2684:12:24"
},
"nodeType": "YulFunctionCall",
"src": "2684:32:24"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2674:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2725:42:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2752:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2763:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2748:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2748:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2735:12:24"
},
"nodeType": "YulFunctionCall",
"src": "2735:32:24"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "2725:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2776:46:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2807:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2818:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2803:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2803:18:24"
}
],
"functionName": {
"name": "abi_decode_uint8",
"nodeType": "YulIdentifier",
"src": "2786:16:24"
},
"nodeType": "YulFunctionCall",
"src": "2786:36:24"
},
"variableNames": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "2776:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2831:43:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2858:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2869:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2854:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2854:19:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2841:12:24"
},
"nodeType": "YulFunctionCall",
"src": "2841:33:24"
},
"variableNames": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "2831:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2883:43:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2910:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2921:3:24",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2906:3:24"
},
"nodeType": "YulFunctionCall",
"src": "2906:19:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2893:12:24"
},
"nodeType": "YulFunctionCall",
"src": "2893:33:24"
},
"variableNames": [
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "2883:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2419:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2430:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2442:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2450:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "2458:6:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "2466:6:24",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "2474:6:24",
"type": ""
},
{
"name": "value5",
"nodeType": "YulTypedName",
"src": "2482:6:24",
"type": ""
}
],
"src": "2340:592:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3023:333:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3069:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3078:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3081:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3071:6:24"
},
"nodeType": "YulFunctionCall",
"src": "3071:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "3071:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3044:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3053:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3040:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3040:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3065:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3036:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3036:32:24"
},
"nodeType": "YulIf",
"src": "3033:52:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "3094:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3120:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "3107:12:24"
},
"nodeType": "YulFunctionCall",
"src": "3107:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3098:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3164:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "3139:24:24"
},
"nodeType": "YulFunctionCall",
"src": "3139:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "3139:31:24"
},
{
"nodeType": "YulAssignment",
"src": "3179:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3189:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3179:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "3203:47:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3235:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3246:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3231:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3231:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "3218:12:24"
},
"nodeType": "YulFunctionCall",
"src": "3218:32:24"
},
"variables": [
{
"name": "value_1",
"nodeType": "YulTypedName",
"src": "3207:7:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3308:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3317:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3320:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3310:6:24"
},
"nodeType": "YulFunctionCall",
"src": "3310:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "3310:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "3272:7:24"
},
{
"arguments": [
{
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "3285:7:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3294:10:24",
"type": "",
"value": "0xffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3281:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3281:24:24"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3269:2:24"
},
"nodeType": "YulFunctionCall",
"src": "3269:37:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3262:6:24"
},
"nodeType": "YulFunctionCall",
"src": "3262:45:24"
},
"nodeType": "YulIf",
"src": "3259:65:24"
},
{
"nodeType": "YulAssignment",
"src": "3333:17:24",
"value": {
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "3343:7:24"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "3333:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2981:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2992:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3004:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3012:6:24",
"type": ""
}
],
"src": "2937:419:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3442:103:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3488:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3497:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3500:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3490:6:24"
},
"nodeType": "YulFunctionCall",
"src": "3490:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "3490:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3463:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3472:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3459:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3459:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3484:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3455:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3455:32:24"
},
"nodeType": "YulIf",
"src": "3452:52:24"
},
{
"nodeType": "YulAssignment",
"src": "3513:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3529:9:24"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3523:5:24"
},
"nodeType": "YulFunctionCall",
"src": "3523:16:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3513:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_bytes32_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3408:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3419:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3431:6:24",
"type": ""
}
],
"src": "3361:184:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3719:796:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3766:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3775:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3778:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3768:6:24"
},
"nodeType": "YulFunctionCall",
"src": "3768:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "3768:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3740:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3749:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3736:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3736:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3761:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3732:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3732:33:24"
},
"nodeType": "YulIf",
"src": "3729:53:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "3791:36:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3817:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "3804:12:24"
},
"nodeType": "YulFunctionCall",
"src": "3804:23:24"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3795:5:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3861:5:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "3836:24:24"
},
"nodeType": "YulFunctionCall",
"src": "3836:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "3836:31:24"
},
{
"nodeType": "YulAssignment",
"src": "3876:15:24",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3886:5:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3876:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "3900:47:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3932:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3943:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3928:3:24"
},
"nodeType": "YulFunctionCall",
"src": "3928:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "3915:12:24"
},
"nodeType": "YulFunctionCall",
"src": "3915:32:24"
},
"variables": [
{
"name": "value_1",
"nodeType": "YulTypedName",
"src": "3904:7:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "3981:7:24"
}
],
"functionName": {
"name": "validator_revert_address",
"nodeType": "YulIdentifier",
"src": "3956:24:24"
},
"nodeType": "YulFunctionCall",
"src": "3956:33:24"
},
"nodeType": "YulExpressionStatement",
"src": "3956:33:24"
},
{
"nodeType": "YulAssignment",
"src": "3998:17:24",
"value": {
"name": "value_1",
"nodeType": "YulIdentifier",
"src": "4008:7:24"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "3998:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4024:42:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4051:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4062:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4047:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4047:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "4034:12:24"
},
"nodeType": "YulFunctionCall",
"src": "4034:32:24"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "4024:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4075:46:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4106:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4117:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4102:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4102:18:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "4089:12:24"
},
"nodeType": "YulFunctionCall",
"src": "4089:32:24"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4079:6:24",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4130:28:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4140:18:24",
"type": "",
"value": "0xffffffffffffffff"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "4134:2:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4185:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4194:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4197:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4187:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4187:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "4187:12:24"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4173:6:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "4181:2:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4170:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4170:14:24"
},
"nodeType": "YulIf",
"src": "4167:34:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "4210:32:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4224:9:24"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4235:6:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4220:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4220:22:24"
},
"variables": [
{
"name": "_2",
"nodeType": "YulTypedName",
"src": "4214:2:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4290:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4299:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4302:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4292:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4292:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "4292:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "_2",
"nodeType": "YulIdentifier",
"src": "4269:2:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4273:4:24",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4265:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4265:13:24"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4280:7:24"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4261:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4261:27:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4254:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4254:35:24"
},
"nodeType": "YulIf",
"src": "4251:55:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "4315:30:24",
"value": {
"arguments": [
{
"name": "_2",
"nodeType": "YulIdentifier",
"src": "4342:2:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "4329:12:24"
},
"nodeType": "YulFunctionCall",
"src": "4329:16:24"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4319:6:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4372:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4381:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4384:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4374:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4374:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "4374:12:24"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4360:6:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "4368:2:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4357:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4357:14:24"
},
"nodeType": "YulIf",
"src": "4354:34:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4438:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4447:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4450:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4440:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4440:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "4440:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "_2",
"nodeType": "YulIdentifier",
"src": "4411:2:24"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4415:6:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4407:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4407:15:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4424:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4403:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4403:24:24"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4429:7:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4400:2:24"
},
"nodeType": "YulFunctionCall",
"src": "4400:37:24"
},
"nodeType": "YulIf",
"src": "4397:57:24"
},
{
"nodeType": "YulAssignment",
"src": "4463:21:24",
"value": {
"arguments": [
{
"name": "_2",
"nodeType": "YulIdentifier",
"src": "4477:2:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4481:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4473:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4473:11:24"
},
"variableNames": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "4463:6:24"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4493:16:24",
"value": {
"name": "length",
"nodeType": "YulIdentifier",
"src": "4503:6:24"
},
"variableNames": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "4493:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_contract$_IERC3156FlashBorrower_$383t_addresst_uint256t_bytes_calldata_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3653:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3664:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3676:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3684:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "3692:6:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "3700:6:24",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "3708:6:24",
"type": ""
}
],
"src": "3550:965:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4590:110:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4636:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4645:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4648:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4638:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4638:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "4638:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4611:7:24"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4620:9:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4607:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4607:23:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4632:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4603:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4603:32:24"
},
"nodeType": "YulIf",
"src": "4600:52:24"
},
{
"nodeType": "YulAssignment",
"src": "4661:33:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4684:9:24"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "4671:12:24"
},
"nodeType": "YulFunctionCall",
"src": "4671:23:24"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4661:6:24"
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4556:9:24",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4567:7:24",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4579:6:24",
"type": ""
}
],
"src": "4520:180:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4953:144:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4970:3:24"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4979:3:24",
"type": "",
"value": "240"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4984:4:24",
"type": "",
"value": "6401"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "4975:3:24"
},
"nodeType": "YulFunctionCall",
"src": "4975:14:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4963:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4963:27:24"
},
"nodeType": "YulExpressionStatement",
"src": "4963:27:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5010:3:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5015:1:24",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5006:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5006:11:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5019:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4999:6:24"
},
"nodeType": "YulFunctionCall",
"src": "4999:27:24"
},
"nodeType": "YulExpressionStatement",
"src": "4999:27:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5046:3:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5051:2:24",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5042:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5042:12:24"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "5056:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5035:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5035:28:24"
},
"nodeType": "YulExpressionStatement",
"src": "5035:28:24"
},
{
"nodeType": "YulAssignment",
"src": "5072:19:24",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5083:3:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5088:2:24",
"type": "",
"value": "66"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5079:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5079:12:24"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "5072:3:24"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541_t_bytes32_t_bytes32__to_t_string_memory_ptr_t_bytes32_t_bytes32__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4921:3:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "4926:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4934:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4945:3:24",
"type": ""
}
],
"src": "4705:392:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5203:102:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5213:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5225:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5236:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5221:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5221:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5213:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5255:9:24"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5270:6:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5286:3:24",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5291:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "5282:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5282:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5295:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5278:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5278:19:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5266:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5266:32:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5248:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5248:51:24"
},
"nodeType": "YulExpressionStatement",
"src": "5248:51:24"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5172:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5183:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5194:4:24",
"type": ""
}
],
"src": "5102:203:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5551:493:24",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5561:29:24",
"value": {
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5579:3:24",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5584:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "5575:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5575:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5588:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5571:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5571:19:24"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "5565:2:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5606:9:24"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5621:6:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "5629:2:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5617:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5617:15:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5599:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5599:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "5599:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5653:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5664:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5649:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5649:18:24"
},
{
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "5673:6:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "5681:2:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5669:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5669:15:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5642:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5642:43:24"
},
"nodeType": "YulExpressionStatement",
"src": "5642:43:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5705:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5716:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5701:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5701:18:24"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "5721:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5694:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5694:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "5694:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5748:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5759:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5744:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5744:18:24"
},
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "5764:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5737:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5737:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "5737:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5791:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5802:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5787:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5787:19:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5808:3:24",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5780:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5780:32:24"
},
"nodeType": "YulExpressionStatement",
"src": "5780:32:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5832:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5843:3:24",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5828:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5828:19:24"
},
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "5849:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5821:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5821:35:24"
},
"nodeType": "YulExpressionStatement",
"src": "5821:35:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5882:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5893:3:24",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5878:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5878:19:24"
},
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "5899:6:24"
},
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "5907:6:24"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "5865:12:24"
},
"nodeType": "YulFunctionCall",
"src": "5865:49:24"
},
"nodeType": "YulExpressionStatement",
"src": "5865:49:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5938:9:24"
},
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "5949:6:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5934:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5934:22:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5958:3:24",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5930:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5930:32:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5964:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5923:6:24"
},
"nodeType": "YulFunctionCall",
"src": "5923:43:24"
},
"nodeType": "YulExpressionStatement",
"src": "5923:43:24"
},
{
"nodeType": "YulAssignment",
"src": "5975:63:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5991:9:24"
},
{
"arguments": [
{
"arguments": [
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "6010:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6018:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6006:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6006:15:24"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6027:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "6023:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6023:7:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6002:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6002:29:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5987:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5987:45:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6034:3:24",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5983:3:24"
},
"nodeType": "YulFunctionCall",
"src": "5983:55:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5975:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_address_t_address_t_uint256_t_uint256_t_bytes_calldata_ptr__to_t_address_t_address_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5480:9:24",
"type": ""
},
{
"name": "value5",
"nodeType": "YulTypedName",
"src": "5491:6:24",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "5499:6:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "5507:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "5515:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "5523:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5531:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5542:4:24",
"type": ""
}
],
"src": "5310:734:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6144:92:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6154:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6166:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6177:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6162:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6162:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6154:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6196:9:24"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "6221:6:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6214:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6214:14:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6207:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6207:22:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6189:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6189:41:24"
},
"nodeType": "YulExpressionStatement",
"src": "6189:41:24"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6113:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "6124:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6135:4:24",
"type": ""
}
],
"src": "6049:187:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6342:76:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6352:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6364:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6375:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6360:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6360:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6352:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6394:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "6405:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6387:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6387:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "6387:25:24"
}
]
},
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6311:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "6322:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6333:4:24",
"type": ""
}
],
"src": "6241:177:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6664:350:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6674:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6686:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6697:3:24",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6682:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6682:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6674:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6717:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "6728:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6710:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6710:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "6710:25:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "6744:29:24",
"value": {
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6762:3:24",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6767:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "6758:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6758:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6771:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6754:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6754:19:24"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "6748:2:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6793:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6804:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6789:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6789:18:24"
},
{
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "6813:6:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "6821:2:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6809:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6809:15:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6782:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6782:43:24"
},
"nodeType": "YulExpressionStatement",
"src": "6782:43:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6845:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6856:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6841:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6841:18:24"
},
{
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "6865:6:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "6873:2:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6861:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6861:15:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6834:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6834:43:24"
},
"nodeType": "YulExpressionStatement",
"src": "6834:43:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6897:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6908:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6893:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6893:18:24"
},
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "6913:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6886:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6886:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "6886:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6940:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6951:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6936:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6936:19:24"
},
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "6957:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6929:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6929:35:24"
},
"nodeType": "YulExpressionStatement",
"src": "6929:35:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6984:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6995:3:24",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6980:3:24"
},
"nodeType": "YulFunctionCall",
"src": "6980:19:24"
},
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "7001:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6973:6:24"
},
"nodeType": "YulFunctionCall",
"src": "6973:35:24"
},
"nodeType": "YulExpressionStatement",
"src": "6973:35:24"
}
]
},
"name": "abi_encode_tuple_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__to_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6593:9:24",
"type": ""
},
{
"name": "value5",
"nodeType": "YulTypedName",
"src": "6604:6:24",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "6612:6:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "6620:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "6628:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "6636:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "6644:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6655:4:24",
"type": ""
}
],
"src": "6423:591:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7204:232:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7214:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7226:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7237:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7222:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7222:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7214:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7257:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "7268:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7250:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7250:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "7250:25:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7295:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7306:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7291:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7291:18:24"
},
{
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "7315:6:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7331:3:24",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7336:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "7327:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7327:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7340:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7323:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7323:19:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7311:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7311:32:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7284:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7284:60:24"
},
"nodeType": "YulExpressionStatement",
"src": "7284:60:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7364:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7375:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7360:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7360:18:24"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "7380:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7353:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7353:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "7353:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7407:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7418:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7403:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7403:18:24"
},
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "7423:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7396:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7396:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "7396:34:24"
}
]
},
"name": "abi_encode_tuple_t_bytes32_t_address_t_uint256_t_uint256__to_t_bytes32_t_address_t_uint256_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7149:9:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "7160:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "7168:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "7176:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "7184:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7195:4:24",
"type": ""
}
],
"src": "7019:417:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7654:276:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7664:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7676:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7687:3:24",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7672:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7672:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7664:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7707:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "7718:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7700:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7700:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "7700:25:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7745:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7756:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7741:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7741:18:24"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "7761:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7734:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7734:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "7734:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7788:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7799:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7784:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7784:18:24"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "7804:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7777:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7777:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "7777:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7831:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7842:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7827:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7827:18:24"
},
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "7847:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7820:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7820:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "7820:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7874:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7885:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7870:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7870:19:24"
},
{
"arguments": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "7895:6:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7911:3:24",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7916:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "7907:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7907:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7920:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7903:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7903:19:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7891:3:24"
},
"nodeType": "YulFunctionCall",
"src": "7891:32:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7863:6:24"
},
"nodeType": "YulFunctionCall",
"src": "7863:61:24"
},
"nodeType": "YulExpressionStatement",
"src": "7863:61:24"
}
]
},
"name": "abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7591:9:24",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "7602:6:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "7610:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "7618:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "7626:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "7634:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7645:4:24",
"type": ""
}
],
"src": "7441:489:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8116:217:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8126:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8138:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8149:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8134:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8134:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8126:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8169:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8180:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8162:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8162:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "8162:25:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8207:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8218:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8203:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8203:18:24"
},
{
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "8227:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8235:4:24",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "8223:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8223:17:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8196:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8196:45:24"
},
"nodeType": "YulExpressionStatement",
"src": "8196:45:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8261:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8272:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8257:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8257:18:24"
},
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "8277:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8250:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8250:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "8250:34:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8304:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8315:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8300:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8300:18:24"
},
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "8320:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8293:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8293:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "8293:34:24"
}
]
},
"name": "abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8061:9:24",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "8072:6:24",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "8080:6:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "8088:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "8096:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8107:4:24",
"type": ""
}
],
"src": "7935:398:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8459:476:24",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8469:12:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "8479:2:24",
"type": "",
"value": "32"
},
"variables": [
{
"name": "_1",
"nodeType": "YulTypedName",
"src": "8473:2:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8497:9:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "8508:2:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8490:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8490:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "8490:21:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "8520:27:24",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8540:6:24"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "8534:5:24"
},
"nodeType": "YulFunctionCall",
"src": "8534:13:24"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "8524:6:24",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8567:9:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "8578:2:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8563:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8563:18:24"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8583:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8556:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8556:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "8556:34:24"
},
{
"nodeType": "YulVariableDeclaration",
"src": "8599:10:24",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "8608:1:24",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "8603:1:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8668:90:24",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8697:9:24"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8708:1:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8693:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8693:17:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8712:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8689:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8689:26:24"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8731:6:24"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8739:1:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8727:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8727:14:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "8743:2:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8723:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8723:23:24"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "8717:5:24"
},
"nodeType": "YulFunctionCall",
"src": "8717:30:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8682:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8682:66:24"
},
"nodeType": "YulExpressionStatement",
"src": "8682:66:24"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8629:1:24"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8632:6:24"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "8626:2:24"
},
"nodeType": "YulFunctionCall",
"src": "8626:13:24"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "8640:19:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8642:15:24",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8651:1:24"
},
{
"name": "_1",
"nodeType": "YulIdentifier",
"src": "8654:2:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8647:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8647:10:24"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8642:1:24"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "8622:3:24",
"statements": []
},
"src": "8618:140:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8792:66:24",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8821:9:24"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8832:6:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8817:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8817:22:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8841:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8813:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8813:31:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8846:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8806:6:24"
},
"nodeType": "YulFunctionCall",
"src": "8806:42:24"
},
"nodeType": "YulExpressionStatement",
"src": "8806:42:24"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8773:1:24"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8776:6:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "8770:2:24"
},
"nodeType": "YulFunctionCall",
"src": "8770:13:24"
},
"nodeType": "YulIf",
"src": "8767:91:24"
},
{
"nodeType": "YulAssignment",
"src": "8867:62:24",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8883:9:24"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8902:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8910:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8898:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8898:15:24"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8919:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "8915:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8915:7:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "8894:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8894:29:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8879:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8879:45:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8926:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8875:3:24"
},
"nodeType": "YulFunctionCall",
"src": "8875:54:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8867:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8428:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "8439:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8450:4:24",
"type": ""
}
],
"src": "8338:597:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9114:174:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9131:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9142:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9124:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9124:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "9124:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9165:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9176:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9161:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9161:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9181:2:24",
"type": "",
"value": "24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9154:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9154:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "9154:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9204:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9215:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9200:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9200:18:24"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9220:26:24",
"type": "",
"value": "ECDSA: invalid signature"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9193:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9193:54:24"
},
"nodeType": "YulExpressionStatement",
"src": "9193:54:24"
},
{
"nodeType": "YulAssignment",
"src": "9256:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9268:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9279:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9264:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9264:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9256:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9091:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9105:4:24",
"type": ""
}
],
"src": "8940:348:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9467:179:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9484:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9495:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9477:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9477:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "9477:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9518:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9529:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9514:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9514:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9534:2:24",
"type": "",
"value": "29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9507:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9507:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "9507:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9557:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9568:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9553:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9553:18:24"
},
{
"hexValue": "4552433230536e617073686f743a206e6f6e6578697374656e74206964",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9573:31:24",
"type": "",
"value": "ERC20Snapshot: nonexistent id"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9546:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9546:59:24"
},
"nodeType": "YulExpressionStatement",
"src": "9546:59:24"
},
{
"nodeType": "YulAssignment",
"src": "9614:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9626:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9637:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9622:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9622:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9614:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_031e0835d070e7bbd2c8dcce466eadb8c6b9fd22432b0357ab8c37bd9a385940__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9444:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9458:4:24",
"type": ""
}
],
"src": "9293:353:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9825:225:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9842:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9853:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9835:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9835:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "9835:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9876:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9887:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9872:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9872:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9892:2:24",
"type": "",
"value": "35"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9865:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9865:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "9865:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9915:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9926:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9911:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9911:18:24"
},
{
"hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9931:34:24",
"type": "",
"value": "ERC20: transfer to the zero addr"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9904:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9904:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "9904:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9986:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9997:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9982:3:24"
},
"nodeType": "YulFunctionCall",
"src": "9982:18:24"
},
{
"hexValue": "657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10002:5:24",
"type": "",
"value": "ess"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9975:6:24"
},
"nodeType": "YulFunctionCall",
"src": "9975:33:24"
},
"nodeType": "YulExpressionStatement",
"src": "9975:33:24"
},
{
"nodeType": "YulAssignment",
"src": "10017:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10029:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10040:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10025:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10025:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10017:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9802:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9816:4:24",
"type": ""
}
],
"src": "9651:399:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10229:181:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10246:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10257:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10239:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10239:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "10239:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10280:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10291:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10276:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10276:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10296:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10269:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10269:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "10269:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10319:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10330:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10315:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10315:18:24"
},
{
"hexValue": "4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10335:33:24",
"type": "",
"value": "ERC20Votes: block not yet mined"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10308:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10308:61:24"
},
"nodeType": "YulExpressionStatement",
"src": "10308:61:24"
},
{
"nodeType": "YulAssignment",
"src": "10378:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10390:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10401:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10386:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10386:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10378:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_06e5bbaaa109e1d058e1026fbdce9ec5e51f304d46ad524d922a17511e41fd0d__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "10206:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "10220:4:24",
"type": ""
}
],
"src": "10055:355:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10589:170:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10606:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10617:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10599:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10599:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "10599:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10640:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10651:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10636:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10636:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10656:2:24",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10629:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10629:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "10629:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10679:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10690:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10675:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10675:18:24"
},
{
"hexValue": "5061757361626c653a206e6f7420706175736564",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10695:22:24",
"type": "",
"value": "Pausable: not paused"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10668:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10668:50:24"
},
"nodeType": "YulExpressionStatement",
"src": "10668:50:24"
},
{
"nodeType": "YulAssignment",
"src": "10727:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10739:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10750:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10735:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10735:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10727:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "10566:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "10580:4:24",
"type": ""
}
],
"src": "10415:344:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10938:179:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10955:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10966:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10948:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10948:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "10948:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10989:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11000:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10985:3:24"
},
"nodeType": "YulFunctionCall",
"src": "10985:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11005:2:24",
"type": "",
"value": "29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10978:6:24"
},
"nodeType": "YulFunctionCall",
"src": "10978:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "10978:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11028:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11039:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11024:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11024:18:24"
},
{
"hexValue": "4552433230566f7465733a207369676e61747572652065787069726564",
"kind": "string",
"nodeType": "YulLiteral",
"src": "11044:31:24",
"type": "",
"value": "ERC20Votes: signature expired"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11017:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11017:59:24"
},
"nodeType": "YulExpressionStatement",
"src": "11017:59:24"
},
{
"nodeType": "YulAssignment",
"src": "11085:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11097:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11108:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11093:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11093:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11085:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_136d0f69bc85a5c125b5cc368e2880ebdb3c89d4d9828f6476431c386ea60257__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "10915:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "10929:4:24",
"type": ""
}
],
"src": "10764:353:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11296:224:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11313:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11324:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11306:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11306:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "11306:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11347:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11358:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11343:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11343:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11363:2:24",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11336:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11336:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "11336:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11386:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11397:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11382:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11382:18:24"
},
{
"hexValue": "45524332303a206275726e20616d6f756e7420657863656564732062616c616e",
"kind": "string",
"nodeType": "YulLiteral",
"src": "11402:34:24",
"type": "",
"value": "ERC20: burn amount exceeds balan"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11375:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11375:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "11375:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11457:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11468:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11453:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11453:18:24"
},
{
"hexValue": "6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "11473:4:24",
"type": "",
"value": "ce"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11446:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11446:32:24"
},
"nodeType": "YulExpressionStatement",
"src": "11446:32:24"
},
{
"nodeType": "YulAssignment",
"src": "11487:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11499:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11510:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11495:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11495:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11487:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "11273:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "11287:4:24",
"type": ""
}
],
"src": "11122:398:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11699:181:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11716:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11727:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11709:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11709:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "11709:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11750:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11761:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11746:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11746:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11766:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11739:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11739:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "11739:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11789:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11800:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11785:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11785:18:24"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265206c656e677468",
"kind": "string",
"nodeType": "YulLiteral",
"src": "11805:33:24",
"type": "",
"value": "ECDSA: invalid signature length"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11778:6:24"
},
"nodeType": "YulFunctionCall",
"src": "11778:61:24"
},
"nodeType": "YulExpressionStatement",
"src": "11778:61:24"
},
{
"nodeType": "YulAssignment",
"src": "11848:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11860:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11871:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11856:3:24"
},
"nodeType": "YulFunctionCall",
"src": "11856:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11848:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "11676:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "11690:4:24",
"type": ""
}
],
"src": "11525:355:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12059:175:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12076:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12087:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12069:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12069:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "12069:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12110:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12121:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12106:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12106:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12126:2:24",
"type": "",
"value": "25"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12099:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12099:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "12099:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12149:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12160:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12145:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12145:18:24"
},
{
"hexValue": "4552433230566f7465733a20696e76616c6964206e6f6e6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12165:27:24",
"type": "",
"value": "ERC20Votes: invalid nonce"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12138:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12138:55:24"
},
"nodeType": "YulExpressionStatement",
"src": "12138:55:24"
},
{
"nodeType": "YulAssignment",
"src": "12202:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12214:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12225:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12210:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12210:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12202:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_1a23b43d95073d55a7380117ca03cace60cd22fee15d5cb140d51e46236e6872__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "12036:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "12050:4:24",
"type": ""
}
],
"src": "11885:349:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12413:228:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12430:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12441:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12423:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12423:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "12423:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12464:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12475:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12460:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12460:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12480:2:24",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12453:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12453:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "12453:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12503:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12514:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12499:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12499:18:24"
},
{
"hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12519:34:24",
"type": "",
"value": "Ownable: new owner is the zero a"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12492:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12492:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "12492:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12574:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12585:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12570:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12570:18:24"
},
{
"hexValue": "646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12590:8:24",
"type": "",
"value": "ddress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12563:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12563:36:24"
},
"nodeType": "YulExpressionStatement",
"src": "12563:36:24"
},
{
"nodeType": "YulAssignment",
"src": "12608:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12620:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12631:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12616:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12616:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12608:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "12390:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "12404:4:24",
"type": ""
}
],
"src": "12239:402:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12820:224:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12837:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12848:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12830:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12830:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "12830:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12871:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12882:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12867:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12867:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12887:2:24",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12860:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12860:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "12860:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12910:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12921:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12906:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12906:18:24"
},
{
"hexValue": "45524332303a20617070726f766520746f20746865207a65726f206164647265",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12926:34:24",
"type": "",
"value": "ERC20: approve to the zero addre"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12899:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12899:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "12899:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12981:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12992:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12977:3:24"
},
"nodeType": "YulFunctionCall",
"src": "12977:18:24"
},
{
"hexValue": "7373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12997:4:24",
"type": "",
"value": "ss"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12970:6:24"
},
"nodeType": "YulFunctionCall",
"src": "12970:32:24"
},
"nodeType": "YulExpressionStatement",
"src": "12970:32:24"
},
{
"nodeType": "YulAssignment",
"src": "13011:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13023:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13034:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13019:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13019:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13011:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "12797:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "12811:4:24",
"type": ""
}
],
"src": "12646:398:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13223:179:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13240:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13251:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13233:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13233:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "13233:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13274:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13285:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13270:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13270:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13290:2:24",
"type": "",
"value": "29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13263:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13263:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "13263:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13313:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13324:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13309:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13309:18:24"
},
{
"hexValue": "45524332303a20696e73756666696369656e7420616c6c6f77616e6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "13329:31:24",
"type": "",
"value": "ERC20: insufficient allowance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13302:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13302:59:24"
},
"nodeType": "YulExpressionStatement",
"src": "13302:59:24"
},
{
"nodeType": "YulAssignment",
"src": "13370:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13382:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13393:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13378:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13378:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13370:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "13200:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "13214:4:24",
"type": ""
}
],
"src": "13049:353:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13581:179:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13598:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13609:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13591:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13591:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "13591:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13632:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13643:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13628:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13628:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13648:2:24",
"type": "",
"value": "29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13621:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13621:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "13621:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13671:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13682:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13667:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13667:18:24"
},
{
"hexValue": "45524332305065726d69743a206578706972656420646561646c696e65",
"kind": "string",
"nodeType": "YulLiteral",
"src": "13687:31:24",
"type": "",
"value": "ERC20Permit: expired deadline"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13660:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13660:59:24"
},
"nodeType": "YulExpressionStatement",
"src": "13660:59:24"
},
{
"nodeType": "YulAssignment",
"src": "13728:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13740:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13751:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13736:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13736:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13728:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "13558:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "13572:4:24",
"type": ""
}
],
"src": "13407:353:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13939:228:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13956:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13967:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13949:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13949:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "13949:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13990:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14001:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13986:3:24"
},
"nodeType": "YulFunctionCall",
"src": "13986:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14006:2:24",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13979:6:24"
},
"nodeType": "YulFunctionCall",
"src": "13979:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "13979:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14029:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14040:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14025:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14025:18:24"
},
{
"hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732062",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14045:34:24",
"type": "",
"value": "ERC20: transfer amount exceeds b"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14018:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14018:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "14018:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14100:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14111:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14096:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14096:18:24"
},
{
"hexValue": "616c616e6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14116:8:24",
"type": "",
"value": "alance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14089:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14089:36:24"
},
"nodeType": "YulExpressionStatement",
"src": "14089:36:24"
},
{
"nodeType": "YulAssignment",
"src": "14134:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14146:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14157:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14142:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14142:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14134:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "13916:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "13930:4:24",
"type": ""
}
],
"src": "13765:402:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14346:224:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14363:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14374:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14356:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14356:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "14356:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14397:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14408:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14393:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14393:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14413:2:24",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14386:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14386:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "14386:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14436:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14447:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14432:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14432:18:24"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265202773272076616c",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14452:34:24",
"type": "",
"value": "ECDSA: invalid signature 's' val"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14425:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14425:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "14425:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14507:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14518:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14503:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14503:18:24"
},
{
"hexValue": "7565",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14523:4:24",
"type": "",
"value": "ue"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14496:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14496:32:24"
},
"nodeType": "YulExpressionStatement",
"src": "14496:32:24"
},
{
"nodeType": "YulAssignment",
"src": "14537:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14549:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14560:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14545:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14545:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14537:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "14323:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "14337:4:24",
"type": ""
}
],
"src": "14172:398:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14749:226:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14766:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14777:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14759:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14759:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "14759:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14800:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14811:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14796:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14796:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14816:2:24",
"type": "",
"value": "36"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14789:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14789:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "14789:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14839:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14850:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14835:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14835:18:24"
},
{
"hexValue": "4552433230466c6173684d696e743a20696e76616c69642072657475726e2076",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14855:34:24",
"type": "",
"value": "ERC20FlashMint: invalid return v"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14828:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14828:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "14828:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14910:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14921:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14906:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14906:18:24"
},
{
"hexValue": "616c7565",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14926:6:24",
"type": "",
"value": "alue"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14899:6:24"
},
"nodeType": "YulFunctionCall",
"src": "14899:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "14899:34:24"
},
{
"nodeType": "YulAssignment",
"src": "14942:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14954:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14965:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14950:3:24"
},
"nodeType": "YulFunctionCall",
"src": "14950:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14942:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_60b46eee919fdc048fce2496f82a5160d2d7a573b9d7b3321e803c603f0879cb__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "14726:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "14740:4:24",
"type": ""
}
],
"src": "14575:400:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15154:166:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15171:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15182:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15164:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15164:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "15164:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15205:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15216:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15201:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15201:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15221:2:24",
"type": "",
"value": "16"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15194:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15194:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "15194:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15244:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15255:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15240:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15240:18:24"
},
{
"hexValue": "5061757361626c653a20706175736564",
"kind": "string",
"nodeType": "YulLiteral",
"src": "15260:18:24",
"type": "",
"value": "Pausable: paused"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15233:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15233:46:24"
},
"nodeType": "YulExpressionStatement",
"src": "15233:46:24"
},
{
"nodeType": "YulAssignment",
"src": "15288:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15300:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15311:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15296:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15296:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "15288:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "15131:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "15145:4:24",
"type": ""
}
],
"src": "14980:340:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15499:177:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15516:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15527:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15509:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15509:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "15509:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15550:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15561:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15546:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15546:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15566:2:24",
"type": "",
"value": "27"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15539:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15539:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "15539:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15589:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15600:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15585:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15585:18:24"
},
{
"hexValue": "4552433230466c6173684d696e743a2077726f6e6720746f6b656e",
"kind": "string",
"nodeType": "YulLiteral",
"src": "15605:29:24",
"type": "",
"value": "ERC20FlashMint: wrong token"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15578:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15578:57:24"
},
"nodeType": "YulExpressionStatement",
"src": "15578:57:24"
},
{
"nodeType": "YulAssignment",
"src": "15644:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15656:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15667:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15652:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15652:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "15644:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_8045752bf1f8e0707249246eec289248dc4bbf20a7a2babbd0d33f8827b6ff30__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "15476:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "15490:4:24",
"type": ""
}
],
"src": "15325:351:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15855:224:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15872:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15883:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15865:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15865:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "15865:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15906:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15917:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15902:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15902:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15922:2:24",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15895:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15895:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "15895:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "15945:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15956:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "15941:3:24"
},
"nodeType": "YulFunctionCall",
"src": "15941:18:24"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265202776272076616c",
"kind": "string",
"nodeType": "YulLiteral",
"src": "15961:34:24",
"type": "",
"value": "ECDSA: invalid signature 'v' val"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15934:6:24"
},
"nodeType": "YulFunctionCall",
"src": "15934:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "15934:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16016:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16027:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16012:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16012:18:24"
},
{
"hexValue": "7565",
"kind": "string",
"nodeType": "YulLiteral",
"src": "16032:4:24",
"type": "",
"value": "ue"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16005:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16005:32:24"
},
"nodeType": "YulExpressionStatement",
"src": "16005:32:24"
},
{
"nodeType": "YulAssignment",
"src": "16046:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16058:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16069:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16054:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16054:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "16046:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "15832:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "15846:4:24",
"type": ""
}
],
"src": "15681:398:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16258:180:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16275:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16286:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16268:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16268:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "16268:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16309:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16320:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16305:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16305:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16325:2:24",
"type": "",
"value": "30"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16298:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16298:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "16298:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16348:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16359:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16344:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16344:18:24"
},
{
"hexValue": "45524332305065726d69743a20696e76616c6964207369676e6174757265",
"kind": "string",
"nodeType": "YulLiteral",
"src": "16364:32:24",
"type": "",
"value": "ERC20Permit: invalid signature"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16337:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16337:60:24"
},
"nodeType": "YulExpressionStatement",
"src": "16337:60:24"
},
{
"nodeType": "YulAssignment",
"src": "16406:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16418:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16429:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16414:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16414:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "16406:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "16235:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "16249:4:24",
"type": ""
}
],
"src": "16084:354:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16617:238:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16634:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16645:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16627:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16627:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "16627:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16668:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16679:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16664:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16664:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16684:2:24",
"type": "",
"value": "48"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16657:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16657:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "16657:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16707:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16718:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16703:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16703:18:24"
},
{
"hexValue": "4552433230566f7465733a20746f74616c20737570706c79207269736b73206f",
"kind": "string",
"nodeType": "YulLiteral",
"src": "16723:34:24",
"type": "",
"value": "ERC20Votes: total supply risks o"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16696:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16696:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "16696:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16778:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16789:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16774:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16774:18:24"
},
{
"hexValue": "766572666c6f77696e6720766f746573",
"kind": "string",
"nodeType": "YulLiteral",
"src": "16794:18:24",
"type": "",
"value": "verflowing votes"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16767:6:24"
},
"nodeType": "YulFunctionCall",
"src": "16767:46:24"
},
"nodeType": "YulExpressionStatement",
"src": "16767:46:24"
},
{
"nodeType": "YulAssignment",
"src": "16822:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "16834:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16845:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16830:3:24"
},
"nodeType": "YulFunctionCall",
"src": "16830:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "16822:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_97859f657b3d95198b68f29ae96ee966779795bec3ef1e76700d2d39fefd7699__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "16594:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "16608:4:24",
"type": ""
}
],
"src": "16443:412:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "17034:182:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17051:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17062:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17044:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17044:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "17044:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17085:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17096:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17081:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17081:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17101:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17074:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17074:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "17074:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17124:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17135:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17120:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17120:18:24"
},
{
"hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "17140:34:24",
"type": "",
"value": "Ownable: caller is not the owner"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17113:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17113:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "17113:62:24"
},
{
"nodeType": "YulAssignment",
"src": "17184:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17196:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17207:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17192:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17192:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "17184:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "17011:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "17025:4:24",
"type": ""
}
],
"src": "16860:356:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "17395:229:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17412:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17423:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17405:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17405:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "17405:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17446:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17457:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17442:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17442:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17462:2:24",
"type": "",
"value": "39"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17435:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17435:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "17435:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17485:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17496:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17481:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17481:18:24"
},
{
"hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2032",
"kind": "string",
"nodeType": "YulLiteral",
"src": "17501:34:24",
"type": "",
"value": "SafeCast: value doesn't fit in 2"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17474:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17474:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "17474:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17556:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17567:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17552:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17552:18:24"
},
{
"hexValue": "32342062697473",
"kind": "string",
"nodeType": "YulLiteral",
"src": "17572:9:24",
"type": "",
"value": "24 bits"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17545:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17545:37:24"
},
"nodeType": "YulExpressionStatement",
"src": "17545:37:24"
},
{
"nodeType": "YulAssignment",
"src": "17591:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17603:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17614:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17599:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17599:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "17591:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "17372:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "17386:4:24",
"type": ""
}
],
"src": "17221:403:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "17803:233:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17820:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17831:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17813:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17813:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "17813:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17854:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17865:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17850:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17850:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17870:2:24",
"type": "",
"value": "43"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17843:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17843:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "17843:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17893:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17904:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17889:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17889:18:24"
},
{
"hexValue": "4552433230466c6173684d696e743a20616d6f756e742065786365656473206d",
"kind": "string",
"nodeType": "YulLiteral",
"src": "17909:34:24",
"type": "",
"value": "ERC20FlashMint: amount exceeds m"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17882:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17882:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "17882:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "17964:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17975:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17960:3:24"
},
"nodeType": "YulFunctionCall",
"src": "17960:18:24"
},
{
"hexValue": "6178466c6173684c6f616e",
"kind": "string",
"nodeType": "YulLiteral",
"src": "17980:13:24",
"type": "",
"value": "axFlashLoan"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17953:6:24"
},
"nodeType": "YulFunctionCall",
"src": "17953:41:24"
},
"nodeType": "YulExpressionStatement",
"src": "17953:41:24"
},
{
"nodeType": "YulAssignment",
"src": "18003:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18015:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18026:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18011:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18011:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "18003:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_a95260fc1ea50b9fae0bd0c2ec12cfdf9bb2fb03a7e318182193c7e9cfe937d9__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "17780:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "17794:4:24",
"type": ""
}
],
"src": "17629:407:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "18215:223:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18232:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18243:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18225:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18225:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "18225:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18266:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18277:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18262:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18262:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18282:2:24",
"type": "",
"value": "33"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18255:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18255:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "18255:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18305:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18316:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18301:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18301:18:24"
},
{
"hexValue": "45524332303a206275726e2066726f6d20746865207a65726f20616464726573",
"kind": "string",
"nodeType": "YulLiteral",
"src": "18321:34:24",
"type": "",
"value": "ERC20: burn from the zero addres"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18294:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18294:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "18294:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18376:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18387:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18372:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18372:18:24"
},
{
"hexValue": "73",
"kind": "string",
"nodeType": "YulLiteral",
"src": "18392:3:24",
"type": "",
"value": "s"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18365:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18365:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "18365:31:24"
},
{
"nodeType": "YulAssignment",
"src": "18405:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18417:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18428:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18413:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18413:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "18405:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "18192:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "18206:4:24",
"type": ""
}
],
"src": "18041:397:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "18617:227:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18634:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18645:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18627:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18627:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "18627:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18668:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18679:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18664:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18664:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18684:2:24",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18657:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18657:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "18657:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18707:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18718:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18703:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18703:18:24"
},
{
"hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f206164",
"kind": "string",
"nodeType": "YulLiteral",
"src": "18723:34:24",
"type": "",
"value": "ERC20: transfer from the zero ad"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18696:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18696:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "18696:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18778:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18789:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18774:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18774:18:24"
},
{
"hexValue": "6472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "18794:7:24",
"type": "",
"value": "dress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18767:6:24"
},
"nodeType": "YulFunctionCall",
"src": "18767:35:24"
},
"nodeType": "YulExpressionStatement",
"src": "18767:35:24"
},
{
"nodeType": "YulAssignment",
"src": "18811:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18823:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18834:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18819:3:24"
},
"nodeType": "YulFunctionCall",
"src": "18819:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "18811:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "18594:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "18608:4:24",
"type": ""
}
],
"src": "18443:401:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19023:228:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19040:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19051:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19033:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19033:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "19033:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19074:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19085:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19070:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19070:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19090:2:24",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19063:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19063:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "19063:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19113:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19124:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19109:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19109:18:24"
},
{
"hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2033",
"kind": "string",
"nodeType": "YulLiteral",
"src": "19129:34:24",
"type": "",
"value": "SafeCast: value doesn't fit in 3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19102:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19102:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "19102:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19184:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19195:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19180:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19180:18:24"
},
{
"hexValue": "322062697473",
"kind": "string",
"nodeType": "YulLiteral",
"src": "19200:8:24",
"type": "",
"value": "2 bits"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19173:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19173:36:24"
},
"nodeType": "YulExpressionStatement",
"src": "19173:36:24"
},
{
"nodeType": "YulAssignment",
"src": "19218:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19230:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19241:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19226:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19226:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "19218:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "19000:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "19014:4:24",
"type": ""
}
],
"src": "18849:402:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19430:226:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19447:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19458:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19440:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19440:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "19440:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19481:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19492:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19477:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19477:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19497:2:24",
"type": "",
"value": "36"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19470:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19470:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "19470:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19520:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19531:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19516:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19516:18:24"
},
{
"hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f20616464",
"kind": "string",
"nodeType": "YulLiteral",
"src": "19536:34:24",
"type": "",
"value": "ERC20: approve from the zero add"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19509:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19509:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "19509:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19591:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19602:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19587:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19587:18:24"
},
{
"hexValue": "72657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "19607:6:24",
"type": "",
"value": "ress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19580:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19580:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "19580:34:24"
},
{
"nodeType": "YulAssignment",
"src": "19623:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19635:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19646:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19631:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19631:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "19623:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "19407:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "19421:4:24",
"type": ""
}
],
"src": "19256:400:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19835:172:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19852:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19863:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19845:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19845:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "19845:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19886:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19897:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19882:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19882:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19902:2:24",
"type": "",
"value": "22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19875:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19875:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "19875:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19925:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19936:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19921:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19921:18:24"
},
{
"hexValue": "4552433230536e617073686f743a2069642069732030",
"kind": "string",
"nodeType": "YulLiteral",
"src": "19941:24:24",
"type": "",
"value": "ERC20Snapshot: id is 0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19914:6:24"
},
"nodeType": "YulFunctionCall",
"src": "19914:52:24"
},
"nodeType": "YulExpressionStatement",
"src": "19914:52:24"
},
{
"nodeType": "YulAssignment",
"src": "19975:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "19987:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19998:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "19983:3:24"
},
"nodeType": "YulFunctionCall",
"src": "19983:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "19975:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_d85a3cdc203c5cdc6dda93c12cd017145671a0ed9058a16c7aa00b8398a4a8e6__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "19812:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "19826:4:24",
"type": ""
}
],
"src": "19661:346:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "20186:227:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20203:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20214:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20196:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20196:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "20196:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20237:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20248:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20233:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20233:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20253:2:24",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20226:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20226:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "20226:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20276:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20287:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20272:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20272:18:24"
},
{
"hexValue": "45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77",
"kind": "string",
"nodeType": "YulLiteral",
"src": "20292:34:24",
"type": "",
"value": "ERC20: decreased allowance below"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20265:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20265:62:24"
},
"nodeType": "YulExpressionStatement",
"src": "20265:62:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20347:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20358:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20343:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20343:18:24"
},
{
"hexValue": "207a65726f",
"kind": "string",
"nodeType": "YulLiteral",
"src": "20363:7:24",
"type": "",
"value": " zero"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20336:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20336:35:24"
},
"nodeType": "YulExpressionStatement",
"src": "20336:35:24"
},
{
"nodeType": "YulAssignment",
"src": "20380:27:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20392:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20403:3:24",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20388:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20388:19:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "20380:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "20163:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "20177:4:24",
"type": ""
}
],
"src": "20012:401:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "20592:181:24",
"statements": [
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20609:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20620:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20602:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20602:21:24"
},
"nodeType": "YulExpressionStatement",
"src": "20602:21:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20643:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20654:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20639:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20639:18:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20659:2:24",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20632:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20632:30:24"
},
"nodeType": "YulExpressionStatement",
"src": "20632:30:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20682:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20693:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20678:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20678:18:24"
},
{
"hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "20698:33:24",
"type": "",
"value": "ERC20: mint to the zero address"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20671:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20671:61:24"
},
"nodeType": "YulExpressionStatement",
"src": "20671:61:24"
},
{
"nodeType": "YulAssignment",
"src": "20741:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20753:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20764:2:24",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20749:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20749:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "20741:4:24"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "20569:9:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "20583:4:24",
"type": ""
}
],
"src": "20418:355:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "20935:189:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "20945:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20957:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20968:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20953:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20953:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "20945:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20987:9:24"
},
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "21008:6:24"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "21002:5:24"
},
"nodeType": "YulFunctionCall",
"src": "21002:13:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21017:10:24",
"type": "",
"value": "0xffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "20998:3:24"
},
"nodeType": "YulFunctionCall",
"src": "20998:30:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20980:6:24"
},
"nodeType": "YulFunctionCall",
"src": "20980:49:24"
},
"nodeType": "YulExpressionStatement",
"src": "20980:49:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21049:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21060:4:24",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21045:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21045:20:24"
},
{
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "21081:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21089:4:24",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21077:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21077:17:24"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "21071:5:24"
},
"nodeType": "YulFunctionCall",
"src": "21071:24:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21105:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21110:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "21101:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21101:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21114:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "21097:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21097:19:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "21067:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21067:50:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21038:6:24"
},
"nodeType": "YulFunctionCall",
"src": "21038:80:24"
},
"nodeType": "YulExpressionStatement",
"src": "21038:80:24"
}
]
},
"name": "abi_encode_tuple_t_struct$_Checkpoint_$1818_memory_ptr__to_t_struct$_Checkpoint_$1818_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "20904:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "20915:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "20926:4:24",
"type": ""
}
],
"src": "20778:346:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21230:76:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "21240:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21252:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21263:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21248:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21248:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "21240:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21282:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "21293:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21275:6:24"
},
"nodeType": "YulFunctionCall",
"src": "21275:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "21275:25:24"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "21199:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "21210:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "21221:4:24",
"type": ""
}
],
"src": "21129:177:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21440:119:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "21450:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21462:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21473:2:24",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21458:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21458:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "21450:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21492:9:24"
},
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "21503:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21485:6:24"
},
"nodeType": "YulFunctionCall",
"src": "21485:25:24"
},
"nodeType": "YulExpressionStatement",
"src": "21485:25:24"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21530:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21541:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21526:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21526:18:24"
},
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "21546:6:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21519:6:24"
},
"nodeType": "YulFunctionCall",
"src": "21519:34:24"
},
"nodeType": "YulExpressionStatement",
"src": "21519:34:24"
}
]
},
"name": "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "21401:9:24",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "21412:6:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "21420:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "21431:4:24",
"type": ""
}
],
"src": "21311:248:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21663:93:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "21673:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21685:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21696:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21681:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21681:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "21673:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21715:9:24"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "21730:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21738:10:24",
"type": "",
"value": "0xffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "21726:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21726:23:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21708:6:24"
},
"nodeType": "YulFunctionCall",
"src": "21708:42:24"
},
"nodeType": "YulExpressionStatement",
"src": "21708:42:24"
}
]
},
"name": "abi_encode_tuple_t_uint32__to_t_uint32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "21632:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "21643:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "21654:4:24",
"type": ""
}
],
"src": "21564:192:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21858:87:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "21868:26:24",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21880:9:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21891:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21876:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21876:18:24"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "21868:4:24"
}
]
},
{
"expression": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21910:9:24"
},
{
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "21925:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21933:4:24",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "21921:3:24"
},
"nodeType": "YulFunctionCall",
"src": "21921:17:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21903:6:24"
},
"nodeType": "YulFunctionCall",
"src": "21903:36:24"
},
"nodeType": "YulExpressionStatement",
"src": "21903:36:24"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "21827:9:24",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "21838:6:24",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "21849:4:24",
"type": ""
}
],
"src": "21761:184:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21998:80:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "22025:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "22027:16:24"
},
"nodeType": "YulFunctionCall",
"src": "22027:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "22027:18:24"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "22014:1:24"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "22021:1:24"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "22017:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22017:6:24"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "22011:2:24"
},
"nodeType": "YulFunctionCall",
"src": "22011:13:24"
},
"nodeType": "YulIf",
"src": "22008:39:24"
},
{
"nodeType": "YulAssignment",
"src": "22056:16:24",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "22067:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "22070:1:24"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "22063:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22063:9:24"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "22056:3:24"
}
]
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "21981:1:24",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "21984:1:24",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "21990:3:24",
"type": ""
}
],
"src": "21950:128:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22129:171:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "22160:111:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22181:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22188:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22193:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "22184:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22184:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22174:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22174:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "22174:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22225:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22228:4:24",
"type": "",
"value": "0x12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22218:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22218:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "22218:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22253:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22256:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "22246:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22246:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "22246:15:24"
}
]
},
"condition": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "22149:1:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "22142:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22142:9:24"
},
"nodeType": "YulIf",
"src": "22139:132:24"
},
{
"nodeType": "YulAssignment",
"src": "22280:14:24",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "22289:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "22292:1:24"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "22285:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22285:9:24"
},
"variableNames": [
{
"name": "r",
"nodeType": "YulIdentifier",
"src": "22280:1:24"
}
]
}
]
},
"name": "checked_div_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "22114:1:24",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "22117:1:24",
"type": ""
}
],
"returnVariables": [
{
"name": "r",
"nodeType": "YulTypedName",
"src": "22123:1:24",
"type": ""
}
],
"src": "22083:217:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22354:76:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "22376:22:24",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "22378:16:24"
},
"nodeType": "YulFunctionCall",
"src": "22378:18:24"
},
"nodeType": "YulExpressionStatement",
"src": "22378:18:24"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "22370:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "22373:1:24"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "22367:2:24"
},
"nodeType": "YulFunctionCall",
"src": "22367:8:24"
},
"nodeType": "YulIf",
"src": "22364:34:24"
},
{
"nodeType": "YulAssignment",
"src": "22407:17:24",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "22419:1:24"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "22422:1:24"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "22415:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22415:9:24"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "22407:4:24"
}
]
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "22336:1:24",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "22339:1:24",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "22345:4:24",
"type": ""
}
],
"src": "22305:125:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22490:325:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "22500:22:24",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22514:1:24",
"type": "",
"value": "1"
},
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "22517:4:24"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "22510:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22510:12:24"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "22500:6:24"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "22531:38:24",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "22561:4:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22567:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "22557:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22557:12:24"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "22535:18:24",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "22608:31:24",
"statements": [
{
"nodeType": "YulAssignment",
"src": "22610:27:24",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "22624:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22632:4:24",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "22620:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22620:17:24"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "22610:6:24"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "22588:18:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "22581:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22581:26:24"
},
"nodeType": "YulIf",
"src": "22578:61:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22698:111:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22719:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22726:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22731:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "22722:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22722:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22712:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22712:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "22712:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22763:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22766:4:24",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22756:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22756:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "22756:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22791:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22794:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "22784:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22784:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "22784:15:24"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "22654:18:24"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "22677:6:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22685:2:24",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "22674:2:24"
},
"nodeType": "YulFunctionCall",
"src": "22674:14:24"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "22651:2:24"
},
"nodeType": "YulFunctionCall",
"src": "22651:38:24"
},
"nodeType": "YulIf",
"src": "22648:161:24"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "22470:4:24",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "22479:6:24",
"type": ""
}
],
"src": "22435:380:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22852:95:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22869:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22876:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22881:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "22872:3:24"
},
"nodeType": "YulFunctionCall",
"src": "22872:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22862:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22862:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "22862:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22909:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22912:4:24",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22902:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22902:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "22902:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22933:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22936:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "22926:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22926:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "22926:15:24"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "22820:127:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22984:95:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23001:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23008:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23013:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "23004:3:24"
},
"nodeType": "YulFunctionCall",
"src": "23004:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22994:6:24"
},
"nodeType": "YulFunctionCall",
"src": "22994:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "22994:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23041:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23044:4:24",
"type": "",
"value": "0x21"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "23034:6:24"
},
"nodeType": "YulFunctionCall",
"src": "23034:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "23034:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23065:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23068:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "23058:6:24"
},
"nodeType": "YulFunctionCall",
"src": "23058:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "23058:15:24"
}
]
},
"name": "panic_error_0x21",
"nodeType": "YulFunctionDefinition",
"src": "22952:127:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "23116:95:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23133:1:24",
"type": "",
"value": "0"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23140:3:24",
"type": "",
"value": "224"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23145:10:24",
"type": "",
"value": "0x4e487b71"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "23136:3:24"
},
"nodeType": "YulFunctionCall",
"src": "23136:20:24"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "23126:6:24"
},
"nodeType": "YulFunctionCall",
"src": "23126:31:24"
},
"nodeType": "YulExpressionStatement",
"src": "23126:31:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23173:1:24",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23176:4:24",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "23166:6:24"
},
"nodeType": "YulFunctionCall",
"src": "23166:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "23166:15:24"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23197:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23200:4:24",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "23190:6:24"
},
"nodeType": "YulFunctionCall",
"src": "23190:15:24"
},
"nodeType": "YulExpressionStatement",
"src": "23190:15:24"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "23084:127:24"
},
{
"body": {
"nodeType": "YulBlock",
"src": "23261:86:24",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "23325:16:24",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23334:1:24",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23337:1:24",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "23327:6:24"
},
"nodeType": "YulFunctionCall",
"src": "23327:12:24"
},
"nodeType": "YulExpressionStatement",
"src": "23327:12:24"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "23284:5:24"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "23295:5:24"
},
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23310:3:24",
"type": "",
"value": "160"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23315:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "23306:3:24"
},
"nodeType": "YulFunctionCall",
"src": "23306:11:24"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "23319:1:24",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "23302:3:24"
},
"nodeType": "YulFunctionCall",
"src": "23302:19:24"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "23291:3:24"
},
"nodeType": "YulFunctionCall",
"src": "23291:31:24"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "23281:2:24"
},
"nodeType": "YulFunctionCall",
"src": "23281:42:24"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "23274:6:24"
},
"nodeType": "YulFunctionCall",
"src": "23274:50:24"
},
"nodeType": "YulIf",
"src": "23271:70:24"
}
]
},
"name": "validator_revert_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "23250:5:24",
"type": ""
}
],
"src": "23216:131:24"
}
]
},
"contents": "{\n { }\n function abi_decode_uint8(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, 0xff))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_address(value_1)\n value1 := value_1\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_address(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6\n {\n if slt(sub(dataEnd, headStart), 224) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_address(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n value3 := calldataload(add(headStart, 96))\n value4 := abi_decode_uint8(add(headStart, 128))\n value5 := calldataload(add(headStart, 160))\n value6 := calldataload(add(headStart, 192))\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n value1 := calldataload(add(headStart, 32))\n }\n function abi_decode_tuple_t_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5\n {\n if slt(sub(dataEnd, headStart), 192) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n value1 := calldataload(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n value3 := abi_decode_uint8(add(headStart, 96))\n value4 := calldataload(add(headStart, 128))\n value5 := calldataload(add(headStart, 160))\n }\n function abi_decode_tuple_t_addresst_uint32(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n if iszero(eq(value_1, and(value_1, 0xffffffff))) { revert(0, 0) }\n value1 := value_1\n }\n function abi_decode_tuple_t_bytes32_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_decode_tuple_t_contract$_IERC3156FlashBorrower_$383t_addresst_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_address(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n let offset := calldataload(add(headStart, 96))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let length := calldataload(_2)\n if gt(length, _1) { revert(0, 0) }\n if gt(add(add(_2, length), 32), dataEnd) { revert(0, 0) }\n value3 := add(_2, 32)\n value4 := length\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_packed_t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541_t_bytes32_t_bytes32__to_t_string_memory_ptr_t_bytes32_t_bytes32__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, shl(240, 6401))\n mstore(add(pos, 2), value0)\n mstore(add(pos, 34), value1)\n end := add(pos, 66)\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_t_address_t_address_t_uint256_t_uint256_t_bytes_calldata_ptr__to_t_address_t_address_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed(headStart, value5, value4, value3, value2, value1, value0) -> tail\n {\n let _1 := sub(shl(160, 1), 1)\n mstore(headStart, and(value0, _1))\n mstore(add(headStart, 32), and(value1, _1))\n mstore(add(headStart, 64), value2)\n mstore(add(headStart, 96), value3)\n mstore(add(headStart, 128), 160)\n mstore(add(headStart, 160), value5)\n calldatacopy(add(headStart, 192), value4, value5)\n mstore(add(add(headStart, value5), 192), 0)\n tail := add(add(headStart, and(add(value5, 31), not(31))), 192)\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__to_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__fromStack_reversed(headStart, value5, value4, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 192)\n mstore(headStart, value0)\n let _1 := sub(shl(160, 1), 1)\n mstore(add(headStart, 32), and(value1, _1))\n mstore(add(headStart, 64), and(value2, _1))\n mstore(add(headStart, 96), value3)\n mstore(add(headStart, 128), value4)\n mstore(add(headStart, 160), value5)\n }\n function abi_encode_tuple_t_bytes32_t_address_t_uint256_t_uint256__to_t_bytes32_t_address_t_uint256_t_uint256__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 128)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n mstore(add(headStart, 64), value2)\n mstore(add(headStart, 96), value3)\n }\n function abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 160)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n mstore(add(headStart, 64), value2)\n mstore(add(headStart, 96), value3)\n mstore(add(headStart, 128), and(value4, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 128)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, 0xff))\n mstore(add(headStart, 64), value2)\n mstore(add(headStart, 96), value3)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := 0\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), 0)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 24)\n mstore(add(headStart, 64), \"ECDSA: invalid signature\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_031e0835d070e7bbd2c8dcce466eadb8c6b9fd22432b0357ab8c37bd9a385940__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"ERC20Snapshot: nonexistent id\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 35)\n mstore(add(headStart, 64), \"ERC20: transfer to the zero addr\")\n mstore(add(headStart, 96), \"ess\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_06e5bbaaa109e1d058e1026fbdce9ec5e51f304d46ad524d922a17511e41fd0d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 31)\n mstore(add(headStart, 64), \"ERC20Votes: block not yet mined\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 20)\n mstore(add(headStart, 64), \"Pausable: not paused\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_136d0f69bc85a5c125b5cc368e2880ebdb3c89d4d9828f6476431c386ea60257__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"ERC20Votes: signature expired\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"ERC20: burn amount exceeds balan\")\n mstore(add(headStart, 96), \"ce\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 31)\n mstore(add(headStart, 64), \"ECDSA: invalid signature length\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_1a23b43d95073d55a7380117ca03cace60cd22fee15d5cb140d51e46236e6872__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 25)\n mstore(add(headStart, 64), \"ERC20Votes: invalid nonce\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"Ownable: new owner is the zero a\")\n mstore(add(headStart, 96), \"ddress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"ERC20: approve to the zero addre\")\n mstore(add(headStart, 96), \"ss\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"ERC20: insufficient allowance\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"ERC20Permit: expired deadline\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"ERC20: transfer amount exceeds b\")\n mstore(add(headStart, 96), \"alance\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"ECDSA: invalid signature 's' val\")\n mstore(add(headStart, 96), \"ue\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_60b46eee919fdc048fce2496f82a5160d2d7a573b9d7b3321e803c603f0879cb__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 36)\n mstore(add(headStart, 64), \"ERC20FlashMint: invalid return v\")\n mstore(add(headStart, 96), \"alue\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 16)\n mstore(add(headStart, 64), \"Pausable: paused\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_8045752bf1f8e0707249246eec289248dc4bbf20a7a2babbd0d33f8827b6ff30__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 27)\n mstore(add(headStart, 64), \"ERC20FlashMint: wrong token\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"ECDSA: invalid signature 'v' val\")\n mstore(add(headStart, 96), \"ue\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 30)\n mstore(add(headStart, 64), \"ERC20Permit: invalid signature\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_97859f657b3d95198b68f29ae96ee966779795bec3ef1e76700d2d39fefd7699__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 48)\n mstore(add(headStart, 64), \"ERC20Votes: total supply risks o\")\n mstore(add(headStart, 96), \"verflowing votes\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Ownable: caller is not the owner\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 39)\n mstore(add(headStart, 64), \"SafeCast: value doesn't fit in 2\")\n mstore(add(headStart, 96), \"24 bits\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_a95260fc1ea50b9fae0bd0c2ec12cfdf9bb2fb03a7e318182193c7e9cfe937d9__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"ERC20FlashMint: amount exceeds m\")\n mstore(add(headStart, 96), \"axFlashLoan\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 33)\n mstore(add(headStart, 64), \"ERC20: burn from the zero addres\")\n mstore(add(headStart, 96), \"s\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 37)\n mstore(add(headStart, 64), \"ERC20: transfer from the zero ad\")\n mstore(add(headStart, 96), \"dress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"SafeCast: value doesn't fit in 3\")\n mstore(add(headStart, 96), \"2 bits\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 36)\n mstore(add(headStart, 64), \"ERC20: approve from the zero add\")\n mstore(add(headStart, 96), \"ress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_d85a3cdc203c5cdc6dda93c12cd017145671a0ed9058a16c7aa00b8398a4a8e6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 22)\n mstore(add(headStart, 64), \"ERC20Snapshot: id is 0\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 37)\n mstore(add(headStart, 64), \"ERC20: decreased allowance below\")\n mstore(add(headStart, 96), \" zero\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 31)\n mstore(add(headStart, 64), \"ERC20: mint to the zero address\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_struct$_Checkpoint_$1818_memory_ptr__to_t_struct$_Checkpoint_$1818_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, and(mload(value0), 0xffffffff))\n mstore(add(headStart, 0x20), and(mload(add(value0, 0x20)), sub(shl(224, 1), 1)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_uint32__to_t_uint32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffff))\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_div_t_uint256(x, y) -> r\n {\n if iszero(y)\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n r := div(x, y)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function panic_error_0x21()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function validator_revert_address(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n}",
"id": 24,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {
"3491": [
{
"length": 32,
"start": 5774
}
],
"3493": [
{
"length": 32,
"start": 5732
}
],
"3495": [
{
"length": 32,
"start": 5690
}
],
"3497": [
{
"length": 32,
"start": 5857
}
],
"3499": [
{
"length": 32,
"start": 5894
}
],
"3501": [
{
"length": 32,
"start": 5815
}
]
},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106102275760003560e01c806370a0823111610130578063981b24d0116100b8578063d505accf1161007c578063d505accf146104bb578063d9d98ce4146104ce578063dd62ed3e146104e1578063f1127ed8146104f4578063f2fde38b1461053157600080fd5b8063981b24d01461045c5780639ab24eb01461046f578063a457c2d714610482578063a9059cbb14610495578063c3cda520146104a857600080fd5b80638456cb59116100ff5780638456cb59146104205780638da5cb5b146104285780638e539e8c1461043957806395d89b411461044c5780639711715a1461045457600080fd5b806370a08231146103c9578063715018a6146103f257806379cc6790146103fa5780637ecebe001461040d57600080fd5b806340c10f19116101b35780635c19a95c116101825780635c19a95c146103565780635c975abb146103695780635cffe9de1461037b578063613255ab1461038e5780636fcfff45146103a157600080fd5b806340c10f19146102d957806342966c68146102ec5780634ee2cd7e146102ff578063587cde1e1461031257600080fd5b8063313ce567116101fa578063313ce567146102925780633644e515146102a157806339509351146102a95780633a46b1a8146102bc5780633f4ba83a146102cf57600080fd5b806306fdde031461022c578063095ea7b31461024a57806318160ddd1461026d57806323b872dd1461027f575b600080fd5b610234610544565b604051610241919061281e565b60405180910390f35b61025d610258366004612634565b6105d6565b6040519015158152602001610241565b6002545b604051908152602001610241565b61025d61028d366004612585565b6105f0565b60405160128152602001610241565b610271610614565b61025d6102b7366004612634565b610623565b6102716102ca366004612634565b610645565b6102d76106c4565b005b6102d76102e7366004612634565b6106d6565b6102d76102fa3660046127a9565b6106ec565b61027161030d366004612634565b6106f9565b61033e61032036600461252f565b6001600160a01b039081166000908152600c60205260409020541690565b6040516001600160a01b039091168152602001610241565b6102d761036436600461252f565b610752565b600954600160a01b900460ff1661025d565b61025d61038936600461270a565b61075c565b61027161039c36600461252f565b61094f565b6103b46103af36600461252f565b610977565b60405163ffffffff9091168152602001610241565b6102716103d736600461252f565b6001600160a01b031660009081526020819052604090205490565b6102d7610999565b6102d7610408366004612634565b6109ab565b61027161041b36600461252f565b6109c0565b6102d76109de565b6009546001600160a01b031661033e565b6102716104473660046127a9565b6109ee565b610234610a4a565b6102d7610a59565b61027161046a3660046127a9565b610a69565b61027161047d36600461252f565b610a94565b61025d610490366004612634565b610b1b565b61025d6104a3366004612634565b610b96565b6102d76104b6366004612660565b610ba4565b6102d76104c93660046125c6565b610cda565b6102716104dc366004612634565b610e3e565b6102716104ef36600461254c565b610ea1565b6105076105023660046126ba565b610ecc565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610241565b6102d761053f36600461252f565b610f50565b606060038054610553906128c4565b80601f016020809104026020016040519081016040528092919081815260200182805461057f906128c4565b80156105cc5780601f106105a1576101008083540402835291602001916105cc565b820191906000526020600020905b8154815290600101906020018083116105af57829003601f168201915b5050505050905090565b6000336105e48185856112b6565b60019150505b92915050565b6000336105fe8582856113da565b61060985858561144e565b506001949350505050565b600061061e61162d565b905090565b6000336105e48185856106368383610ea1565b6106409190612873565b6112b6565b600043821061069b5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600d602052604090206106bd9083611754565b9392505050565b6106cc611811565b6106d461186b565b565b6106de611811565b6106e882826118c0565b5050565b6106f633826118ca565b50565b6001600160a01b0382166000908152600560205260408120819081906107209085906118d4565b9150915081610747576001600160a01b038516600090815260208190526040902054610749565b805b95945050505050565b6106f633826119cb565b60006107678561094f565b8411156107ca5760405162461bcd60e51b815260206004820152602b60248201527f4552433230466c6173684d696e743a20616d6f756e742065786365656473206d60448201526a30bc233630b9b42637b0b760a91b6064820152608401610692565b60006107d68686610e3e565b90506107e287866118c0565b6040516323e30c8b60e01b81527f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9906001600160a01b038916906323e30c8b9061083a9033908b908b9088908c908c906004016127c2565b602060405180830381600087803b15801561085457600080fd5b505af1158015610868573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088c91906126f1565b146108e55760405162461bcd60e51b8152602060048201526024808201527f4552433230466c6173684d696e743a20696e76616c69642072657475726e2076604482015263616c756560e01b6064820152608401610692565b60006108fb88306108f6858a612873565b6113da565b81158061090f57506001600160a01b038116155b1561092c57610927886109228489612873565b6118ca565b610941565b61093688876118ca565b61094188828461144e565b506001979650505050505050565b60006001600160a01b03821630146109685760006105ea565b6002546105ea906000196128ad565b6001600160a01b0381166000908152600d60205260408120546105ea906111c2565b6109a1611811565b6106d46000611a44565b6109b68233836113da565b6106e882826118ca565b6001600160a01b0381166000908152600a60205260408120546105ea565b6109e6611811565b6106d4611a96565b6000438210610a3f5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610692565b6105ea600e83611754565b606060048054610553906128c4565b610a61611811565b6106f6611ad9565b6000806000610a798460066118d4565b9150915081610a8a57600254610a8c565b805b949350505050565b6001600160a01b0381166000908152600d60205260408120548015610b08576001600160a01b0383166000908152600d60205260409020610ad66001836128ad565b81548110610ae657610ae6612925565b60009182526020909120015464010000000090046001600160e01b0316610b0b565b60005b6001600160e01b03169392505050565b60003381610b298286610ea1565b905083811015610b895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610692565b61060982868684036112b6565b6000336105e481858561144e565b83421115610bf45760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610692565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610c6e90610c669060a00160405160208183030381529060405280519060200120611b33565b858585611b81565b9050610c7981611ba9565b8614610cc75760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610692565b610cd181886119cb565b50505050505050565b83421115610d2a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610692565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610d598c611ba9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610db482611b33565b90506000610dc482878787611b81565b9050896001600160a01b0316816001600160a01b031614610e275760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610692565b610e328a8a8a6112b6565b50505050505050505050565b60006001600160a01b0383163014610e985760405162461bcd60e51b815260206004820152601b60248201527f4552433230466c6173684d696e743a2077726f6e6720746f6b656e00000000006044820152606401610692565b50600092915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60408051808201909152600080825260208201526001600160a01b0383166000908152600d60205260409020805463ffffffff8416908110610f1057610f10612925565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610f58611811565b6001600160a01b038116610fbd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610692565b6106f681611a44565b610fd08282611056565b6002546001600160e01b0310156110425760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610692565b611050600e61114983611bd1565b50505050565b6001600160a01b0382166110ac5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610692565b6110b860008383611d4a565b80600260008282546110ca9190612873565b90915550506001600160a01b038216600090815260208190526040812080548392906110f7908490612873565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36106e860008383611d5d565b60006106bd8284612873565b60006001600160e01b038211156111be5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610692565b5090565b600063ffffffff8211156111be5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610692565b6001600160a01b03831661124b5761123e82611d68565b611246611d9a565b505050565b6001600160a01b0382166112625761123e83611d68565b61126b83611d68565b61124682611d68565b6001600160a01b038381166000908152600c602052604080822054858416835291205461124692918216911683611da8565b60006106bd82846128ad565b5490565b6001600160a01b0383166113185760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610692565b6001600160a01b0382166113795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610692565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006113e68484610ea1565b9050600019811461105057818110156114415760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610692565b61105084848484036112b6565b6001600160a01b0383166114b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610692565b6001600160a01b0382166115145760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610692565b61151f838383611d4a565b6001600160a01b038316600090815260208190526040902054818110156115975760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610692565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906115ce908490612873565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161161a91815260200190565b60405180910390a3611050848484611d5d565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561168657507f000000000000000000000000000000000000000000000000000000000000000046145b156116b057507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b818110156117b857600061176f8284611ee5565b90508486828154811061178457611784612925565b60009182526020909120015463ffffffff1611156117a4578092506117b2565b6117af816001612873565b91505b5061175b565b81156117fc57846117ca6001846128ad565b815481106117da576117da612925565b60009182526020909120015464010000000090046001600160e01b03166117ff565b60005b6001600160e01b031695945050505050565b6009546001600160a01b031633146106d45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610692565b611873611f00565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6106e88282610fc6565b6106e88282611f50565b600080600084116119205760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610692565b611928611f68565b8411156119775760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610692565b60006119838486611f73565b845490915081141561199c5760008092509250506119c4565b60018460010182815481106119b3576119b3612925565b906000526020600020015492509250505b9250929050565b6001600160a01b038281166000818152600c60208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611050828483611da8565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a9e612036565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118a33390565b6000611ae9600880546001019055565b6000611af3611f68565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051611b2691815260200190565b60405180910390a1919050565b60006105ea611b4061162d565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611b9287878787612083565b91509150611b9f81612170565b5095945050505050565b6001600160a01b0381166000908152600a602052604090208054600181018255905b50919050565b825460009081908015611c1c5785611bea6001836128ad565b81548110611bfa57611bfa612925565b60009182526020909120015464010000000090046001600160e01b0316611c1f565b60005b6001600160e01b03169250611c3883858763ffffffff16565b9150600081118015611c7657504386611c526001846128ad565b81548110611c6257611c62612925565b60009182526020909120015463ffffffff16145b15611cd657611c8482611155565b86611c906001846128ad565b81548110611ca057611ca0612925565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611d41565b856040518060400160405280611ceb436111c2565b63ffffffff168152602001611cff85611155565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b611d52612036565b611246838383611227565b611246838383611274565b6001600160a01b038116600090815260056020908152604080832091839052909120546106f6919061232b565b61232b565b6106d46006611d9560025490565b816001600160a01b0316836001600160a01b031614158015611dca5750600081115b15611246576001600160a01b03831615611e58576001600160a01b0383166000908152600d602052604081208190611e05906112a685611bd1565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611e4d929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615611246576001600160a01b0382166000908152600d602052604081208190611e8e9061114985611bd1565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611ed6929190918252602082015260400190565b60405180910390a25050505050565b6000611ef4600284841861288b565b6106bd90848416612873565b600954600160a01b900460ff166106d45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610692565b611f5a8282612375565b611050600e6112a683611bd1565b600061061e60085490565b8154600090611f84575060006105ea565b82546000905b80821015611fe0576000611f9e8383611ee5565b905084868281548110611fb357611fb3612925565b90600052602060002001541115611fcc57809150611fda565b611fd7816001612873565b92505b50611f8a565b60008211801561201557508385611ff86001856128ad565b8154811061200857612008612925565b9060005260206000200154145b1561202e576120256001836128ad565b925050506105ea565b5090506105ea565b600954600160a01b900460ff16156106d45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610692565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120ba5750600090506003612167565b8460ff16601b141580156120d257508460ff16601c14155b156120e35750600090506004612167565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612137573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661216057600060019250925050612167565b9150600090505b94509492505050565b60008160048111156121845761218461290f565b141561218d5750565b60018160048111156121a1576121a161290f565b14156121ef5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610692565b60028160048111156122035761220361290f565b14156122515760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610692565b60038160048111156122655761226561290f565b14156122be5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610692565b60048160048111156122d2576122d261290f565b14156106f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610692565b6000612335611f68565b905080612341846124d6565b1015611246578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6001600160a01b0382166123d55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610692565b6123e182600083611d4a565b6001600160a01b038216600090815260208190526040902054818110156124555760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610692565b6001600160a01b03831660009081526020819052604081208383039055600280548492906124849084906128ad565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361124683600084611d5d565b80546000906124e757506000919050565b815482906124f7906001906128ad565b8154811061250757612507612925565b90600052602060002001549050919050565b919050565b803560ff8116811461251957600080fd5b60006020828403121561254157600080fd5b81356106bd8161293b565b6000806040838503121561255f57600080fd5b823561256a8161293b565b9150602083013561257a8161293b565b809150509250929050565b60008060006060848603121561259a57600080fd5b83356125a58161293b565b925060208401356125b58161293b565b929592945050506040919091013590565b600080600080600080600060e0888a0312156125e157600080fd5b87356125ec8161293b565b965060208801356125fc8161293b565b955060408801359450606088013593506126186080890161251e565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561264757600080fd5b82356126528161293b565b946020939093013593505050565b60008060008060008060c0878903121561267957600080fd5b86356126848161293b565b955060208701359450604087013593506126a06060880161251e565b92506080870135915060a087013590509295509295509295565b600080604083850312156126cd57600080fd5b82356126d88161293b565b9150602083013563ffffffff8116811461257a57600080fd5b60006020828403121561270357600080fd5b5051919050565b60008060008060006080868803121561272257600080fd5b853561272d8161293b565b9450602086013561273d8161293b565b935060408601359250606086013567ffffffffffffffff8082111561276157600080fd5b818801915088601f83011261277557600080fd5b81358181111561278457600080fd5b89602082850101111561279657600080fd5b9699959850939650602001949392505050565b6000602082840312156127bb57600080fd5b5035919050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a06080820181905281018290526000828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b600060208083528351808285015260005b8181101561284b5785810183015185820160400152820161282f565b8181111561285d576000604083870101525b50601f01601f1916929092016040019392505050565b60008219821115612886576128866128f9565b500190565b6000826128a857634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156128bf576128bf6128f9565b500390565b600181811c908216806128d857607f821691505b60208210811415611bcb57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106f657600080fdfea2646970667358221220a840cb2243cac6be4f1fb110ecd5006bcc4d85c3b6cb118b00c0cfaaa529037864736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x227 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x70A08231 GT PUSH2 0x130 JUMPI DUP1 PUSH4 0x981B24D0 GT PUSH2 0xB8 JUMPI DUP1 PUSH4 0xD505ACCF GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0x4BB JUMPI DUP1 PUSH4 0xD9D98CE4 EQ PUSH2 0x4CE JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x4E1 JUMPI DUP1 PUSH4 0xF1127ED8 EQ PUSH2 0x4F4 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x531 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x981B24D0 EQ PUSH2 0x45C JUMPI DUP1 PUSH4 0x9AB24EB0 EQ PUSH2 0x46F JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x482 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x495 JUMPI DUP1 PUSH4 0xC3CDA520 EQ PUSH2 0x4A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8456CB59 GT PUSH2 0xFF JUMPI DUP1 PUSH4 0x8456CB59 EQ PUSH2 0x420 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x428 JUMPI DUP1 PUSH4 0x8E539E8C EQ PUSH2 0x439 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x44C JUMPI DUP1 PUSH4 0x9711715A EQ PUSH2 0x454 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x70A08231 EQ PUSH2 0x3C9 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x3F2 JUMPI DUP1 PUSH4 0x79CC6790 EQ PUSH2 0x3FA JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x40D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x40C10F19 GT PUSH2 0x1B3 JUMPI DUP1 PUSH4 0x5C19A95C GT PUSH2 0x182 JUMPI DUP1 PUSH4 0x5C19A95C EQ PUSH2 0x356 JUMPI DUP1 PUSH4 0x5C975ABB EQ PUSH2 0x369 JUMPI DUP1 PUSH4 0x5CFFE9DE EQ PUSH2 0x37B JUMPI DUP1 PUSH4 0x613255AB EQ PUSH2 0x38E JUMPI DUP1 PUSH4 0x6FCFFF45 EQ PUSH2 0x3A1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x40C10F19 EQ PUSH2 0x2D9 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x2EC JUMPI DUP1 PUSH4 0x4EE2CD7E EQ PUSH2 0x2FF JUMPI DUP1 PUSH4 0x587CDE1E EQ PUSH2 0x312 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x313CE567 GT PUSH2 0x1FA JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x292 JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x2A1 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x2A9 JUMPI DUP1 PUSH4 0x3A46B1A8 EQ PUSH2 0x2BC JUMPI DUP1 PUSH4 0x3F4BA83A EQ PUSH2 0x2CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x22C JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x26D JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x27F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x234 PUSH2 0x544 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x241 SWAP2 SWAP1 PUSH2 0x281E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x25D PUSH2 0x258 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x5D6 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH1 0x2 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x25D PUSH2 0x28D CALLDATASIZE PUSH1 0x4 PUSH2 0x2585 JUMP JUMPDEST PUSH2 0x5F0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x614 JUMP JUMPDEST PUSH2 0x25D PUSH2 0x2B7 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x623 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x2CA CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x645 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x6C4 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2D7 PUSH2 0x2E7 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x6D6 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x2FA CALLDATASIZE PUSH1 0x4 PUSH2 0x27A9 JUMP JUMPDEST PUSH2 0x6EC JUMP JUMPDEST PUSH2 0x271 PUSH2 0x30D CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x6F9 JUMP JUMPDEST PUSH2 0x33E PUSH2 0x320 CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xC PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x364 CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x752 JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0xA0 SHL SWAP1 DIV PUSH1 0xFF AND PUSH2 0x25D JUMP JUMPDEST PUSH2 0x25D PUSH2 0x389 CALLDATASIZE PUSH1 0x4 PUSH2 0x270A JUMP JUMPDEST PUSH2 0x75C JUMP JUMPDEST PUSH2 0x271 PUSH2 0x39C CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x94F JUMP JUMPDEST PUSH2 0x3B4 PUSH2 0x3AF CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x977 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x3D7 CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x999 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x408 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0x9AB JUMP JUMPDEST PUSH2 0x271 PUSH2 0x41B CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0x9C0 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x9DE JUMP JUMPDEST PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x33E JUMP JUMPDEST PUSH2 0x271 PUSH2 0x447 CALLDATASIZE PUSH1 0x4 PUSH2 0x27A9 JUMP JUMPDEST PUSH2 0x9EE JUMP JUMPDEST PUSH2 0x234 PUSH2 0xA4A JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0xA59 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x46A CALLDATASIZE PUSH1 0x4 PUSH2 0x27A9 JUMP JUMPDEST PUSH2 0xA69 JUMP JUMPDEST PUSH2 0x271 PUSH2 0x47D CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0xA94 JUMP JUMPDEST PUSH2 0x25D PUSH2 0x490 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0xB1B JUMP JUMPDEST PUSH2 0x25D PUSH2 0x4A3 CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0xB96 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x4B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x2660 JUMP JUMPDEST PUSH2 0xBA4 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x4C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x25C6 JUMP JUMPDEST PUSH2 0xCDA JUMP JUMPDEST PUSH2 0x271 PUSH2 0x4DC CALLDATASIZE PUSH1 0x4 PUSH2 0x2634 JUMP JUMPDEST PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x271 PUSH2 0x4EF CALLDATASIZE PUSH1 0x4 PUSH2 0x254C JUMP JUMPDEST PUSH2 0xEA1 JUMP JUMPDEST PUSH2 0x507 PUSH2 0x502 CALLDATASIZE PUSH1 0x4 PUSH2 0x26BA JUMP JUMPDEST PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP3 MLOAD PUSH4 0xFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP3 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH2 0x241 JUMP JUMPDEST PUSH2 0x2D7 PUSH2 0x53F CALLDATASIZE PUSH1 0x4 PUSH2 0x252F JUMP JUMPDEST PUSH2 0xF50 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x553 SWAP1 PUSH2 0x28C4 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 0x57F SWAP1 PUSH2 0x28C4 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5CC JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x5A1 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5CC 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 0x5AF JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x5E4 DUP2 DUP6 DUP6 PUSH2 0x12B6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x5FE DUP6 DUP3 DUP6 PUSH2 0x13DA JUMP JUMPDEST PUSH2 0x609 DUP6 DUP6 DUP6 PUSH2 0x144E JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x61E PUSH2 0x162D JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x5E4 DUP2 DUP6 DUP6 PUSH2 0x636 DUP4 DUP4 PUSH2 0xEA1 JUMP JUMPDEST PUSH2 0x640 SWAP2 SWAP1 PUSH2 0x2873 JUMP JUMPDEST PUSH2 0x12B6 JUMP JUMPDEST PUSH1 0x0 NUMBER DUP3 LT PUSH2 0x69B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A20626C6F636B206E6F7420796574206D696E656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x6BD SWAP1 DUP4 PUSH2 0x1754 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x6CC PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6D4 PUSH2 0x186B JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x6DE PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6E8 DUP3 DUP3 PUSH2 0x18C0 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x6F6 CALLER DUP3 PUSH2 0x18CA JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP2 SWAP1 DUP2 SWAP1 PUSH2 0x720 SWAP1 DUP6 SWAP1 PUSH2 0x18D4 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP2 PUSH2 0x747 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x749 JUMP JUMPDEST DUP1 JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x6F6 CALLER DUP3 PUSH2 0x19CB JUMP JUMPDEST PUSH1 0x0 PUSH2 0x767 DUP6 PUSH2 0x94F JUMP JUMPDEST DUP5 GT ISZERO PUSH2 0x7CA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230466C6173684D696E743A20616D6F756E742065786365656473206D PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x30BC233630B9B42637B0B7 PUSH1 0xA9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7D6 DUP7 DUP7 PUSH2 0xE3E JUMP JUMPDEST SWAP1 POP PUSH2 0x7E2 DUP8 DUP7 PUSH2 0x18C0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x23E30C8B PUSH1 0xE0 SHL DUP2 MSTORE PUSH32 0x439148F0BBC682CA079E46D6E2C2F0C1E3B820F1A291B069D8882ABF8CF18DD9 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 AND SWAP1 PUSH4 0x23E30C8B SWAP1 PUSH2 0x83A SWAP1 CALLER SWAP1 DUP12 SWAP1 DUP12 SWAP1 DUP9 SWAP1 DUP13 SWAP1 DUP13 SWAP1 PUSH1 0x4 ADD PUSH2 0x27C2 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x854 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x868 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x88C SWAP2 SWAP1 PUSH2 0x26F1 JUMP JUMPDEST EQ PUSH2 0x8E5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4552433230466C6173684D696E743A20696E76616C69642072657475726E2076 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x616C7565 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x692 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8FB DUP9 ADDRESS PUSH2 0x8F6 DUP6 DUP11 PUSH2 0x2873 JUMP JUMPDEST PUSH2 0x13DA JUMP JUMPDEST DUP2 ISZERO DUP1 PUSH2 0x90F JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO JUMPDEST ISZERO PUSH2 0x92C JUMPI PUSH2 0x927 DUP9 PUSH2 0x922 DUP5 DUP10 PUSH2 0x2873 JUMP JUMPDEST PUSH2 0x18CA JUMP JUMPDEST PUSH2 0x941 JUMP JUMPDEST PUSH2 0x936 DUP9 DUP8 PUSH2 0x18CA JUMP JUMPDEST PUSH2 0x941 DUP9 DUP3 DUP5 PUSH2 0x144E JUMP JUMPDEST POP PUSH1 0x1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ADDRESS EQ PUSH2 0x968 JUMPI PUSH1 0x0 PUSH2 0x5EA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x5EA SWAP1 PUSH1 0x0 NOT PUSH2 0x28AD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH2 0x5EA SWAP1 PUSH2 0x11C2 JUMP JUMPDEST PUSH2 0x9A1 PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6D4 PUSH1 0x0 PUSH2 0x1A44 JUMP JUMPDEST PUSH2 0x9B6 DUP3 CALLER DUP4 PUSH2 0x13DA JUMP JUMPDEST PUSH2 0x6E8 DUP3 DUP3 PUSH2 0x18CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH2 0x5EA JUMP JUMPDEST PUSH2 0x9E6 PUSH2 0x1811 JUMP JUMPDEST PUSH2 0x6D4 PUSH2 0x1A96 JUMP JUMPDEST PUSH1 0x0 NUMBER DUP3 LT PUSH2 0xA3F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433230566F7465733A20626C6F636B206E6F7420796574206D696E656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x692 JUMP JUMPDEST PUSH2 0x5EA PUSH1 0xE DUP4 PUSH2 0x1754 JUMP JUMPDEST PUSH1 0
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment