Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mgrigajtis/c257948f5c42a26e1e3304ec76f266a6 to your computer and use it in GitHub Desktop.
Save mgrigajtis/c257948f5c42a26e1e3304ec76f266a6 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=builtin&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(account),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";
/**
* @dev Extension of {AccessControl} that allows enumerating the members of each role.
*/
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
using EnumerableSet for EnumerableSet.AddressSet;
mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
return _roleMembers[role].at(index);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
return _roleMembers[role].length();
}
/**
* @dev Overload {_grantRole} to track enumerable memberships
*/
function _grantRole(bytes32 role, address account) internal virtual override {
super._grantRole(role, account);
_roleMembers[role].add(account);
}
/**
* @dev Overload {_revokeRole} to track enumerable memberships
*/
function _revokeRole(bytes32 role, address account) internal virtual override {
super._revokeRole(role, account);
_roleMembers[role].remove(account);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
/**
* @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
*/
interface IAccessControlEnumerable is IAccessControl {
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) external view returns (address);
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) external view returns (uint256);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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.8.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.openzeppelin.com/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;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_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;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_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;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_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.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 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 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 (last updated v4.5.0) (token/ERC20/presets/ERC20PresetMinterPauser.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../extensions/ERC20Burnable.sol";
import "../extensions/ERC20Pausable.sol";
import "../../../access/AccessControlEnumerable.sol";
import "../../../utils/Context.sol";
/**
* @dev {ERC20} token, including:
*
* - ability for holders to burn (destroy) their tokens
* - a minter role that allows for token minting (creation)
* - a pauser role that allows to stop all token transfers
*
* This contract uses {AccessControl} to lock permissioned functions using the
* different roles - head to its documentation for details.
*
* The account that deploys the contract will be granted the minter and pauser
* roles, as well as the default admin role, which will let it grant both minter
* and pauser roles to other accounts.
*
* _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._
*/
contract ERC20PresetMinterPauser is Context, AccessControlEnumerable, ERC20Burnable, ERC20Pausable {
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
/**
* @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
* account that deploys the contract.
*
* See {ERC20-constructor}.
*/
constructor(string memory name, string memory symbol) ERC20(name, symbol) {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
_setupRole(MINTER_ROLE, _msgSender());
_setupRole(PAUSER_ROLE, _msgSender());
}
/**
* @dev Creates `amount` new tokens for `to`.
*
* See {ERC20-_mint}.
*
* Requirements:
*
* - the caller must have the `MINTER_ROLE`.
*/
function mint(address to, uint256 amount) public virtual {
require(hasRole(MINTER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have minter role to mint");
_mint(to, amount);
}
/**
* @dev Pauses all token transfers.
*
* See {ERC20Pausable} and {Pausable-_pause}.
*
* Requirements:
*
* - the caller must have the `PAUSER_ROLE`.
*/
function pause() public virtual {
require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to pause");
_pause();
}
/**
* @dev Unpauses all token transfers.
*
* See {ERC20Pausable} and {Pausable-_unpause}.
*
* Requirements:
*
* - the caller must have the `PAUSER_ROLE`.
*/
function unpause() public virtual {
require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to unpause");
_unpause();
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override(ERC20, ERC20Pausable) {
super._beforeTokenTransfer(from, to, amount);
}
}
// 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/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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. If 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)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 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) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10**64) {
value /= 10**64;
result += 64;
}
if (value >= 10**32) {
value /= 10**32;
result += 32;
}
if (value >= 10**16) {
value /= 10**16;
result += 16;
}
if (value >= 10**8) {
value /= 10**8;
result += 8;
}
if (value >= 10**4) {
value /= 10**4;
result += 4;
}
if (value >= 10**2) {
value /= 10**2;
result += 2;
}
if (value >= 10**1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _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) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @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] = _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 (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*
* [WARNING]
* ====
* Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
* unusable.
* See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
*
* In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
* array of EnumerableSet.
* ====
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping(bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) {
// Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
if (lastIndex != toDeleteIndex) {
bytes32 lastValue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastValue;
// Update the index for the moved value
set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
return set._values[index];
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function _values(Set storage set) private view returns (bytes32[] memory) {
return set._values;
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
bytes32[] memory store = _values(set._inner);
bytes32[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(AddressSet storage set) internal view returns (address[] memory) {
bytes32[] memory store = _values(set._inner);
address[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(UintSet storage set) internal view returns (uint256[] memory) {
bytes32[] memory store = _values(set._inner);
uint256[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
}
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract.
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required).
Scripts have full access to the web3.js and ethers.js libraries.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0;
// import required interfaces
import './UniswapV2ERC20.sol';
//import './UniswapV2Router02.sol';
import './UniswapV2Pair.sol';
import './UniswapV2Factory.sol';
import './UniswapV2Library.sol';
contract FlashLoanArbitrage {
//uniswap factory address
address public factory;
// trade deadline used for expiration
uint constant deadline = now + 100;
//create pointer to the sushiswapRouter
IUniswapV2Router02 public sushiSwapRouter;
constructor(address _factory, address _sushiSwapRouter) public {
// create uniswap factory
factory = _factory;
// create sushiswapRouter
sushiSwapRouter = IUniswapV2Router02(_sushiSwapRouter);
}
// trader needs to monitor for arbitrage opportunities with a bot or script
// this is the function that trader will call when an arbitrage opportunity exists
// tokens are the addresses that you want to trade
// this first function will create the flash loan on uniswap
// one of the amounts will be 0 and the other amount will be the amount you want to borrow
function executeTrade(address token0, address token1, uint amount0, uint amount1) external {
// get liquidity pair address for tokens on uniswap
address pairAddress = IUniswapV2Factory(factory).getPair(token0, token1);
// make sure the pair exists in uniswap
require(pairAddress != address(0), 'Could not find pool on uniswap');
// create flashloan
// create pointer to the liquidity pair address
// to create a flashloan call the swap function on the pair contract
// one amount will be 0 and the non 0 amount is for the token you want to borrow
// address is where you want to receive token that you are borrowing
// bytes can not be empty. Need to inculde some text to initiate the flash loan
// if bytes is empty it will initiate a traditional swap
IUniswapV2Pair(pairAddress).swap(amount0, amount1, address(this), bytes('flashloan'));
}
// After the flashloan is created the below function will be called back by Uniswap
// Uniswap is expecting the function to be named uniswapV2Call
// the parameters below will be sent
// sender is the smart contract address
// amount will be the amount borrowed from the flashloan and other amount will be 0
// bytes is the calldata passed in above
function uniswapV2Call(address _sender, uint _amount0, uint _amount1, bytes calldata _data) external {
// the path is the array of addresses to capture pricing information
address[] memory path = new address[](2);
// get the amount of tokens that were borrowed in the flash loan amount 0 or amount 1
// call it amountTokenBorrowed and will use later in the function
uint amountTokenBorrowed = _amount0 == 0 ? _amount1 : _amount0;
// get the addresses of the two tokens from the uniswap liquidity pool
address token0 = IUniswapV2Pair(msg.sender).token0();
address token1 = IUniswapV2Pair(msg.sender).token1();
// make sure the call to this function originated from
// one of the pair contracts in uniswap to prevent unauthorized behavior
require(msg.sender == UniswapV2Library.pairFor(factory, token0, token1), 'Invalid Request');
// make sure one of the amounts = 0
require(_amount0 == 0 || _amount1 == 0);
// create and populate path array for sushiswap.
// this defines what token we are buying or selling
// if amount0 == 0 then we are going to sell token 1 and buy token 0 on sushiswap
// if amount0 is not 0 then we are going to sell token 0 and buy token 1 on sushiswap
path[0] = _amount0 == 0 ? token1 : token0;
path[1] = _amount0 == 0 ? token0 : token1;
// create a pointer to the token we are going to sell on sushiswap
IERC20 token = IERC20(_amount0 == 0 ? token1 : token0);
// approve the sushiSwapRouter to spend our tokens so the trade can occur
token.approve(address(sushiSwapRouter), amountTokenBorrowed);
// calculate the amount of tokens we need to reimburse uniswap for the flashloan
uint amountRequired = UniswapV2Library.getAmountsIn(factory, amountTokenBorrowed, path)[0];
// finally sell the token we borrowed from uniswap on sushiswap
// amountTokenBorrowed is the amount to sell
// amountRequired is the minimum amount of token to receive in exchange required to payback the flash loan
// path what we are selling or buying
// msg.sender address to receive the tokens
// deadline is the order time limit
// if the amount received does not cover the flash loan the entire transaction is reverted
uint amountReceived = sushiSwapRouter.swapExactTokensForTokens( amountTokenBorrowed, amountRequired, path, msg.sender, deadline)[1];
// pointer to output token from sushiswap
IERC20 outputToken = IERC20(_amount0 == 0 ? token0 : token1);
// amount to payback flashloan
// amountRequired is the amount we need to payback
// uniswap can accept any token as payment
outputToken.transfer(msg.sender, amountRequired);
// send profit (remaining tokens) back to the address that initiated the transaction
outputToken.transfer(tx.origin, amountReceived - amountRequired);
}
}
{
"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
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f0a0e8faf26b5e799c96ef93fc24624376b9a6d24ccc4dad0d4eea39795ee7da64736f6c63430008110033",
"opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CREATE LOG0 0xE8 STATICCALL CALLCODE PUSH12 0x5E799C96EF93FC24624376B9 0xA6 0xD2 0x4C 0xCC 0x4D 0xAD 0xD 0x4E 0xEA CODECOPY PUSH26 0x5EE7DA64736F6C63430008110033000000000000000000000000 ",
"sourceMap": "2671:9199:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f0a0e8faf26b5e799c96ef93fc24624376b9a6d24ccc4dad0d4eea39795ee7da64736f6c63430008110033",
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CREATE LOG0 0xE8 STATICCALL CALLCODE PUSH12 0x5E799C96EF93FC24624376B9 0xA6 0xD2 0x4C 0xCC 0x4D 0xAD 0xD 0x4E 0xEA CODECOPY PUSH26 0x5EE7DA64736F6C63430008110033000000000000000000000000 ",
"sourceMap": "2671:9199:0:-:0;;;;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "17200",
"executionCost": "97",
"totalCost": "17297"
},
"internal": {
"_revert(bytes memory,string memory)": "infinite",
"functionCall(address,bytes memory)": "infinite",
"functionCall(address,bytes memory,string memory)": "infinite",
"functionCallWithValue(address,bytes memory,uint256)": "infinite",
"functionCallWithValue(address,bytes memory,uint256,string memory)": "infinite",
"functionDelegateCall(address,bytes memory)": "infinite",
"functionDelegateCall(address,bytes memory,string memory)": "infinite",
"functionStaticCall(address,bytes memory)": "infinite",
"functionStaticCall(address,bytes memory,string memory)": "infinite",
"isContract(address)": "infinite",
"sendValue(address payable,uint256)": "infinite",
"verifyCallResult(bool,bytes memory,string memory)": "infinite",
"verifyCallResultFromTarget(address,bool,bytes memory,string memory)": "infinite"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"compiler": {
"version": "0.8.17+commit.8df45f5f"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/Aurum.sol": "Address"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/Aurum.sol": {
"keccak256": "0x780ce30b1030cef0374cb7d43d5e6ec4c08b32ad784a42261cac51d9055cf838",
"license": "MIT",
"urls": [
"bzz-raw://3d74ef9c75a1856bc2de3308a5f8f02a50874ce6966b742f61dc1581871d1d55",
"dweb:/ipfs/QmQv8NGw8mUXkkQEQdXfYZ4pFJcj4pRMGxnYnnZEvuF26f"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_44": {
"entryPoint": null,
"id": 44,
"parameterSlots": 2,
"returnSlots": 0
},
"@_748": {
"entryPoint": null,
"id": 748,
"parameterSlots": 3,
"returnSlots": 0
},
"abi_decode_t_address_fromMemory": {
"entryPoint": 488,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_addresst_address_fromMemory": {
"entryPoint": 511,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_dataslot_t_string_storage": {
"entryPoint": 761,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 603,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 1082,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_address": {
"entryPoint": 442,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 410,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 897,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 1043,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 917,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 1237,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 782,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 708,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 1207,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"identity": {
"entryPoint": 907,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 1175,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 661,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 614,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 957,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 405,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"shift_left_dynamic": {
"entryPoint": 798,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 1162,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 1015,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 811,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 967,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 462,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 1010,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:6738:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "47:35:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "57:19:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "73:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "67:5:5"
},
"nodeType": "YulFunctionCall",
"src": "67:9:5"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "57:6:5"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "40:6:5",
"type": ""
}
],
"src": "7:75:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "177:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "194:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "197:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "187:6:5"
},
"nodeType": "YulFunctionCall",
"src": "187:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "187:12:5"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "88:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "300:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "317:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "320:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:5"
},
"nodeType": "YulFunctionCall",
"src": "310:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "310:12:5"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "211:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "379:81:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "389:65:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "404:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "411:42:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "400:3:5"
},
"nodeType": "YulFunctionCall",
"src": "400:54:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "389:7:5"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "361:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "371:7:5",
"type": ""
}
],
"src": "334:126:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "511:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "521:35:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "550:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "532:17:5"
},
"nodeType": "YulFunctionCall",
"src": "532:24:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "521:7:5"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "493:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "503:7:5",
"type": ""
}
],
"src": "466:96:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "611:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "668:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "677:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "680:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "670:6:5"
},
"nodeType": "YulFunctionCall",
"src": "670:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "670:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "634:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "659:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "641:17:5"
},
"nodeType": "YulFunctionCall",
"src": "641:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "631:2:5"
},
"nodeType": "YulFunctionCall",
"src": "631:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "624:6:5"
},
"nodeType": "YulFunctionCall",
"src": "624:43:5"
},
"nodeType": "YulIf",
"src": "621:63:5"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "604:5:5",
"type": ""
}
],
"src": "568:122:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "759:80:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "769:22:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "784:6:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "778:5:5"
},
"nodeType": "YulFunctionCall",
"src": "778:13:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "769:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "827:5:5"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "800:26:5"
},
"nodeType": "YulFunctionCall",
"src": "800:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "800:33:5"
}
]
},
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "737:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "745:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "753:5:5",
"type": ""
}
],
"src": "696:143:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "956:552:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1002:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1004:77:5"
},
"nodeType": "YulFunctionCall",
"src": "1004:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "1004:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "977:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "986:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "973:3:5"
},
"nodeType": "YulFunctionCall",
"src": "973:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "998:2:5",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "969:3:5"
},
"nodeType": "YulFunctionCall",
"src": "969:32:5"
},
"nodeType": "YulIf",
"src": "966:119:5"
},
{
"nodeType": "YulBlock",
"src": "1095:128:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1110:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1124:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1114:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1139:74:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1185:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1196:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1181:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1181:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1205:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "1149:31:5"
},
"nodeType": "YulFunctionCall",
"src": "1149:64:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1139:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1233:129:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1248:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1262:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1252:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1278:74:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1324:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1335:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1320:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1320:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1344:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "1288:31:5"
},
"nodeType": "YulFunctionCall",
"src": "1288:64:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1278:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1372:129:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1387:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1401:2:5",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1391:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1417:74:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1463:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1474:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1459:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1459:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1483:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "1427:31:5"
},
"nodeType": "YulFunctionCall",
"src": "1427:64:5"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "1417:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_address_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "910:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "921:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "933:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "941:6:5",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "949:6:5",
"type": ""
}
],
"src": "845:663:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1573:40:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1584:22:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1600:5:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1594:5:5"
},
"nodeType": "YulFunctionCall",
"src": "1594:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1584:6:5"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1556:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1566:6:5",
"type": ""
}
],
"src": "1514:99:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1647:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1664:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1667:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1657:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1657:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "1657:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1761:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1764:4:5",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1754:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1754:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "1754:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1785:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1788:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1778:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1778:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "1778:15:5"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "1619:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1833:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1850:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1853:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1843:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1843:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "1843:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1947:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1950:4:5",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1940:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1940:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "1940:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1971:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1974:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1964:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1964:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "1964:15:5"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "1805:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2042:269:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2052:22:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2066:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2072:1:5",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2062:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2062:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2052:6:5"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2083:38:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2113:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2119:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2109:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2109:12:5"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "2087:18:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2160:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2174:27:5",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2188:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2196:4:5",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2184:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2184:17:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2174:6:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2140:18:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2133:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2133:26:5"
},
"nodeType": "YulIf",
"src": "2130:81:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2263:42:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "2277:16:5"
},
"nodeType": "YulFunctionCall",
"src": "2277:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "2277:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "2227:18:5"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2250:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2258:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2247:2:5"
},
"nodeType": "YulFunctionCall",
"src": "2247:14:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2224:2:5"
},
"nodeType": "YulFunctionCall",
"src": "2224:38:5"
},
"nodeType": "YulIf",
"src": "2221:84:5"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2026:4:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2035:6:5",
"type": ""
}
],
"src": "1991:320:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2371:87:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2381:11:5",
"value": {
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "2389:3:5"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2381:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2409:1:5",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "2412:3:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2402:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2402:14:5"
},
"nodeType": "YulExpressionStatement",
"src": "2402:14:5"
},
{
"nodeType": "YulAssignment",
"src": "2425:26:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2443:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2446:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nodeType": "YulIdentifier",
"src": "2433:9:5"
},
"nodeType": "YulFunctionCall",
"src": "2433:18:5"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2425:4:5"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "2358:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2366:4:5",
"type": ""
}
],
"src": "2317:141:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2508:49:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2518:33:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2536:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2543:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2532:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2532:14:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2548:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "2528:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2528:23:5"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "2518:6:5"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2491:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "2501:6:5",
"type": ""
}
],
"src": "2464:93:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2616:54:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2626:37:5",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "2651:4:5"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2657:5:5"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "2647:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2647:16:5"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "2626:8:5"
}
]
}
]
},
"name": "shift_left_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "2591:4:5",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2597:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "2607:8:5",
"type": ""
}
],
"src": "2563:107:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2752:317:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2762:35:5",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nodeType": "YulIdentifier",
"src": "2783:10:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2795:1:5",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "2779:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2779:18:5"
},
"variables": [
{
"name": "shiftBits",
"nodeType": "YulTypedName",
"src": "2766:9:5",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2806:109:5",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "2837:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2848:66:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "2818:18:5"
},
"nodeType": "YulFunctionCall",
"src": "2818:97:5"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "2810:4:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2924:51:5",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "2955:9:5"
},
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "2966:8:5"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "2936:18:5"
},
"nodeType": "YulFunctionCall",
"src": "2936:39:5"
},
"variableNames": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "2924:8:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2984:30:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2997:5:5"
},
{
"arguments": [
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "3008:4:5"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3004:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3004:9:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2993:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2993:21:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2984:5:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3023:40:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3036:5:5"
},
{
"arguments": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "3047:8:5"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "3057:4:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3043:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3043:19:5"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "3033:2:5"
},
"nodeType": "YulFunctionCall",
"src": "3033:30:5"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "3023:6:5"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2713:5:5",
"type": ""
},
{
"name": "shiftBytes",
"nodeType": "YulTypedName",
"src": "2720:10:5",
"type": ""
},
{
"name": "toInsert",
"nodeType": "YulTypedName",
"src": "2732:8:5",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "2745:6:5",
"type": ""
}
],
"src": "2676:393:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3120:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3130:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3141:5:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3130:7:5"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3102:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3112:7:5",
"type": ""
}
],
"src": "3075:77:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3190:28:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3200:12:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3207:5:5"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "3200:3:5"
}
]
}
]
},
"name": "identity",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3176:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "3186:3:5",
"type": ""
}
],
"src": "3158:60:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3284:82:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3294:66:5",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3352:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3334:17:5"
},
"nodeType": "YulFunctionCall",
"src": "3334:24:5"
}
],
"functionName": {
"name": "identity",
"nodeType": "YulIdentifier",
"src": "3325:8:5"
},
"nodeType": "YulFunctionCall",
"src": "3325:34:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3307:17:5"
},
"nodeType": "YulFunctionCall",
"src": "3307:53:5"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "3294:9:5"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3264:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "3274:9:5",
"type": ""
}
],
"src": "3224:142:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3419:28:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3429:12:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3436:5:5"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "3429:3:5"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3405:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "3415:3:5",
"type": ""
}
],
"src": "3372:75:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3529:193:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3539:63:5",
"value": {
"arguments": [
{
"name": "value_0",
"nodeType": "YulIdentifier",
"src": "3594:7:5"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "3563:30:5"
},
"nodeType": "YulFunctionCall",
"src": "3563:39:5"
},
"variables": [
{
"name": "convertedValue_0",
"nodeType": "YulTypedName",
"src": "3543:16:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "3618:4:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "3658:4:5"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "3652:5:5"
},
"nodeType": "YulFunctionCall",
"src": "3652:11:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3665:6:5"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nodeType": "YulIdentifier",
"src": "3697:16:5"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nodeType": "YulIdentifier",
"src": "3673:23:5"
},
"nodeType": "YulFunctionCall",
"src": "3673:41:5"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nodeType": "YulIdentifier",
"src": "3624:27:5"
},
"nodeType": "YulFunctionCall",
"src": "3624:91:5"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "3611:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3611:105:5"
},
"nodeType": "YulExpressionStatement",
"src": "3611:105:5"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "3506:4:5",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3512:6:5",
"type": ""
},
{
"name": "value_0",
"nodeType": "YulTypedName",
"src": "3520:7:5",
"type": ""
}
],
"src": "3453:269:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3777:24:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3787:8:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3794:1:5",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "3787:3:5"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "3773:3:5",
"type": ""
}
],
"src": "3728:73:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3860:136:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3870:46:5",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulIdentifier",
"src": "3884:30:5"
},
"nodeType": "YulFunctionCall",
"src": "3884:32:5"
},
"variables": [
{
"name": "zero_0",
"nodeType": "YulTypedName",
"src": "3874:6:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "3969:4:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3975:6:5"
},
{
"name": "zero_0",
"nodeType": "YulIdentifier",
"src": "3983:6:5"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "3925:43:5"
},
"nodeType": "YulFunctionCall",
"src": "3925:65:5"
},
"nodeType": "YulExpressionStatement",
"src": "3925:65:5"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "3846:4:5",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3852:6:5",
"type": ""
}
],
"src": "3807:189:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4052:136:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4119:63:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "4163:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4170:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulIdentifier",
"src": "4133:29:5"
},
"nodeType": "YulFunctionCall",
"src": "4133:39:5"
},
"nodeType": "YulExpressionStatement",
"src": "4133:39:5"
}
]
},
"condition": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "4072:5:5"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4079:3:5"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4069:2:5"
},
"nodeType": "YulFunctionCall",
"src": "4069:14:5"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "4084:26:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4086:22:5",
"value": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "4099:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4106:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4095:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4095:13:5"
},
"variableNames": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "4086:5:5"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "4066:2:5",
"statements": []
},
"src": "4062:120:5"
}
]
},
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "start",
"nodeType": "YulTypedName",
"src": "4040:5:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4047:3:5",
"type": ""
}
],
"src": "4002:186:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4273:464:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4299:431:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4313:54:5",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "4361:5:5"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "4329:31:5"
},
"nodeType": "YulFunctionCall",
"src": "4329:38:5"
},
"variables": [
{
"name": "dataArea",
"nodeType": "YulTypedName",
"src": "4317:8:5",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4380:63:5",
"value": {
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "4403:8:5"
},
{
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "4431:10:5"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "4413:17:5"
},
"nodeType": "YulFunctionCall",
"src": "4413:29:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4399:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4399:44:5"
},
"variables": [
{
"name": "deleteStart",
"nodeType": "YulTypedName",
"src": "4384:11:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4600:27:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4602:23:5",
"value": {
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "4617:8:5"
},
"variableNames": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "4602:11:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "4584:10:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4596:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4581:2:5"
},
"nodeType": "YulFunctionCall",
"src": "4581:18:5"
},
"nodeType": "YulIf",
"src": "4578:49:5"
},
{
"expression": {
"arguments": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "4669:11:5"
},
{
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "4686:8:5"
},
{
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "4714:3:5"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "4696:17:5"
},
"nodeType": "YulFunctionCall",
"src": "4696:22:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4682:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4682:37:5"
}
],
"functionName": {
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulIdentifier",
"src": "4640:28:5"
},
"nodeType": "YulFunctionCall",
"src": "4640:80:5"
},
"nodeType": "YulExpressionStatement",
"src": "4640:80:5"
}
]
},
"condition": {
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "4290:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4295:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4287:2:5"
},
"nodeType": "YulFunctionCall",
"src": "4287:11:5"
},
"nodeType": "YulIf",
"src": "4284:446:5"
}
]
},
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "4249:5:5",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "4256:3:5",
"type": ""
},
{
"name": "startIndex",
"nodeType": "YulTypedName",
"src": "4261:10:5",
"type": ""
}
],
"src": "4194:543:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4806:54:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4816:37:5",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "4841:4:5"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4847:5:5"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "4837:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4837:16:5"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "4816:8:5"
}
]
}
]
},
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "4781:4:5",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4787:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "4797:8:5",
"type": ""
}
],
"src": "4743:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4917:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4927:68:5",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4976:1:5",
"type": "",
"value": "8"
},
{
"name": "bytes",
"nodeType": "YulIdentifier",
"src": "4979:5:5"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "4972:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4972:13:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4991:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4987:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4987:6:5"
}
],
"functionName": {
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulIdentifier",
"src": "4943:28:5"
},
"nodeType": "YulFunctionCall",
"src": "4943:51:5"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4939:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4939:56:5"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "4931:4:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5004:25:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5018:4:5"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "5024:4:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5014:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5014:15:5"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "5004:6:5"
}
]
}
]
},
"name": "mask_bytes_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "4894:4:5",
"type": ""
},
{
"name": "bytes",
"nodeType": "YulTypedName",
"src": "4900:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "4910:6:5",
"type": ""
}
],
"src": "4866:169:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5121:214:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5254:37:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5281:4:5"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "5287:3:5"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "5262:18:5"
},
"nodeType": "YulFunctionCall",
"src": "5262:29:5"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5254:4:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "5300:29:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5311:4:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5321:1:5",
"type": "",
"value": "2"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "5324:3:5"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "5317:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5317:11:5"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "5308:2:5"
},
"nodeType": "YulFunctionCall",
"src": "5308:21:5"
},
"variableNames": [
{
"name": "used",
"nodeType": "YulIdentifier",
"src": "5300:4:5"
}
]
}
]
},
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5102:4:5",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "5108:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "used",
"nodeType": "YulTypedName",
"src": "5116:4:5",
"type": ""
}
],
"src": "5040:295:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5432:1303:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5443:51:5",
"value": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5490:3:5"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "5457:32:5"
},
"nodeType": "YulFunctionCall",
"src": "5457:37:5"
},
"variables": [
{
"name": "newLen",
"nodeType": "YulTypedName",
"src": "5447:6:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5579:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "5581:16:5"
},
"nodeType": "YulFunctionCall",
"src": "5581:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "5581:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "5551:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5559:18:5",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5548:2:5"
},
"nodeType": "YulFunctionCall",
"src": "5548:30:5"
},
"nodeType": "YulIf",
"src": "5545:56:5"
},
{
"nodeType": "YulVariableDeclaration",
"src": "5611:52:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "5657:4:5"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "5651:5:5"
},
"nodeType": "YulFunctionCall",
"src": "5651:11:5"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nodeType": "YulIdentifier",
"src": "5625:25:5"
},
"nodeType": "YulFunctionCall",
"src": "5625:38:5"
},
"variables": [
{
"name": "oldLen",
"nodeType": "YulTypedName",
"src": "5615:6:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "5756:4:5"
},
{
"name": "oldLen",
"nodeType": "YulIdentifier",
"src": "5762:6:5"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "5770:6:5"
}
],
"functionName": {
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulIdentifier",
"src": "5710:45:5"
},
"nodeType": "YulFunctionCall",
"src": "5710:67:5"
},
"nodeType": "YulExpressionStatement",
"src": "5710:67:5"
},
{
"nodeType": "YulVariableDeclaration",
"src": "5787:18:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5804:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "srcOffset",
"nodeType": "YulTypedName",
"src": "5791:9:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5815:17:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5828:4:5",
"type": "",
"value": "0x20"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "5815:9:5"
}
]
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "5879:611:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5893:37:5",
"value": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "5912:6:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5924:4:5",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "5920:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5920:9:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5908:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5908:22:5"
},
"variables": [
{
"name": "loopEnd",
"nodeType": "YulTypedName",
"src": "5897:7:5",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "5944:51:5",
"value": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "5990:4:5"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "5958:31:5"
},
"nodeType": "YulFunctionCall",
"src": "5958:37:5"
},
"variables": [
{
"name": "dstPtr",
"nodeType": "YulTypedName",
"src": "5948:6:5",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "6008:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6017:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "6012:1:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6076:163:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "6101:6:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6119:3:5"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "6124:9:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6115:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6115:19:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "6109:5:5"
},
"nodeType": "YulFunctionCall",
"src": "6109:26:5"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "6094:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6094:42:5"
},
"nodeType": "YulExpressionStatement",
"src": "6094:42:5"
},
{
"nodeType": "YulAssignment",
"src": "6153:24:5",
"value": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "6167:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6175:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6163:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6163:14:5"
},
"variableNames": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "6153:6:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6194:31:5",
"value": {
"arguments": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "6211:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6222:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6207:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6207:18:5"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "6194:9:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6042:1:5"
},
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "6045:7:5"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6039:2:5"
},
"nodeType": "YulFunctionCall",
"src": "6039:14:5"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "6054:21:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6056:17:5",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6065:1:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6068:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6061:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6061:12:5"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "6056:1:5"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "6035:3:5",
"statements": []
},
"src": "6031:208:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6275:156:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "6293:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6320:3:5"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "6325:9:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6316:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6316:19:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "6310:5:5"
},
"nodeType": "YulFunctionCall",
"src": "6310:26:5"
},
"variables": [
{
"name": "lastValue",
"nodeType": "YulTypedName",
"src": "6297:9:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "6360:6:5"
},
{
"arguments": [
{
"name": "lastValue",
"nodeType": "YulIdentifier",
"src": "6387:9:5"
},
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "6402:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6410:4:5",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6398:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6398:17:5"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "6368:18:5"
},
"nodeType": "YulFunctionCall",
"src": "6368:48:5"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "6353:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6353:64:5"
},
"nodeType": "YulExpressionStatement",
"src": "6353:64:5"
}
]
},
"condition": {
"arguments": [
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "6258:7:5"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "6267:6:5"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6255:2:5"
},
"nodeType": "YulFunctionCall",
"src": "6255:19:5"
},
"nodeType": "YulIf",
"src": "6252:179:5"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "6451:4:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "6465:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6473:1:5",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "6461:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6461:14:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6477:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6457:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6457:22:5"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "6444:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6444:36:5"
},
"nodeType": "YulExpressionStatement",
"src": "6444:36:5"
}
]
},
"nodeType": "YulCase",
"src": "5872:618:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5877:1:5",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "6507:222:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "6521:14:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6534:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6525:5:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6558:67:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6576:35:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "6595:3:5"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "6600:9:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6591:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6591:19:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "6585:5:5"
},
"nodeType": "YulFunctionCall",
"src": "6585:26:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6576:5:5"
}
]
}
]
},
"condition": {
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "6551:6:5"
},
"nodeType": "YulIf",
"src": "6548:77:5"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "6645:4:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6704:5:5"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "6711:6:5"
}
],
"functionName": {
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulIdentifier",
"src": "6651:52:5"
},
"nodeType": "YulFunctionCall",
"src": "6651:67:5"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "6638:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6638:81:5"
},
"nodeType": "YulExpressionStatement",
"src": "6638:81:5"
}
]
},
"nodeType": "YulCase",
"src": "6499:230:5",
"value": "default"
}
],
"expression": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "5852:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5860:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5849:2:5"
},
"nodeType": "YulFunctionCall",
"src": "5849:14:5"
},
"nodeType": "YulSwitch",
"src": "5842:887:5"
}
]
},
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "5421:4:5",
"type": ""
},
{
"name": "src",
"nodeType": "YulTypedName",
"src": "5427:3:5",
"type": ""
}
],
"src": "5340:1395:5"
}
]
},
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_addresst_addresst_address_fromMemory(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n",
"id": 5,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040523480156200001157600080fd5b5060405162001e2138038062001e218339818101604052810190620000379190620001ff565b6040518060400160405280600581526020017f417572756d0000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f41555200000000000000000000000000000000000000000000000000000000008152508160039081620000b49190620004d5565b508060049081620000c69190620004d5565b50505082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620005bc565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001c7826200019a565b9050919050565b620001d981620001ba565b8114620001e557600080fd5b50565b600081519050620001f981620001ce565b92915050565b6000806000606084860312156200021b576200021a62000195565b5b60006200022b86828701620001e8565b93505060206200023e86828701620001e8565b92505060406200025186828701620001e8565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002dd57607f821691505b602082108103620002f357620002f262000295565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200035d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200031e565b6200036986836200031e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003b6620003b0620003aa8462000381565b6200038b565b62000381565b9050919050565b6000819050919050565b620003d28362000395565b620003ea620003e182620003bd565b8484546200032b565b825550505050565b600090565b62000401620003f2565b6200040e818484620003c7565b505050565b5b8181101562000436576200042a600082620003f7565b60018101905062000414565b5050565b601f82111562000485576200044f81620002f9565b6200045a846200030e565b810160208510156200046a578190505b6200048262000479856200030e565b83018262000413565b50505b505050565b600082821c905092915050565b6000620004aa600019846008026200048a565b1980831691505092915050565b6000620004c5838362000497565b9150826002028217905092915050565b620004e0826200025b565b67ffffffffffffffff811115620004fc57620004fb62000266565b5b620005088254620002c4565b620005158282856200043a565b600060209050601f8311600181146200054d576000841562000538578287015190505b620005448582620004b7565b865550620005b4565b601f1984166200055d86620002f9565b60005b82811015620005875784890151825560018201915060208501945060208101905062000560565b86831015620005a75784890151620005a3601f89168262000497565b8355505b6001600288020188555050505b505050505050565b61185580620005cc6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d714610263578063a9059cbb14610293578063d4698016146102c3578063dd62ed3e146102e1576100ea565b806370a08231146101f757806375f0a8741461022757806395d89b4114610245576100ea565b8063185870f9116100c8578063185870f91461015b57806323b872dd14610179578063313ce567146101a957806339509351146101c7576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461013d575b600080fd5b6100f7610311565b6040516101049190610ef7565b60405180910390f35b61012760048036038101906101229190610fb2565b6103a3565b604051610134919061100d565b60405180910390f35b6101456103c6565b6040516101529190611037565b60405180910390f35b6101636103d0565b6040516101709190611061565b60405180910390f35b610193600480360381019061018e919061107c565b6103f6565b6040516101a0919061100d565b60405180910390f35b6101b1610425565b6040516101be91906110eb565b60405180910390f35b6101e160048036038101906101dc9190610fb2565b61042e565b6040516101ee919061100d565b60405180910390f35b610211600480360381019061020c9190611106565b610465565b60405161021e9190611037565b60405180910390f35b61022f6104ad565b60405161023c9190611061565b60405180910390f35b61024d6104d3565b60405161025a9190610ef7565b60405180910390f35b61027d60048036038101906102789190610fb2565b610565565b60405161028a919061100d565b60405180910390f35b6102ad60048036038101906102a89190610fb2565b6105dc565b6040516102ba919061100d565b60405180910390f35b6102cb610721565b6040516102d89190611061565b60405180910390f35b6102fb60048036038101906102f69190611133565b610747565b6040516103089190611037565b60405180910390f35b606060038054610320906111a2565b80601f016020809104026020016040519081016040528092919081815260200182805461034c906111a2565b80156103995780601f1061036e57610100808354040283529160200191610399565b820191906000526020600020905b81548152906001019060200180831161037c57829003601f168201915b5050505050905090565b6000806103ae6107ce565b90506103bb8185856107d6565b600191505092915050565b6000600254905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806104016107ce565b905061040e85828561099f565b610419858585610a2b565b60019150509392505050565b60006012905090565b6000806104396107ce565b905061045a81858561044b8589610747565b6104559190611202565b6107d6565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600480546104e2906111a2565b80601f016020809104026020016040519081016040528092919081815260200182805461050e906111a2565b801561055b5780601f106105305761010080835404028352916020019161055b565b820191906000526020600020905b81548152906001019060200180831161053e57829003601f168201915b5050505050905090565b6000806105706107ce565b9050600061057e8286610747565b9050838110156105c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ba906112a8565b60405180910390fd5b6105d082868684036107d6565b60019250505092915050565b600080600a836105ec91906112f7565b9050600081846105fc9190611328565b905061063e6106096107ce565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600285610639919061135c565b610a2b565b61067e6106496107ce565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600285610679919061135c565b610a2b565b6106be6106896107ce565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005856106b9919061135c565b610a2b565b60006106ca6000610465565b6106d26103c6565b6106dc9190611328565b9050600081111561070257600081846106f591906112f7565b905061070081610ca1565b505b61071461070d6107ce565b8784610a2b565b6001935050505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083c90611410565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ab906114a2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516109929190611037565b60405180910390a3505050565b60006109ab8484610747565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610a255781811015610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e9061150e565b60405180910390fd5b610a2484848484036107d6565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a91906115a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0090611632565b60405180910390fd5b610b14838383610e5d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b91906116c4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c889190611037565b60405180910390a3610c9b848484610e62565b50505050565b6000610cab6103c6565b67ffffffffffffffff811115610cc457610cc36116e4565b5b604051908082528060200260200182016040528015610cf25781602001602082028036833780820191505090505b5090506000805b610d016103c6565b811015610df35760003082604051602001610d1d92919061177c565b6040516020818303038152906040528051906020012060001c9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610d7d57506000610d7b82610465565b115b15610ddf5780848481518110610d9657610d956117a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508280610ddb906117d7565b9350505b508080610deb906117d7565b915050610cf9565b5060005b81811015610e57576000838281518110610e1457610e136117a8565b5b60200260200101519050600085610e2a83610465565b610e34919061135c565b9050610e4260008383610a2b565b50508080610e4f906117d7565b915050610df7565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610ea1578082015181840152602081019050610e86565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ec982610e67565b610ed38185610e72565b9350610ee3818560208601610e83565b610eec81610ead565b840191505092915050565b60006020820190508181036000830152610f118184610ebe565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f4982610f1e565b9050919050565b610f5981610f3e565b8114610f6457600080fd5b50565b600081359050610f7681610f50565b92915050565b6000819050919050565b610f8f81610f7c565b8114610f9a57600080fd5b50565b600081359050610fac81610f86565b92915050565b60008060408385031215610fc957610fc8610f19565b5b6000610fd785828601610f67565b9250506020610fe885828601610f9d565b9150509250929050565b60008115159050919050565b61100781610ff2565b82525050565b60006020820190506110226000830184610ffe565b92915050565b61103181610f7c565b82525050565b600060208201905061104c6000830184611028565b92915050565b61105b81610f3e565b82525050565b60006020820190506110766000830184611052565b92915050565b60008060006060848603121561109557611094610f19565b5b60006110a386828701610f67565b93505060206110b486828701610f67565b92505060406110c586828701610f9d565b9150509250925092565b600060ff82169050919050565b6110e5816110cf565b82525050565b600060208201905061110060008301846110dc565b92915050565b60006020828403121561111c5761111b610f19565b5b600061112a84828501610f67565b91505092915050565b6000806040838503121561114a57611149610f19565b5b600061115885828601610f67565b925050602061116985828601610f67565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806111ba57607f821691505b6020821081036111cd576111cc611173565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061120d82610f7c565b915061121883610f7c565b92508282019050808211156112305761122f6111d3565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611292602583610e72565b915061129d82611236565b604082019050919050565b600060208201905081810360008301526112c181611285565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061130282610f7c565b915061130d83610f7c565b92508261131d5761131c6112c8565b5b828204905092915050565b600061133382610f7c565b915061133e83610f7c565b9250828203905081811115611356576113556111d3565b5b92915050565b600061136782610f7c565b915061137283610f7c565b925082820261138081610f7c565b91508282048414831517611397576113966111d3565b5b5092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006113fa602483610e72565b91506114058261139e565b604082019050919050565b60006020820190508181036000830152611429816113ed565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061148c602283610e72565b915061149782611430565b604082019050919050565b600060208201905081810360008301526114bb8161147f565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006114f8601d83610e72565b9150611503826114c2565b602082019050919050565b60006020820190508181036000830152611527816114eb565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061158a602583610e72565b91506115958261152e565b604082019050919050565b600060208201905081810360008301526115b98161157d565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061161c602383610e72565b9150611627826115c0565b604082019050919050565b6000602082019050818103600083015261164b8161160f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006116ae602683610e72565b91506116b982611652565b604082019050919050565b600060208201905081810360008301526116dd816116a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160601b9050919050565b600061172b82611713565b9050919050565b600061173d82611720565b9050919050565b61175561175082610f3e565b611732565b82525050565b6000819050919050565b61177661177182610f7c565b61175b565b82525050565b60006117888285611744565b6014820191506117988284611765565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006117e282610f7c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611814576118136111d3565b5b60018201905091905056fea26469706673582212208f0a90ee91df49afb135f7aae56ee1de1240cfc39b7a71881adf49d0e4a0c26664736f6c63430008110033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x1E21 CODESIZE SUB DUP1 PUSH3 0x1E21 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH3 0x37 SWAP2 SWAP1 PUSH3 0x1FF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x417572756D000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4155520000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x3 SWAP1 DUP2 PUSH3 0xB4 SWAP2 SWAP1 PUSH3 0x4D5 JUMP JUMPDEST POP DUP1 PUSH1 0x4 SWAP1 DUP2 PUSH3 0xC6 SWAP2 SWAP1 PUSH3 0x4D5 JUMP JUMPDEST POP POP POP DUP3 PUSH1 0x5 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH1 0x6 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP1 PUSH1 0x7 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP POP POP PUSH3 0x5BC JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x1C7 DUP3 PUSH3 0x19A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x1D9 DUP2 PUSH3 0x1BA JUMP JUMPDEST DUP2 EQ PUSH3 0x1E5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x1F9 DUP2 PUSH3 0x1CE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH3 0x21B JUMPI PUSH3 0x21A PUSH3 0x195 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH3 0x22B DUP7 DUP3 DUP8 ADD PUSH3 0x1E8 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH3 0x23E DUP7 DUP3 DUP8 ADD PUSH3 0x1E8 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH3 0x251 DUP7 DUP3 DUP8 ADD PUSH3 0x1E8 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x2DD JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH3 0x2F3 JUMPI PUSH3 0x2F2 PUSH3 0x295 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH3 0x35D PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH3 0x31E JUMP JUMPDEST PUSH3 0x369 DUP7 DUP4 PUSH3 0x31E JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x3B6 PUSH3 0x3B0 PUSH3 0x3AA DUP5 PUSH3 0x381 JUMP JUMPDEST PUSH3 0x38B JUMP JUMPDEST PUSH3 0x381 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x3D2 DUP4 PUSH3 0x395 JUMP JUMPDEST PUSH3 0x3EA PUSH3 0x3E1 DUP3 PUSH3 0x3BD JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH3 0x32B JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH3 0x401 PUSH3 0x3F2 JUMP JUMPDEST PUSH3 0x40E DUP2 DUP5 DUP5 PUSH3 0x3C7 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x436 JUMPI PUSH3 0x42A PUSH1 0x0 DUP3 PUSH3 0x3F7 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH3 0x414 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH3 0x485 JUMPI PUSH3 0x44F DUP2 PUSH3 0x2F9 JUMP JUMPDEST PUSH3 0x45A DUP5 PUSH3 0x30E JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH3 0x46A JUMPI DUP2 SWAP1 POP JUMPDEST PUSH3 0x482 PUSH3 0x479 DUP6 PUSH3 0x30E JUMP JUMPDEST DUP4 ADD DUP3 PUSH3 0x413 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x4AA PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH3 0x48A JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x4C5 DUP4 DUP4 PUSH3 0x497 JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH3 0x4E0 DUP3 PUSH3 0x25B JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x4FC JUMPI PUSH3 0x4FB PUSH3 0x266 JUMP JUMPDEST JUMPDEST PUSH3 0x508 DUP3 SLOAD PUSH3 0x2C4 JUMP JUMPDEST PUSH3 0x515 DUP3 DUP3 DUP6 PUSH3 0x43A JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH3 0x54D JUMPI PUSH1 0x0 DUP5 ISZERO PUSH3 0x538 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH3 0x544 DUP6 DUP3 PUSH3 0x4B7 JUMP JUMPDEST DUP7 SSTORE POP PUSH3 0x5B4 JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH3 0x55D DUP7 PUSH3 0x2F9 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH3 0x587 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH3 0x560 JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH3 0x5A7 JUMPI DUP5 DUP10 ADD MLOAD PUSH3 0x5A3 PUSH1 0x1F DUP10 AND DUP3 PUSH3 0x497 JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x1855 DUP1 PUSH3 0x5CC PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xEA JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x70A08231 GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xA457C2D7 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x263 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x293 JUMPI DUP1 PUSH4 0xD4698016 EQ PUSH2 0x2C3 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x2E1 JUMPI PUSH2 0xEA JUMP JUMPDEST DUP1 PUSH4 0x70A08231 EQ PUSH2 0x1F7 JUMPI DUP1 PUSH4 0x75F0A874 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x245 JUMPI PUSH2 0xEA JUMP JUMPDEST DUP1 PUSH4 0x185870F9 GT PUSH2 0xC8 JUMPI DUP1 PUSH4 0x185870F9 EQ PUSH2 0x15B JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x179 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x1C7 JUMPI PUSH2 0xEA JUMP JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0xEF JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x10D JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x13D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF7 PUSH2 0x311 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x104 SWAP2 SWAP1 PUSH2 0xEF7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x127 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x122 SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x3A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x134 SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x145 PUSH2 0x3C6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x152 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x163 PUSH2 0x3D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x170 SWAP2 SWAP1 PUSH2 0x1061 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x193 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x18E SWAP2 SWAP1 PUSH2 0x107C JUMP JUMPDEST PUSH2 0x3F6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1B1 PUSH2 0x425 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1BE SWAP2 SWAP1 PUSH2 0x10EB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1E1 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1DC SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x42E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1EE SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x211 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x20C SWAP2 SWAP1 PUSH2 0x1106 JUMP JUMPDEST PUSH2 0x465 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21E SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x22F PUSH2 0x4AD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x23C SWAP2 SWAP1 PUSH2 0x1061 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x24D PUSH2 0x4D3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x25A SWAP2 SWAP1 PUSH2 0xEF7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x27D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x278 SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x565 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x28A SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2AD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2A8 SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x5DC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2BA SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2CB PUSH2 0x721 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2D8 SWAP2 SWAP1 PUSH2 0x1061 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2FB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2F6 SWAP2 SWAP1 PUSH2 0x1133 JUMP JUMPDEST PUSH2 0x747 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x308 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x320 SWAP1 PUSH2 0x11A2 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 0x34C SWAP1 PUSH2 0x11A2 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x399 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x36E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x399 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 0x37C JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x3AE PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH2 0x3BB DUP2 DUP6 DUP6 PUSH2 0x7D6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x7 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x401 PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH2 0x40E DUP6 DUP3 DUP6 PUSH2 0x99F JUMP JUMPDEST PUSH2 0x419 DUP6 DUP6 DUP6 PUSH2 0xA2B JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x439 PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH2 0x45A DUP2 DUP6 DUP6 PUSH2 0x44B DUP6 DUP10 PUSH2 0x747 JUMP JUMPDEST PUSH2 0x455 SWAP2 SWAP1 PUSH2 0x1202 JUMP JUMPDEST PUSH2 0x7D6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x4E2 SWAP1 PUSH2 0x11A2 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 0x50E SWAP1 PUSH2 0x11A2 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x55B JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x530 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x55B 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 0x53E JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x570 PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x57E DUP3 DUP7 PUSH2 0x747 JUMP JUMPDEST SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0x5C3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5BA SWAP1 PUSH2 0x12A8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x5D0 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0x7D6 JUMP JUMPDEST PUSH1 0x1 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0xA DUP4 PUSH2 0x5EC SWAP2 SWAP1 PUSH2 0x12F7 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 DUP5 PUSH2 0x5FC SWAP2 SWAP1 PUSH2 0x1328 JUMP JUMPDEST SWAP1 POP PUSH2 0x63E PUSH2 0x609 PUSH2 0x7CE JUMP JUMPDEST PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x2 DUP6 PUSH2 0x639 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH2 0xA2B JUMP JUMPDEST PUSH2 0x67E PUSH2 0x649 PUSH2 0x7CE JUMP JUMPDEST PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x2 DUP6 PUSH2 0x679 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH2 0xA2B JUMP JUMPDEST PUSH2 0x6BE PUSH2 0x689 PUSH2 0x7CE JUMP JUMPDEST PUSH1 0x7 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x5 DUP6 PUSH2 0x6B9 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH2 0xA2B JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6CA PUSH1 0x0 PUSH2 0x465 JUMP JUMPDEST PUSH2 0x6D2 PUSH2 0x3C6 JUMP JUMPDEST PUSH2 0x6DC SWAP2 SWAP1 PUSH2 0x1328 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 GT ISZERO PUSH2 0x702 JUMPI PUSH1 0x0 DUP2 DUP5 PUSH2 0x6F5 SWAP2 SWAP1 PUSH2 0x12F7 JUMP JUMPDEST SWAP1 POP PUSH2 0x700 DUP2 PUSH2 0xCA1 JUMP JUMPDEST POP JUMPDEST PUSH2 0x714 PUSH2 0x70D PUSH2 0x7CE JUMP JUMPDEST DUP8 DUP5 PUSH2 0xA2B JUMP JUMPDEST PUSH1 0x1 SWAP4 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x845 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x83C SWAP1 PUSH2 0x1410 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x8B4 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8AB SWAP1 PUSH2 0x14A2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP4 PUSH1 0x40 MLOAD PUSH2 0x992 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9AB DUP5 DUP5 PUSH2 0x747 JUMP JUMPDEST SWAP1 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 EQ PUSH2 0xA25 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0xA17 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA0E SWAP1 PUSH2 0x150E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xA24 DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0x7D6 JUMP JUMPDEST JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xA9A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA91 SWAP1 PUSH2 0x15A0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xB09 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB00 SWAP1 PUSH2 0x1632 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xB14 DUP4 DUP4 DUP4 PUSH2 0xE5D JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0xB9A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB91 SWAP1 PUSH2 0x16C4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0xC88 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0xC9B DUP5 DUP5 DUP5 PUSH2 0xE62 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCAB PUSH2 0x3C6 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xCC4 JUMPI PUSH2 0xCC3 PUSH2 0x16E4 JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xCF2 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP1 JUMPDEST PUSH2 0xD01 PUSH2 0x3C6 JUMP JUMPDEST DUP2 LT ISZERO PUSH2 0xDF3 JUMPI PUSH1 0x0 ADDRESS DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD1D SWAP3 SWAP2 SWAP1 PUSH2 0x177C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x0 SHR SWAP1 POP PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO DUP1 ISZERO PUSH2 0xD7D JUMPI POP PUSH1 0x0 PUSH2 0xD7B DUP3 PUSH2 0x465 JUMP JUMPDEST GT JUMPDEST ISZERO PUSH2 0xDDF JUMPI DUP1 DUP5 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0xD96 JUMPI PUSH2 0xD95 PUSH2 0x17A8 JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP DUP3 DUP1 PUSH2 0xDDB SWAP1 PUSH2 0x17D7 JUMP JUMPDEST SWAP4 POP POP JUMPDEST POP DUP1 DUP1 PUSH2 0xDEB SWAP1 PUSH2 0x17D7 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xCF9 JUMP JUMPDEST POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xE57 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xE14 JUMPI PUSH2 0xE13 PUSH2 0x17A8 JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD SWAP1 POP PUSH1 0x0 DUP6 PUSH2 0xE2A DUP4 PUSH2 0x465 JUMP JUMPDEST PUSH2 0xE34 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST SWAP1 POP PUSH2 0xE42 PUSH1 0x0 DUP4 DUP4 PUSH2 0xA2B JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xE4F SWAP1 PUSH2 0x17D7 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xDF7 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xEA1 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE86 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEC9 DUP3 PUSH2 0xE67 JUMP JUMPDEST PUSH2 0xED3 DUP2 DUP6 PUSH2 0xE72 JUMP JUMPDEST SWAP4 POP PUSH2 0xEE3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xE83 JUMP JUMPDEST PUSH2 0xEEC DUP2 PUSH2 0xEAD JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xF11 DUP2 DUP5 PUSH2 0xEBE JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF49 DUP3 PUSH2 0xF1E JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xF59 DUP2 PUSH2 0xF3E JUMP JUMPDEST DUP2 EQ PUSH2 0xF64 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xF76 DUP2 PUSH2 0xF50 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xF8F DUP2 PUSH2 0xF7C JUMP JUMPDEST DUP2 EQ PUSH2 0xF9A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xFAC DUP2 PUSH2 0xF86 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xFC9 JUMPI PUSH2 0xFC8 PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xFD7 DUP6 DUP3 DUP7 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xFE8 DUP6 DUP3 DUP7 ADD PUSH2 0xF9D JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1007 DUP2 PUSH2 0xFF2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1022 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xFFE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1031 DUP2 PUSH2 0xF7C JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x104C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1028 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x105B DUP2 PUSH2 0xF3E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1076 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1052 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1095 JUMPI PUSH2 0x1094 PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x10A3 DUP7 DUP3 DUP8 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x10B4 DUP7 DUP3 DUP8 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x10C5 DUP7 DUP3 DUP8 ADD PUSH2 0xF9D JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x10E5 DUP2 PUSH2 0x10CF JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1100 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x10DC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x111C JUMPI PUSH2 0x111B PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x112A DUP5 DUP3 DUP6 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x114A JUMPI PUSH2 0x1149 PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1158 DUP6 DUP3 DUP7 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1169 DUP6 DUP3 DUP7 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x11BA JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x11CD JUMPI PUSH2 0x11CC PUSH2 0x1173 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x120D DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x1218 DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x1230 JUMPI PUSH2 0x122F PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x207A65726F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1292 PUSH1 0x25 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x129D DUP3 PUSH2 0x1236 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x12C1 DUP2 PUSH2 0x1285 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1302 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x130D DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x131D JUMPI PUSH2 0x131C PUSH2 0x12C8 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1333 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x133E DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 SUB SWAP1 POP DUP2 DUP2 GT ISZERO PUSH2 0x1356 JUMPI PUSH2 0x1355 PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1367 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x1372 DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x1380 DUP2 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x1397 JUMPI PUSH2 0x1396 PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x13FA PUSH1 0x24 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1405 DUP3 PUSH2 0x139E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1429 DUP2 PUSH2 0x13ED JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7373000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x148C PUSH1 0x22 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1497 DUP3 PUSH2 0x1430 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x14BB DUP2 PUSH2 0x147F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14F8 PUSH1 0x1D DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1503 DUP3 PUSH2 0x14C2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1527 DUP2 PUSH2 0x14EB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6472657373000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x158A PUSH1 0x25 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1595 DUP3 PUSH2 0x152E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x15B9 DUP2 PUSH2 0x157D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6573730000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x161C PUSH1 0x23 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1627 DUP3 PUSH2 0x15C0 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x164B DUP2 PUSH2 0x160F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x616C616E63650000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x16AE PUSH1 0x26 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x16B9 DUP3 PUSH2 0x1652 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x16DD DUP2 PUSH2 0x16A1 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x60 SHL SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x172B DUP3 PUSH2 0x1713 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x173D DUP3 PUSH2 0x1720 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1755 PUSH2 0x1750 DUP3 PUSH2 0xF3E JUMP JUMPDEST PUSH2 0x1732 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1776 PUSH2 0x1771 DUP3 PUSH2 0xF7C JUMP JUMPDEST PUSH2 0x175B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1788 DUP3 DUP6 PUSH2 0x1744 JUMP JUMPDEST PUSH1 0x14 DUP3 ADD SWAP2 POP PUSH2 0x1798 DUP3 DUP5 PUSH2 0x1765 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP2 POP DUP2 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x17E2 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1814 JUMPI PUSH2 0x1813 PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP16 EXP SWAP1 0xEE SWAP2 0xDF 0x49 0xAF 0xB1 CALLDATALOAD 0xF7 0xAA 0xE5 PUSH15 0xE1DE1240CFC39B7A71881ADF49D0E4 LOG0 0xC2 PUSH7 0x64736F6C634300 ADDMOD GT STOP CALLER ",
"sourceMap": "119:1867:4:-:0;;;263:255;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1976:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2050:5;2042;:13;;;;;;:::i;:::-;;2075:7;2065;:17;;;;;;:::i;:::-;;1976:113;;404:16:4::1;386:15;;:34;;;;;;;;;;;;;;;;;;449:16;431:15;;:34;;;;;;;;;;;;;;;;;;494:16;476:15;;:34;;;;;;;;;;;;;;;;;;263:255:::0;;;119:1867;;88:117:5;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:663::-;933:6;941;949;998:2;986:9;977:7;973:23;969:32;966:119;;;1004:79;;:::i;:::-;966:119;1124:1;1149:64;1205:7;1196:6;1185:9;1181:22;1149:64;:::i;:::-;1139:74;;1095:128;1262:2;1288:64;1344:7;1335:6;1324:9;1320:22;1288:64;:::i;:::-;1278:74;;1233:129;1401:2;1427:64;1483:7;1474:6;1463:9;1459:22;1427:64;:::i;:::-;1417:74;;1372:129;845:663;;;;;:::o;1514:99::-;1566:6;1600:5;1594:12;1584:22;;1514:99;;;:::o;1619:180::-;1667:77;1664:1;1657:88;1764:4;1761:1;1754:15;1788:4;1785:1;1778:15;1805:180;1853:77;1850:1;1843:88;1950:4;1947:1;1940:15;1974:4;1971:1;1964:15;1991:320;2035:6;2072:1;2066:4;2062:12;2052:22;;2119:1;2113:4;2109:12;2140:18;2130:81;;2196:4;2188:6;2184:17;2174:27;;2130:81;2258:2;2250:6;2247:14;2227:18;2224:38;2221:84;;2277:18;;:::i;:::-;2221:84;2042:269;1991:320;;;:::o;2317:141::-;2366:4;2389:3;2381:11;;2412:3;2409:1;2402:14;2446:4;2443:1;2433:18;2425:26;;2317:141;;;:::o;2464:93::-;2501:6;2548:2;2543;2536:5;2532:14;2528:23;2518:33;;2464:93;;;:::o;2563:107::-;2607:8;2657:5;2651:4;2647:16;2626:37;;2563:107;;;;:::o;2676:393::-;2745:6;2795:1;2783:10;2779:18;2818:97;2848:66;2837:9;2818:97;:::i;:::-;2936:39;2966:8;2955:9;2936:39;:::i;:::-;2924:51;;3008:4;3004:9;2997:5;2993:21;2984:30;;3057:4;3047:8;3043:19;3036:5;3033:30;3023:40;;2752:317;;2676:393;;;;;:::o;3075:77::-;3112:7;3141:5;3130:16;;3075:77;;;:::o;3158:60::-;3186:3;3207:5;3200:12;;3158:60;;;:::o;3224:142::-;3274:9;3307:53;3325:34;3334:24;3352:5;3334:24;:::i;:::-;3325:34;:::i;:::-;3307:53;:::i;:::-;3294:66;;3224:142;;;:::o;3372:75::-;3415:3;3436:5;3429:12;;3372:75;;;:::o;3453:269::-;3563:39;3594:7;3563:39;:::i;:::-;3624:91;3673:41;3697:16;3673:41;:::i;:::-;3665:6;3658:4;3652:11;3624:91;:::i;:::-;3618:4;3611:105;3529:193;3453:269;;;:::o;3728:73::-;3773:3;3728:73;:::o;3807:189::-;3884:32;;:::i;:::-;3925:65;3983:6;3975;3969:4;3925:65;:::i;:::-;3860:136;3807:189;;:::o;4002:186::-;4062:120;4079:3;4072:5;4069:14;4062:120;;;4133:39;4170:1;4163:5;4133:39;:::i;:::-;4106:1;4099:5;4095:13;4086:22;;4062:120;;;4002:186;;:::o;4194:543::-;4295:2;4290:3;4287:11;4284:446;;;4329:38;4361:5;4329:38;:::i;:::-;4413:29;4431:10;4413:29;:::i;:::-;4403:8;4399:44;4596:2;4584:10;4581:18;4578:49;;;4617:8;4602:23;;4578:49;4640:80;4696:22;4714:3;4696:22;:::i;:::-;4686:8;4682:37;4669:11;4640:80;:::i;:::-;4299:431;;4284:446;4194:543;;;:::o;4743:117::-;4797:8;4847:5;4841:4;4837:16;4816:37;;4743:117;;;;:::o;4866:169::-;4910:6;4943:51;4991:1;4987:6;4979:5;4976:1;4972:13;4943:51;:::i;:::-;4939:56;5024:4;5018;5014:15;5004:25;;4917:118;4866:169;;;;:::o;5040:295::-;5116:4;5262:29;5287:3;5281:4;5262:29;:::i;:::-;5254:37;;5324:3;5321:1;5317:11;5311:4;5308:21;5300:29;;5040:295;;;;:::o;5340:1395::-;5457:37;5490:3;5457:37;:::i;:::-;5559:18;5551:6;5548:30;5545:56;;;5581:18;;:::i;:::-;5545:56;5625:38;5657:4;5651:11;5625:38;:::i;:::-;5710:67;5770:6;5762;5756:4;5710:67;:::i;:::-;5804:1;5828:4;5815:17;;5860:2;5852:6;5849:14;5877:1;5872:618;;;;6534:1;6551:6;6548:77;;;6600:9;6595:3;6591:19;6585:26;6576:35;;6548:77;6651:67;6711:6;6704:5;6651:67;:::i;:::-;6645:4;6638:81;6507:222;5842:887;;5872:618;5924:4;5920:9;5912:6;5908:22;5958:37;5990:4;5958:37;:::i;:::-;6017:1;6031:208;6045:7;6042:1;6039:14;6031:208;;;6124:9;6119:3;6115:19;6109:26;6101:6;6094:42;6175:1;6167:6;6163:14;6153:24;;6222:2;6211:9;6207:18;6194:31;;6068:4;6065:1;6061:12;6056:17;;6031:208;;;6267:6;6258:7;6255:19;6252:179;;;6325:9;6320:3;6316:19;6310:26;6368:48;6410:4;6402:6;6398:17;6387:9;6368:48;:::i;:::-;6360:6;6353:64;6275:156;6252:179;6477:1;6473;6465:6;6461:14;6457:22;6451:4;6444:36;5879:611;;;5842:887;;5432:1303;;;5340:1395;;:::o;119:1867:4:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_afterTokenTransfer_585": {
"entryPoint": 3682,
"id": 585,
"parameterSlots": 3,
"returnSlots": 0
},
"@_approve_520": {
"entryPoint": 2006,
"id": 520,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_574": {
"entryPoint": 3677,
"id": 574,
"parameterSlots": 3,
"returnSlots": 0
},
"@_distributeTokens_949": {
"entryPoint": 3233,
"id": 949,
"parameterSlots": 1,
"returnSlots": 0
},
"@_msgSender_701": {
"entryPoint": 1998,
"id": 701,
"parameterSlots": 0,
"returnSlots": 1
},
"@_spendAllowance_563": {
"entryPoint": 2463,
"id": 563,
"parameterSlots": 3,
"returnSlots": 0
},
"@_transfer_346": {
"entryPoint": 2603,
"id": 346,
"parameterSlots": 3,
"returnSlots": 0
},
"@allowance_141": {
"entryPoint": 1863,
"id": 141,
"parameterSlots": 2,
"returnSlots": 1
},
"@approve_166": {
"entryPoint": 931,
"id": 166,
"parameterSlots": 2,
"returnSlots": 1
},
"@balanceOf_98": {
"entryPoint": 1125,
"id": 98,
"parameterSlots": 1,
"returnSlots": 1
},
"@decimals_74": {
"entryPoint": 1061,
"id": 74,
"parameterSlots": 0,
"returnSlots": 1
},
"@decreaseAllowance_269": {
"entryPoint": 1381,
"id": 269,
"parameterSlots": 2,
"returnSlots": 1
},
"@developerWallet_722": {
"entryPoint": 976,
"id": 722,
"parameterSlots": 0,
"returnSlots": 0
},
"@increaseAllowance_228": {
"entryPoint": 1070,
"id": 228,
"parameterSlots": 2,
"returnSlots": 1
},
"@liquidityWallet_720": {
"entryPoint": 1825,
"id": 720,
"parameterSlots": 0,
"returnSlots": 0
},
"@marketingWallet_718": {
"entryPoint": 1197,
"id": 718,
"parameterSlots": 0,
"returnSlots": 0
},
"@name_54": {
"entryPoint": 785,
"id": 54,
"parameterSlots": 0,
"returnSlots": 1
},
"@symbol_64": {
"entryPoint": 1235,
"id": 64,
"parameterSlots": 0,
"returnSlots": 1
},
"@totalSupply_84": {
"entryPoint": 966,
"id": 84,
"parameterSlots": 0,
"returnSlots": 1
},
"@transferFrom_199": {
"entryPoint": 1014,
"id": 199,
"parameterSlots": 3,
"returnSlots": 1
},
"@transfer_834": {
"entryPoint": 1500,
"id": 834,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_address": {
"entryPoint": 3943,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 3997,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 4358,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_address": {
"entryPoint": 4403,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_addresst_addresst_uint256": {
"entryPoint": 4220,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"abi_decode_tuple_t_addresst_uint256": {
"entryPoint": 4018,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 4178,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack": {
"entryPoint": 5956,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 4094,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 3774,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack": {
"entryPoint": 5647,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack": {
"entryPoint": 5247,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 5355,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack": {
"entryPoint": 5793,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack": {
"entryPoint": 5501,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack": {
"entryPoint": 5101,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack": {
"entryPoint": 4741,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 4136,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack": {
"entryPoint": 5989,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint8_to_t_uint8_fromStack": {
"entryPoint": 4316,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_packed_t_address_t_uint256__to_t_address_t_uint256__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 6012,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 4193,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 4109,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3831,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 5682,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 5282,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 5390,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 5828,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 5536,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 5136,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 4776,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 4151,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed": {
"entryPoint": 4331,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 3687,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 3698,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 4610,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_div_t_uint256": {
"entryPoint": 4855,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_mul_t_uint256": {
"entryPoint": 4956,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_sub_t_uint256": {
"entryPoint": 4904,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 3902,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 4082,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 3870,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 3964,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint8": {
"entryPoint": 4303,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 3715,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 4514,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"increment_t_uint256": {
"entryPoint": 6103,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"leftAlign_t_address": {
"entryPoint": 5938,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"leftAlign_t_uint160": {
"entryPoint": 5920,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"leftAlign_t_uint256": {
"entryPoint": 5979,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 4563,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x12": {
"entryPoint": 4808,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 4467,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 6056,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 5860,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 3865,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 3757,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_96": {
"entryPoint": 5907,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f": {
"entryPoint": 5568,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029": {
"entryPoint": 5168,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe": {
"entryPoint": 5314,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6": {
"entryPoint": 5714,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea": {
"entryPoint": 5422,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208": {
"entryPoint": 5022,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8": {
"entryPoint": 4662,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 3920,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 3974,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:16775:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "66:40:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:22:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "93:5:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "87:5:5"
},
"nodeType": "YulFunctionCall",
"src": "87:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "77:6:5"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "49:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "59:6:5",
"type": ""
}
],
"src": "7:99:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "208:73:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "225:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "230:6:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "218:6:5"
},
"nodeType": "YulFunctionCall",
"src": "218:19:5"
},
"nodeType": "YulExpressionStatement",
"src": "218:19:5"
},
{
"nodeType": "YulAssignment",
"src": "246:29:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "265:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "270:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "261:3:5"
},
"nodeType": "YulFunctionCall",
"src": "261:14:5"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "246:11:5"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "180:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "185:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "196:11:5",
"type": ""
}
],
"src": "112:169:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "349:184:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "359:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "368:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "363:1:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "428:63:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "453:3:5"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "458:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "449:3:5"
},
"nodeType": "YulFunctionCall",
"src": "449:11:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "472:3:5"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "477:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "468:3:5"
},
"nodeType": "YulFunctionCall",
"src": "468:11:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "462:5:5"
},
"nodeType": "YulFunctionCall",
"src": "462:18:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "442:6:5"
},
"nodeType": "YulFunctionCall",
"src": "442:39:5"
},
"nodeType": "YulExpressionStatement",
"src": "442:39:5"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "389:1:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "392:6:5"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "386:2:5"
},
"nodeType": "YulFunctionCall",
"src": "386:13:5"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "400:19:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "402:15:5",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "411:1:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "414:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "407:3:5"
},
"nodeType": "YulFunctionCall",
"src": "407:10:5"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "402:1:5"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "382:3:5",
"statements": []
},
"src": "378:113:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "511:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "516:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "507:3:5"
},
"nodeType": "YulFunctionCall",
"src": "507:16:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "525:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "500:6:5"
},
"nodeType": "YulFunctionCall",
"src": "500:27:5"
},
"nodeType": "YulExpressionStatement",
"src": "500:27:5"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "331:3:5",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "336:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "341:6:5",
"type": ""
}
],
"src": "287:246:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "587:54:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "597:38:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "615:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "622:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "611:3:5"
},
"nodeType": "YulFunctionCall",
"src": "611:14:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "631:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "627:3:5"
},
"nodeType": "YulFunctionCall",
"src": "627:7:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "607:3:5"
},
"nodeType": "YulFunctionCall",
"src": "607:28:5"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "597:6:5"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "570:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "580:6:5",
"type": ""
}
],
"src": "539:102:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "739:285:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "749:53:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "796:5:5"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "763:32:5"
},
"nodeType": "YulFunctionCall",
"src": "763:39:5"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "753:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "811:78:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "877:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "882:6:5"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "818:58:5"
},
"nodeType": "YulFunctionCall",
"src": "818:71:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "811:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "937:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "944:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "933:3:5"
},
"nodeType": "YulFunctionCall",
"src": "933:16:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "951:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "956:6:5"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "898:34:5"
},
"nodeType": "YulFunctionCall",
"src": "898:65:5"
},
"nodeType": "YulExpressionStatement",
"src": "898:65:5"
},
{
"nodeType": "YulAssignment",
"src": "972:46:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "983:3:5"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1010:6:5"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "988:21:5"
},
"nodeType": "YulFunctionCall",
"src": "988:29:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "979:3:5"
},
"nodeType": "YulFunctionCall",
"src": "979:39:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "972:3:5"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "720:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "727:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "735:3:5",
"type": ""
}
],
"src": "647:377:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1148:195:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1158:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1170:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1181:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1166:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1166:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1158:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1205:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1216:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1201:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1201:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1224:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1230:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1220:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1220:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1194:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1194:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "1194:47:5"
},
{
"nodeType": "YulAssignment",
"src": "1250:86:5",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1322:6:5"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1331:4:5"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1258:63:5"
},
"nodeType": "YulFunctionCall",
"src": "1258:78:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1250:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1120:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1132:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1143:4:5",
"type": ""
}
],
"src": "1030:313:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1389:35:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1399:19:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1415:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1409:5:5"
},
"nodeType": "YulFunctionCall",
"src": "1409:9:5"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1399:6:5"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1382:6:5",
"type": ""
}
],
"src": "1349:75:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1519:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1536:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1539:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1529:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1529:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1529:12:5"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "1430:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1642:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1659:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1662:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1652:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1652:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1652:12:5"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "1553:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1721:81:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1731:65:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1746:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1753:42:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1742:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1742:54:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1731:7:5"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1703:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1713:7:5",
"type": ""
}
],
"src": "1676:126:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1853:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1863:35:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1892:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "1874:17:5"
},
"nodeType": "YulFunctionCall",
"src": "1874:24:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1863:7:5"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1835:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1845:7:5",
"type": ""
}
],
"src": "1808:96:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1953:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2010:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2019:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2022:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2012:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2012:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "2012:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1976:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2001:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1983:17:5"
},
"nodeType": "YulFunctionCall",
"src": "1983:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1973:2:5"
},
"nodeType": "YulFunctionCall",
"src": "1973:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1966:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1966:43:5"
},
"nodeType": "YulIf",
"src": "1963:63:5"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1946:5:5",
"type": ""
}
],
"src": "1910:122:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2090:87:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2100:29:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2122:6:5"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2109:12:5"
},
"nodeType": "YulFunctionCall",
"src": "2109:20:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2100:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2165:5:5"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "2138:26:5"
},
"nodeType": "YulFunctionCall",
"src": "2138:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "2138:33:5"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2068:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2076:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2084:5:5",
"type": ""
}
],
"src": "2038:139:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2228:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2238:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2249:5:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2238:7:5"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2210:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2220:7:5",
"type": ""
}
],
"src": "2183:77:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2309:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2366:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2375:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2378:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2368:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2368:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "2368:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2332:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2357:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2339:17:5"
},
"nodeType": "YulFunctionCall",
"src": "2339:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2329:2:5"
},
"nodeType": "YulFunctionCall",
"src": "2329:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2322:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2322:43:5"
},
"nodeType": "YulIf",
"src": "2319:63:5"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2302:5:5",
"type": ""
}
],
"src": "2266:122:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2446:87:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2456:29:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2478:6:5"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2465:12:5"
},
"nodeType": "YulFunctionCall",
"src": "2465:20:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2456:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2521:5:5"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "2494:26:5"
},
"nodeType": "YulFunctionCall",
"src": "2494:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "2494:33:5"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2424:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2432:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2440:5:5",
"type": ""
}
],
"src": "2394:139:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2622:391:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2668:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2670:77:5"
},
"nodeType": "YulFunctionCall",
"src": "2670:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "2670:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2643:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2652:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2639:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2639:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2664:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2635:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2635:32:5"
},
"nodeType": "YulIf",
"src": "2632:119:5"
},
{
"nodeType": "YulBlock",
"src": "2761:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2776:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2790:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2780:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2805:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2840:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2851:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2836:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2836:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2860:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "2815:20:5"
},
"nodeType": "YulFunctionCall",
"src": "2815:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2805:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2888:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2903:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2917:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2907:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2933:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2968:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2979:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2964:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2964:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2988:7:5"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2943:20:5"
},
"nodeType": "YulFunctionCall",
"src": "2943:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2933:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2584:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2595:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2607:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2615:6:5",
"type": ""
}
],
"src": "2539:474:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3061:48:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3071:32:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3096:5:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3089:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3089:13:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3082:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3082:21:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3071:7:5"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3043:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3053:7:5",
"type": ""
}
],
"src": "3019:90:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3174:50:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3191:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3211:5:5"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "3196:14:5"
},
"nodeType": "YulFunctionCall",
"src": "3196:21:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3184:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3184:34:5"
},
"nodeType": "YulExpressionStatement",
"src": "3184:34:5"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3162:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3169:3:5",
"type": ""
}
],
"src": "3115:109:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3322:118:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3332:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3344:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3355:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3340:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3340:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3332:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3406:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3419:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3430:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3415:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3415:17:5"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "3368:37:5"
},
"nodeType": "YulFunctionCall",
"src": "3368:65:5"
},
"nodeType": "YulExpressionStatement",
"src": "3368:65:5"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3294:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3306:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3317:4:5",
"type": ""
}
],
"src": "3230:210:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3511:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3528:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3551:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3533:17:5"
},
"nodeType": "YulFunctionCall",
"src": "3533:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3521:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3521:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "3521:37:5"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3499:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3506:3:5",
"type": ""
}
],
"src": "3446:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3668:124:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3678:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3690:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3701:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3686:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3686:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3678:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3758:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3771:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3782:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3767:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3767:17:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3714:43:5"
},
"nodeType": "YulFunctionCall",
"src": "3714:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "3714:71:5"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3640:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3652:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3663:4:5",
"type": ""
}
],
"src": "3570:222:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3863:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3880:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3903:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "3885:17:5"
},
"nodeType": "YulFunctionCall",
"src": "3885:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3873:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3873:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "3873:37:5"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3851:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3858:3:5",
"type": ""
}
],
"src": "3798:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4020:124:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4030:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4042:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4053:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4038:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4038:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4030:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4110:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4123:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4134:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4119:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4119:17:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "4066:43:5"
},
"nodeType": "YulFunctionCall",
"src": "4066:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "4066:71:5"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3992:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4004:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4015:4:5",
"type": ""
}
],
"src": "3922:222:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4250:519:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4296:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "4298:77:5"
},
"nodeType": "YulFunctionCall",
"src": "4298:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "4298:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4271:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4280:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4267:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4267:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4292:2:5",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4263:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4263:32:5"
},
"nodeType": "YulIf",
"src": "4260:119:5"
},
{
"nodeType": "YulBlock",
"src": "4389:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4404:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4418:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4408:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4433:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4468:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4479:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4464:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4464:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4488:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "4443:20:5"
},
"nodeType": "YulFunctionCall",
"src": "4443:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4433:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4516:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4531:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4545:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4535:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4561:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4596:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4607:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4592:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4592:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4616:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "4571:20:5"
},
"nodeType": "YulFunctionCall",
"src": "4571:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4561:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4644:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4659:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4673:2:5",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4663:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4689:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4724:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4735:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4720:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4720:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4744:7:5"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "4699:20:5"
},
"nodeType": "YulFunctionCall",
"src": "4699:53:5"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "4689:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4204:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4215:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4227:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "4235:6:5",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "4243:6:5",
"type": ""
}
],
"src": "4150:619:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4818:43:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4828:27:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4843:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4850:4:5",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4839:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4839:16:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "4828:7:5"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4800:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "4810:7:5",
"type": ""
}
],
"src": "4775:86:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4928:51:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4945:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4966:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "4950:15:5"
},
"nodeType": "YulFunctionCall",
"src": "4950:22:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4938:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4938:35:5"
},
"nodeType": "YulExpressionStatement",
"src": "4938:35:5"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4916:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4923:3:5",
"type": ""
}
],
"src": "4867:112:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5079:120:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5089:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5101:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5112:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5097:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5097:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5089:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5165:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5178:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5189:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5174:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5174:17:5"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "5125:39:5"
},
"nodeType": "YulFunctionCall",
"src": "5125:67:5"
},
"nodeType": "YulExpressionStatement",
"src": "5125:67:5"
}
]
},
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5051:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5063:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5074:4:5",
"type": ""
}
],
"src": "4985:214:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5271:263:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5317:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "5319:77:5"
},
"nodeType": "YulFunctionCall",
"src": "5319:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "5319:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5292:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5301:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5288:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5288:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5313:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "5284:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5284:32:5"
},
"nodeType": "YulIf",
"src": "5281:119:5"
},
{
"nodeType": "YulBlock",
"src": "5410:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5425:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5439:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "5429:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5454:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5489:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5500:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5485:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5485:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5509:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "5464:20:5"
},
"nodeType": "YulFunctionCall",
"src": "5464:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5454:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5241:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "5252:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5264:6:5",
"type": ""
}
],
"src": "5205:329:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5623:391:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5669:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "5671:77:5"
},
"nodeType": "YulFunctionCall",
"src": "5671:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "5671:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5644:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5653:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5640:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5640:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5665:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "5636:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5636:32:5"
},
"nodeType": "YulIf",
"src": "5633:119:5"
},
{
"nodeType": "YulBlock",
"src": "5762:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5777:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5791:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "5781:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5806:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5841:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5852:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5837:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5837:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5861:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "5816:20:5"
},
"nodeType": "YulFunctionCall",
"src": "5816:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5806:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "5889:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5904:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5918:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "5908:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "5934:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5969:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5980:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5965:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5965:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5989:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "5944:20:5"
},
"nodeType": "YulFunctionCall",
"src": "5944:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "5934:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5585:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "5596:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5608:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "5616:6:5",
"type": ""
}
],
"src": "5540:474:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6048:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6065:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6068:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6058:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6058:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "6058:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6162:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6165:4:5",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6155:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6155:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "6155:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6186:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6189:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6179:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6179:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "6179:15:5"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "6020:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6257:269:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6267:22:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6281:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6287:1:5",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "6277:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6277:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6267:6:5"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "6298:38:5",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6328:4:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6334:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6324:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6324:12:5"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "6302:18:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6375:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6389:27:5",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6403:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6411:4:5",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6399:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6399:17:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6389:6:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6355:18:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6348:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6348:26:5"
},
"nodeType": "YulIf",
"src": "6345:81:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6478:42:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "6492:16:5"
},
"nodeType": "YulFunctionCall",
"src": "6492:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "6492:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6442:18:5"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6465:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6473:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6462:2:5"
},
"nodeType": "YulFunctionCall",
"src": "6462:14:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6439:2:5"
},
"nodeType": "YulFunctionCall",
"src": "6439:38:5"
},
"nodeType": "YulIf",
"src": "6436:84:5"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "6241:4:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6250:6:5",
"type": ""
}
],
"src": "6206:320:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6560:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6577:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6580:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6570:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6570:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "6570:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6674:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6677:4:5",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6667:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6667:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "6667:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6698:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6701:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6691:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6691:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "6691:15:5"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "6532:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6762:147:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6772:25:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "6795:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6777:17:5"
},
"nodeType": "YulFunctionCall",
"src": "6777:20:5"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "6772:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6806:25:5",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "6829:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6811:17:5"
},
"nodeType": "YulFunctionCall",
"src": "6811:20:5"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "6806:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6840:16:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "6851:1:5"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "6854:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6847:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6847:9:5"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "6840:3:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6880:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "6882:16:5"
},
"nodeType": "YulFunctionCall",
"src": "6882:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "6882:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "6872:1:5"
},
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "6875:3:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6869:2:5"
},
"nodeType": "YulFunctionCall",
"src": "6869:10:5"
},
"nodeType": "YulIf",
"src": "6866:36:5"
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "6749:1:5",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "6752:1:5",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "6758:3:5",
"type": ""
}
],
"src": "6718:191:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7021:118:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7043:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7051:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7039:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7039:14:5"
},
{
"hexValue": "45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77",
"kind": "string",
"nodeType": "YulLiteral",
"src": "7055:34:5",
"type": "",
"value": "ERC20: decreased allowance below"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7032:6:5"
},
"nodeType": "YulFunctionCall",
"src": "7032:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "7032:58:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7111:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7119:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7107:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7107:15:5"
},
{
"hexValue": "207a65726f",
"kind": "string",
"nodeType": "YulLiteral",
"src": "7124:7:5",
"type": "",
"value": " zero"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7100:6:5"
},
"nodeType": "YulFunctionCall",
"src": "7100:32:5"
},
"nodeType": "YulExpressionStatement",
"src": "7100:32:5"
}
]
},
"name": "store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "7013:6:5",
"type": ""
}
],
"src": "6915:224:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7291:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7301:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7367:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7372:2:5",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "7308:58:5"
},
"nodeType": "YulFunctionCall",
"src": "7308:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7301:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7473:3:5"
}
],
"functionName": {
"name": "store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8",
"nodeType": "YulIdentifier",
"src": "7384:88:5"
},
"nodeType": "YulFunctionCall",
"src": "7384:93:5"
},
"nodeType": "YulExpressionStatement",
"src": "7384:93:5"
},
{
"nodeType": "YulAssignment",
"src": "7486:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7497:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7502:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7493:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7493:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "7486:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "7279:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "7287:3:5",
"type": ""
}
],
"src": "7145:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7688:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7698:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7710:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7721:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7706:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7706:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7698:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7745:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7756:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7741:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7741:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7764:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7770:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7760:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7760:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7734:6:5"
},
"nodeType": "YulFunctionCall",
"src": "7734:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "7734:47:5"
},
{
"nodeType": "YulAssignment",
"src": "7790:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7924:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "7798:124:5"
},
"nodeType": "YulFunctionCall",
"src": "7798:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7790:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7668:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7683:4:5",
"type": ""
}
],
"src": "7517:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7970:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7987:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7990:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7980:6:5"
},
"nodeType": "YulFunctionCall",
"src": "7980:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "7980:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8084:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8087:4:5",
"type": "",
"value": "0x12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8077:6:5"
},
"nodeType": "YulFunctionCall",
"src": "8077:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "8077:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8108:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8111:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8101:6:5"
},
"nodeType": "YulFunctionCall",
"src": "8101:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "8101:15:5"
}
]
},
"name": "panic_error_0x12",
"nodeType": "YulFunctionDefinition",
"src": "7942:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8170:143:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8180:25:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8203:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8185:17:5"
},
"nodeType": "YulFunctionCall",
"src": "8185:20:5"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8180:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "8214:25:5",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8237:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8219:17:5"
},
"nodeType": "YulFunctionCall",
"src": "8219:20:5"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8214:1:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8261:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x12",
"nodeType": "YulIdentifier",
"src": "8263:16:5"
},
"nodeType": "YulFunctionCall",
"src": "8263:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "8263:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8258:1:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "8251:6:5"
},
"nodeType": "YulFunctionCall",
"src": "8251:9:5"
},
"nodeType": "YulIf",
"src": "8248:35:5"
},
{
"nodeType": "YulAssignment",
"src": "8293:14:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8302:1:5"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8305:1:5"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "8298:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8298:9:5"
},
"variableNames": [
{
"name": "r",
"nodeType": "YulIdentifier",
"src": "8293:1:5"
}
]
}
]
},
"name": "checked_div_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "8159:1:5",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "8162:1:5",
"type": ""
}
],
"returnVariables": [
{
"name": "r",
"nodeType": "YulTypedName",
"src": "8168:1:5",
"type": ""
}
],
"src": "8128:185:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8364:149:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8374:25:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8397:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8379:17:5"
},
"nodeType": "YulFunctionCall",
"src": "8379:20:5"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8374:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "8408:25:5",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8431:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8413:17:5"
},
"nodeType": "YulFunctionCall",
"src": "8413:20:5"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8408:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "8442:17:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8454:1:5"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8457:1:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "8450:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8450:9:5"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "8442:4:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8484:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "8486:16:5"
},
"nodeType": "YulFunctionCall",
"src": "8486:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "8486:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "8475:4:5"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8481:1:5"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "8472:2:5"
},
"nodeType": "YulFunctionCall",
"src": "8472:11:5"
},
"nodeType": "YulIf",
"src": "8469:37:5"
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "8350:1:5",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "8353:1:5",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "8359:4:5",
"type": ""
}
],
"src": "8319:194:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8567:362:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8577:25:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8600:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8582:17:5"
},
"nodeType": "YulFunctionCall",
"src": "8582:20:5"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8577:1:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "8611:25:5",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8634:1:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8616:17:5"
},
"nodeType": "YulFunctionCall",
"src": "8616:20:5"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8611:1:5"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "8645:28:5",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8668:1:5"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8671:1:5"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "8664:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8664:9:5"
},
"variables": [
{
"name": "product_raw",
"nodeType": "YulTypedName",
"src": "8649:11:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "8682:41:5",
"value": {
"arguments": [
{
"name": "product_raw",
"nodeType": "YulIdentifier",
"src": "8711:11:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8693:17:5"
},
"nodeType": "YulFunctionCall",
"src": "8693:30:5"
},
"variableNames": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "8682:7:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8900:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "8902:16:5"
},
"nodeType": "YulFunctionCall",
"src": "8902:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "8902:18:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8833:1:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "8826:6:5"
},
"nodeType": "YulFunctionCall",
"src": "8826:9:5"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8856:1:5"
},
{
"arguments": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "8863:7:5"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8872:1:5"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "8859:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8859:15:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "8853:2:5"
},
"nodeType": "YulFunctionCall",
"src": "8853:22:5"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "8806:2:5"
},
"nodeType": "YulFunctionCall",
"src": "8806:83:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "8786:6:5"
},
"nodeType": "YulFunctionCall",
"src": "8786:113:5"
},
"nodeType": "YulIf",
"src": "8783:139:5"
}
]
},
"name": "checked_mul_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "8550:1:5",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "8553:1:5",
"type": ""
}
],
"returnVariables": [
{
"name": "product",
"nodeType": "YulTypedName",
"src": "8559:7:5",
"type": ""
}
],
"src": "8519:410:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9041:117:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9063:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9071:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9059:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9059:14:5"
},
{
"hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f20616464",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9075:34:5",
"type": "",
"value": "ERC20: approve from the zero add"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9052:6:5"
},
"nodeType": "YulFunctionCall",
"src": "9052:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "9052:58:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9131:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9139:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9127:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9127:15:5"
},
{
"hexValue": "72657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9144:6:5",
"type": "",
"value": "ress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9120:6:5"
},
"nodeType": "YulFunctionCall",
"src": "9120:31:5"
},
"nodeType": "YulExpressionStatement",
"src": "9120:31:5"
}
]
},
"name": "store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "9033:6:5",
"type": ""
}
],
"src": "8935:223:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9310:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9320:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9386:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9391:2:5",
"type": "",
"value": "36"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "9327:58:5"
},
"nodeType": "YulFunctionCall",
"src": "9327:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9320:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9492:3:5"
}
],
"functionName": {
"name": "store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208",
"nodeType": "YulIdentifier",
"src": "9403:88:5"
},
"nodeType": "YulFunctionCall",
"src": "9403:93:5"
},
"nodeType": "YulExpressionStatement",
"src": "9403:93:5"
},
{
"nodeType": "YulAssignment",
"src": "9505:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9516:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9521:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9512:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9512:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "9505:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "9298:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "9306:3:5",
"type": ""
}
],
"src": "9164:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9707:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9717:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9729:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9740:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9725:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9725:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9717:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9764:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9775:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9760:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9760:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9783:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9789:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9779:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9779:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9753:6:5"
},
"nodeType": "YulFunctionCall",
"src": "9753:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "9753:47:5"
},
{
"nodeType": "YulAssignment",
"src": "9809:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9943:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "9817:124:5"
},
"nodeType": "YulFunctionCall",
"src": "9817:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9809:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9687:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9702:4:5",
"type": ""
}
],
"src": "9536:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10067:115:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "10089:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10097:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10085:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10085:14:5"
},
{
"hexValue": "45524332303a20617070726f766520746f20746865207a65726f206164647265",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10101:34:5",
"type": "",
"value": "ERC20: approve to the zero addre"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10078:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10078:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "10078:58:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "10157:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10165:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10153:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10153:15:5"
},
{
"hexValue": "7373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10170:4:5",
"type": "",
"value": "ss"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10146:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10146:29:5"
},
"nodeType": "YulExpressionStatement",
"src": "10146:29:5"
}
]
},
"name": "store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "10059:6:5",
"type": ""
}
],
"src": "9961:221:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10334:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10344:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10410:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10415:2:5",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "10351:58:5"
},
"nodeType": "YulFunctionCall",
"src": "10351:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10344:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10516:3:5"
}
],
"functionName": {
"name": "store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029",
"nodeType": "YulIdentifier",
"src": "10427:88:5"
},
"nodeType": "YulFunctionCall",
"src": "10427:93:5"
},
"nodeType": "YulExpressionStatement",
"src": "10427:93:5"
},
{
"nodeType": "YulAssignment",
"src": "10529:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10540:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10545:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10536:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10536:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "10529:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "10322:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "10330:3:5",
"type": ""
}
],
"src": "10188:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10731:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10741:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10753:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10764:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10749:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10749:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10741:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10788:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10799:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10784:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10784:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10807:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10813:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "10803:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10803:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10777:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10777:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "10777:47:5"
},
{
"nodeType": "YulAssignment",
"src": "10833:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10967:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "10841:124:5"
},
"nodeType": "YulFunctionCall",
"src": "10841:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10833:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "10711:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "10726:4:5",
"type": ""
}
],
"src": "10560:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11091:73:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "11113:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11121:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11109:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11109:14:5"
},
{
"hexValue": "45524332303a20696e73756666696369656e7420616c6c6f77616e6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "11125:31:5",
"type": "",
"value": "ERC20: insufficient allowance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11102:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11102:55:5"
},
"nodeType": "YulExpressionStatement",
"src": "11102:55:5"
}
]
},
"name": "store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "11083:6:5",
"type": ""
}
],
"src": "10985:179:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11316:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11326:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11392:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11397:2:5",
"type": "",
"value": "29"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "11333:58:5"
},
"nodeType": "YulFunctionCall",
"src": "11333:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11326:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11498:3:5"
}
],
"functionName": {
"name": "store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe",
"nodeType": "YulIdentifier",
"src": "11409:88:5"
},
"nodeType": "YulFunctionCall",
"src": "11409:93:5"
},
"nodeType": "YulExpressionStatement",
"src": "11409:93:5"
},
{
"nodeType": "YulAssignment",
"src": "11511:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11522:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11527:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11518:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11518:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "11511:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "11304:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "11312:3:5",
"type": ""
}
],
"src": "11170:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11713:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11723:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11735:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11746:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11731:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11731:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11723:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11770:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11781:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11766:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11766:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11789:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11795:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "11785:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11785:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "11759:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11759:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "11759:47:5"
},
{
"nodeType": "YulAssignment",
"src": "11815:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11949:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "11823:124:5"
},
"nodeType": "YulFunctionCall",
"src": "11823:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11815:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "11693:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "11708:4:5",
"type": ""
}
],
"src": "11542:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12073:118:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "12095:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12103:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12091:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12091:14:5"
},
{
"hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f206164",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12107:34:5",
"type": "",
"value": "ERC20: transfer from the zero ad"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12084:6:5"
},
"nodeType": "YulFunctionCall",
"src": "12084:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "12084:58:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "12163:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12171:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12159:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12159:15:5"
},
{
"hexValue": "6472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "12176:7:5",
"type": "",
"value": "dress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12152:6:5"
},
"nodeType": "YulFunctionCall",
"src": "12152:32:5"
},
"nodeType": "YulExpressionStatement",
"src": "12152:32:5"
}
]
},
"name": "store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "12065:6:5",
"type": ""
}
],
"src": "11967:224:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12343:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "12353:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12419:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12424:2:5",
"type": "",
"value": "37"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "12360:58:5"
},
"nodeType": "YulFunctionCall",
"src": "12360:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12353:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12525:3:5"
}
],
"functionName": {
"name": "store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea",
"nodeType": "YulIdentifier",
"src": "12436:88:5"
},
"nodeType": "YulFunctionCall",
"src": "12436:93:5"
},
"nodeType": "YulExpressionStatement",
"src": "12436:93:5"
},
{
"nodeType": "YulAssignment",
"src": "12538:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12549:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12554:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12545:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12545:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "12538:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "12331:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "12339:3:5",
"type": ""
}
],
"src": "12197:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12740:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "12750:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12762:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12773:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12758:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12758:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12750:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12797:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12808:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12793:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12793:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12816:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12822:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "12812:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12812:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12786:6:5"
},
"nodeType": "YulFunctionCall",
"src": "12786:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "12786:47:5"
},
{
"nodeType": "YulAssignment",
"src": "12842:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12976:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "12850:124:5"
},
"nodeType": "YulFunctionCall",
"src": "12850:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12842:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "12720:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "12735:4:5",
"type": ""
}
],
"src": "12569:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13100:116:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "13122:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13130:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13118:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13118:14:5"
},
{
"hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472",
"kind": "string",
"nodeType": "YulLiteral",
"src": "13134:34:5",
"type": "",
"value": "ERC20: transfer to the zero addr"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13111:6:5"
},
"nodeType": "YulFunctionCall",
"src": "13111:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "13111:58:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "13190:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13198:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13186:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13186:15:5"
},
{
"hexValue": "657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "13203:5:5",
"type": "",
"value": "ess"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13179:6:5"
},
"nodeType": "YulFunctionCall",
"src": "13179:30:5"
},
"nodeType": "YulExpressionStatement",
"src": "13179:30:5"
}
]
},
"name": "store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "13092:6:5",
"type": ""
}
],
"src": "12994:222:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13368:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13378:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13444:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13449:2:5",
"type": "",
"value": "35"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "13385:58:5"
},
"nodeType": "YulFunctionCall",
"src": "13385:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13378:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13550:3:5"
}
],
"functionName": {
"name": "store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f",
"nodeType": "YulIdentifier",
"src": "13461:88:5"
},
"nodeType": "YulFunctionCall",
"src": "13461:93:5"
},
"nodeType": "YulExpressionStatement",
"src": "13461:93:5"
},
{
"nodeType": "YulAssignment",
"src": "13563:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13574:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13579:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13570:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13570:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "13563:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "13356:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "13364:3:5",
"type": ""
}
],
"src": "13222:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13765:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13775:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13787:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13798:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13783:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13783:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13775:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13822:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13833:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13818:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13818:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13841:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13847:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "13837:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13837:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "13811:6:5"
},
"nodeType": "YulFunctionCall",
"src": "13811:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "13811:47:5"
},
{
"nodeType": "YulAssignment",
"src": "13867:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14001:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "13875:124:5"
},
"nodeType": "YulFunctionCall",
"src": "13875:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13867:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "13745:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "13760:4:5",
"type": ""
}
],
"src": "13594:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14125:119:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "14147:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14155:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14143:3:5"
},
"nodeType": "YulFunctionCall",
"src": "14143:14:5"
},
{
"hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732062",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14159:34:5",
"type": "",
"value": "ERC20: transfer amount exceeds b"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14136:6:5"
},
"nodeType": "YulFunctionCall",
"src": "14136:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "14136:58:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "14215:6:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14223:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14211:3:5"
},
"nodeType": "YulFunctionCall",
"src": "14211:15:5"
},
{
"hexValue": "616c616e6365",
"kind": "string",
"nodeType": "YulLiteral",
"src": "14228:8:5",
"type": "",
"value": "alance"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14204:6:5"
},
"nodeType": "YulFunctionCall",
"src": "14204:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "14204:33:5"
}
]
},
"name": "store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "14117:6:5",
"type": ""
}
],
"src": "14019:225:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14396:220:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14406:74:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14472:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14477:2:5",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "14413:58:5"
},
"nodeType": "YulFunctionCall",
"src": "14413:67:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14406:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14578:3:5"
}
],
"functionName": {
"name": "store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6",
"nodeType": "YulIdentifier",
"src": "14489:88:5"
},
"nodeType": "YulFunctionCall",
"src": "14489:93:5"
},
"nodeType": "YulExpressionStatement",
"src": "14489:93:5"
},
{
"nodeType": "YulAssignment",
"src": "14591:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "14602:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14607:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14598:3:5"
},
"nodeType": "YulFunctionCall",
"src": "14598:12:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "14591:3:5"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "14384:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "14392:3:5",
"type": ""
}
],
"src": "14250:366:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14793:248:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14803:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14815:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14826:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14811:3:5"
},
"nodeType": "YulFunctionCall",
"src": "14811:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14803:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14850:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14861:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "14846:3:5"
},
"nodeType": "YulFunctionCall",
"src": "14846:17:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14869:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "14875:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "14865:3:5"
},
"nodeType": "YulFunctionCall",
"src": "14865:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "14839:6:5"
},
"nodeType": "YulFunctionCall",
"src": "14839:47:5"
},
"nodeType": "YulExpressionStatement",
"src": "14839:47:5"
},
{
"nodeType": "YulAssignment",
"src": "14895:139:5",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "15029:4:5"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "14903:124:5"
},
"nodeType": "YulFunctionCall",
"src": "14903:131:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "14895:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "14773:9:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "14788:4:5",
"type": ""
}
],
"src": "14622:419:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15075:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15092:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15095:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15085:6:5"
},
"nodeType": "YulFunctionCall",
"src": "15085:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "15085:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15189:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15192:4:5",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15182:6:5"
},
"nodeType": "YulFunctionCall",
"src": "15182:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "15182:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15213:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15216:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "15206:6:5"
},
"nodeType": "YulFunctionCall",
"src": "15206:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "15206:15:5"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "15047:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15275:52:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15285:35:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15310:2:5",
"type": "",
"value": "96"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "15314:5:5"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "15306:3:5"
},
"nodeType": "YulFunctionCall",
"src": "15306:14:5"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "15285:8:5"
}
]
}
]
},
"name": "shift_left_96",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "15256:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "15266:8:5",
"type": ""
}
],
"src": "15233:94:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15380:47:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15390:31:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "15415:5:5"
}
],
"functionName": {
"name": "shift_left_96",
"nodeType": "YulIdentifier",
"src": "15401:13:5"
},
"nodeType": "YulFunctionCall",
"src": "15401:20:5"
},
"variableNames": [
{
"name": "aligned",
"nodeType": "YulIdentifier",
"src": "15390:7:5"
}
]
}
]
},
"name": "leftAlign_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "15362:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "aligned",
"nodeType": "YulTypedName",
"src": "15372:7:5",
"type": ""
}
],
"src": "15333:94:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15480:53:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15490:37:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "15521:5:5"
}
],
"functionName": {
"name": "leftAlign_t_uint160",
"nodeType": "YulIdentifier",
"src": "15501:19:5"
},
"nodeType": "YulFunctionCall",
"src": "15501:26:5"
},
"variableNames": [
{
"name": "aligned",
"nodeType": "YulIdentifier",
"src": "15490:7:5"
}
]
}
]
},
"name": "leftAlign_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "15462:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "aligned",
"nodeType": "YulTypedName",
"src": "15472:7:5",
"type": ""
}
],
"src": "15433:100:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15622:74:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "15639:3:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "15682:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "15664:17:5"
},
"nodeType": "YulFunctionCall",
"src": "15664:24:5"
}
],
"functionName": {
"name": "leftAlign_t_address",
"nodeType": "YulIdentifier",
"src": "15644:19:5"
},
"nodeType": "YulFunctionCall",
"src": "15644:45:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15632:6:5"
},
"nodeType": "YulFunctionCall",
"src": "15632:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "15632:58:5"
}
]
},
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "15610:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "15617:3:5",
"type": ""
}
],
"src": "15539:157:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15749:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15759:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "15770:5:5"
},
"variableNames": [
{
"name": "aligned",
"nodeType": "YulIdentifier",
"src": "15759:7:5"
}
]
}
]
},
"name": "leftAlign_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "15731:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "aligned",
"nodeType": "YulTypedName",
"src": "15741:7:5",
"type": ""
}
],
"src": "15702:79:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15870:74:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "15887:3:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "15930:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "15912:17:5"
},
"nodeType": "YulFunctionCall",
"src": "15912:24:5"
}
],
"functionName": {
"name": "leftAlign_t_uint256",
"nodeType": "YulIdentifier",
"src": "15892:19:5"
},
"nodeType": "YulFunctionCall",
"src": "15892:45:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15880:6:5"
},
"nodeType": "YulFunctionCall",
"src": "15880:58:5"
},
"nodeType": "YulExpressionStatement",
"src": "15880:58:5"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "15858:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "15865:3:5",
"type": ""
}
],
"src": "15787:157:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16094:253:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "16167:6:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16176:3:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "16105:61:5"
},
"nodeType": "YulFunctionCall",
"src": "16105:75:5"
},
"nodeType": "YulExpressionStatement",
"src": "16105:75:5"
},
{
"nodeType": "YulAssignment",
"src": "16189:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16200:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16205:2:5",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16196:3:5"
},
"nodeType": "YulFunctionCall",
"src": "16196:12:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16189:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "16280:6:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16289:3:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "16218:61:5"
},
"nodeType": "YulFunctionCall",
"src": "16218:75:5"
},
"nodeType": "YulExpressionStatement",
"src": "16218:75:5"
},
{
"nodeType": "YulAssignment",
"src": "16302:19:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16313:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16318:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16309:3:5"
},
"nodeType": "YulFunctionCall",
"src": "16309:12:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16302:3:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "16331:10:5",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16338:3:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "16331:3:5"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_address_t_uint256__to_t_address_t_uint256__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "16065:3:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "16071:6:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "16079:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "16090:3:5",
"type": ""
}
],
"src": "15950:397:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16381:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16398:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16401:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16391:6:5"
},
"nodeType": "YulFunctionCall",
"src": "16391:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "16391:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16495:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16498:4:5",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16488:6:5"
},
"nodeType": "YulFunctionCall",
"src": "16488:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "16488:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16519:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16522:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "16512:6:5"
},
"nodeType": "YulFunctionCall",
"src": "16512:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "16512:15:5"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "16353:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16582:190:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "16592:33:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16619:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "16601:17:5"
},
"nodeType": "YulFunctionCall",
"src": "16601:24:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16592:5:5"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "16715:22:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "16717:16:5"
},
"nodeType": "YulFunctionCall",
"src": "16717:18:5"
},
"nodeType": "YulExpressionStatement",
"src": "16717:18:5"
}
]
},
"condition": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16640:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16647:66:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "16637:2:5"
},
"nodeType": "YulFunctionCall",
"src": "16637:77:5"
},
"nodeType": "YulIf",
"src": "16634:103:5"
},
{
"nodeType": "YulAssignment",
"src": "16746:20:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16757:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16764:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16753:3:5"
},
"nodeType": "YulFunctionCall",
"src": "16753:13:5"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "16746:3:5"
}
]
}
]
},
"name": "increment_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "16568:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "16578:3:5",
"type": ""
}
],
"src": "16539:233:5"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function abi_encode_t_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint8_to_t_uint8_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: decreased allowance below\")\n\n mstore(add(memPtr, 32), \" zero\")\n\n }\n\n function abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function panic_error_0x12() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n\n function checked_div_t_uint256(x, y) -> r {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n if iszero(y) { panic_error_0x12() }\n\n r := div(x, y)\n }\n\n function checked_sub_t_uint256(x, y) -> diff {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n diff := sub(x, y)\n\n if gt(diff, x) { panic_error_0x11() }\n\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n let product_raw := mul(x, y)\n product := cleanup_t_uint256(product_raw)\n\n // overflow, if x != 0 and y != product/x\n if iszero(\n or(\n iszero(x),\n eq(y, div(product, x))\n )\n ) { panic_error_0x11() }\n\n }\n\n function store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: approve from the zero add\")\n\n mstore(add(memPtr, 32), \"ress\")\n\n }\n\n function abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 36)\n store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: approve to the zero addre\")\n\n mstore(add(memPtr, 32), \"ss\")\n\n }\n\n function abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: insufficient allowance\")\n\n }\n\n function abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 29)\n store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer from the zero ad\")\n\n mstore(add(memPtr, 32), \"dress\")\n\n }\n\n function abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer to the zero addr\")\n\n mstore(add(memPtr, 32), \"ess\")\n\n }\n\n function abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer amount exceeds b\")\n\n mstore(add(memPtr, 32), \"alance\")\n\n }\n\n function abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 38)\n store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function shift_left_96(value) -> newValue {\n newValue :=\n\n shl(96, value)\n\n }\n\n function leftAlign_t_uint160(value) -> aligned {\n aligned := shift_left_96(value)\n }\n\n function leftAlign_t_address(value) -> aligned {\n aligned := leftAlign_t_uint160(value)\n }\n\n function abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack(value, pos) {\n mstore(pos, leftAlign_t_address(cleanup_t_address(value)))\n }\n\n function leftAlign_t_uint256(value) -> aligned {\n aligned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack(value, pos) {\n mstore(pos, leftAlign_t_uint256(cleanup_t_uint256(value)))\n }\n\n function abi_encode_tuple_packed_t_address_t_uint256__to_t_address_t_uint256__nonPadded_inplace_fromStack_reversed(pos , value1, value0) -> end {\n\n abi_encode_t_address_to_t_address_nonPadded_inplace_fromStack(value0, pos)\n pos := add(pos, 20)\n\n abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack(value1, pos)\n pos := add(pos, 32)\n\n end := pos\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function increment_t_uint256(value) -> ret {\n value := cleanup_t_uint256(value)\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n\n}\n",
"id": 5,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d714610263578063a9059cbb14610293578063d4698016146102c3578063dd62ed3e146102e1576100ea565b806370a08231146101f757806375f0a8741461022757806395d89b4114610245576100ea565b8063185870f9116100c8578063185870f91461015b57806323b872dd14610179578063313ce567146101a957806339509351146101c7576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461013d575b600080fd5b6100f7610311565b6040516101049190610ef7565b60405180910390f35b61012760048036038101906101229190610fb2565b6103a3565b604051610134919061100d565b60405180910390f35b6101456103c6565b6040516101529190611037565b60405180910390f35b6101636103d0565b6040516101709190611061565b60405180910390f35b610193600480360381019061018e919061107c565b6103f6565b6040516101a0919061100d565b60405180910390f35b6101b1610425565b6040516101be91906110eb565b60405180910390f35b6101e160048036038101906101dc9190610fb2565b61042e565b6040516101ee919061100d565b60405180910390f35b610211600480360381019061020c9190611106565b610465565b60405161021e9190611037565b60405180910390f35b61022f6104ad565b60405161023c9190611061565b60405180910390f35b61024d6104d3565b60405161025a9190610ef7565b60405180910390f35b61027d60048036038101906102789190610fb2565b610565565b60405161028a919061100d565b60405180910390f35b6102ad60048036038101906102a89190610fb2565b6105dc565b6040516102ba919061100d565b60405180910390f35b6102cb610721565b6040516102d89190611061565b60405180910390f35b6102fb60048036038101906102f69190611133565b610747565b6040516103089190611037565b60405180910390f35b606060038054610320906111a2565b80601f016020809104026020016040519081016040528092919081815260200182805461034c906111a2565b80156103995780601f1061036e57610100808354040283529160200191610399565b820191906000526020600020905b81548152906001019060200180831161037c57829003601f168201915b5050505050905090565b6000806103ae6107ce565b90506103bb8185856107d6565b600191505092915050565b6000600254905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806104016107ce565b905061040e85828561099f565b610419858585610a2b565b60019150509392505050565b60006012905090565b6000806104396107ce565b905061045a81858561044b8589610747565b6104559190611202565b6107d6565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600480546104e2906111a2565b80601f016020809104026020016040519081016040528092919081815260200182805461050e906111a2565b801561055b5780601f106105305761010080835404028352916020019161055b565b820191906000526020600020905b81548152906001019060200180831161053e57829003601f168201915b5050505050905090565b6000806105706107ce565b9050600061057e8286610747565b9050838110156105c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ba906112a8565b60405180910390fd5b6105d082868684036107d6565b60019250505092915050565b600080600a836105ec91906112f7565b9050600081846105fc9190611328565b905061063e6106096107ce565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600285610639919061135c565b610a2b565b61067e6106496107ce565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600285610679919061135c565b610a2b565b6106be6106896107ce565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005856106b9919061135c565b610a2b565b60006106ca6000610465565b6106d26103c6565b6106dc9190611328565b9050600081111561070257600081846106f591906112f7565b905061070081610ca1565b505b61071461070d6107ce565b8784610a2b565b6001935050505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083c90611410565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ab906114a2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516109929190611037565b60405180910390a3505050565b60006109ab8484610747565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610a255781811015610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e9061150e565b60405180910390fd5b610a2484848484036107d6565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a91906115a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0090611632565b60405180910390fd5b610b14838383610e5d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b91906116c4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c889190611037565b60405180910390a3610c9b848484610e62565b50505050565b6000610cab6103c6565b67ffffffffffffffff811115610cc457610cc36116e4565b5b604051908082528060200260200182016040528015610cf25781602001602082028036833780820191505090505b5090506000805b610d016103c6565b811015610df35760003082604051602001610d1d92919061177c565b6040516020818303038152906040528051906020012060001c9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610d7d57506000610d7b82610465565b115b15610ddf5780848481518110610d9657610d956117a8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508280610ddb906117d7565b9350505b508080610deb906117d7565b915050610cf9565b5060005b81811015610e57576000838281518110610e1457610e136117a8565b5b60200260200101519050600085610e2a83610465565b610e34919061135c565b9050610e4260008383610a2b565b50508080610e4f906117d7565b915050610df7565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610ea1578082015181840152602081019050610e86565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ec982610e67565b610ed38185610e72565b9350610ee3818560208601610e83565b610eec81610ead565b840191505092915050565b60006020820190508181036000830152610f118184610ebe565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f4982610f1e565b9050919050565b610f5981610f3e565b8114610f6457600080fd5b50565b600081359050610f7681610f50565b92915050565b6000819050919050565b610f8f81610f7c565b8114610f9a57600080fd5b50565b600081359050610fac81610f86565b92915050565b60008060408385031215610fc957610fc8610f19565b5b6000610fd785828601610f67565b9250506020610fe885828601610f9d565b9150509250929050565b60008115159050919050565b61100781610ff2565b82525050565b60006020820190506110226000830184610ffe565b92915050565b61103181610f7c565b82525050565b600060208201905061104c6000830184611028565b92915050565b61105b81610f3e565b82525050565b60006020820190506110766000830184611052565b92915050565b60008060006060848603121561109557611094610f19565b5b60006110a386828701610f67565b93505060206110b486828701610f67565b92505060406110c586828701610f9d565b9150509250925092565b600060ff82169050919050565b6110e5816110cf565b82525050565b600060208201905061110060008301846110dc565b92915050565b60006020828403121561111c5761111b610f19565b5b600061112a84828501610f67565b91505092915050565b6000806040838503121561114a57611149610f19565b5b600061115885828601610f67565b925050602061116985828601610f67565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806111ba57607f821691505b6020821081036111cd576111cc611173565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061120d82610f7c565b915061121883610f7c565b92508282019050808211156112305761122f6111d3565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611292602583610e72565b915061129d82611236565b604082019050919050565b600060208201905081810360008301526112c181611285565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061130282610f7c565b915061130d83610f7c565b92508261131d5761131c6112c8565b5b828204905092915050565b600061133382610f7c565b915061133e83610f7c565b9250828203905081811115611356576113556111d3565b5b92915050565b600061136782610f7c565b915061137283610f7c565b925082820261138081610f7c565b91508282048414831517611397576113966111d3565b5b5092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006113fa602483610e72565b91506114058261139e565b604082019050919050565b60006020820190508181036000830152611429816113ed565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061148c602283610e72565b915061149782611430565b604082019050919050565b600060208201905081810360008301526114bb8161147f565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006114f8601d83610e72565b9150611503826114c2565b602082019050919050565b60006020820190508181036000830152611527816114eb565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061158a602583610e72565b91506115958261152e565b604082019050919050565b600060208201905081810360008301526115b98161157d565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061161c602383610e72565b9150611627826115c0565b604082019050919050565b6000602082019050818103600083015261164b8161160f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006116ae602683610e72565b91506116b982611652565b604082019050919050565b600060208201905081810360008301526116dd816116a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160601b9050919050565b600061172b82611713565b9050919050565b600061173d82611720565b9050919050565b61175561175082610f3e565b611732565b82525050565b6000819050919050565b61177661177182610f7c565b61175b565b82525050565b60006117888285611744565b6014820191506117988284611765565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006117e282610f7c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611814576118136111d3565b5b60018201905091905056fea26469706673582212208f0a90ee91df49afb135f7aae56ee1de1240cfc39b7a71881adf49d0e4a0c26664736f6c63430008110033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xEA JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x70A08231 GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xA457C2D7 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x263 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x293 JUMPI DUP1 PUSH4 0xD4698016 EQ PUSH2 0x2C3 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x2E1 JUMPI PUSH2 0xEA JUMP JUMPDEST DUP1 PUSH4 0x70A08231 EQ PUSH2 0x1F7 JUMPI DUP1 PUSH4 0x75F0A874 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x245 JUMPI PUSH2 0xEA JUMP JUMPDEST DUP1 PUSH4 0x185870F9 GT PUSH2 0xC8 JUMPI DUP1 PUSH4 0x185870F9 EQ PUSH2 0x15B JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x179 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x1A9 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x1C7 JUMPI PUSH2 0xEA JUMP JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0xEF JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x10D JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x13D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF7 PUSH2 0x311 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x104 SWAP2 SWAP1 PUSH2 0xEF7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x127 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x122 SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x3A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x134 SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x145 PUSH2 0x3C6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x152 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x163 PUSH2 0x3D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x170 SWAP2 SWAP1 PUSH2 0x1061 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x193 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x18E SWAP2 SWAP1 PUSH2 0x107C JUMP JUMPDEST PUSH2 0x3F6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1A0 SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1B1 PUSH2 0x425 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1BE SWAP2 SWAP1 PUSH2 0x10EB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1E1 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1DC SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x42E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1EE SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x211 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x20C SWAP2 SWAP1 PUSH2 0x1106 JUMP JUMPDEST PUSH2 0x465 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21E SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x22F PUSH2 0x4AD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x23C SWAP2 SWAP1 PUSH2 0x1061 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x24D PUSH2 0x4D3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x25A SWAP2 SWAP1 PUSH2 0xEF7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x27D PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x278 SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x565 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x28A SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2AD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2A8 SWAP2 SWAP1 PUSH2 0xFB2 JUMP JUMPDEST PUSH2 0x5DC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2BA SWAP2 SWAP1 PUSH2 0x100D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2CB PUSH2 0x721 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2D8 SWAP2 SWAP1 PUSH2 0x1061 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2FB PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2F6 SWAP2 SWAP1 PUSH2 0x1133 JUMP JUMPDEST PUSH2 0x747 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x308 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x320 SWAP1 PUSH2 0x11A2 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 0x34C SWAP1 PUSH2 0x11A2 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x399 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x36E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x399 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 0x37C JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x3AE PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH2 0x3BB DUP2 DUP6 DUP6 PUSH2 0x7D6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x7 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x401 PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH2 0x40E DUP6 DUP3 DUP6 PUSH2 0x99F JUMP JUMPDEST PUSH2 0x419 DUP6 DUP6 DUP6 PUSH2 0xA2B JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x439 PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH2 0x45A DUP2 DUP6 DUP6 PUSH2 0x44B DUP6 DUP10 PUSH2 0x747 JUMP JUMPDEST PUSH2 0x455 SWAP2 SWAP1 PUSH2 0x1202 JUMP JUMPDEST PUSH2 0x7D6 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x4E2 SWAP1 PUSH2 0x11A2 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 0x50E SWAP1 PUSH2 0x11A2 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x55B JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x530 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x55B 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 0x53E JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x570 PUSH2 0x7CE JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x57E DUP3 DUP7 PUSH2 0x747 JUMP JUMPDEST SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0x5C3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5BA SWAP1 PUSH2 0x12A8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x5D0 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0x7D6 JUMP JUMPDEST PUSH1 0x1 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0xA DUP4 PUSH2 0x5EC SWAP2 SWAP1 PUSH2 0x12F7 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 DUP5 PUSH2 0x5FC SWAP2 SWAP1 PUSH2 0x1328 JUMP JUMPDEST SWAP1 POP PUSH2 0x63E PUSH2 0x609 PUSH2 0x7CE JUMP JUMPDEST PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x2 DUP6 PUSH2 0x639 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH2 0xA2B JUMP JUMPDEST PUSH2 0x67E PUSH2 0x649 PUSH2 0x7CE JUMP JUMPDEST PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x2 DUP6 PUSH2 0x679 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH2 0xA2B JUMP JUMPDEST PUSH2 0x6BE PUSH2 0x689 PUSH2 0x7CE JUMP JUMPDEST PUSH1 0x7 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x5 DUP6 PUSH2 0x6B9 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH2 0xA2B JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6CA PUSH1 0x0 PUSH2 0x465 JUMP JUMPDEST PUSH2 0x6D2 PUSH2 0x3C6 JUMP JUMPDEST PUSH2 0x6DC SWAP2 SWAP1 PUSH2 0x1328 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 GT ISZERO PUSH2 0x702 JUMPI PUSH1 0x0 DUP2 DUP5 PUSH2 0x6F5 SWAP2 SWAP1 PUSH2 0x12F7 JUMP JUMPDEST SWAP1 POP PUSH2 0x700 DUP2 PUSH2 0xCA1 JUMP JUMPDEST POP JUMPDEST PUSH2 0x714 PUSH2 0x70D PUSH2 0x7CE JUMP JUMPDEST DUP8 DUP5 PUSH2 0xA2B JUMP JUMPDEST PUSH1 0x1 SWAP4 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x845 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x83C SWAP1 PUSH2 0x1410 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x8B4 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8AB SWAP1 PUSH2 0x14A2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP4 PUSH1 0x40 MLOAD PUSH2 0x992 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9AB DUP5 DUP5 PUSH2 0x747 JUMP JUMPDEST SWAP1 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 EQ PUSH2 0xA25 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0xA17 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA0E SWAP1 PUSH2 0x150E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xA24 DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0x7D6 JUMP JUMPDEST JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xA9A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA91 SWAP1 PUSH2 0x15A0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xB09 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB00 SWAP1 PUSH2 0x1632 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xB14 DUP4 DUP4 DUP4 PUSH2 0xE5D JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0xB9A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB91 SWAP1 PUSH2 0x16C4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0xC88 SWAP2 SWAP1 PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0xC9B DUP5 DUP5 DUP5 PUSH2 0xE62 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCAB PUSH2 0x3C6 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xCC4 JUMPI PUSH2 0xCC3 PUSH2 0x16E4 JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xCF2 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP1 JUMPDEST PUSH2 0xD01 PUSH2 0x3C6 JUMP JUMPDEST DUP2 LT ISZERO PUSH2 0xDF3 JUMPI PUSH1 0x0 ADDRESS DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD1D SWAP3 SWAP2 SWAP1 PUSH2 0x177C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x0 SHR SWAP1 POP PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO DUP1 ISZERO PUSH2 0xD7D JUMPI POP PUSH1 0x0 PUSH2 0xD7B DUP3 PUSH2 0x465 JUMP JUMPDEST GT JUMPDEST ISZERO PUSH2 0xDDF JUMPI DUP1 DUP5 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0xD96 JUMPI PUSH2 0xD95 PUSH2 0x17A8 JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP DUP3 DUP1 PUSH2 0xDDB SWAP1 PUSH2 0x17D7 JUMP JUMPDEST SWAP4 POP POP JUMPDEST POP DUP1 DUP1 PUSH2 0xDEB SWAP1 PUSH2 0x17D7 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xCF9 JUMP JUMPDEST POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xE57 JUMPI PUSH1 0x0 DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xE14 JUMPI PUSH2 0xE13 PUSH2 0x17A8 JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD SWAP1 POP PUSH1 0x0 DUP6 PUSH2 0xE2A DUP4 PUSH2 0x465 JUMP JUMPDEST PUSH2 0xE34 SWAP2 SWAP1 PUSH2 0x135C JUMP JUMPDEST SWAP1 POP PUSH2 0xE42 PUSH1 0x0 DUP4 DUP4 PUSH2 0xA2B JUMP JUMPDEST POP POP DUP1 DUP1 PUSH2 0xE4F SWAP1 PUSH2 0x17D7 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xDF7 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xEA1 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE86 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEC9 DUP3 PUSH2 0xE67 JUMP JUMPDEST PUSH2 0xED3 DUP2 DUP6 PUSH2 0xE72 JUMP JUMPDEST SWAP4 POP PUSH2 0xEE3 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xE83 JUMP JUMPDEST PUSH2 0xEEC DUP2 PUSH2 0xEAD JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xF11 DUP2 DUP5 PUSH2 0xEBE JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF49 DUP3 PUSH2 0xF1E JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xF59 DUP2 PUSH2 0xF3E JUMP JUMPDEST DUP2 EQ PUSH2 0xF64 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xF76 DUP2 PUSH2 0xF50 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xF8F DUP2 PUSH2 0xF7C JUMP JUMPDEST DUP2 EQ PUSH2 0xF9A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xFAC DUP2 PUSH2 0xF86 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xFC9 JUMPI PUSH2 0xFC8 PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xFD7 DUP6 DUP3 DUP7 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xFE8 DUP6 DUP3 DUP7 ADD PUSH2 0xF9D JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1007 DUP2 PUSH2 0xFF2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1022 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xFFE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1031 DUP2 PUSH2 0xF7C JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x104C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1028 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x105B DUP2 PUSH2 0xF3E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1076 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1052 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1095 JUMPI PUSH2 0x1094 PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x10A3 DUP7 DUP3 DUP8 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x10B4 DUP7 DUP3 DUP8 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x10C5 DUP7 DUP3 DUP8 ADD PUSH2 0xF9D JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x10E5 DUP2 PUSH2 0x10CF JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1100 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x10DC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x111C JUMPI PUSH2 0x111B PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x112A DUP5 DUP3 DUP6 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x114A JUMPI PUSH2 0x1149 PUSH2 0xF19 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1158 DUP6 DUP3 DUP7 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1169 DUP6 DUP3 DUP7 ADD PUSH2 0xF67 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x11BA JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x11CD JUMPI PUSH2 0x11CC PUSH2 0x1173 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x120D DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x1218 DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x1230 JUMPI PUSH2 0x122F PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x207A65726F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1292 PUSH1 0x25 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x129D DUP3 PUSH2 0x1236 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x12C1 DUP2 PUSH2 0x1285 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1302 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x130D DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x131D JUMPI PUSH2 0x131C PUSH2 0x12C8 JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1333 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x133E DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 SUB SWAP1 POP DUP2 DUP2 GT ISZERO PUSH2 0x1356 JUMPI PUSH2 0x1355 PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1367 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH2 0x1372 DUP4 PUSH2 0xF7C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x1380 DUP2 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x1397 JUMPI PUSH2 0x1396 PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x13FA PUSH1 0x24 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1405 DUP3 PUSH2 0x139E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1429 DUP2 PUSH2 0x13ED JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7373000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x148C PUSH1 0x22 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1497 DUP3 PUSH2 0x1430 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x14BB DUP2 PUSH2 0x147F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14F8 PUSH1 0x1D DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1503 DUP3 PUSH2 0x14C2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1527 DUP2 PUSH2 0x14EB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6472657373000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x158A PUSH1 0x25 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1595 DUP3 PUSH2 0x152E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x15B9 DUP2 PUSH2 0x157D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6573730000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x161C PUSH1 0x23 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x1627 DUP3 PUSH2 0x15C0 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x164B DUP2 PUSH2 0x160F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x616C616E63650000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x16AE PUSH1 0x26 DUP4 PUSH2 0xE72 JUMP JUMPDEST SWAP2 POP PUSH2 0x16B9 DUP3 PUSH2 0x1652 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x16DD DUP2 PUSH2 0x16A1 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x60 SHL SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x172B DUP3 PUSH2 0x1713 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x173D DUP3 PUSH2 0x1720 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1755 PUSH2 0x1750 DUP3 PUSH2 0xF3E JUMP JUMPDEST PUSH2 0x1732 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1776 PUSH2 0x1771 DUP3 PUSH2 0xF7C JUMP JUMPDEST PUSH2 0x175B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1788 DUP3 DUP6 PUSH2 0x1744 JUMP JUMPDEST PUSH1 0x14 DUP3 ADD SWAP2 POP PUSH2 0x1798 DUP3 DUP5 PUSH2 0x1765 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP2 POP DUP2 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x17E2 DUP3 PUSH2 0xF7C JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1814 JUMPI PUSH2 0x1813 PUSH2 0x11D3 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP16 EXP SWAP1 0xEE SWAP2 0xDF 0x49 0xAF 0xB1 CALLDATALOAD 0xF7 0xAA 0xE5 PUSH15 0xE1DE1240CFC39B7A71881ADF49D0E4 LOG0 0xC2 PUSH7 0x64736F6C634300 ADDMOD GT STOP CALLER ",
"sourceMap": "119:1867:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:98:0;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4431:197;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3242:106;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;224:30:4;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5190:286:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3091:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5871:234;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3406:125;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;150:30:4;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2365:102:0;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6592:427;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;526:716:4;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;187:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3974:149:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2154:98;2208:13;2240:5;2233:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:98;:::o;4431:197::-;4514:4;4530:13;4546:12;:10;:12::i;:::-;4530:28;;4568:32;4577:5;4584:7;4593:6;4568:8;:32::i;:::-;4617:4;4610:11;;;4431:197;;;;:::o;3242:106::-;3303:7;3329:12;;3322:19;;3242:106;:::o;224:30:4:-;;;;;;;;;;;;;:::o;5190:286:0:-;5317:4;5333:15;5351:12;:10;:12::i;:::-;5333:30;;5373:38;5389:4;5395:7;5404:6;5373:15;:38::i;:::-;5421:27;5431:4;5437:2;5441:6;5421:9;:27::i;:::-;5465:4;5458:11;;;5190:286;;;;;:::o;3091:91::-;3149:5;3173:2;3166:9;;3091:91;:::o;5871:234::-;5959:4;5975:13;5991:12;:10;:12::i;:::-;5975:28;;6013:64;6022:5;6029:7;6066:10;6038:25;6048:5;6055:7;6038:9;:25::i;:::-;:38;;;;:::i;:::-;6013:8;:64::i;:::-;6094:4;6087:11;;;5871:234;;;;:::o;3406:125::-;3480:7;3506:9;:18;3516:7;3506:18;;;;;;;;;;;;;;;;3499:25;;3406:125;;;:::o;150:30:4:-;;;;;;;;;;;;;:::o;2365:102:0:-;2421:13;2453:7;2446:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2365:102;:::o;6592:427::-;6685:4;6701:13;6717:12;:10;:12::i;:::-;6701:28;;6739:24;6766:25;6776:5;6783:7;6766:9;:25::i;:::-;6739:52;;6829:15;6809:16;:35;;6801:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;6920:60;6929:5;6936:7;6964:15;6945:16;:34;6920:8;:60::i;:::-;7008:4;7001:11;;;;6592:427;;;;:::o;526:716:4:-;612:4;629:17;658:2;649:6;:11;;;;:::i;:::-;629:31;;671:24;707:9;698:6;:18;;;;:::i;:::-;671:45;;727:55;737:12;:10;:12::i;:::-;751:15;;;;;;;;;;;780:1;768:9;:13;;;;:::i;:::-;727:9;:55::i;:::-;793;803:12;:10;:12::i;:::-;817:15;;;;;;;;;;;846:1;834:9;:13;;;;:::i;:::-;793:9;:55::i;:::-;859;869:12;:10;:12::i;:::-;883:15;;;;;;;;;;;912:1;900:9;:13;;;;:::i;:::-;859:9;:55::i;:::-;925:20;964:21;982:1;964:9;:21::i;:::-;948:13;:11;:13::i;:::-;:37;;;;:::i;:::-;925:60;;1015:1;1000:12;:16;996:154;;;1033:26;1074:12;1062:9;:24;;;;:::i;:::-;1033:53;;1101:37;1119:18;1101:17;:37::i;:::-;1018:132;996:154;1160:52;1170:12;:10;:12::i;:::-;1184:9;1195:16;1160:9;:52::i;:::-;1230:4;1223:11;;;;;526:716;;;;:::o;187:30::-;;;;;;;;;;;;;:::o;3974:149:0:-;4063:7;4089:11;:18;4101:5;4089:18;;;;;;;;;;;;;;;:27;4108:7;4089:27;;;;;;;;;;;;;;;;4082:34;;3974:149;;;;:::o;640:96:3:-;693:7;719:10;712:17;;640:96;:::o;10504:370:0:-;10652:1;10635:19;;:5;:19;;;10627:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;10732:1;10713:21;;:7;:21;;;10705:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;10814:6;10784:11;:18;10796:5;10784:18;;;;;;;;;;;;;;;:27;10803:7;10784:27;;;;;;;;;;;;;;;:36;;;;10851:7;10835:32;;10844:5;10835:32;;;10860:6;10835:32;;;;;;:::i;:::-;;;;;;;;10504:370;;;:::o;11155:441::-;11285:24;11312:25;11322:5;11329:7;11312:9;:25::i;:::-;11285:52;;11371:17;11351:16;:37;11347:243;;11432:6;11412:16;:26;;11404:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;11514:51;11523:5;11530:7;11558:6;11539:16;:25;11514:8;:51::i;:::-;11347:243;11275:321;11155:441;;;:::o;7473:818::-;7615:1;7599:18;;:4;:18;;;7591:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;7691:1;7677:16;;:2;:16;;;7669:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;7744:38;7765:4;7771:2;7775:6;7744:20;:38::i;:::-;7793:19;7815:9;:15;7825:4;7815:15;;;;;;;;;;;;;;;;7793:37;;7863:6;7848:11;:21;;7840:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;7978:6;7964:11;:20;7946:9;:15;7956:4;7946:15;;;;;;;;;;;;;;;:38;;;;8178:6;8161:9;:13;8171:2;8161:13;;;;;;;;;;;;;;;;:23;;;;;;;;;;;8225:2;8210:26;;8219:4;8210:26;;;8229:6;8210:26;;;;;;:::i;:::-;;;;;;;;8247:37;8267:4;8273:2;8277:6;8247:19;:37::i;:::-;7581:710;7473:818;;;:::o;1250:733:4:-;1312:24;1353:13;:11;:13::i;:::-;1339:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1312:55;;1378:19;1417:9;1412:350;1436:13;:11;:13::i;:::-;1432:1;:17;1412:350;;;1471:14;1562:4;1569:1;1519:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1509:77;;;;;;1504:83;;1471:118;;1626:1;1608:20;;:6;:20;;;;:45;;;;;1652:1;1632:17;1642:6;1632:9;:17::i;:::-;:21;1608:45;1604:147;;;1697:6;1674:7;1682:11;1674:20;;;;;;;;:::i;:::-;;;;;;;:29;;;;;;;;;;;1722:13;;;;;:::i;:::-;;;;1604:147;1456:306;1451:3;;;;;:::i;:::-;;;;1412:350;;;;1777:9;1772:204;1796:11;1792:1;:15;1772:204;;;1829:14;1846:7;1854:1;1846:10;;;;;;;;:::i;:::-;;;;;;;;1829:27;;1871:13;1907:6;1887:17;1897:6;1887:9;:17::i;:::-;:26;;;;:::i;:::-;1871:42;;1928:36;1946:1;1950:6;1958:5;1928:9;:36::i;:::-;1814:162;;1809:3;;;;;:::i;:::-;;;;1772:204;;;;1301:682;;1250:733;:::o;12180:121:0:-;;;;:::o;12889:120::-;;;;:::o;7:99:5:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1676:126;1713:7;1753:42;1746:5;1742:54;1731:65;;1676:126;;;:::o;1808:96::-;1845:7;1874:24;1892:5;1874:24;:::i;:::-;1863:35;;1808:96;;;:::o;1910:122::-;1983:24;2001:5;1983:24;:::i;:::-;1976:5;1973:35;1963:63;;2022:1;2019;2012:12;1963:63;1910:122;:::o;2038:139::-;2084:5;2122:6;2109:20;2100:29;;2138:33;2165:5;2138:33;:::i;:::-;2038:139;;;;:::o;2183:77::-;2220:7;2249:5;2238:16;;2183:77;;;:::o;2266:122::-;2339:24;2357:5;2339:24;:::i;:::-;2332:5;2329:35;2319:63;;2378:1;2375;2368:12;2319:63;2266:122;:::o;2394:139::-;2440:5;2478:6;2465:20;2456:29;;2494:33;2521:5;2494:33;:::i;:::-;2394:139;;;;:::o;2539:474::-;2607:6;2615;2664:2;2652:9;2643:7;2639:23;2635:32;2632:119;;;2670:79;;:::i;:::-;2632:119;2790:1;2815:53;2860:7;2851:6;2840:9;2836:22;2815:53;:::i;:::-;2805:63;;2761:117;2917:2;2943:53;2988:7;2979:6;2968:9;2964:22;2943:53;:::i;:::-;2933:63;;2888:118;2539:474;;;;;:::o;3019:90::-;3053:7;3096:5;3089:13;3082:21;3071:32;;3019:90;;;:::o;3115:109::-;3196:21;3211:5;3196:21;:::i;:::-;3191:3;3184:34;3115:109;;:::o;3230:210::-;3317:4;3355:2;3344:9;3340:18;3332:26;;3368:65;3430:1;3419:9;3415:17;3406:6;3368:65;:::i;:::-;3230:210;;;;:::o;3446:118::-;3533:24;3551:5;3533:24;:::i;:::-;3528:3;3521:37;3446:118;;:::o;3570:222::-;3663:4;3701:2;3690:9;3686:18;3678:26;;3714:71;3782:1;3771:9;3767:17;3758:6;3714:71;:::i;:::-;3570:222;;;;:::o;3798:118::-;3885:24;3903:5;3885:24;:::i;:::-;3880:3;3873:37;3798:118;;:::o;3922:222::-;4015:4;4053:2;4042:9;4038:18;4030:26;;4066:71;4134:1;4123:9;4119:17;4110:6;4066:71;:::i;:::-;3922:222;;;;:::o;4150:619::-;4227:6;4235;4243;4292:2;4280:9;4271:7;4267:23;4263:32;4260:119;;;4298:79;;:::i;:::-;4260:119;4418:1;4443:53;4488:7;4479:6;4468:9;4464:22;4443:53;:::i;:::-;4433:63;;4389:117;4545:2;4571:53;4616:7;4607:6;4596:9;4592:22;4571:53;:::i;:::-;4561:63;;4516:118;4673:2;4699:53;4744:7;4735:6;4724:9;4720:22;4699:53;:::i;:::-;4689:63;;4644:118;4150:619;;;;;:::o;4775:86::-;4810:7;4850:4;4843:5;4839:16;4828:27;;4775:86;;;:::o;4867:112::-;4950:22;4966:5;4950:22;:::i;:::-;4945:3;4938:35;4867:112;;:::o;4985:214::-;5074:4;5112:2;5101:9;5097:18;5089:26;;5125:67;5189:1;5178:9;5174:17;5165:6;5125:67;:::i;:::-;4985:214;;;;:::o;5205:329::-;5264:6;5313:2;5301:9;5292:7;5288:23;5284:32;5281:119;;;5319:79;;:::i;:::-;5281:119;5439:1;5464:53;5509:7;5500:6;5489:9;5485:22;5464:53;:::i;:::-;5454:63;;5410:117;5205:329;;;;:::o;5540:474::-;5608:6;5616;5665:2;5653:9;5644:7;5640:23;5636:32;5633:119;;;5671:79;;:::i;:::-;5633:119;5791:1;5816:53;5861:7;5852:6;5841:9;5837:22;5816:53;:::i;:::-;5806:63;;5762:117;5918:2;5944:53;5989:7;5980:6;5969:9;5965:22;5944:53;:::i;:::-;5934:63;;5889:118;5540:474;;;;;:::o;6020:180::-;6068:77;6065:1;6058:88;6165:4;6162:1;6155:15;6189:4;6186:1;6179:15;6206:320;6250:6;6287:1;6281:4;6277:12;6267:22;;6334:1;6328:4;6324:12;6355:18;6345:81;;6411:4;6403:6;6399:17;6389:27;;6345:81;6473:2;6465:6;6462:14;6442:18;6439:38;6436:84;;6492:18;;:::i;:::-;6436:84;6257:269;6206:320;;;:::o;6532:180::-;6580:77;6577:1;6570:88;6677:4;6674:1;6667:15;6701:4;6698:1;6691:15;6718:191;6758:3;6777:20;6795:1;6777:20;:::i;:::-;6772:25;;6811:20;6829:1;6811:20;:::i;:::-;6806:25;;6854:1;6851;6847:9;6840:16;;6875:3;6872:1;6869:10;6866:36;;;6882:18;;:::i;:::-;6866:36;6718:191;;;;:::o;6915:224::-;7055:34;7051:1;7043:6;7039:14;7032:58;7124:7;7119:2;7111:6;7107:15;7100:32;6915:224;:::o;7145:366::-;7287:3;7308:67;7372:2;7367:3;7308:67;:::i;:::-;7301:74;;7384:93;7473:3;7384:93;:::i;:::-;7502:2;7497:3;7493:12;7486:19;;7145:366;;;:::o;7517:419::-;7683:4;7721:2;7710:9;7706:18;7698:26;;7770:9;7764:4;7760:20;7756:1;7745:9;7741:17;7734:47;7798:131;7924:4;7798:131;:::i;:::-;7790:139;;7517:419;;;:::o;7942:180::-;7990:77;7987:1;7980:88;8087:4;8084:1;8077:15;8111:4;8108:1;8101:15;8128:185;8168:1;8185:20;8203:1;8185:20;:::i;:::-;8180:25;;8219:20;8237:1;8219:20;:::i;:::-;8214:25;;8258:1;8248:35;;8263:18;;:::i;:::-;8248:35;8305:1;8302;8298:9;8293:14;;8128:185;;;;:::o;8319:194::-;8359:4;8379:20;8397:1;8379:20;:::i;:::-;8374:25;;8413:20;8431:1;8413:20;:::i;:::-;8408:25;;8457:1;8454;8450:9;8442:17;;8481:1;8475:4;8472:11;8469:37;;;8486:18;;:::i;:::-;8469:37;8319:194;;;;:::o;8519:410::-;8559:7;8582:20;8600:1;8582:20;:::i;:::-;8577:25;;8616:20;8634:1;8616:20;:::i;:::-;8611:25;;8671:1;8668;8664:9;8693:30;8711:11;8693:30;:::i;:::-;8682:41;;8872:1;8863:7;8859:15;8856:1;8853:22;8833:1;8826:9;8806:83;8783:139;;8902:18;;:::i;:::-;8783:139;8567:362;8519:410;;;;:::o;8935:223::-;9075:34;9071:1;9063:6;9059:14;9052:58;9144:6;9139:2;9131:6;9127:15;9120:31;8935:223;:::o;9164:366::-;9306:3;9327:67;9391:2;9386:3;9327:67;:::i;:::-;9320:74;;9403:93;9492:3;9403:93;:::i;:::-;9521:2;9516:3;9512:12;9505:19;;9164:366;;;:::o;9536:419::-;9702:4;9740:2;9729:9;9725:18;9717:26;;9789:9;9783:4;9779:20;9775:1;9764:9;9760:17;9753:47;9817:131;9943:4;9817:131;:::i;:::-;9809:139;;9536:419;;;:::o;9961:221::-;10101:34;10097:1;10089:6;10085:14;10078:58;10170:4;10165:2;10157:6;10153:15;10146:29;9961:221;:::o;10188:366::-;10330:3;10351:67;10415:2;10410:3;10351:67;:::i;:::-;10344:74;;10427:93;10516:3;10427:93;:::i;:::-;10545:2;10540:3;10536:12;10529:19;;10188:366;;;:::o;10560:419::-;10726:4;10764:2;10753:9;10749:18;10741:26;;10813:9;10807:4;10803:20;10799:1;10788:9;10784:17;10777:47;10841:131;10967:4;10841:131;:::i;:::-;10833:139;;10560:419;;;:::o;10985:179::-;11125:31;11121:1;11113:6;11109:14;11102:55;10985:179;:::o;11170:366::-;11312:3;11333:67;11397:2;11392:3;11333:67;:::i;:::-;11326:74;;11409:93;11498:3;11409:93;:::i;:::-;11527:2;11522:3;11518:12;11511:19;;11170:366;;;:::o;11542:419::-;11708:4;11746:2;11735:9;11731:18;11723:26;;11795:9;11789:4;11785:20;11781:1;11770:9;11766:17;11759:47;11823:131;11949:4;11823:131;:::i;:::-;11815:139;;11542:419;;;:::o;11967:224::-;12107:34;12103:1;12095:6;12091:14;12084:58;12176:7;12171:2;12163:6;12159:15;12152:32;11967:224;:::o;12197:366::-;12339:3;12360:67;12424:2;12419:3;12360:67;:::i;:::-;12353:74;;12436:93;12525:3;12436:93;:::i;:::-;12554:2;12549:3;12545:12;12538:19;;12197:366;;;:::o;12569:419::-;12735:4;12773:2;12762:9;12758:18;12750:26;;12822:9;12816:4;12812:20;12808:1;12797:9;12793:17;12786:47;12850:131;12976:4;12850:131;:::i;:::-;12842:139;;12569:419;;;:::o;12994:222::-;13134:34;13130:1;13122:6;13118:14;13111:58;13203:5;13198:2;13190:6;13186:15;13179:30;12994:222;:::o;13222:366::-;13364:3;13385:67;13449:2;13444:3;13385:67;:::i;:::-;13378:74;;13461:93;13550:3;13461:93;:::i;:::-;13579:2;13574:3;13570:12;13563:19;;13222:366;;;:::o;13594:419::-;13760:4;13798:2;13787:9;13783:18;13775:26;;13847:9;13841:4;13837:20;13833:1;13822:9;13818:17;13811:47;13875:131;14001:4;13875:131;:::i;:::-;13867:139;;13594:419;;;:::o;14019:225::-;14159:34;14155:1;14147:6;14143:14;14136:58;14228:8;14223:2;14215:6;14211:15;14204:33;14019:225;:::o;14250:366::-;14392:3;14413:67;14477:2;14472:3;14413:67;:::i;:::-;14406:74;;14489:93;14578:3;14489:93;:::i;:::-;14607:2;14602:3;14598:12;14591:19;;14250:366;;;:::o;14622:419::-;14788:4;14826:2;14815:9;14811:18;14803:26;;14875:9;14869:4;14865:20;14861:1;14850:9;14846:17;14839:47;14903:131;15029:4;14903:131;:::i;:::-;14895:139;;14622:419;;;:::o;15047:180::-;15095:77;15092:1;15085:88;15192:4;15189:1;15182:15;15216:4;15213:1;15206:15;15233:94;15266:8;15314:5;15310:2;15306:14;15285:35;;15233:94;;;:::o;15333:::-;15372:7;15401:20;15415:5;15401:20;:::i;:::-;15390:31;;15333:94;;;:::o;15433:100::-;15472:7;15501:26;15521:5;15501:26;:::i;:::-;15490:37;;15433:100;;;:::o;15539:157::-;15644:45;15664:24;15682:5;15664:24;:::i;:::-;15644:45;:::i;:::-;15639:3;15632:58;15539:157;;:::o;15702:79::-;15741:7;15770:5;15759:16;;15702:79;;;:::o;15787:157::-;15892:45;15912:24;15930:5;15912:24;:::i;:::-;15892:45;:::i;:::-;15887:3;15880:58;15787:157;;:::o;15950:397::-;16090:3;16105:75;16176:3;16167:6;16105:75;:::i;:::-;16205:2;16200:3;16196:12;16189:19;;16218:75;16289:3;16280:6;16218:75;:::i;:::-;16318:2;16313:3;16309:12;16302:19;;16338:3;16331:10;;15950:397;;;;;:::o;16353:180::-;16401:77;16398:1;16391:88;16498:4;16495:1;16488:15;16522:4;16519:1;16512:15;16539:233;16578:3;16601:24;16619:5;16601:24;:::i;:::-;16592:33;;16647:66;16640:5;16637:77;16634:103;;16717:18;;:::i;:::-;16634:103;16764:1;16757:5;16753:13;16746:20;;16539:233;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "1245800",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"allowance(address,address)": "infinite",
"approve(address,uint256)": "infinite",
"balanceOf(address)": "2864",
"decimals()": "410",
"decreaseAllowance(address,uint256)": "infinite",
"developerWallet()": "2537",
"increaseAllowance(address,uint256)": "infinite",
"liquidityWallet()": "2580",
"marketingWallet()": "2559",
"name()": "infinite",
"symbol()": "infinite",
"totalSupply()": "2505",
"transfer(address,uint256)": "infinite",
"transferFrom(address,address,uint256)": "infinite"
},
"internal": {
"_distributeTokens(uint256)": "infinite"
}
},
"methodIdentifiers": {
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"decimals()": "313ce567",
"decreaseAllowance(address,uint256)": "a457c2d7",
"developerWallet()": "185870f9",
"increaseAllowance(address,uint256)": "39509351",
"liquidityWallet()": "d4698016",
"marketingWallet()": "75f0a874",
"name()": "06fdde03",
"symbol()": "95d89b41",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
}
},
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_marketingWallet",
"type": "address"
},
{
"internalType": "address",
"name": "_liquidityWallet",
"type": "address"
},
{
"internalType": "address",
"name": "_developerWallet",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "developerWallet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "liquidityWallet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "marketingWallet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.17+commit.8df45f5f"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_marketingWallet",
"type": "address"
},
{
"internalType": "address",
"name": "_liquidityWallet",
"type": "address"
},
{
"internalType": "address",
"name": "_developerWallet",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "developerWallet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "liquidityWallet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "marketingWallet",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"allowance(address,address)": {
"details": "See {IERC20-allowance}."
},
"approve(address,uint256)": {
"details": "See {IERC20-approve}. 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."
},
"balanceOf(address)": {
"details": "See {IERC20-balanceOf}."
},
"decimals()": {
"details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."
},
"decreaseAllowance(address,uint256)": {
"details": "Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."
},
"increaseAllowance(address,uint256)": {
"details": "Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."
},
"name()": {
"details": "Returns the name of the token."
},
"symbol()": {
"details": "Returns the symbol of the token, usually a shorter version of the name."
},
"totalSupply()": {
"details": "See {IERC20-totalSupply}."
},
"transferFrom(address,address,uint256)": {
"details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. 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`."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/AurumToken.sol": "Aurum"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"@openzeppelin/contracts/token/ERC20/ERC20.sol": {
"keccak256": "0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d",
"license": "MIT",
"urls": [
"bzz-raw://15f52f51413a9de1ff191e2f6367c62178e1df7806d7880fe857a98b0b66253d",
"dweb:/ipfs/QmaQG1fwfgUt5E9nu2cccFiV47B2V78MM1tCy1qB7n4MsH"
]
},
"@openzeppelin/contracts/token/ERC20/IERC20.sol": {
"keccak256": "0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",
"license": "MIT",
"urls": [
"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34",
"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"
]
},
"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol": {
"keccak256": "0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",
"license": "MIT",
"urls": [
"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd",
"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"
]
},
"@openzeppelin/contracts/utils/Context.sol": {
"keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",
"license": "MIT",
"urls": [
"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92",
"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"
]
},
"contracts/AurumToken.sol": {
"keccak256": "0xf6a730304dbe0e4d9749d31daf86575c3f5564bde155527e6355830251a5ca47",
"license": "MIT",
"urls": [
"bzz-raw://2fd61d15d414e79026ca9765a50e18e4f0a21fa3472485e4f259413d9717b17d",
"dweb:/ipfs/QmYUXjtorbV3xqVApKGF53D7Wz54r8HxGxQJiKnDi5aDof"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() {
_transferOwnership(_msgSender());
}
function owner() public view virtual returns (address) {
return _owner;
}
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
library SafeMathInt {
int256 private constant MIN_INT256 = int256(1) << 255;
int256 private constant MAX_INT256 = ~(int256(1) << 255);
function mul(int256 a, int256 b) internal pure returns (int256) {
int256 c = a * b;
// Detect overflow when multiplying MIN_INT256 with -1
require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
require((b == 0) || (c / b == a));
return c;
}
function div(int256 a, int256 b) internal pure returns (int256) {
// Prevent overflow when dividing MIN_INT256 by -1
require(b != -1 || a != MIN_INT256);
// Solidity already throws when dividing by 0.
return a / b;
}
function sub(int256 a, int256 b) internal pure returns (int256) {
int256 c = a - b;
require((b >= 0 && c <= a) || (b < 0 && c > a));
return c;
}
function add(int256 a, int256 b) internal pure returns (int256) {
int256 c = a + b;
require((b >= 0 && c >= a) || (b < 0 && c < a));
return c;
}
function abs(int256 a) internal pure returns (int256) {
require(a != MIN_INT256);
return a < 0 ? -a : a;
}
function toUint256Safe(int256 a) internal pure returns (uint256) {
require(a >= 0);
return uint256(a);
}
}
library SafeMathUint {
function toInt256Safe(uint256 a) internal pure returns (int256) {
int256 b = int256(a);
require(b >= 0);
return b;
}
}
library IterableMapping {
struct Map {
address[] keys;
mapping(address => uint) values;
mapping(address => uint) indexOf;
mapping(address => bool) inserted;
}
function get(Map storage map, address key) public view returns (uint) {
return map.values[key];
}
function getIndexOfKey(Map storage map, address key) public view returns (int) {
if(!map.inserted[key]) {
return -1;
}
return int(map.indexOf[key]);
}
function getKeyAtIndex(Map storage map, uint index) public view returns (address) {
return map.keys[index];
}
function size(Map storage map) public view returns (uint) {
return map.keys.length;
}
function set(Map storage map, address key, uint val) public {
if (map.inserted[key]) {
map.values[key] = val;
} else {
map.inserted[key] = true;
map.values[key] = val;
map.indexOf[key] = map.keys.length;
map.keys.push(key);
}
}
function remove(Map storage map, address key) public {
if (!map.inserted[key]) {
return;
}
delete map.inserted[key];
delete map.values[key];
uint index = map.indexOf[key];
uint lastIndex = map.keys.length - 1;
address lastKey = map.keys[lastIndex];
map.indexOf[lastKey] = index;
delete map.indexOf[key];
map.keys[index] = lastKey;
map.keys.pop();
}
}
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
event Mint(address indexed sender, uint amount0, uint amount1);
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function mint(address to) external returns (uint liquidity);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
interface IERC20Metadata is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
contract ERC20 is Context, IERC20, IERC20Metadata {
using SafeMath for uint256;
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 18;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amount);
}
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);
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
interface DividendPayingTokenInterface {
function dividendOf(address _owner) external view returns(uint256);
function withdrawDividend() external;
event DividendsDistributed(
address indexed from,
uint256 weiAmount
);
event DividendWithdrawn(
address indexed to,
uint256 weiAmount
);
}
interface DividendPayingTokenOptionalInterface {
function withdrawableDividendOf(address _owner) external view returns(uint256);
function withdrawnDividendOf(address _owner) external view returns(uint256);
function accumulativeDividendOf(address _owner) external view returns(uint256);
}
contract DividendPayingToken is ERC20, Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {
using SafeMath for uint256;
using SafeMathUint for uint256;
using SafeMathInt for int256;
uint256 constant internal magnitude = 2**128;
uint256 internal magnifiedDividendPerShare;
uint256 public totalDividendsDistributed;
address public immutable rewardToken;
mapping(address => int256) internal magnifiedDividendCorrections;
mapping(address => uint256) internal withdrawnDividends;
constructor(string memory _name, string memory _symbol, address _rewardToken) ERC20(_name, _symbol) {
rewardToken = _rewardToken;
}
function distributeDividends(uint256 amount) public onlyOwner{
require(totalSupply() > 0);
if (amount > 0) {
magnifiedDividendPerShare = magnifiedDividendPerShare.add(
(amount).mul(magnitude) / totalSupply()
);
emit DividendsDistributed(msg.sender, amount);
totalDividendsDistributed = totalDividendsDistributed.add(amount);
}
}
function withdrawDividend() public virtual override {
_withdrawDividendOfUser(payable(msg.sender));
}
function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
uint256 _withdrawableDividend = withdrawableDividendOf(user);
if (_withdrawableDividend > 0) {
withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
emit DividendWithdrawn(user, _withdrawableDividend);
bool success = IERC20(rewardToken).transfer(user, _withdrawableDividend);
if(!success) {
withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
return 0;
}
return _withdrawableDividend;
}
return 0;
}
function dividendOf(address _owner) public view override returns(uint256) {
return withdrawableDividendOf(_owner);
}
function withdrawableDividendOf(address _owner) public view override returns(uint256) {
return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
}
function withdrawnDividendOf(address _owner) public view override returns(uint256) {
return withdrawnDividends[_owner];
}
function accumulativeDividendOf(address _owner) public view override returns(uint256) {
return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
.add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
}
function _transfer(address from, address to, uint256 value) internal virtual override {
require(false);
int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe();
magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection);
magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection);
}
function _mint(address account, uint256 value) internal override {
super._mint(account, value);
magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
.sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
}
function _burn(address account, uint256 value) internal override {
super._burn(account, value);
magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
.add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
}
function _setBalance(address account, uint256 newBalance) internal {
uint256 currentBalance = balanceOf(account);
if(newBalance > currentBalance) {
uint256 mintAmount = newBalance.sub(currentBalance);
_mint(account, mintAmount);
} else if(newBalance < currentBalance) {
uint256 burnAmount = currentBalance.sub(newBalance);
_burn(account, burnAmount);
}
}
}
contract DividendTracker is Ownable, DividendPayingToken {
using SafeMath for uint256;
using SafeMathInt for int256;
using IterableMapping for IterableMapping.Map;
IterableMapping.Map private tokenHoldersMap;
uint256 public lastProcessedIndex;
mapping (address => bool) public excludedFromDividends;
mapping (address => uint256) public lastClaimTimes;
uint256 public claimWait;
uint256 public minimumTokenBalanceForDividends;
event ExcludeFromDividends(address indexed account);
event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);
event Claim(address indexed account, uint256 amount, bool indexed automatic);
constructor(uint256 minBalance, address _rewardToken) DividendPayingToken("Reward Tracker", "DividendTracker", _rewardToken) {
claimWait = 3600;
minimumTokenBalanceForDividends = minBalance * 10 ** 18;
}
function _transfer(address, address, uint256) internal pure override {
require(false, "No transfers allowed");
}
function withdrawDividend() public pure override {
require(false, "withdrawDividend disabled. Use the 'claim' function on the main contract.");
}
function updateMinimumTokenBalanceForDividends(uint256 _newMinimumBalance) external onlyOwner {
require(_newMinimumBalance != minimumTokenBalanceForDividends, "New mimimum balance for dividend cannot be same as current minimum balance");
minimumTokenBalanceForDividends = _newMinimumBalance;
}
function excludeFromDividends(address account) external onlyOwner {
require(!excludedFromDividends[account]);
excludedFromDividends[account] = true;
_setBalance(account, 0);
tokenHoldersMap.remove(account);
emit ExcludeFromDividends(account);
}
function updateClaimWait(uint256 newClaimWait) external onlyOwner {
require(newClaimWait >= 3600 && newClaimWait <= 86400, "claimWait must be updated to between 1 and 24 hours");
require(newClaimWait != claimWait, "Cannot update claimWait to same value");
emit ClaimWaitUpdated(newClaimWait, claimWait);
claimWait = newClaimWait;
}
function setLastProcessedIndex(uint256 index) external onlyOwner {
lastProcessedIndex = index;
}
function getLastProcessedIndex() external view returns(uint256) {
return lastProcessedIndex;
}
function getNumberOfTokenHolders() external view returns(uint256) {
return tokenHoldersMap.keys.length;
}
function getAccount(address _account)
public view returns (
address account,
int256 index,
int256 iterationsUntilProcessed,
uint256 withdrawableDividends,
uint256 totalDividends,
uint256 lastClaimTime,
uint256 nextClaimTime,
uint256 secondsUntilAutoClaimAvailable) {
account = _account;
index = tokenHoldersMap.getIndexOfKey(account);
iterationsUntilProcessed = -1;
if(index >= 0) {
if(uint256(index) > lastProcessedIndex) {
iterationsUntilProcessed = index.sub(int256(lastProcessedIndex));
}
else {
uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ?
tokenHoldersMap.keys.length.sub(lastProcessedIndex) :
0;
iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray));
}
}
withdrawableDividends = withdrawableDividendOf(account);
totalDividends = accumulativeDividendOf(account);
lastClaimTime = lastClaimTimes[account];
nextClaimTime = lastClaimTime > 0 ?
lastClaimTime.add(claimWait) :
0;
secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
nextClaimTime.sub(block.timestamp) :
0;
}
function getAccountAtIndex(uint256 index)
public view returns (
address,
int256,
int256,
uint256,
uint256,
uint256,
uint256,
uint256) {
if(index >= tokenHoldersMap.size()) {
return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0);
}
address account = tokenHoldersMap.getKeyAtIndex(index);
return getAccount(account);
}
function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
if(lastClaimTime > block.timestamp) {
return false;
}
return block.timestamp.sub(lastClaimTime) >= claimWait;
}
function setBalance(address payable account, uint256 newBalance) external onlyOwner {
if(excludedFromDividends[account]) {
return;
}
if(newBalance >= minimumTokenBalanceForDividends) {
_setBalance(account, newBalance);
tokenHoldersMap.set(account, newBalance);
}
else {
_setBalance(account, 0);
tokenHoldersMap.remove(account);
}
processAccount(account, true);
}
function process(uint256 gas) public returns (uint256, uint256, uint256) {
uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;
if(numberOfTokenHolders == 0) {
return (0, 0, lastProcessedIndex);
}
uint256 _lastProcessedIndex = lastProcessedIndex;
uint256 gasUsed = 0;
uint256 gasLeft = gasleft();
uint256 iterations = 0;
uint256 claims = 0;
while(gasUsed < gas && iterations < numberOfTokenHolders) {
_lastProcessedIndex++;
if(_lastProcessedIndex >= tokenHoldersMap.keys.length) {
_lastProcessedIndex = 0;
}
address account = tokenHoldersMap.keys[_lastProcessedIndex];
if(canAutoClaim(lastClaimTimes[account])) {
if(processAccount(payable(account), true)) {
claims++;
}
}
iterations++;
uint256 newGasLeft = gasleft();
if(gasLeft > newGasLeft) {
gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
}
gasLeft = newGasLeft;
}
lastProcessedIndex = _lastProcessedIndex;
return (iterations, claims, lastProcessedIndex);
}
function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
uint256 amount = _withdrawDividendOfUser(account);
if(amount > 0) {
lastClaimTimes[account] = block.timestamp;
emit Claim(account, amount, automatic);
return true;
}
return false;
}
}
contract FullyBaked is ERC20, Ownable {
using Address for address payable;
uint256 public liquidityFeeOnBuy;
uint256 public liquidityFeeOnSell;
uint256 public rewardFeeOnBuy;
uint256 public rewardFeeOnSell;
uint256 public marketingFeeOnBuy;
uint256 public marketingFeeOnSell;
uint256 public buybackFeeOnBuy;
uint256 public buybackFeeOnSell;
bool public salaryFeeAvailable;
uint256 public salaryFeeOnBuy;
uint256 public salaryFeeOnSell;
bool public stakingFeeAvailable;
uint256 public stakingFeeOnBuy;
uint256 public stakingFeeOnSell;
uint256 private _totalFeesOnBuy;
uint256 private _totalFeesOnSell;
address public marketingWallet;
address public buybackWallet;
address public salaryWallet;
address public stakingWallet;
address public marketingCurrency;
address public buybackCurrency;
address public salaryCurrency;
bool public walletToWalletTransferWithoutFee;
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
address private DEAD = 0x000000000000000000000000000000000000dEaD;
uint256 public swapTokensAtAmount;
bool public swapEnabled;
bool public swapWithLimit;
bool private swapping;
mapping (address => bool) private _isExcludedFromFees;
mapping (address => bool) public automatedMarketMakerPairs;
DividendTracker public dividendTracker;
address public immutable rewardToken;
uint256 public gasForProcessing = 300000;
event ExcludeFromFees(address indexed account, bool isExcluded);
event ExcludedFromMaxTransactionLimit(address indexed account, bool isExcluded);
event ExcludedFromMaxWalletLimit(address indexed account, bool isExcluded);
event UpdateBuyFees(
uint256 liquidityFeeOnBuy,
uint256 marketingFeeOnBuy,
uint256 rewardFeeOnBuy,
uint256 buybackFeeOnBuy,
uint256 salaryFeeOnBuy,
uint256 stakingFeeOnBuy
);
event UpdateSellFees(
uint256 liquidityFeeOnSell,
uint256 marketingFeeOnSell,
uint256 rewardFeeOnSell,
uint256 buybackFeeOnSell,
uint256 salaryFeeOnSell,
uint256 stakingFeeOnSell
);
event MarketingWalletChanged(address marketingWallet);
event BuybackWalletChanged(address buybackWallet);
event SalaryWalletChanged(address salaryWallet);
event StakingWalletChanged(address stakingWallet);
event MaxWalletLimitRateChanged(uint256 maxWalletLimitRate);
event MaxWalletLimitStateChanged(bool maxWalletLimit);
event MaxTransactionLimitRatesChanged(uint256 maxTransferRateBuy, uint256 maxTransferRateSell);
event MaxTransactionLimitStateChanged(bool maxTransactionLimit);
event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
event SwapAndLiquify(uint256 tokensSwapped, uint256 bnbReceived, uint256 tokensIntoLiqudity);
event SendMarketing(uint256 bnbSend);
event SendBuyback(uint256 bnbSend);
event SendSalary(uint256 bnbSend);
event SendStaking(uint256 tokenSend);
event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress);
event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue);
event SendDividends(uint256 amount);
event ProcessedDividendTracker(
uint256 iterations,
uint256 claims,
uint256 lastProcessedIndex,
bool indexed automatic,
uint256 gas,
address indexed processor
);
struct FeeManager {
bool salaryFeeAvailable_;
bool stakingFeeAvailable_;
uint256 liquditiyFeeOnBuy_;
uint256 liquidityFeeOnSell_;
uint256 rewardFeeOnBuy_;
uint256 rewardFeeOnSell_;
uint256 marketingFeeOnBuy_;
uint256 marketingFeeOnSell_;
uint256 buybackFeeOnBuy_;
uint256 buybackFeeOnSell_;
uint256 salaryFeeOnBuy_;
uint256 salaryFeeOnSell_;
uint256 stakingFeeOnBuy_;
uint256 stakingFeeOnSell_;
address marketingWallet_;
address buybackWallet_;
address salaryWallet_;
address stakingWallet_;
address marketingCurrency_;
address buybackCurrency_;
address salaryCurrency_;
}
struct ConstructorArgument {
string name_;
string symbol_;
uint256 totalSupply_;
address router_;
address rewardToken_;
uint256 mininmumTokenBalanceForDividends_;
bool walletToWalletTransferWithoutFee_;
bool maxTransactionLimitAvailable_;
uint256 maxTransactionAmountBuy_;
uint256 maxTransactionAmountSell_;
bool maxWalletLimitAvailable_;
uint256 maxWalletAmount_;
FeeManager feeManager_;
uint256 serviceFee_;
address serviceFeeReceiver_;
}
constructor(
ConstructorArgument memory _arg
) payable ERC20(_arg.name_, _arg.symbol_) {
require(
_arg.feeManager_.stakingFeeAvailable_ ||
_arg.feeManager_.stakingFeeOnBuy_ + _arg.feeManager_.stakingFeeOnSell_ == 0,
"Staking Fee is not available"
);
require(
_arg.feeManager_.salaryFeeAvailable_ ||
(_arg.feeManager_.salaryFeeOnBuy_ + _arg.feeManager_.salaryFeeOnSell_ == 0 &&
_arg.feeManager_.salaryCurrency_ == address(0)),
"Salary Fee isn't available"
);
require(
_arg.feeManager_.liquditiyFeeOnBuy_ +
_arg.feeManager_.marketingFeeOnBuy_ +
_arg.feeManager_.rewardFeeOnBuy_ +
_arg.feeManager_.buybackFeeOnBuy_ +
_arg.feeManager_.salaryFeeOnBuy_ +
_arg.feeManager_.stakingFeeOnBuy_ <= 25 &&
_arg.feeManager_.liquidityFeeOnSell_ +
_arg.feeManager_.marketingFeeOnSell_ +
_arg.feeManager_.rewardFeeOnSell_ +
_arg.feeManager_.buybackFeeOnSell_ +
_arg.feeManager_.salaryFeeOnSell_ +
_arg.feeManager_.stakingFeeOnSell_ <= 25,
"Fees must be less than 25%"
);
require(
_arg.maxWalletAmount_ >= _arg.totalSupply_ / 100,
"Max wallet limit rate must be greater than 1% of total supply"
);
require(
_arg.maxTransactionAmountBuy_ >= _arg.totalSupply_ / 1000 &&
_arg.maxTransactionAmountSell_ >= _arg.totalSupply_ / 1000,
"Max transaction rates must be greater than 0.1% of total supply"
);
require(
_arg.feeManager_.marketingCurrency_ != 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 &&
_arg.feeManager_.buybackCurrency_ != 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 &&
_arg.feeManager_.salaryCurrency_ != 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,
"Marketing, buyback and salary currencies cannot be WETH"
);
require(
_arg.rewardToken_ != address(0) &&
_arg.rewardToken_ != 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,
"Reward token cannot be ETH"
);
salaryFeeAvailable = _arg.feeManager_.salaryFeeAvailable_;
stakingFeeAvailable = _arg.feeManager_.stakingFeeAvailable_;
liquidityFeeOnBuy = _arg.feeManager_.liquditiyFeeOnBuy_;
liquidityFeeOnSell = _arg.feeManager_.liquidityFeeOnSell_;
rewardFeeOnBuy = _arg.feeManager_.rewardFeeOnBuy_;
rewardFeeOnSell = _arg.feeManager_.rewardFeeOnSell_;
marketingFeeOnBuy = _arg.feeManager_.marketingFeeOnBuy_;
marketingFeeOnSell = _arg.feeManager_.marketingFeeOnSell_;
buybackFeeOnBuy = _arg.feeManager_.buybackFeeOnBuy_;
buybackFeeOnSell = _arg.feeManager_.buybackFeeOnSell_;
salaryFeeOnBuy = _arg.feeManager_.salaryFeeOnBuy_;
salaryFeeOnSell = _arg.feeManager_.salaryFeeOnSell_;
stakingFeeOnBuy = _arg.feeManager_.stakingFeeOnBuy_;
stakingFeeOnSell = _arg.feeManager_.stakingFeeOnSell_;
_totalFeesOnBuy =
liquidityFeeOnBuy +
marketingFeeOnBuy +
rewardFeeOnBuy +
buybackFeeOnBuy +
salaryFeeOnBuy +
stakingFeeOnBuy;
_totalFeesOnSell =
liquidityFeeOnSell +
marketingFeeOnSell +
rewardFeeOnSell +
buybackFeeOnSell +
salaryFeeOnSell +
stakingFeeOnSell;
marketingWallet = _arg.feeManager_.marketingWallet_;
buybackWallet = _arg.feeManager_.buybackWallet_;
salaryWallet = _arg.feeManager_.salaryWallet_;
stakingWallet = _arg.feeManager_.stakingWallet_;
marketingCurrency = _arg.feeManager_.marketingCurrency_;
buybackCurrency = _arg.feeManager_.buybackCurrency_;
salaryCurrency = _arg.feeManager_.salaryCurrency_;
walletToWalletTransferWithoutFee = _arg.walletToWalletTransferWithoutFee_;
maxTransactionAvailable = _arg.maxTransactionLimitAvailable_;
maxTransactionLimitEnabled = _arg.maxTransactionLimitAvailable_;
maxTransactionAmountBuy = _arg.maxTransactionAmountBuy_ * (10 ** decimals());
maxTransactionAmountSell = _arg.maxTransactionAmountSell_ * (10 ** decimals());
maxWalletAvailable = _arg.maxWalletLimitAvailable_;
maxWalletLimitEnabled = _arg.maxWalletLimitAvailable_;
maxWalletAmount = _arg.maxWalletAmount_ * (10 ** decimals());
dividendTracker = new DividendTracker(_arg.mininmumTokenBalanceForDividends_, _arg.rewardToken_);
rewardToken = _arg.rewardToken_;
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_arg.router_);
address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
uniswapV2Router = _uniswapV2Router;
uniswapV2Pair = _uniswapV2Pair;
_approve(address(this), address(uniswapV2Router), type(uint256).max);
_setAutomatedMarketMakerPair(_uniswapV2Pair, true);
dividendTracker.excludeFromDividends(address(dividendTracker));
dividendTracker.excludeFromDividends(address(this));
dividendTracker.excludeFromDividends(DEAD);
dividendTracker.excludeFromDividends(stakingWallet);
dividendTracker.excludeFromDividends(address(_uniswapV2Router));
_isExcludedFromMaxTxLimit[owner()] = true;
_isExcludedFromMaxTxLimit[address(0)] = true;
_isExcludedFromMaxTxLimit[address(this)] = true;
_isExcludedFromMaxTxLimit[DEAD] = true;
_isExcludedFromMaxTxLimit[stakingWallet] = true;
_isExcludedFromMaxWalletLimit[owner()] = true;
_isExcludedFromMaxWalletLimit[address(0)] = true;
_isExcludedFromMaxWalletLimit[address(this)] = true;
_isExcludedFromMaxWalletLimit[DEAD] = true;
_isExcludedFromMaxWalletLimit[stakingWallet] = true;
_isExcludedFromFees[owner()] = true;
_isExcludedFromFees[address(this)] = true;
_isExcludedFromFees[DEAD] = true;
_isExcludedFromFees[stakingWallet] = true;
swapEnabled = true;
swapTokensAtAmount = _arg.totalSupply_ * (10 ** 18) / 5000;
_mint(owner(), _arg.totalSupply_ * (10 ** 18));
payable(_arg.serviceFeeReceiver_).transfer(_arg.serviceFee_);
}
receive() external payable {
}
function claimStuckTokens(address token) external onlyOwner {
require(token != address(this), "Owner cannot claim native tokens");
if (token == address(0x0)) {
payable(msg.sender).transfer(address(this).balance);
return;
}
IERC20 ERC20token = IERC20(token);
uint256 balance = ERC20token.balanceOf(address(this));
ERC20token.transfer(msg.sender, balance);
}
function isContract(address account) internal view returns (bool) {
return account.code.length > 0;
}
function updateUniswapV2Router(address newAddress) external onlyOwner {
require(newAddress != address(uniswapV2Router), "The router already has that address");
emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
uniswapV2Router = IUniswapV2Router02(newAddress);
address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
.createPair(address(this), uniswapV2Router.WETH());
uniswapV2Pair = _uniswapV2Pair;
}
function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
require(pair != uniswapV2Pair, "The PancakeSwap pair cannot be removed from automatedMarketMakerPairs");
_setAutomatedMarketMakerPair(pair, value);
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
require(automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value");
automatedMarketMakerPairs[pair] = value;
if(value) {
dividendTracker.excludeFromDividends(pair);
}
emit SetAutomatedMarketMakerPair(pair, value);
}
//=======FeeManagement=======//
function excludeFromFees(address account, bool excluded) external onlyOwner {
require(_isExcludedFromFees[account] != excluded, "Account is already the value of 'excluded'");
_isExcludedFromFees[account] = excluded;
emit ExcludeFromFees(account, excluded);
}
function isExcludedFromFees(address account) public view returns(bool) {
return _isExcludedFromFees[account];
}
function updateBuyFees(
uint256 _liquidityFeeOnBuy,
uint256 _marketingFeeOnBuy,
uint256 _rewardFeeOnBuy,
uint256 _buybackFeeOnBuy,
uint256 _salaryFeeOnBuy,
uint256 _stakingFeeOnBuy
) external onlyOwner {
require(
_liquidityFeeOnBuy +
_marketingFeeOnBuy +
_rewardFeeOnBuy +
_buybackFeeOnBuy +
_salaryFeeOnBuy +
_stakingFeeOnBuy <= 25,
"Fees must be less than 25%"
);
liquidityFeeOnBuy = _liquidityFeeOnBuy;
rewardFeeOnBuy = _rewardFeeOnBuy;
marketingFeeOnBuy = _marketingFeeOnBuy;
buybackFeeOnBuy = _buybackFeeOnBuy;
salaryFeeOnBuy = _salaryFeeOnBuy;
stakingFeeOnBuy = _stakingFeeOnBuy;
_totalFeesOnBuy =
liquidityFeeOnBuy +
marketingFeeOnBuy +
rewardFeeOnBuy +
buybackFeeOnBuy +
salaryFeeOnBuy +
stakingFeeOnBuy;
emit UpdateBuyFees(
_liquidityFeeOnBuy,
_marketingFeeOnBuy,
_rewardFeeOnBuy,
_buybackFeeOnBuy,
_salaryFeeOnBuy,
_stakingFeeOnBuy
);
}
function updateSellFees(
uint256 _liquidityFeeOnSell,
uint256 _marketingFeeOnSell,
uint256 _rewardFeeOnSell,
uint256 _buybackFeeOnSell,
uint256 _salaryFeeOnSell,
uint256 _stakingFeeOnSell
) external onlyOwner {
require(
_liquidityFeeOnSell +
_marketingFeeOnSell +
_rewardFeeOnSell +
_buybackFeeOnSell +
_salaryFeeOnSell +
_stakingFeeOnSell <= 25,
"Fees must be less than 25%"
);
liquidityFeeOnSell = _liquidityFeeOnSell;
rewardFeeOnSell = _rewardFeeOnSell;
marketingFeeOnSell = _marketingFeeOnSell;
buybackFeeOnSell = _buybackFeeOnSell;
salaryFeeOnSell = _salaryFeeOnSell;
stakingFeeOnSell = _stakingFeeOnSell;
_totalFeesOnSell =
liquidityFeeOnSell +
marketingFeeOnSell +
rewardFeeOnSell +
buybackFeeOnSell +
salaryFeeOnSell +
stakingFeeOnSell;
emit UpdateSellFees(
_liquidityFeeOnSell,
_marketingFeeOnSell,
_rewardFeeOnSell,
_buybackFeeOnSell,
_salaryFeeOnSell,
_stakingFeeOnSell
);
}
function enableWalletToWalletTransferWithoutFee(bool enable) external onlyOwner {
require(walletToWalletTransferWithoutFee != enable, "Wallet to wallet transfer without fee is already set to that value");
walletToWalletTransferWithoutFee = enable;
}
function changeMarketingWallet(address _marketingWallet) external onlyOwner {
require(_marketingWallet != marketingWallet, "Marketing wallet is already that address");
require(
!isContract(_marketingWallet) ||
(marketingCurrency != address(0)), "Marketing wallet cannot be a contract when currency is BNB"
);
marketingWallet = _marketingWallet;
emit MarketingWalletChanged(marketingWallet);
}
function changeBuybackWallet(address _buybackWallet) external onlyOwner {
require(_buybackWallet != buybackWallet, "Buyback wallet is already that address");
require(
!isContract(_buybackWallet) ||
(buybackCurrency != address(0)), "Buyback wallet cannot be a contract when currency is BNB"
);
buybackWallet = _buybackWallet;
emit BuybackWalletChanged(buybackWallet);
}
function changeSalaryWallet(address _salaryWallet) external onlyOwner {
require(salaryFeeAvailable,"Salary fee isn't available");
require(_salaryWallet != salaryWallet, "Salary wallet is already that address");
require(
!isContract(_salaryWallet) ||
(salaryCurrency != address(0)), "Salary wallet cannot be a contract when currency is BNB"
);
salaryWallet = _salaryWallet;
emit SalaryWalletChanged(salaryWallet);
}
function changeStakingWallet(address _stakingWallet) external onlyOwner {
require(stakingFeeAvailable,"Staking fee isn't available");
require(_stakingWallet != stakingWallet, "Staking wallet is already that address");
stakingWallet = _stakingWallet;
emit StakingWalletChanged(stakingWallet);
}
function swapAndSendFee(uint256 amount, address feeReceiver, address currency) private {
address[] memory path = new address[](2);
path[0] = uniswapV2Router.WETH();
path[1] = currency;
uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
0,
path,
feeReceiver,
block.timestamp
);
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
if(amount == 0) {
super._transfer(from, to, 0);
return;
}
if (maxTransactionLimitEnabled)
{
if ((from == uniswapV2Pair || to == uniswapV2Pair) &&
_isExcludedFromMaxTxLimit[from] == false &&
_isExcludedFromMaxTxLimit[to] == false)
{
if (from == uniswapV2Pair) {
require(
amount <= maxTransactionAmountBuy,
"AntiWhale: Transfer amount exceeds the maxTransactionAmount"
);
} else {
require(
amount <= maxTransactionAmountSell,
"AntiWhale: Transfer amount exceeds the maxTransactionAmount"
);
}
}
}
uint256 contractTokenBalance = balanceOf(address(this));
bool canSwap = contractTokenBalance >= swapTokensAtAmount;
if (swapEnabled &&
canSwap &&
!swapping &&
!automatedMarketMakerPairs[from] &&
_totalFeesOnBuy + _totalFeesOnSell > 0
) {
swapping = true;
if (swapWithLimit) {
contractTokenBalance = swapTokensAtAmount;
}
uint256 totalFee = _totalFeesOnBuy + _totalFeesOnSell;
uint256 liquidityShare = liquidityFeeOnBuy + liquidityFeeOnSell;
uint256 marketingShare = marketingFeeOnBuy + marketingFeeOnSell;
uint256 rewardShare = rewardFeeOnBuy + rewardFeeOnSell;
uint256 buybackShare = buybackFeeOnBuy + buybackFeeOnSell;
uint256 salaryShare = salaryFeeOnBuy + salaryFeeOnSell;
uint256 stakingShare = stakingFeeOnBuy + stakingFeeOnSell;
uint256 liquidityTokens;
uint256 stakingTokens;
if(liquidityShare > 0) {
liquidityTokens = contractTokenBalance * liquidityShare / totalFee;
swapAndLiquify(liquidityTokens);
}
if(stakingShare > 0) {
stakingTokens = contractTokenBalance * stakingShare / totalFee;
super._transfer(address(this), stakingWallet, stakingTokens);
emit SendStaking(stakingTokens);
}
contractTokenBalance -= liquidityTokens + stakingTokens;
uint256 bnbShare = marketingShare + rewardShare + buybackShare + salaryShare;
if (contractTokenBalance > 0 && bnbShare > 0) {
uint256 initialBalance = address(this).balance;
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
contractTokenBalance,
0,
path,
address(this),
block.timestamp);
uint256 newBalance = address(this).balance - initialBalance;
if (marketingShare > 0) {
uint256 marketingBNB = newBalance * marketingShare / bnbShare;
if (marketingCurrency == address(0)) {
payable(marketingWallet).sendValue(marketingBNB);
} else {
swapAndSendFee(marketingBNB, marketingWallet, marketingCurrency);
}
emit SendMarketing(marketingBNB);
}
if (buybackShare > 0) {
uint256 buybackBNB = newBalance * buybackShare / bnbShare;
if (buybackCurrency == address(0)) {
payable(buybackWallet).sendValue(buybackBNB);
} else {
swapAndSendFee(buybackBNB, buybackWallet, buybackCurrency);
}
emit SendBuyback(buybackBNB);
}
if (salaryShare > 0) {
uint256 salaryBNB = newBalance * salaryShare / bnbShare;
if (salaryCurrency == address(0)) {
payable(salaryWallet).sendValue(salaryBNB);
} else {
swapAndSendFee(salaryBNB, salaryWallet, salaryCurrency);
}
emit SendSalary(salaryBNB);
}
if (rewardShare > 0) {
uint256 rewardBNB = newBalance * rewardShare / bnbShare;
swapAndSendDividends(rewardBNB);
}
}
swapping = false;
}
bool takeFee = !swapping;
if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
takeFee = false;
}
if(walletToWalletTransferWithoutFee && from != uniswapV2Pair && to != uniswapV2Pair) {
takeFee = false;
}
if(takeFee) {
uint256 _totalFees;
if(from == uniswapV2Pair) {
_totalFees = _totalFeesOnBuy;
} else {
_totalFees = _totalFeesOnSell;
}
uint256 fees = amount * _totalFees / 100;
amount = amount - fees;
super._transfer(from, address(this), fees);
}
if (maxWalletLimitEnabled)
{
if (_isExcludedFromMaxWalletLimit[from] == false &&
_isExcludedFromMaxWalletLimit[to] == false &&
to != uniswapV2Pair
) {
uint balance = balanceOf(to);
require(
balance + amount <= maxWalletAmount,
"MaxWallet: Recipient exceeds the maxWalletAmount"
);
}
}
super._transfer(from, to, amount);
try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {}
try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {}
if(!swapping) {
uint256 gas = gasForProcessing;
try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
}
catch {
}
}
}
//=======Swap=======//
function setSwapEnabled(bool _swapEnabled) external onlyOwner {
require(
swapEnabled != _swapEnabled,
"Swap is already set to that state"
);
swapEnabled = _swapEnabled;
}
function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
require(
newAmount > totalSupply() / 1_000_000,
"New Amount must more than 0.0001% of total supply"
);
swapTokensAtAmount = newAmount;
}
function setSwapWithLimit(bool _swapWithLimit) external onlyOwner {
require(
swapWithLimit != _swapWithLimit,
"Swap with limit is already set to that state"
);
swapWithLimit = _swapWithLimit;
}
function swapAndLiquify(uint256 tokens) private {
uint256 half = tokens / 2;
uint256 otherHalf = tokens - half;
uint256 initialBalance = address(this).balance;
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
half,
0, // accept any amount of ETH
path,
address(this),
block.timestamp);
uint256 newBalance = address(this).balance - initialBalance;
uniswapV2Router.addLiquidityETH{value: newBalance}(
address(this),
otherHalf,
0, // slippage is unavoidable
0, // slippage is unavoidable
DEAD,
block.timestamp
);
emit SwapAndLiquify(half, newBalance, otherHalf);
}
function swapAndSendDividends(uint256 amount) private{
address[] memory path = new address[](2);
path[0] = uniswapV2Router.WETH();
path[1] = rewardToken;
uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
0,
path,
address(this),
block.timestamp);
uint256 balanceRewardToken = IERC20(rewardToken).balanceOf(address(this));
bool success = IERC20(rewardToken).transfer(address(dividendTracker), balanceRewardToken);
if (success) {
dividendTracker.distributeDividends(balanceRewardToken);
emit SendDividends(balanceRewardToken);
}
}
//=======MaxWallet=======//
mapping(address => bool) private _isExcludedFromMaxWalletLimit;
bool public maxWalletAvailable;
bool public maxWalletLimitEnabled;
uint256 public maxWalletAmount;
modifier _maxWalletAvailable() {
require(
maxWalletAvailable,
"Max wallet limit is not available"
);
_;
}
function setEnableMaxWalletLimit(bool enable) external onlyOwner _maxWalletAvailable {
require(
enable != maxWalletLimitEnabled,
"Max wallet limit is already set to that state"
);
maxWalletLimitEnabled = enable;
emit MaxWalletLimitStateChanged(maxWalletLimitEnabled);
}
function setMaxWalletAmount(uint256 _maxWalletAmount) external onlyOwner _maxWalletAvailable {
require(
_maxWalletAmount >= totalSupply() / (10 ** decimals()) / 100,
"Max wallet percentage cannot be lower than 1%"
);
maxWalletAmount = _maxWalletAmount;
emit MaxWalletLimitRateChanged(maxWalletAmount);
}
function setExcludeFromMaxWallet(address account, bool exclude) external onlyOwner _maxWalletAvailable {
require(
_isExcludedFromMaxWalletLimit[account] != exclude,
"Account is already set to that state"
);
_isExcludedFromMaxWalletLimit[account] = exclude;
emit ExcludedFromMaxWalletLimit(account, exclude);
}
function isExcludedFromMaxWalletLimit(address account) public view returns(bool) {
return _isExcludedFromMaxWalletLimit[account];
}
//=======MaxTransaction=======//
mapping(address => bool) private _isExcludedFromMaxTxLimit;
bool public maxTransactionAvailable;
bool public maxTransactionLimitEnabled;
uint256 public maxTransactionAmountBuy;
uint256 public maxTransactionAmountSell;
modifier _maxTransactionAvailable() {
require(
maxTransactionAvailable,
"Max transaction limit is not available"
);
_;
}
function setEnableMaxTransactionLimit(bool enable) external onlyOwner _maxTransactionAvailable {
require(
enable != maxTransactionLimitEnabled,
"Max transaction limit is already set to that state"
);
maxTransactionLimitEnabled = enable;
emit MaxTransactionLimitStateChanged(maxTransactionLimitEnabled);
}
function setMaxTransactionAmounts(uint256 _maxTransactionAmountBuy, uint256 _maxTransactionAmountSell) external onlyOwner _maxTransactionAvailable {
require(
_maxTransactionAmountBuy >= totalSupply() / (10 ** decimals()) / 1000 &&
_maxTransactionAmountSell >= totalSupply() / (10 ** decimals()) / 1000,
"Max Transaction limis cannot be lower than 0.1% of total supply"
);
maxTransactionAmountBuy = _maxTransactionAmountBuy * (10 ** decimals());
maxTransactionAmountSell = _maxTransactionAmountSell * (10 ** decimals());
emit MaxTransactionLimitRatesChanged(maxTransactionAmountBuy, maxTransactionAmountSell);
}
function setExcludeFromMaxTransactionLimit(address account, bool exclude) external onlyOwner _maxTransactionAvailable {
require(
_isExcludedFromMaxTxLimit[account] != exclude,
"Account is already set to that state"
);
_isExcludedFromMaxTxLimit[account] = exclude;
emit ExcludedFromMaxTransactionLimit(account, exclude);
}
function isExcludedFromMaxTransaction(address account) public view returns(bool) {
return _isExcludedFromMaxTxLimit[account];
}
//=======Dividend Tracker=======//
function updateDividendTracker(address newAddress) public onlyOwner {
require(newAddress != address(dividendTracker), "The dividend tracker already has that address");
DividendTracker newDividendTracker = DividendTracker(payable(newAddress));
require(newDividendTracker.owner() == address(this), "The new dividend tracker must be owned by the token contract");
newDividendTracker.excludeFromDividends(address(newDividendTracker));
newDividendTracker.excludeFromDividends(address(this));
newDividendTracker.excludeFromDividends(DEAD);
newDividendTracker.excludeFromDividends(address(uniswapV2Router));
newDividendTracker.excludeFromDividends(address(uniswapV2Pair));
emit UpdateDividendTracker(newAddress, address(dividendTracker));
dividendTracker = newDividendTracker;
}
function updateGasForProcessing(uint256 newValue) public onlyOwner {
require(newValue >= 200000 && newValue <= 500000, "gasForProcessing must be between 200,000 and 500,000");
require(newValue != gasForProcessing, "Cannot update gasForProcessing to same value");
emit GasForProcessingUpdated(newValue, gasForProcessing);
gasForProcessing = newValue;
}
function updateMinimumBalanceForDividends(uint256 newMinimumBalance) external onlyOwner {
dividendTracker.updateMinimumTokenBalanceForDividends(newMinimumBalance);
}
function updateClaimWait(uint256 claimWait) external onlyOwner {
dividendTracker.updateClaimWait(claimWait);
}
function getClaimWait() external view returns(uint256) {
return dividendTracker.claimWait();
}
function getTotalDividendsDistributed() external view returns (uint256) {
return dividendTracker.totalDividendsDistributed();
}
function withdrawableDividendOf(address account) public view returns(uint256) {
return dividendTracker.withdrawableDividendOf(account);
}
function dividendTokenBalanceOf(address account) public view returns (uint256) {
return dividendTracker.balanceOf(account);
}
function totalRewardsEarned(address account) public view returns (uint256) {
return dividendTracker.accumulativeDividendOf(account);
}
function excludeFromDividends(address account) external onlyOwner{
dividendTracker.excludeFromDividends(account);
}
function getAccountDividendsInfo(address account)
external view returns (
address,
int256,
int256,
uint256,
uint256,
uint256,
uint256,
uint256) {
return dividendTracker.getAccount(account);
}
function getAccountDividendsInfoAtIndex(uint256 index)
external view returns (
address,
int256,
int256,
uint256,
uint256,
uint256,
uint256,
uint256) {
return dividendTracker.getAccountAtIndex(index);
}
function processDividendTracker(uint256 gas) external {
(uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas);
emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin);
}
function claim() external {
dividendTracker.processAccount(payable(msg.sender), false);
}
function claimAddress(address claimee) external onlyOwner {
dividendTracker.processAccount(payable(claimee), false);
}
function getLastProcessedIndex() external view returns(uint256) {
return dividendTracker.getLastProcessedIndex();
}
function setLastProcessedIndex(uint256 index) external onlyOwner {
dividendTracker.setLastProcessedIndex(index);
}
function getNumberOfDividendTokenHolders() external view returns(uint256) {
return dividendTracker.getNumberOfTokenHolders();
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Aurum {
string public name = "Aurum";
string public symbol = "AUR";
uint8 public decimals = 18;
uint256 public totalSupply;
mapping(address => uint256) public balanceOf;
mapping(address => mapping(address => uint256)) public allowance;
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
constructor(uint256 _initialSupply) {
totalSupply = _initialSupply;
balanceOf[msg.sender] = _initialSupply;
}
function transfer(address _to, uint256 _value) public returns (bool success) {
require(_to != address(0), "ERC20: transfer to the zero address");
require(balanceOf[msg.sender] >= _value, "ERC20: insufficient balance");
balanceOf[msg.sender] -= _value;
balanceOf[_to] += _value;
emit Transfer(msg.sender, _to, _value);
return true;
}
function approve(address _spender, uint256 _value) public returns (bool success) {
require(_spender != address(0), "ERC20: approve to the zero address");
allowance[msg.sender][_spender] = _value;
emit Approval(msg.sender, _spender, _value);
return true;
}
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
require(_to != address(0), "ERC20: transfer to the zero address");
require(balanceOf[_from] >= _value, "ERC20: insufficient balance");
require(allowance[_from][msg.sender] >= _value, "ERC20: insufficient allowance");
balanceOf[_from] -= _value;
balanceOf[_to] += _value;
allowance[_from][msg.sender] -= _value;
emit Transfer(_from, _to, _value);
return true;
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Aurum is ERC20 {
address public marketingWallet;
address public liquidityWallet;
address public developerWallet;
constructor(address _marketingWallet, address _liquidityWallet, address _developerWallet) ERC20("Aurum", "AUR") {
marketingWallet = _marketingWallet;
liquidityWallet = _liquidityWallet;
developerWallet = _developerWallet;
}
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
uint256 taxAmount = amount / 10;
uint256 tokensToTransfer = amount - taxAmount;
_transfer(_msgSender(), marketingWallet, taxAmount * 2);
_transfer(_msgSender(), liquidityWallet, taxAmount * 2);
_transfer(_msgSender(), developerWallet, taxAmount * 5);
uint256 totalHolders = totalSupply() - balanceOf(address(0));
if (totalHolders > 0) {
uint256 tokensToDistribute = taxAmount / totalHolders;
_distributeTokens(tokensToDistribute);
}
_transfer(_msgSender(), recipient, tokensToTransfer);
return true;
}
function _distributeTokens(uint256 amount) private {
address[] memory holders = new address[](totalSupply());
uint256 holderCount = 0;
for (uint256 i = 0; i < totalSupply(); i++) {
address holder = address(uint160(uint(keccak256(abi.encodePacked(
address(this), i
)))));
if (holder != address(0) && balanceOf(holder) > 0) {
holders[holderCount] = holder;
holderCount++;
}
}
for (uint256 i = 0; i < holderCount; i++) {
address holder = holders[i];
uint256 share = balanceOf(holder) * amount;
_transfer(address(0), holder, share);
}
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol";
contract Azurium is ERC20PresetMinterPauser {
constructor() ERC20PresetMinterPauser("Azurium", "AZURIUM") {
_mint(msg.sender, 1000000000 * 10 ** decimals());
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Azurium is ERC20 {
constructor() ERC20("Azurium", "AZURIUM") {
_mint(msg.sender, 1000000000 * 10 ** decimals());
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Azurium {
string public name = "Azurium";
string public symbol = "AZURIUM";
uint8 public decimals = 18;
uint256 public totalSupply = 1000000000 * 10 ** uint256(decimals);
mapping(address => uint256) balances;
mapping(address => mapping(address => uint256)) allowed;
constructor() {
balances[msg.sender] = totalSupply;
}
function balanceOf(address tokenOwner) public view returns (uint256) {
return balances[tokenOwner];
}
function transfer(address to, uint256 tokens) public returns (bool) {
require(tokens <= balances[msg.sender]);
balances[msg.sender] -= tokens;
balances[to] += tokens;
emit Transfer(msg.sender, to, tokens);
return true;
}
function approve(address spender, uint256 tokens) public returns (bool) {
allowed[msg.sender][spender] = tokens;
emit Approval(msg.sender, spender, tokens);
return true;
}
function transferFrom(address from, address to, uint256 tokens) public returns (bool) {
require(tokens <= balances[from]);
require(tokens <= allowed[from][msg.sender]);
balances[from] -= tokens;
allowed[from][msg.sender] -= tokens;
balances[to] += tokens;
emit Transfer(from, to, tokens);
return true;
}
function allowance(address tokenOwner, address spender) public view returns (uint256) {
return allowed[tokenOwner][spender];
}
event Transfer(address indexed from, address indexed to, uint256 tokens);
event Approval(address indexed tokenOwner, address indexed spender, uint256 tokens);
}
pragma solidity = 0.5.0;
import './interfaces/IUniswapV2ERC20.sol';
import './libraries/SafeMath.sol';
contract UniswapV2ERC20 is IUniswapV2ERC20 {
using SafeMath for uint;
string public constant name = 'Uniswap V2';
string public constant symbol = 'UNI-V2';
uint8 public constant decimals = 18;
uint public totalSupply;
mapping(address => uint) public balanceOf;
mapping(address => mapping(address => uint)) public allowance;
bytes32 public DOMAIN_SEPARATOR;
// keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
mapping(address => uint) public nonces;
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
constructor() public {
uint chainId;
assembly {
chainId := chainid
}
DOMAIN_SEPARATOR = keccak256(
abi.encode(
keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
keccak256(bytes(name)),
keccak256(bytes('1')),
chainId,
address(this)
)
);
}
function _mint(address to, uint value) internal {
totalSupply = totalSupply.add(value);
balanceOf[to] = balanceOf[to].add(value);
emit Transfer(address(0), to, value);
}
function _burn(address from, uint value) internal {
balanceOf[from] = balanceOf[from].sub(value);
totalSupply = totalSupply.sub(value);
emit Transfer(from, address(0), value);
}
function _approve(address owner, address spender, uint value) private {
allowance[owner][spender] = value;
emit Approval(owner, spender, value);
}
function _transfer(address from, address to, uint value) private {
balanceOf[from] = balanceOf[from].sub(value);
balanceOf[to] = balanceOf[to].add(value);
emit Transfer(from, to, value);
}
function approve(address spender, uint value) external returns (bool) {
_approve(msg.sender, spender, value);
return true;
}
function transfer(address to, uint value) external returns (bool) {
_transfer(msg.sender, to, value);
return true;
}
function transferFrom(address from, address to, uint value) external returns (bool) {
if (allowance[from][msg.sender] != uint(-1)) {
allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);
}
_transfer(from, to, value);
return true;
}
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
require(deadline >= block.timestamp, 'UniswapV2: EXPIRED');
bytes32 digest = keccak256(
abi.encodePacked(
'\x19\x01',
DOMAIN_SEPARATOR,
keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
)
);
address recoveredAddress = ecrecover(digest, v, r, s);
require(recoveredAddress != address(0) && recoveredAddress == owner, 'UniswapV2: INVALID_SIGNATURE');
_approve(owner, spender, value);
}
}
pragma solidity = 0.5.0;
import './interfaces/IUniswapV2Factory.sol';
import './UniswapV2Pair.sol';
contract UniswapV2Factory is IUniswapV2Factory {
address public feeTo;
address public feeToSetter;
mapping(address => mapping(address => address)) public getPair;
address[] public allPairs;
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
constructor(address _feeToSetter) public {
feeToSetter = _feeToSetter;
}
function allPairsLength() external view returns (uint) {
return allPairs.length;
}
function createPair(address tokenA, address tokenB) external returns (address pair) {
require(tokenA != tokenB, 'UniswapV2: IDENTICAL_ADDRESSES');
(address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
require(token0 != address(0), 'UniswapV2: ZERO_ADDRESS');
require(getPair[token0][token1] == address(0), 'UniswapV2: PAIR_EXISTS'); // single check is sufficient
bytes memory bytecode = type(UniswapV2Pair).creationCode;
bytes32 salt = keccak256(abi.encodePacked(token0, token1));
assembly {
pair := create2(0, add(bytecode, 32), mload(bytecode), salt)
}
IUniswapV2Pair(pair).initialize(token0, token1);
getPair[token0][token1] = pair;
getPair[token1][token0] = pair; // populate mapping in the reverse direction
allPairs.push(pair);
emit PairCreated(token0, token1, pair, allPairs.length);
}
function setFeeTo(address _feeTo) external {
require(msg.sender == feeToSetter, 'UniswapV2: FORBIDDEN');
feeTo = _feeTo;
}
function setFeeToSetter(address _feeToSetter) external {
require(msg.sender == feeToSetter, 'UniswapV2: FORBIDDEN');
feeToSetter = _feeToSetter;
}
}
pragma solidity >=0.5.0;
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
import "./SafeMath.sol";
library UniswapV2Library {
using SafeMath for uint;
// returns sorted token addresses, used to handle return values from pairs sorted in this order
function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
(token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
}
// calculates the CREATE2 address for a pair without making any external calls
function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
(address token0, address token1) = sortTokens(tokenA, tokenB);
pair = address(uint(keccak256(abi.encodePacked(
hex'ff',
factory,
keccak256(abi.encodePacked(token0, token1)),
hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
))));
}
// fetches and sorts the reserves for a pair
function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
(address token0,) = sortTokens(tokenA, tokenB);
(uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
(reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
}
// given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
amountB = amountA.mul(reserveB) / reserveA;
}
// given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
uint amountInWithFee = amountIn.mul(997);
uint numerator = amountInWithFee.mul(reserveOut);
uint denominator = reserveIn.mul(1000).add(amountInWithFee);
amountOut = numerator / denominator;
}
// given an output amount of an asset and pair reserves, returns a required input amount of the other asset
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
uint numerator = reserveIn.mul(amountOut).mul(1000);
uint denominator = reserveOut.sub(amountOut).mul(997);
amountIn = (numerator / denominator).add(1);
}
// performs chained getAmountOut calculations on any number of pairs
function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
amounts = new uint[](path.length);
amounts[0] = amountIn;
for (uint i; i < path.length - 1; i++) {
(uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
}
}
// performs chained getAmountIn calculations on any number of pairs
function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
amounts = new uint[](path.length);
amounts[amounts.length - 1] = amountOut;
for (uint i = path.length - 1; i > 0; i--) {
(uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
}
}
}
pragma solidity = 0.5.0;
import './interfaces/IUniswapV2Pair.sol';
import './UniswapV2ERC20.sol';
import './libraries/Math.sol';
import './libraries/UQ112x112.sol';
import './interfaces/IERC20.sol';
import './interfaces/IUniswapV2Factory.sol';
import './interfaces/IUniswapV2Callee.sol';
contract UniswapV2Pair is IUniswapV2Pair, UniswapV2ERC20 {
using SafeMath for uint;
using UQ112x112 for uint224;
uint public constant MINIMUM_LIQUIDITY = 10**3;
bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));
address public factory;
address public token0;
address public token1;
uint112 private reserve0; // uses single storage slot, accessible via getReserves
uint112 private reserve1; // uses single storage slot, accessible via getReserves
uint32 private blockTimestampLast; // uses single storage slot, accessible via getReserves
uint public price0CumulativeLast;
uint public price1CumulativeLast;
uint public kLast; // reserve0 * reserve1, as of immediately after the most recent liquidity event
uint private unlocked = 1;
modifier lock() {
require(unlocked == 1, 'UniswapV2: LOCKED');
unlocked = 0;
_;
unlocked = 1;
}
function getReserves() public view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) {
_reserve0 = reserve0;
_reserve1 = reserve1;
_blockTimestampLast = blockTimestampLast;
}
function _safeTransfer(address token, address to, uint value) private {
(bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value));
require(success && (data.length == 0 || abi.decode(data, (bool))), 'UniswapV2: TRANSFER_FAILED');
}
event Mint(address indexed sender, uint amount0, uint amount1);
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
constructor() public {
factory = msg.sender;
}
// called once by the factory at time of deployment
function initialize(address _token0, address _token1) external {
require(msg.sender == factory, 'UniswapV2: FORBIDDEN'); // sufficient check
token0 = _token0;
token1 = _token1;
}
// update reserves and, on the first call per block, price accumulators
function _update(uint balance0, uint balance1, uint112 _reserve0, uint112 _reserve1) private {
require(balance0 <= uint112(-1) && balance1 <= uint112(-1), 'UniswapV2: OVERFLOW');
uint32 blockTimestamp = uint32(block.timestamp % 2**32);
uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired
if (timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0) {
// * never overflows, and + overflow is desired
price0CumulativeLast += uint(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed;
price1CumulativeLast += uint(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed;
}
reserve0 = uint112(balance0);
reserve1 = uint112(balance1);
blockTimestampLast = blockTimestamp;
emit Sync(reserve0, reserve1);
}
// if fee is on, mint liquidity equivalent to 1/6th of the growth in sqrt(k)
function _mintFee(uint112 _reserve0, uint112 _reserve1) private returns (bool feeOn) {
address feeTo = IUniswapV2Factory(factory).feeTo();
feeOn = feeTo != address(0);
uint _kLast = kLast; // gas savings
if (feeOn) {
if (_kLast != 0) {
uint rootK = Math.sqrt(uint(_reserve0).mul(_reserve1));
uint rootKLast = Math.sqrt(_kLast);
if (rootK > rootKLast) {
uint numerator = totalSupply.mul(rootK.sub(rootKLast));
uint denominator = rootK.mul(5).add(rootKLast);
uint liquidity = numerator / denominator;
if (liquidity > 0) _mint(feeTo, liquidity);
}
}
} else if (_kLast != 0) {
kLast = 0;
}
}
// this low-level function should be called from a contract which performs important safety checks
function mint(address to) external lock returns (uint liquidity) {
(uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
uint balance0 = IERC20(token0).balanceOf(address(this));
uint balance1 = IERC20(token1).balanceOf(address(this));
uint amount0 = balance0.sub(_reserve0);
uint amount1 = balance1.sub(_reserve1);
bool feeOn = _mintFee(_reserve0, _reserve1);
uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
if (_totalSupply == 0) {
liquidity = Math.sqrt(amount0.mul(amount1)).sub(MINIMUM_LIQUIDITY);
_mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens
} else {
liquidity = Math.min(amount0.mul(_totalSupply) / _reserve0, amount1.mul(_totalSupply) / _reserve1);
}
require(liquidity > 0, 'UniswapV2: INSUFFICIENT_LIQUIDITY_MINTED');
_mint(to, liquidity);
_update(balance0, balance1, _reserve0, _reserve1);
if (feeOn) kLast = uint(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date
emit Mint(msg.sender, amount0, amount1);
}
// this low-level function should be called from a contract which performs important safety checks
function burn(address to) external lock returns (uint amount0, uint amount1) {
(uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
address _token0 = token0; // gas savings
address _token1 = token1; // gas savings
uint balance0 = IERC20(_token0).balanceOf(address(this));
uint balance1 = IERC20(_token1).balanceOf(address(this));
uint liquidity = balanceOf[address(this)];
bool feeOn = _mintFee(_reserve0, _reserve1);
uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
amount0 = liquidity.mul(balance0) / _totalSupply; // using balances ensures pro-rata distribution
amount1 = liquidity.mul(balance1) / _totalSupply; // using balances ensures pro-rata distribution
require(amount0 > 0 && amount1 > 0, 'UniswapV2: INSUFFICIENT_LIQUIDITY_BURNED');
_burn(address(this), liquidity);
_safeTransfer(_token0, to, amount0);
_safeTransfer(_token1, to, amount1);
balance0 = IERC20(_token0).balanceOf(address(this));
balance1 = IERC20(_token1).balanceOf(address(this));
_update(balance0, balance1, _reserve0, _reserve1);
if (feeOn) kLast = uint(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date
emit Burn(msg.sender, amount0, amount1, to);
}
// this low-level function should be called from a contract which performs important safety checks
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external lock {
require(amount0Out > 0 || amount1Out > 0, 'UniswapV2: INSUFFICIENT_OUTPUT_AMOUNT');
(uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
require(amount0Out < _reserve0 && amount1Out < _reserve1, 'UniswapV2: INSUFFICIENT_LIQUIDITY');
uint balance0;
uint balance1;
{ // scope for _token{0,1}, avoids stack too deep errors
address _token0 = token0;
address _token1 = token1;
require(to != _token0 && to != _token1, 'UniswapV2: INVALID_TO');
if (amount0Out > 0) _safeTransfer(_token0, to, amount0Out); // optimistically transfer tokens
if (amount1Out > 0) _safeTransfer(_token1, to, amount1Out); // optimistically transfer tokens
if (data.length > 0) IUniswapV2Callee(to).uniswapV2Call(msg.sender, amount0Out, amount1Out, data);
balance0 = IERC20(_token0).balanceOf(address(this));
balance1 = IERC20(_token1).balanceOf(address(this));
}
uint amount0In = balance0 > _reserve0 - amount0Out ? balance0 - (_reserve0 - amount0Out) : 0;
uint amount1In = balance1 > _reserve1 - amount1Out ? balance1 - (_reserve1 - amount1Out) : 0;
require(amount0In > 0 || amount1In > 0, 'UniswapV2: INSUFFICIENT_INPUT_AMOUNT');
{ // scope for reserve{0,1}Adjusted, avoids stack too deep errors
uint balance0Adjusted = balance0.mul(1000).sub(amount0In.mul(3));
uint balance1Adjusted = balance1.mul(1000).sub(amount1In.mul(3));
require(balance0Adjusted.mul(balance1Adjusted) >= uint(_reserve0).mul(_reserve1).mul(1000**2), 'UniswapV2: K');
}
_update(balance0, balance1, _reserve0, _reserve1);
emit Swap(msg.sender, amount0In, amount1In, amount0Out, amount1Out, to);
}
// force balances to match reserves
function skim(address to) external lock {
address _token0 = token0; // gas savings
address _token1 = token1; // gas savings
_safeTransfer(_token0, to, IERC20(_token0).balanceOf(address(this)).sub(reserve0));
_safeTransfer(_token1, to, IERC20(_token1).balanceOf(address(this)).sub(reserve1));
}
// force reserves to match balances
function sync() external lock {
_update(IERC20(token0).balanceOf(address(this)), IERC20(token1).balanceOf(address(this)), reserve0, reserve1);
}
}
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
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_1474": {
"entryPoint": null,
"id": 1474,
"parameterSlots": 2,
"returnSlots": 0
},
"@_3289": {
"entryPoint": null,
"id": 3289,
"parameterSlots": 0,
"returnSlots": 0
},
"@_565": {
"entryPoint": null,
"id": 565,
"parameterSlots": 0,
"returnSlots": 0
},
"@_691": {
"entryPoint": null,
"id": 691,
"parameterSlots": 2,
"returnSlots": 0
},
"@_add_2704": {
"entryPoint": 1457,
"id": 2704,
"parameterSlots": 2,
"returnSlots": 1
},
"@_afterTokenTransfer_1232": {
"entryPoint": 937,
"id": 1232,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_1221": {
"entryPoint": 1579,
"id": 1221,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_1391": {
"entryPoint": 1239,
"id": 1391,
"parameterSlots": 3,
"returnSlots": 0
},
"@_beforeTokenTransfer_1552": {
"entryPoint": 908,
"id": 1552,
"parameterSlots": 3,
"returnSlots": 0
},
"@_contains_2807": {
"entryPoint": 1607,
"id": 2807,
"parameterSlots": 2,
"returnSlots": 1
},
"@_grantRole_283": {
"entryPoint": 942,
"id": 283,
"parameterSlots": 2,
"returnSlots": 0
},
"@_grantRole_415": {
"entryPoint": 836,
"id": 415,
"parameterSlots": 2,
"returnSlots": 0
},
"@_mint_1050": {
"entryPoint": 470,
"id": 1050,
"parameterSlots": 2,
"returnSlots": 0
},
"@_msgSender_1565": {
"entryPoint": 431,
"id": 1565,
"parameterSlots": 0,
"returnSlots": 1
},
"@_setupRole_223": {
"entryPoint": 439,
"id": 223,
"parameterSlots": 2,
"returnSlots": 0
},
"@add_3004": {
"entryPoint": 1183,
"id": 3004,
"parameterSlots": 2,
"returnSlots": 1
},
"@decimals_721": {
"entryPoint": 461,
"id": 721,
"parameterSlots": 0,
"returnSlots": 1
},
"@hasRole_79": {
"entryPoint": 1351,
"id": 79,
"parameterSlots": 2,
"returnSlots": 1
},
"@paused_590": {
"entryPoint": 1584,
"id": 590,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack": {
"entryPoint": 3121,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4_to_t_string_memory_ptr_fromStack": {
"entryPoint": 3378,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 3253,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3160,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3417,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 3270,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_dataslot_t_string_storage": {
"entryPoint": 1800,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 1642,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 3063,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 3194,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_exp_helper": {
"entryPoint": 2567,
"id": null,
"parameterSlots": 4,
"returnSlots": 2
},
"checked_exp_t_uint256_t_uint8": {
"entryPoint": 2907,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_exp_unsigned": {
"entryPoint": 2658,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"checked_mul_t_uint256": {
"entryPoint": 2988,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 2121,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_uint256": {
"entryPoint": 1936,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint8": {
"entryPoint": 2894,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 2082,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 1956,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 2276,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 1821,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 1747,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 2246,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"identity": {
"entryPoint": 1946,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 2214,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 2507,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 1700,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1653,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 1996,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 1837,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_1_unsigned": {
"entryPoint": 2554,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 2201,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 2054,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e": {
"entryPoint": 3080,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4": {
"entryPoint": 3299,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 1850,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 2006,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 2049,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:10993:18",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "66:40:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:22:18",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "93:5:18"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "87:5:18"
},
"nodeType": "YulFunctionCall",
"src": "87:12:18"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "77:6:18"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "49:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "59:6:18",
"type": ""
}
],
"src": "7:99:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "140:152:18",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "157:1:18",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "160:77:18",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "150:6:18"
},
"nodeType": "YulFunctionCall",
"src": "150:88:18"
},
"nodeType": "YulExpressionStatement",
"src": "150:88:18"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "254:1:18",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "257:4:18",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "247:6:18"
},
"nodeType": "YulFunctionCall",
"src": "247:15:18"
},
"nodeType": "YulExpressionStatement",
"src": "247:15:18"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "278:1:18",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "281:4:18",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "271:6:18"
},
"nodeType": "YulFunctionCall",
"src": "271:15:18"
},
"nodeType": "YulExpressionStatement",
"src": "271:15:18"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "112:180:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "326:152:18",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "343:1:18",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "346:77:18",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "336:6:18"
},
"nodeType": "YulFunctionCall",
"src": "336:88:18"
},
"nodeType": "YulExpressionStatement",
"src": "336:88:18"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "440:1:18",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "443:4:18",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "433:6:18"
},
"nodeType": "YulFunctionCall",
"src": "433:15:18"
},
"nodeType": "YulExpressionStatement",
"src": "433:15:18"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "464:1:18",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "467:4:18",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "457:6:18"
},
"nodeType": "YulFunctionCall",
"src": "457:15:18"
},
"nodeType": "YulExpressionStatement",
"src": "457:15:18"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "298:180:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "535:269:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "545:22:18",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "559:4:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "565:1:18",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "555:3:18"
},
"nodeType": "YulFunctionCall",
"src": "555:12:18"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "545:6:18"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "576:38:18",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "606:4:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "612:1:18",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "602:3:18"
},
"nodeType": "YulFunctionCall",
"src": "602:12:18"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "580:18:18",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "653:51:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "667:27:18",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "681:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "689:4:18",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "677:3:18"
},
"nodeType": "YulFunctionCall",
"src": "677:17:18"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "667:6:18"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "633:18:18"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "626:6:18"
},
"nodeType": "YulFunctionCall",
"src": "626:26:18"
},
"nodeType": "YulIf",
"src": "623:81:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "756:42:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "770:16:18"
},
"nodeType": "YulFunctionCall",
"src": "770:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "770:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "720:18:18"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "743:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "751:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "740:2:18"
},
"nodeType": "YulFunctionCall",
"src": "740:14:18"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "717:2:18"
},
"nodeType": "YulFunctionCall",
"src": "717:38:18"
},
"nodeType": "YulIf",
"src": "714:84:18"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "519:4:18",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "528:6:18",
"type": ""
}
],
"src": "484:320:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "864:87:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "874:11:18",
"value": {
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "882:3:18"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "874:4:18"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "902:1:18",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "905:3:18"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "895:6:18"
},
"nodeType": "YulFunctionCall",
"src": "895:14:18"
},
"nodeType": "YulExpressionStatement",
"src": "895:14:18"
},
{
"nodeType": "YulAssignment",
"src": "918:26:18",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "936:1:18",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "939:4:18",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nodeType": "YulIdentifier",
"src": "926:9:18"
},
"nodeType": "YulFunctionCall",
"src": "926:18:18"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "918:4:18"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "851:3:18",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "859:4:18",
"type": ""
}
],
"src": "810:141:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1001:49:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1011:33:18",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1029:5:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1036:2:18",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1025:3:18"
},
"nodeType": "YulFunctionCall",
"src": "1025:14:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1041:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "1021:3:18"
},
"nodeType": "YulFunctionCall",
"src": "1021:23:18"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1011:6:18"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "984:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "994:6:18",
"type": ""
}
],
"src": "957:93:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1109:54:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1119:37:18",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "1144:4:18"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1150:5:18"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "1140:3:18"
},
"nodeType": "YulFunctionCall",
"src": "1140:16:18"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "1119:8:18"
}
]
}
]
},
"name": "shift_left_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "1084:4:18",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1090:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "1100:8:18",
"type": ""
}
],
"src": "1056:107:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1245:317:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1255:35:18",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nodeType": "YulIdentifier",
"src": "1276:10:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1288:1:18",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "1272:3:18"
},
"nodeType": "YulFunctionCall",
"src": "1272:18:18"
},
"variables": [
{
"name": "shiftBits",
"nodeType": "YulTypedName",
"src": "1259:9:18",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "1299:109:18",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "1330:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1341:66:18",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "1311:18:18"
},
"nodeType": "YulFunctionCall",
"src": "1311:97:18"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "1303:4:18",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1417:51:18",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "1448:9:18"
},
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "1459:8:18"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "1429:18:18"
},
"nodeType": "YulFunctionCall",
"src": "1429:39:18"
},
"variableNames": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "1417:8:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1477:30:18",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1490:5:18"
},
{
"arguments": [
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "1501:4:18"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "1497:3:18"
},
"nodeType": "YulFunctionCall",
"src": "1497:9:18"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1486:3:18"
},
"nodeType": "YulFunctionCall",
"src": "1486:21:18"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1477:5:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1516:40:18",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1529:5:18"
},
{
"arguments": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "1540:8:18"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "1550:4:18"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1536:3:18"
},
"nodeType": "YulFunctionCall",
"src": "1536:19:18"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "1526:2:18"
},
"nodeType": "YulFunctionCall",
"src": "1526:30:18"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1516:6:18"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1206:5:18",
"type": ""
},
{
"name": "shiftBytes",
"nodeType": "YulTypedName",
"src": "1213:10:18",
"type": ""
},
{
"name": "toInsert",
"nodeType": "YulTypedName",
"src": "1225:8:18",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "1238:6:18",
"type": ""
}
],
"src": "1169:393:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1613:32:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1623:16:18",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1634:5:18"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1623:7:18"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1595:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1605:7:18",
"type": ""
}
],
"src": "1568:77:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1683:28:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1693:12:18",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1700:5:18"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "1693:3:18"
}
]
}
]
},
"name": "identity",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1669:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "1679:3:18",
"type": ""
}
],
"src": "1651:60:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1777:82:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1787:66:18",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1845:5:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1827:17:18"
},
"nodeType": "YulFunctionCall",
"src": "1827:24:18"
}
],
"functionName": {
"name": "identity",
"nodeType": "YulIdentifier",
"src": "1818:8:18"
},
"nodeType": "YulFunctionCall",
"src": "1818:34:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1800:17:18"
},
"nodeType": "YulFunctionCall",
"src": "1800:53:18"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "1787:9:18"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1757:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "1767:9:18",
"type": ""
}
],
"src": "1717:142:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1912:28:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1922:12:18",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1929:5:18"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "1922:3:18"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1898:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "1908:3:18",
"type": ""
}
],
"src": "1865:75:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2022:193:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2032:63:18",
"value": {
"arguments": [
{
"name": "value_0",
"nodeType": "YulIdentifier",
"src": "2087:7:18"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "2056:30:18"
},
"nodeType": "YulFunctionCall",
"src": "2056:39:18"
},
"variables": [
{
"name": "convertedValue_0",
"nodeType": "YulTypedName",
"src": "2036:16:18",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "2111:4:18"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "2151:4:18"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "2145:5:18"
},
"nodeType": "YulFunctionCall",
"src": "2145:11:18"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2158:6:18"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nodeType": "YulIdentifier",
"src": "2190:16:18"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nodeType": "YulIdentifier",
"src": "2166:23:18"
},
"nodeType": "YulFunctionCall",
"src": "2166:41:18"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nodeType": "YulIdentifier",
"src": "2117:27:18"
},
"nodeType": "YulFunctionCall",
"src": "2117:91:18"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "2104:6:18"
},
"nodeType": "YulFunctionCall",
"src": "2104:105:18"
},
"nodeType": "YulExpressionStatement",
"src": "2104:105:18"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "1999:4:18",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2005:6:18",
"type": ""
},
{
"name": "value_0",
"nodeType": "YulTypedName",
"src": "2013:7:18",
"type": ""
}
],
"src": "1946:269:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2270:24:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2280:8:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2287:1:18",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "2280:3:18"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "2266:3:18",
"type": ""
}
],
"src": "2221:73:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2353:136:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2363:46:18",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulIdentifier",
"src": "2377:30:18"
},
"nodeType": "YulFunctionCall",
"src": "2377:32:18"
},
"variables": [
{
"name": "zero_0",
"nodeType": "YulTypedName",
"src": "2367:6:18",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "2462:4:18"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2468:6:18"
},
{
"name": "zero_0",
"nodeType": "YulIdentifier",
"src": "2476:6:18"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "2418:43:18"
},
"nodeType": "YulFunctionCall",
"src": "2418:65:18"
},
"nodeType": "YulExpressionStatement",
"src": "2418:65:18"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "2339:4:18",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2345:6:18",
"type": ""
}
],
"src": "2300:189:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2545:136:18",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2612:63:18",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "2656:5:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2663:1:18",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulIdentifier",
"src": "2626:29:18"
},
"nodeType": "YulFunctionCall",
"src": "2626:39:18"
},
"nodeType": "YulExpressionStatement",
"src": "2626:39:18"
}
]
},
"condition": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "2565:5:18"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2572:3:18"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2562:2:18"
},
"nodeType": "YulFunctionCall",
"src": "2562:14:18"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "2577:26:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2579:22:18",
"value": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "2592:5:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2599:1:18",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2588:3:18"
},
"nodeType": "YulFunctionCall",
"src": "2588:13:18"
},
"variableNames": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "2579:5:18"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "2559:2:18",
"statements": []
},
"src": "2555:120:18"
}
]
},
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "start",
"nodeType": "YulTypedName",
"src": "2533:5:18",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2540:3:18",
"type": ""
}
],
"src": "2495:186:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2766:464:18",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2792:431:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2806:54:18",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "2854:5:18"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "2822:31:18"
},
"nodeType": "YulFunctionCall",
"src": "2822:38:18"
},
"variables": [
{
"name": "dataArea",
"nodeType": "YulTypedName",
"src": "2810:8:18",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "2873:63:18",
"value": {
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "2896:8:18"
},
{
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "2924:10:18"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "2906:17:18"
},
"nodeType": "YulFunctionCall",
"src": "2906:29:18"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2892:3:18"
},
"nodeType": "YulFunctionCall",
"src": "2892:44:18"
},
"variables": [
{
"name": "deleteStart",
"nodeType": "YulTypedName",
"src": "2877:11:18",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3093:27:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3095:23:18",
"value": {
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "3110:8:18"
},
"variableNames": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "3095:11:18"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "3077:10:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3089:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3074:2:18"
},
"nodeType": "YulFunctionCall",
"src": "3074:18:18"
},
"nodeType": "YulIf",
"src": "3071:49:18"
},
{
"expression": {
"arguments": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "3162:11:18"
},
{
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "3179:8:18"
},
{
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "3207:3:18"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "3189:17:18"
},
"nodeType": "YulFunctionCall",
"src": "3189:22:18"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3175:3:18"
},
"nodeType": "YulFunctionCall",
"src": "3175:37:18"
}
],
"functionName": {
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulIdentifier",
"src": "3133:28:18"
},
"nodeType": "YulFunctionCall",
"src": "3133:80:18"
},
"nodeType": "YulExpressionStatement",
"src": "3133:80:18"
}
]
},
"condition": {
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "2783:3:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2788:2:18",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2780:2:18"
},
"nodeType": "YulFunctionCall",
"src": "2780:11:18"
},
"nodeType": "YulIf",
"src": "2777:446:18"
}
]
},
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "2742:5:18",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "2749:3:18",
"type": ""
},
{
"name": "startIndex",
"nodeType": "YulTypedName",
"src": "2754:10:18",
"type": ""
}
],
"src": "2687:543:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3299:54:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3309:37:18",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "3334:4:18"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3340:5:18"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "3330:3:18"
},
"nodeType": "YulFunctionCall",
"src": "3330:16:18"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "3309:8:18"
}
]
}
]
},
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "3274:4:18",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3280:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "3290:8:18",
"type": ""
}
],
"src": "3236:117:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3410:118:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3420:68:18",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3469:1:18",
"type": "",
"value": "8"
},
{
"name": "bytes",
"nodeType": "YulIdentifier",
"src": "3472:5:18"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "3465:3:18"
},
"nodeType": "YulFunctionCall",
"src": "3465:13:18"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3484:1:18",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3480:3:18"
},
"nodeType": "YulFunctionCall",
"src": "3480:6:18"
}
],
"functionName": {
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulIdentifier",
"src": "3436:28:18"
},
"nodeType": "YulFunctionCall",
"src": "3436:51:18"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "3432:3:18"
},
"nodeType": "YulFunctionCall",
"src": "3432:56:18"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "3424:4:18",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3497:25:18",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3511:4:18"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "3517:4:18"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "3507:3:18"
},
"nodeType": "YulFunctionCall",
"src": "3507:15:18"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "3497:6:18"
}
]
}
]
},
"name": "mask_bytes_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "3387:4:18",
"type": ""
},
{
"name": "bytes",
"nodeType": "YulTypedName",
"src": "3393:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "3403:6:18",
"type": ""
}
],
"src": "3359:169:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3614:214:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3747:37:18",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3774:4:18"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "3780:3:18"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "3755:18:18"
},
"nodeType": "YulFunctionCall",
"src": "3755:29:18"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3747:4:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3793:29:18",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "3804:4:18"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3814:1:18",
"type": "",
"value": "2"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "3817:3:18"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "3810:3:18"
},
"nodeType": "YulFunctionCall",
"src": "3810:11:18"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "3801:2:18"
},
"nodeType": "YulFunctionCall",
"src": "3801:21:18"
},
"variableNames": [
{
"name": "used",
"nodeType": "YulIdentifier",
"src": "3793:4:18"
}
]
}
]
},
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "3595:4:18",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "3601:3:18",
"type": ""
}
],
"returnVariables": [
{
"name": "used",
"nodeType": "YulTypedName",
"src": "3609:4:18",
"type": ""
}
],
"src": "3533:295:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3925:1303:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3936:51:18",
"value": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3983:3:18"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "3950:32:18"
},
"nodeType": "YulFunctionCall",
"src": "3950:37:18"
},
"variables": [
{
"name": "newLen",
"nodeType": "YulTypedName",
"src": "3940:6:18",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4072:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "4074:16:18"
},
"nodeType": "YulFunctionCall",
"src": "4074:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "4074:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "4044:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4052:18:18",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4041:2:18"
},
"nodeType": "YulFunctionCall",
"src": "4041:30:18"
},
"nodeType": "YulIf",
"src": "4038:56:18"
},
{
"nodeType": "YulVariableDeclaration",
"src": "4104:52:18",
"value": {
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "4150:4:18"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "4144:5:18"
},
"nodeType": "YulFunctionCall",
"src": "4144:11:18"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nodeType": "YulIdentifier",
"src": "4118:25:18"
},
"nodeType": "YulFunctionCall",
"src": "4118:38:18"
},
"variables": [
{
"name": "oldLen",
"nodeType": "YulTypedName",
"src": "4108:6:18",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "4249:4:18"
},
{
"name": "oldLen",
"nodeType": "YulIdentifier",
"src": "4255:6:18"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "4263:6:18"
}
],
"functionName": {
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulIdentifier",
"src": "4203:45:18"
},
"nodeType": "YulFunctionCall",
"src": "4203:67:18"
},
"nodeType": "YulExpressionStatement",
"src": "4203:67:18"
},
{
"nodeType": "YulVariableDeclaration",
"src": "4280:18:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4297:1:18",
"type": "",
"value": "0"
},
"variables": [
{
"name": "srcOffset",
"nodeType": "YulTypedName",
"src": "4284:9:18",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4308:17:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4321:4:18",
"type": "",
"value": "0x20"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "4308:9:18"
}
]
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "4372:611:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4386:37:18",
"value": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "4405:6:18"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4417:4:18",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4413:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4413:9:18"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4401:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4401:22:18"
},
"variables": [
{
"name": "loopEnd",
"nodeType": "YulTypedName",
"src": "4390:7:18",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4437:51:18",
"value": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "4483:4:18"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "4451:31:18"
},
"nodeType": "YulFunctionCall",
"src": "4451:37:18"
},
"variables": [
{
"name": "dstPtr",
"nodeType": "YulTypedName",
"src": "4441:6:18",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "4501:10:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4510:1:18",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "4505:1:18",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4569:163:18",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "4594:6:18"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4612:3:18"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "4617:9:18"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4608:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4608:19:18"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4602:5:18"
},
"nodeType": "YulFunctionCall",
"src": "4602:26:18"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "4587:6:18"
},
"nodeType": "YulFunctionCall",
"src": "4587:42:18"
},
"nodeType": "YulExpressionStatement",
"src": "4587:42:18"
},
{
"nodeType": "YulAssignment",
"src": "4646:24:18",
"value": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "4660:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4668:1:18",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4656:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4656:14:18"
},
"variableNames": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "4646:6:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "4687:31:18",
"value": {
"arguments": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "4704:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4715:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4700:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4700:18:18"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "4687:9:18"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4535:1:18"
},
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "4538:7:18"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4532:2:18"
},
"nodeType": "YulFunctionCall",
"src": "4532:14:18"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "4547:21:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4549:17:18",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4558:1:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4561:4:18",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4554:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4554:12:18"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "4549:1:18"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "4528:3:18",
"statements": []
},
"src": "4524:208:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4768:156:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4786:43:18",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4813:3:18"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "4818:9:18"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4809:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4809:19:18"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4803:5:18"
},
"nodeType": "YulFunctionCall",
"src": "4803:26:18"
},
"variables": [
{
"name": "lastValue",
"nodeType": "YulTypedName",
"src": "4790:9:18",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "4853:6:18"
},
{
"arguments": [
{
"name": "lastValue",
"nodeType": "YulIdentifier",
"src": "4880:9:18"
},
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "4895:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4903:4:18",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4891:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4891:17:18"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "4861:18:18"
},
"nodeType": "YulFunctionCall",
"src": "4861:48:18"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "4846:6:18"
},
"nodeType": "YulFunctionCall",
"src": "4846:64:18"
},
"nodeType": "YulExpressionStatement",
"src": "4846:64:18"
}
]
},
"condition": {
"arguments": [
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "4751:7:18"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "4760:6:18"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "4748:2:18"
},
"nodeType": "YulFunctionCall",
"src": "4748:19:18"
},
"nodeType": "YulIf",
"src": "4745:179:18"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "4944:4:18"
},
{
"arguments": [
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "4958:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4966:1:18",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "4954:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4954:14:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4970:1:18",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4950:3:18"
},
"nodeType": "YulFunctionCall",
"src": "4950:22:18"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "4937:6:18"
},
"nodeType": "YulFunctionCall",
"src": "4937:36:18"
},
"nodeType": "YulExpressionStatement",
"src": "4937:36:18"
}
]
},
"nodeType": "YulCase",
"src": "4365:618:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4370:1:18",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "5000:222:18",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5014:14:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5027:1:18",
"type": "",
"value": "0"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5018:5:18",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5051:67:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5069:35:18",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5088:3:18"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "5093:9:18"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5084:3:18"
},
"nodeType": "YulFunctionCall",
"src": "5084:19:18"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5078:5:18"
},
"nodeType": "YulFunctionCall",
"src": "5078:26:18"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5069:5:18"
}
]
}
]
},
"condition": {
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "5044:6:18"
},
"nodeType": "YulIf",
"src": "5041:77:18"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "5138:4:18"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5197:5:18"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "5204:6:18"
}
],
"functionName": {
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulIdentifier",
"src": "5144:52:18"
},
"nodeType": "YulFunctionCall",
"src": "5144:67:18"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "5131:6:18"
},
"nodeType": "YulFunctionCall",
"src": "5131:81:18"
},
"nodeType": "YulExpressionStatement",
"src": "5131:81:18"
}
]
},
"nodeType": "YulCase",
"src": "4992:230:18",
"value": "default"
}
],
"expression": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "4345:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4353:2:18",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4342:2:18"
},
"nodeType": "YulFunctionCall",
"src": "4342:14:18"
},
"nodeType": "YulSwitch",
"src": "4335:887:18"
}
]
},
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "3914:4:18",
"type": ""
},
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3920:3:18",
"type": ""
}
],
"src": "3833:1395:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5262:152:18",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5279:1:18",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5282:77:18",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5272:6:18"
},
"nodeType": "YulFunctionCall",
"src": "5272:88:18"
},
"nodeType": "YulExpressionStatement",
"src": "5272:88:18"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5376:1:18",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5379:4:18",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5369:6:18"
},
"nodeType": "YulFunctionCall",
"src": "5369:15:18"
},
"nodeType": "YulExpressionStatement",
"src": "5369:15:18"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5400:1:18",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5403:4:18",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5393:6:18"
},
"nodeType": "YulFunctionCall",
"src": "5393:15:18"
},
"nodeType": "YulExpressionStatement",
"src": "5393:15:18"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "5234:180:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5471:51:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5481:34:18",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5506:1:18",
"type": "",
"value": "1"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5509:5:18"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "5502:3:18"
},
"nodeType": "YulFunctionCall",
"src": "5502:13:18"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "5481:8:18"
}
]
}
]
},
"name": "shift_right_1_unsigned",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5452:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "5462:8:18",
"type": ""
}
],
"src": "5420:102:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5601:775:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5611:15:18",
"value": {
"name": "_power",
"nodeType": "YulIdentifier",
"src": "5620:6:18"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "5611:5:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "5635:14:18",
"value": {
"name": "_base",
"nodeType": "YulIdentifier",
"src": "5644:5:18"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "5635:4:18"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5693:677:18",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "5781:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "5783:16:18"
},
"nodeType": "YulFunctionCall",
"src": "5783:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "5783:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "5759:4:18"
},
{
"arguments": [
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "5769:3:18"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "5774:4:18"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "5765:3:18"
},
"nodeType": "YulFunctionCall",
"src": "5765:14:18"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5756:2:18"
},
"nodeType": "YulFunctionCall",
"src": "5756:24:18"
},
"nodeType": "YulIf",
"src": "5753:50:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5848:419:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6228:25:18",
"value": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "6241:5:18"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "6248:4:18"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "6237:3:18"
},
"nodeType": "YulFunctionCall",
"src": "6237:16:18"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "6228:5:18"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "5823:8:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5833:1:18",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5819:3:18"
},
"nodeType": "YulFunctionCall",
"src": "5819:16:18"
},
"nodeType": "YulIf",
"src": "5816:451:18"
},
{
"nodeType": "YulAssignment",
"src": "6280:23:18",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "6292:4:18"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "6298:4:18"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "6288:3:18"
},
"nodeType": "YulFunctionCall",
"src": "6288:15:18"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "6280:4:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6316:44:18",
"value": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "6351:8:18"
}
],
"functionName": {
"name": "shift_right_1_unsigned",
"nodeType": "YulIdentifier",
"src": "6328:22:18"
},
"nodeType": "YulFunctionCall",
"src": "6328:32:18"
},
"variableNames": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "6316:8:18"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "5669:8:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5679:1:18",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "5666:2:18"
},
"nodeType": "YulFunctionCall",
"src": "5666:15:18"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "5682:2:18",
"statements": []
},
"pre": {
"nodeType": "YulBlock",
"src": "5662:3:18",
"statements": []
},
"src": "5658:712:18"
}
]
},
"name": "checked_exp_helper",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "_power",
"nodeType": "YulTypedName",
"src": "5556:6:18",
"type": ""
},
{
"name": "_base",
"nodeType": "YulTypedName",
"src": "5564:5:18",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "5571:8:18",
"type": ""
},
{
"name": "max",
"nodeType": "YulTypedName",
"src": "5581:3:18",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "5589:5:18",
"type": ""
},
{
"name": "base",
"nodeType": "YulTypedName",
"src": "5596:4:18",
"type": ""
}
],
"src": "5528:848:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6442:1013:18",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6637:20:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6639:10:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6648:1:18",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "6639:5:18"
}
]
},
{
"nodeType": "YulLeave",
"src": "6650:5:18"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "6627:8:18"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6620:6:18"
},
"nodeType": "YulFunctionCall",
"src": "6620:16:18"
},
"nodeType": "YulIf",
"src": "6617:40:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6682:20:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6684:10:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6693:1:18",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "6684:5:18"
}
]
},
{
"nodeType": "YulLeave",
"src": "6695:5:18"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "6676:4:18"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6669:6:18"
},
"nodeType": "YulFunctionCall",
"src": "6669:12:18"
},
"nodeType": "YulIf",
"src": "6666:36:18"
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "6812:20:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6814:10:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6823:1:18",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "6814:5:18"
}
]
},
{
"nodeType": "YulLeave",
"src": "6825:5:18"
}
]
},
"nodeType": "YulCase",
"src": "6805:27:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6810:1:18",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "6856:176:18",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6891:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "6893:16:18"
},
"nodeType": "YulFunctionCall",
"src": "6893:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "6893:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "6876:8:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6886:3:18",
"type": "",
"value": "255"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6873:2:18"
},
"nodeType": "YulFunctionCall",
"src": "6873:17:18"
},
"nodeType": "YulIf",
"src": "6870:43:18"
},
{
"nodeType": "YulAssignment",
"src": "6926:25:18",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6939:1:18",
"type": "",
"value": "2"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "6942:8:18"
}
],
"functionName": {
"name": "exp",
"nodeType": "YulIdentifier",
"src": "6935:3:18"
},
"nodeType": "YulFunctionCall",
"src": "6935:16:18"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "6926:5:18"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6982:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "6984:16:18"
},
"nodeType": "YulFunctionCall",
"src": "6984:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "6984:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "6970:5:18"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "6977:3:18"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6967:2:18"
},
"nodeType": "YulFunctionCall",
"src": "6967:14:18"
},
"nodeType": "YulIf",
"src": "6964:40:18"
},
{
"nodeType": "YulLeave",
"src": "7017:5:18"
}
]
},
"nodeType": "YulCase",
"src": "6841:191:18",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "6846:1:18",
"type": "",
"value": "2"
}
}
],
"expression": {
"name": "base",
"nodeType": "YulIdentifier",
"src": "6762:4:18"
},
"nodeType": "YulSwitch",
"src": "6755:277:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7164:123:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7178:28:18",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7191:4:18"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "7197:8:18"
}
],
"functionName": {
"name": "exp",
"nodeType": "YulIdentifier",
"src": "7187:3:18"
},
"nodeType": "YulFunctionCall",
"src": "7187:19:18"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "7178:5:18"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7237:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "7239:16:18"
},
"nodeType": "YulFunctionCall",
"src": "7239:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "7239:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "7225:5:18"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "7232:3:18"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7222:2:18"
},
"nodeType": "YulFunctionCall",
"src": "7222:14:18"
},
"nodeType": "YulIf",
"src": "7219:40:18"
},
{
"nodeType": "YulLeave",
"src": "7272:5:18"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7067:4:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7073:2:18",
"type": "",
"value": "11"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7064:2:18"
},
"nodeType": "YulFunctionCall",
"src": "7064:12:18"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "7081:8:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7091:2:18",
"type": "",
"value": "78"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7078:2:18"
},
"nodeType": "YulFunctionCall",
"src": "7078:16:18"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7060:3:18"
},
"nodeType": "YulFunctionCall",
"src": "7060:35:18"
},
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7116:4:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7122:3:18",
"type": "",
"value": "307"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7113:2:18"
},
"nodeType": "YulFunctionCall",
"src": "7113:13:18"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "7131:8:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7141:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7128:2:18"
},
"nodeType": "YulFunctionCall",
"src": "7128:16:18"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7109:3:18"
},
"nodeType": "YulFunctionCall",
"src": "7109:36:18"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "7044:2:18"
},
"nodeType": "YulFunctionCall",
"src": "7044:111:18"
},
"nodeType": "YulIf",
"src": "7041:246:18"
},
{
"nodeType": "YulAssignment",
"src": "7297:57:18",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7331:1:18",
"type": "",
"value": "1"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7334:4:18"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "7340:8:18"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "7350:3:18"
}
],
"functionName": {
"name": "checked_exp_helper",
"nodeType": "YulIdentifier",
"src": "7312:18:18"
},
"nodeType": "YulFunctionCall",
"src": "7312:42:18"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "7297:5:18"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7304:4:18"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7393:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "7395:16:18"
},
"nodeType": "YulFunctionCall",
"src": "7395:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "7395:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "7370:5:18"
},
{
"arguments": [
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "7381:3:18"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7386:4:18"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "7377:3:18"
},
"nodeType": "YulFunctionCall",
"src": "7377:14:18"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7367:2:18"
},
"nodeType": "YulFunctionCall",
"src": "7367:25:18"
},
"nodeType": "YulIf",
"src": "7364:51:18"
},
{
"nodeType": "YulAssignment",
"src": "7424:25:18",
"value": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "7437:5:18"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7444:4:18"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "7433:3:18"
},
"nodeType": "YulFunctionCall",
"src": "7433:16:18"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "7424:5:18"
}
]
}
]
},
"name": "checked_exp_unsigned",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "6412:4:18",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "6418:8:18",
"type": ""
},
{
"name": "max",
"nodeType": "YulTypedName",
"src": "6428:3:18",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "6436:5:18",
"type": ""
}
],
"src": "6382:1073:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7504:43:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7514:27:18",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7529:5:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7536:4:18",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7525:3:18"
},
"nodeType": "YulFunctionCall",
"src": "7525:16:18"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "7514:7:18"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7486:5:18",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7496:7:18",
"type": ""
}
],
"src": "7461:86:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7617:217:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7627:31:18",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7653:4:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7635:17:18"
},
"nodeType": "YulFunctionCall",
"src": "7635:23:18"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7627:4:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "7667:37:18",
"value": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "7695:8:18"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "7679:15:18"
},
"nodeType": "YulFunctionCall",
"src": "7679:25:18"
},
"variableNames": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "7667:8:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "7714:113:18",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "7744:4:18"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "7750:8:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7760:66:18",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "checked_exp_unsigned",
"nodeType": "YulIdentifier",
"src": "7723:20:18"
},
"nodeType": "YulFunctionCall",
"src": "7723:104:18"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "7714:5:18"
}
]
}
]
},
"name": "checked_exp_t_uint256_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "7592:4:18",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "7598:8:18",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "7611:5:18",
"type": ""
}
],
"src": "7553:281:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7888:362:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7898:25:18",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "7921:1:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7903:17:18"
},
"nodeType": "YulFunctionCall",
"src": "7903:20:18"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "7898:1:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "7932:25:18",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "7955:1:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "7937:17:18"
},
"nodeType": "YulFunctionCall",
"src": "7937:20:18"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "7932:1:18"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "7966:28:18",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "7989:1:18"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "7992:1:18"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "7985:3:18"
},
"nodeType": "YulFunctionCall",
"src": "7985:9:18"
},
"variables": [
{
"name": "product_raw",
"nodeType": "YulTypedName",
"src": "7970:11:18",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "8003:41:18",
"value": {
"arguments": [
{
"name": "product_raw",
"nodeType": "YulIdentifier",
"src": "8032:11:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8014:17:18"
},
"nodeType": "YulFunctionCall",
"src": "8014:30:18"
},
"variableNames": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "8003:7:18"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8221:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "8223:16:18"
},
"nodeType": "YulFunctionCall",
"src": "8223:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "8223:18:18"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8154:1:18"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "8147:6:18"
},
"nodeType": "YulFunctionCall",
"src": "8147:9:18"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8177:1:18"
},
{
"arguments": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "8184:7:18"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8193:1:18"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "8180:3:18"
},
"nodeType": "YulFunctionCall",
"src": "8180:15:18"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "8174:2:18"
},
"nodeType": "YulFunctionCall",
"src": "8174:22:18"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "8127:2:18"
},
"nodeType": "YulFunctionCall",
"src": "8127:83:18"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "8107:6:18"
},
"nodeType": "YulFunctionCall",
"src": "8107:113:18"
},
"nodeType": "YulIf",
"src": "8104:139:18"
}
]
},
"name": "checked_mul_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "7871:1:18",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "7874:1:18",
"type": ""
}
],
"returnVariables": [
{
"name": "product",
"nodeType": "YulTypedName",
"src": "7880:7:18",
"type": ""
}
],
"src": "7840:410:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8352:73:18",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8369:3:18"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8374:6:18"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8362:6:18"
},
"nodeType": "YulFunctionCall",
"src": "8362:19:18"
},
"nodeType": "YulExpressionStatement",
"src": "8362:19:18"
},
{
"nodeType": "YulAssignment",
"src": "8390:29:18",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8409:3:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8414:4:18",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8405:3:18"
},
"nodeType": "YulFunctionCall",
"src": "8405:14:18"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "8390:11:18"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "8324:3:18",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "8329:6:18",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "8340:11:18",
"type": ""
}
],
"src": "8256:169:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8537:75:18",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "8559:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8567:1:18",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8555:3:18"
},
"nodeType": "YulFunctionCall",
"src": "8555:14:18"
},
{
"hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "8571:33:18",
"type": "",
"value": "ERC20: mint to the zero address"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8548:6:18"
},
"nodeType": "YulFunctionCall",
"src": "8548:57:18"
},
"nodeType": "YulExpressionStatement",
"src": "8548:57:18"
}
]
},
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "8529:6:18",
"type": ""
}
],
"src": "8431:181:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8764:220:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8774:74:18",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8840:3:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8845:2:18",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "8781:58:18"
},
"nodeType": "YulFunctionCall",
"src": "8781:67:18"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8774:3:18"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8946:3:18"
}
],
"functionName": {
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e",
"nodeType": "YulIdentifier",
"src": "8857:88:18"
},
"nodeType": "YulFunctionCall",
"src": "8857:93:18"
},
"nodeType": "YulExpressionStatement",
"src": "8857:93:18"
},
{
"nodeType": "YulAssignment",
"src": "8959:19:18",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8970:3:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8975:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8966:3:18"
},
"nodeType": "YulFunctionCall",
"src": "8966:12:18"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "8959:3:18"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "8752:3:18",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "8760:3:18",
"type": ""
}
],
"src": "8618:366:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9161:248:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9171:26:18",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9183:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9194:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9179:3:18"
},
"nodeType": "YulFunctionCall",
"src": "9179:18:18"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9171:4:18"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9218:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9229:1:18",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9214:3:18"
},
"nodeType": "YulFunctionCall",
"src": "9214:17:18"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9237:4:18"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9243:9:18"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9233:3:18"
},
"nodeType": "YulFunctionCall",
"src": "9233:20:18"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9207:6:18"
},
"nodeType": "YulFunctionCall",
"src": "9207:47:18"
},
"nodeType": "YulExpressionStatement",
"src": "9207:47:18"
},
{
"nodeType": "YulAssignment",
"src": "9263:139:18",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9397:4:18"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "9271:124:18"
},
"nodeType": "YulFunctionCall",
"src": "9271:131:18"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9263:4:18"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9141:9:18",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9156:4:18",
"type": ""
}
],
"src": "8990:419:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9459:147:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9469:25:18",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9492:1:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "9474:17:18"
},
"nodeType": "YulFunctionCall",
"src": "9474:20:18"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9469:1:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "9503:25:18",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9526:1:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "9508:17:18"
},
"nodeType": "YulFunctionCall",
"src": "9508:20:18"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9503:1:18"
}
]
},
{
"nodeType": "YulAssignment",
"src": "9537:16:18",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9548:1:18"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9551:1:18"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9544:3:18"
},
"nodeType": "YulFunctionCall",
"src": "9544:9:18"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "9537:3:18"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "9577:22:18",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "9579:16:18"
},
"nodeType": "YulFunctionCall",
"src": "9579:18:18"
},
"nodeType": "YulExpressionStatement",
"src": "9579:18:18"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9569:1:18"
},
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "9572:3:18"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "9566:2:18"
},
"nodeType": "YulFunctionCall",
"src": "9566:10:18"
},
"nodeType": "YulIf",
"src": "9563:36:18"
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "9446:1:18",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "9449:1:18",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "9455:3:18",
"type": ""
}
],
"src": "9415:191:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9677:53:18",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9694:3:18"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9717:5:18"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "9699:17:18"
},
"nodeType": "YulFunctionCall",
"src": "9699:24:18"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9687:6:18"
},
"nodeType": "YulFunctionCall",
"src": "9687:37:18"
},
"nodeType": "YulExpressionStatement",
"src": "9687:37:18"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9665:5:18",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "9672:3:18",
"type": ""
}
],
"src": "9612:118:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9834:124:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9844:26:18",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9856:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9867:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9852:3:18"
},
"nodeType": "YulFunctionCall",
"src": "9852:18:18"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9844:4:18"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "9924:6:18"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "9937:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9948:1:18",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9933:3:18"
},
"nodeType": "YulFunctionCall",
"src": "9933:17:18"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "9880:43:18"
},
"nodeType": "YulFunctionCall",
"src": "9880:71:18"
},
"nodeType": "YulExpressionStatement",
"src": "9880:71:18"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "9806:9:18",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "9818:6:18",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9829:4:18",
"type": ""
}
],
"src": "9736:222:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10070:123:18",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "10092:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10100:1:18",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10088:3:18"
},
"nodeType": "YulFunctionCall",
"src": "10088:14:18"
},
{
"hexValue": "45524332305061757361626c653a20746f6b656e207472616e73666572207768",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10104:34:18",
"type": "",
"value": "ERC20Pausable: token transfer wh"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10081:6:18"
},
"nodeType": "YulFunctionCall",
"src": "10081:58:18"
},
"nodeType": "YulExpressionStatement",
"src": "10081:58:18"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "10160:6:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10168:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10156:3:18"
},
"nodeType": "YulFunctionCall",
"src": "10156:15:18"
},
{
"hexValue": "696c6520706175736564",
"kind": "string",
"nodeType": "YulLiteral",
"src": "10173:12:18",
"type": "",
"value": "ile paused"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10149:6:18"
},
"nodeType": "YulFunctionCall",
"src": "10149:37:18"
},
"nodeType": "YulExpressionStatement",
"src": "10149:37:18"
}
]
},
"name": "store_literal_in_memory_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "10062:6:18",
"type": ""
}
],
"src": "9964:229:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10345:220:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10355:74:18",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10421:3:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10426:2:18",
"type": "",
"value": "42"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "10362:58:18"
},
"nodeType": "YulFunctionCall",
"src": "10362:67:18"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10355:3:18"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10527:3:18"
}
],
"functionName": {
"name": "store_literal_in_memory_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4",
"nodeType": "YulIdentifier",
"src": "10438:88:18"
},
"nodeType": "YulFunctionCall",
"src": "10438:93:18"
},
"nodeType": "YulExpressionStatement",
"src": "10438:93:18"
},
{
"nodeType": "YulAssignment",
"src": "10540:19:18",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10551:3:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10556:2:18",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10547:3:18"
},
"nodeType": "YulFunctionCall",
"src": "10547:12:18"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "10540:3:18"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "10333:3:18",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "10341:3:18",
"type": ""
}
],
"src": "10199:366:18"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10742:248:18",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10752:26:18",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10764:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10775:2:18",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10760:3:18"
},
"nodeType": "YulFunctionCall",
"src": "10760:18:18"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10752:4:18"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10799:9:18"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10810:1:18",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10795:3:18"
},
"nodeType": "YulFunctionCall",
"src": "10795:17:18"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10818:4:18"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10824:9:18"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "10814:3:18"
},
"nodeType": "YulFunctionCall",
"src": "10814:20:18"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10788:6:18"
},
"nodeType": "YulFunctionCall",
"src": "10788:47:18"
},
"nodeType": "YulExpressionStatement",
"src": "10788:47:18"
},
{
"nodeType": "YulAssignment",
"src": "10844:139:18",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10978:4:18"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "10852:124:18"
},
"nodeType": "YulFunctionCall",
"src": "10852:131:18"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10844:4:18"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "10722:9:18",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "10737:4:18",
"type": ""
}
],
"src": "10571:419:18"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function shift_right_1_unsigned(value) -> newValue {\n newValue :=\n\n shr(1, value)\n\n }\n\n function checked_exp_helper(_power, _base, exponent, max) -> power, base {\n power := _power\n base := _base\n for { } gt(exponent, 1) {}\n {\n // overflow check for base * base\n if gt(base, div(max, base)) { panic_error_0x11() }\n if and(exponent, 1)\n {\n // No checks for power := mul(power, base) needed, because the check\n // for base * base above is sufficient, since:\n // |power| <= base (proof by induction) and thus:\n // |power * base| <= base * base <= max <= |min| (for signed)\n // (this is equally true for signed and unsigned exp)\n power := mul(power, base)\n }\n base := mul(base, base)\n exponent := shift_right_1_unsigned(exponent)\n }\n }\n\n function checked_exp_unsigned(base, exponent, max) -> power {\n // This function currently cannot be inlined because of the\n // \"leave\" statements. We have to improve the optimizer.\n\n // Note that 0**0 == 1\n if iszero(exponent) { power := 1 leave }\n if iszero(base) { power := 0 leave }\n\n // Specializations for small bases\n switch base\n // 0 is handled above\n case 1 { power := 1 leave }\n case 2\n {\n if gt(exponent, 255) { panic_error_0x11() }\n power := exp(2, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n if or(\n and(lt(base, 11), lt(exponent, 78)),\n and(lt(base, 307), lt(exponent, 32))\n )\n {\n power := exp(base, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n\n power, base := checked_exp_helper(1, base, exponent, max)\n\n if gt(power, div(max, base)) { panic_error_0x11() }\n power := mul(power, base)\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function checked_exp_t_uint256_t_uint8(base, exponent) -> power {\n base := cleanup_t_uint256(base)\n exponent := cleanup_t_uint8(exponent)\n\n power := checked_exp_unsigned(base, exponent, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n let product_raw := mul(x, y)\n product := cleanup_t_uint256(product_raw)\n\n // overflow, if x != 0 and y != product/x\n if iszero(\n or(\n iszero(x),\n eq(y, div(product, x))\n )\n ) { panic_error_0x11() }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: mint to the zero address\")\n\n }\n\n function abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function store_literal_in_memory_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20Pausable: token transfer wh\")\n\n mstore(add(memPtr, 32), \"ile paused\")\n\n }\n\n function abi_encode_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 42)\n store_literal_in_memory_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_fcb1fc9f3615fd38ab90d28b50a608758c295eeacbd5840421a4ee3b0df2f1f4_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n",
"id": 18,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040523480156200001157600080fd5b506040518060400160405280600781526020017f417a757269756d000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f415a555249554d0000000000000000000000000000000000000000000000000081525081818160059081620000919190620008e4565b508060069081620000a39190620008e4565b5050506000600760006101000a81548160ff021916908315150217905550620000e56000801b620000d9620001af60201b60201c565b620001b760201b60201c565b620001267f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66200011a620001af60201b60201c565b620001b760201b60201c565b620001677f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6200015b620001af60201b60201c565b620001b760201b60201c565b5050620001a9336200017e620001cd60201b60201c565b600a6200018c919062000b5b565b633b9aca006200019d919062000bac565b620001d660201b60201c565b62000d7b565b600033905090565b620001c982826200034460201b60201c565b5050565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000248576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200023f9062000c58565b60405180910390fd5b6200025c600083836200038c60201b60201c565b806004600082825462000270919062000c7a565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000324919062000cc6565b60405180910390a36200034060008383620003a960201b60201c565b5050565b6200035b8282620003ae60201b62000d061760201c565b6200038781600160008581526020019081526020016000206200049f60201b62000de61790919060201c565b505050565b620003a4838383620004d760201b62000e161760201c565b505050565b505050565b620003c082826200054760201b60201c565b6200049b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000440620001af60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620004cf836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620005b160201b60201c565b905092915050565b620004ef8383836200062b60201b62000e6e1760201c565b620004ff6200063060201b60201c565b1562000542576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005399062000d59565b60405180910390fd5b505050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000620005c583836200064760201b60201c565b6200062057826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000625565b600090505b92915050565b505050565b6000600760009054906101000a900460ff16905090565b600080836001016000848152602001908152602001600020541415905092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006ec57607f821691505b602082108103620007025762000701620006a4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200076c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200072d565b6200077886836200072d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007c5620007bf620007b98462000790565b6200079a565b62000790565b9050919050565b6000819050919050565b620007e183620007a4565b620007f9620007f082620007cc565b8484546200073a565b825550505050565b600090565b6200081062000801565b6200081d818484620007d6565b505050565b5b8181101562000845576200083960008262000806565b60018101905062000823565b5050565b601f82111562000894576200085e8162000708565b62000869846200071d565b8101602085101562000879578190505b6200089162000888856200071d565b83018262000822565b50505b505050565b600082821c905092915050565b6000620008b96000198460080262000899565b1980831691505092915050565b6000620008d48383620008a6565b9150826002028217905092915050565b620008ef826200066a565b67ffffffffffffffff8111156200090b576200090a62000675565b5b620009178254620006d3565b6200092482828562000849565b600060209050601f8311600181146200095c576000841562000947578287015190505b620009538582620008c6565b865550620009c3565b601f1984166200096c8662000708565b60005b8281101562000996578489015182556001820191506020850194506020810190506200096f565b86831015620009b65784890151620009b2601f891682620008a6565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000a595780860481111562000a315762000a30620009cb565b5b600185161562000a415780820291505b808102905062000a5185620009fa565b945062000a11565b94509492505050565b60008262000a74576001905062000b47565b8162000a84576000905062000b47565b816001811462000a9d576002811462000aa85762000ade565b600191505062000b47565b60ff84111562000abd5762000abc620009cb565b5b8360020a91508482111562000ad75762000ad6620009cb565b5b5062000b47565b5060208310610133831016604e8410600b841016171562000b185782820a90508381111562000b125762000b11620009cb565b5b62000b47565b62000b27848484600162000a07565b9250905081840481111562000b415762000b40620009cb565b5b81810290505b9392505050565b600060ff82169050919050565b600062000b688262000790565b915062000b758362000b4e565b925062000ba47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000a62565b905092915050565b600062000bb98262000790565b915062000bc68362000790565b925082820262000bd68162000790565b9150828204841483151762000bf05762000bef620009cb565b5b5092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000c40601f8362000bf7565b915062000c4d8262000c08565b602082019050919050565b6000602082019050818103600083015262000c738162000c31565b9050919050565b600062000c878262000790565b915062000c948362000790565b925082820190508082111562000caf5762000cae620009cb565b5b92915050565b62000cc08162000790565b82525050565b600060208201905062000cdd600083018462000cb5565b92915050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600062000d41602a8362000bf7565b915062000d4e8262000ce3565b604082019050919050565b6000602082019050818103600083015262000d748162000d32565b9050919050565b6130d28062000d8b6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a457c2d711610097578063d539139311610071578063d53913931461052d578063d547741f1461054b578063dd62ed3e14610567578063e63ab1e914610597576101c4565b8063a457c2d71461049d578063a9059cbb146104cd578063ca15c873146104fd576101c4565b80639010d07c116100d35780639010d07c1461040157806391d148541461043157806395d89b4114610461578063a217fddf1461047f576101c4565b806370a08231146103ab57806379cc6790146103db5780638456cb59146103f7576101c4565b8063313ce567116101665780633f4ba83a116101405780633f4ba83a1461034b57806340c10f191461035557806342966c68146103715780635c975abb1461038d576101c4565b8063313ce567146102e157806336568abe146102ff578063395093511461031b576101c4565b806318160ddd116101a257806318160ddd1461024757806323b872dd14610265578063248a9ca3146102955780632f2ff15d146102c5576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063095ea7b314610217575b600080fd5b6101e360048036038101906101de9190611fab565b6105b5565b6040516101f09190611ff3565b60405180910390f35b61020161062f565b60405161020e919061209e565b60405180910390f35b610231600480360381019061022c9190612154565b6106c1565b60405161023e9190611ff3565b60405180910390f35b61024f6106e4565b60405161025c91906121a3565b60405180910390f35b61027f600480360381019061027a91906121be565b6106ee565b60405161028c9190611ff3565b60405180910390f35b6102af60048036038101906102aa9190612247565b61071d565b6040516102bc9190612283565b60405180910390f35b6102df60048036038101906102da919061229e565b61073c565b005b6102e961075d565b6040516102f691906122fa565b60405180910390f35b6103196004803603810190610314919061229e565b610766565b005b61033560048036038101906103309190612154565b6107e9565b6040516103429190611ff3565b60405180910390f35b610353610820565b005b61036f600480360381019061036a9190612154565b61089a565b005b61038b60048036038101906103869190612315565b610918565b005b61039561092c565b6040516103a29190611ff3565b60405180910390f35b6103c560048036038101906103c09190612342565b610943565b6040516103d291906121a3565b60405180910390f35b6103f560048036038101906103f09190612154565b61098c565b005b6103ff6109ac565b005b61041b6004803603810190610416919061236f565b610a26565b60405161042891906123be565b60405180910390f35b61044b6004803603810190610446919061229e565b610a55565b6040516104589190611ff3565b60405180910390f35b610469610abf565b604051610476919061209e565b60405180910390f35b610487610b51565b6040516104949190612283565b60405180910390f35b6104b760048036038101906104b29190612154565b610b58565b6040516104c49190611ff3565b60405180910390f35b6104e760048036038101906104e29190612154565b610bcf565b6040516104f49190611ff3565b60405180910390f35b61051760048036038101906105129190612247565b610bf2565b60405161052491906121a3565b60405180910390f35b610535610c16565b6040516105429190612283565b60405180910390f35b6105656004803603810190610560919061229e565b610c3a565b005b610581600480360381019061057c91906123d9565b610c5b565b60405161058e91906121a3565b60405180910390f35b61059f610ce2565b6040516105ac9190612283565b60405180910390f35b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610628575061062782610e73565b5b9050919050565b60606005805461063e90612448565b80601f016020809104026020016040519081016040528092919081815260200182805461066a90612448565b80156106b75780601f1061068c576101008083540402835291602001916106b7565b820191906000526020600020905b81548152906001019060200180831161069a57829003601f168201915b5050505050905090565b6000806106cc610eed565b90506106d9818585610ef5565b600191505092915050565b6000600454905090565b6000806106f9610eed565b90506107068582856110be565b61071185858561114a565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b6107458261071d565b61074e816113c3565b61075883836113d7565b505050565b60006012905090565b61076e610eed565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d2906124eb565b60405180910390fd5b6107e5828261140b565b5050565b6000806107f4610eed565b90506108158185856108068589610c5b565b610810919061253a565b610ef5565b600191505092915050565b6108517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61084c610eed565b610a55565b610890576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610887906125e0565b60405180910390fd5b61089861143f565b565b6108cb7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108c6610eed565b610a55565b61090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090190612672565b60405180910390fd5b61091482826114a2565b5050565b610929610923610eed565b826115f9565b50565b6000600760009054906101000a900460ff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61099e82610998610eed565b836110be565b6109a882826115f9565b5050565b6109dd7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6109d8610eed565b610a55565b610a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1390612704565b60405180910390fd5b610a246117c8565b565b6000610a4d826001600086815260200190815260200160002061182b90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060068054610ace90612448565b80601f0160208091040260200160405190810160405280929190818152602001828054610afa90612448565b8015610b475780601f10610b1c57610100808354040283529160200191610b47565b820191906000526020600020905b815481529060010190602001808311610b2a57829003601f168201915b5050505050905090565b6000801b81565b600080610b63610eed565b90506000610b718286610c5b565b905083811015610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad90612796565b60405180910390fd5b610bc38286868403610ef5565b60019250505092915050565b600080610bda610eed565b9050610be781858561114a565b600191505092915050565b6000610c0f60016000848152602001908152602001600020611845565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610c438261071d565b610c4c816113c3565b610c56838361140b565b505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b610d108282610a55565b610de257600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610d87610eed565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000610e0e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61185a565b905092915050565b610e21838383610e6e565b610e2961092c565b15610e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6090612828565b60405180910390fd5b505050565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ee65750610ee5826118ca565b5b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5b906128ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fca9061294c565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110b191906121a3565b60405180910390a3505050565b60006110ca8484610c5b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146111445781811015611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d906129b8565b60405180910390fd5b6111438484848403610ef5565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090612a4a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f90612adc565b60405180910390fd5b611233838383611934565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190612b6e565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113aa91906121a3565b60405180910390a36113bd848484611944565b50505050565b6113d4816113cf610eed565b611949565b50565b6113e18282610d06565b6114068160016000858152602001908152602001600020610de690919063ffffffff16565b505050565b61141582826119ce565b61143a8160016000858152602001908152602001600020611aaf90919063ffffffff16565b505050565b611447611adf565b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61148b610eed565b60405161149891906123be565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150890612bda565b60405180910390fd5b61151d60008383611934565b806004600082825461152f919061253a565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516115e191906121a3565b60405180910390a36115f560008383611944565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165f90612c6c565b60405180910390fd5b61167482600083611934565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290612cfe565b60405180910390fd5b818103600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117af91906121a3565b60405180910390a36117c383600084611944565b505050565b6117d0611b28565b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611814610eed565b60405161182191906123be565b60405180910390a1565b600061183a8360000183611b72565b60001c905092915050565b600061185382600001611b9d565b9050919050565b60006118668383611bae565b6118bf5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506118c4565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61193f838383610e16565b505050565b505050565b6119538282610a55565b6119ca5761196081611bd1565b61196e8360001c6020611bfe565b60405160200161197f929190612df2565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c1919061209e565b60405180910390fd5b5050565b6119d88282610a55565b15611aab57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a50610eed565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000611ad7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611e3a565b905092915050565b611ae761092c565b611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d90612e78565b60405180910390fd5b565b611b3061092c565b15611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6790612ee4565b60405180910390fd5b565b6000826000018281548110611b8a57611b89612f04565b5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6060611bf78273ffffffffffffffffffffffffffffffffffffffff16601460ff16611bfe565b9050919050565b606060006002836002611c119190612f33565b611c1b919061253a565b67ffffffffffffffff811115611c3457611c33612f75565b5b6040519080825280601f01601f191660200182016040528015611c665781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611c9e57611c9d612f04565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611d0257611d01612f04565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611d429190612f33565b611d4c919061253a565b90505b6001811115611dec577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611d8e57611d8d612f04565b5b1a60f81b828281518110611da557611da4612f04565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611de590612fa4565b9050611d4f565b5060008414611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790613019565b60405180910390fd5b8091505092915050565b60008083600101600084815260200190815260200160002054905060008114611f42576000600182611e6c9190613039565b9050600060018660000180549050611e849190613039565b9050818114611ef3576000866000018281548110611ea557611ea4612f04565b5b9060005260206000200154905080876000018481548110611ec957611ec8612f04565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480611f0757611f0661306d565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611f48565b60009150505b92915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611f8881611f53565b8114611f9357600080fd5b50565b600081359050611fa581611f7f565b92915050565b600060208284031215611fc157611fc0611f4e565b5b6000611fcf84828501611f96565b91505092915050565b60008115159050919050565b611fed81611fd8565b82525050565b60006020820190506120086000830184611fe4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561204857808201518184015260208101905061202d565b60008484015250505050565b6000601f19601f8301169050919050565b60006120708261200e565b61207a8185612019565b935061208a81856020860161202a565b61209381612054565b840191505092915050565b600060208201905081810360008301526120b88184612065565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006120eb826120c0565b9050919050565b6120fb816120e0565b811461210657600080fd5b50565b600081359050612118816120f2565b92915050565b6000819050919050565b6121318161211e565b811461213c57600080fd5b50565b60008135905061214e81612128565b92915050565b6000806040838503121561216b5761216a611f4e565b5b600061217985828601612109565b925050602061218a8582860161213f565b9150509250929050565b61219d8161211e565b82525050565b60006020820190506121b86000830184612194565b92915050565b6000806000606084860312156121d7576121d6611f4e565b5b60006121e586828701612109565b93505060206121f686828701612109565b92505060406122078682870161213f565b9150509250925092565b6000819050919050565b61222481612211565b811461222f57600080fd5b50565b6000813590506122418161221b565b92915050565b60006020828403121561225d5761225c611f4e565b5b600061226b84828501612232565b91505092915050565b61227d81612211565b82525050565b60006020820190506122986000830184612274565b92915050565b600080604083850312156122b5576122b4611f4e565b5b60006122c385828601612232565b92505060206122d485828601612109565b9150509250929050565b600060ff82169050919050565b6122f4816122de565b82525050565b600060208201905061230f60008301846122eb565b92915050565b60006020828403121561232b5761232a611f4e565b5b60006123398482850161213f565b91505092915050565b60006020828403121561235857612357611f4e565b5b600061236684828501612109565b91505092915050565b6000806040838503121561238657612385611f4e565b5b600061239485828601612232565b92505060206123a58582860161213f565b9150509250929050565b6123b8816120e0565b82525050565b60006020820190506123d360008301846123af565b92915050565b600080604083850312156123f0576123ef611f4e565b5b60006123fe85828601612109565b925050602061240f85828601612109565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061246057607f821691505b60208210810361247357612472612419565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006124d5602f83612019565b91506124e082612479565b604082019050919050565b60006020820190508181036000830152612504816124c8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006125458261211e565b91506125508361211e565b92508282019050808211156125685761256761250b565b5b92915050565b7f45524332305072657365744d696e7465725061757365723a206d75737420686160008201527f76652070617573657220726f6c6520746f20756e706175736500000000000000602082015250565b60006125ca603983612019565b91506125d58261256e565b604082019050919050565b600060208201905081810360008301526125f9816125bd565b9050919050565b7f45524332305072657365744d696e7465725061757365723a206d75737420686160008201527f7665206d696e74657220726f6c6520746f206d696e7400000000000000000000602082015250565b600061265c603683612019565b915061266782612600565b604082019050919050565b6000602082019050818103600083015261268b8161264f565b9050919050565b7f45524332305072657365744d696e7465725061757365723a206d75737420686160008201527f76652070617573657220726f6c6520746f207061757365000000000000000000602082015250565b60006126ee603783612019565b91506126f982612692565b604082019050919050565b6000602082019050818103600083015261271d816126e1565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612780602583612019565b915061278b82612724565b604082019050919050565b600060208201905081810360008301526127af81612773565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b6000612812602a83612019565b915061281d826127b6565b604082019050919050565b6000602082019050818103600083015261284181612805565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006128a4602483612019565b91506128af82612848565b604082019050919050565b600060208201905081810360008301526128d381612897565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612936602283612019565b9150612941826128da565b604082019050919050565b6000602082019050818103600083015261296581612929565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006129a2601d83612019565b91506129ad8261296c565b602082019050919050565b600060208201905081810360008301526129d181612995565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612a34602583612019565b9150612a3f826129d8565b604082019050919050565b60006020820190508181036000830152612a6381612a27565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612ac6602383612019565b9150612ad182612a6a565b604082019050919050565b60006020820190508181036000830152612af581612ab9565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612b58602683612019565b9150612b6382612afc565b604082019050919050565b60006020820190508181036000830152612b8781612b4b565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612bc4601f83612019565b9150612bcf82612b8e565b602082019050919050565b60006020820190508181036000830152612bf381612bb7565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c56602183612019565b9150612c6182612bfa565b604082019050919050565b60006020820190508181036000830152612c8581612c49565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ce8602283612019565b9150612cf382612c8c565b604082019050919050565b60006020820190508181036000830152612d1781612cdb565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000612d5f601783612d1e565b9150612d6a82612d29565b601782019050919050565b6000612d808261200e565b612d8a8185612d1e565b9350612d9a81856020860161202a565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000612ddc601183612d1e565b9150612de782612da6565b601182019050919050565b6000612dfd82612d52565b9150612e098285612d75565b9150612e1482612dcf565b9150612e208284612d75565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612e62601483612019565b9150612e6d82612e2c565b602082019050919050565b60006020820190508181036000830152612e9181612e55565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612ece601083612019565b9150612ed982612e98565b602082019050919050565b60006020820190508181036000830152612efd81612ec1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612f3e8261211e565b9150612f498361211e565b9250828202612f578161211e565b91508282048414831517612f6e57612f6d61250b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000612faf8261211e565b915060008203612fc257612fc161250b565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000613003602083612019565b915061300e82612fcd565b602082019050919050565b6000602082019050818103600083015261303281612ff6565b9050919050565b60006130448261211e565b915061304f8361211e565b92508282039050818111156130675761306661250b565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122081e07b5f39d64d53388a7125a8e2c5b5dd02a9677575894101894020ff1847b864736f6c63430008110033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x417A757269756D00000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x7 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x415A555249554D00000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 DUP2 DUP2 PUSH1 0x5 SWAP1 DUP2 PUSH3 0x91 SWAP2 SWAP1 PUSH3 0x8E4 JUMP JUMPDEST POP DUP1 PUSH1 0x6 SWAP1 DUP2 PUSH3 0xA3 SWAP2 SWAP1 PUSH3 0x8E4 JUMP JUMPDEST POP POP POP PUSH1 0x0 PUSH1 0x7 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH3 0xE5 PUSH1 0x0 DUP1 SHL PUSH3 0xD9 PUSH3 0x1AF PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x1B7 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x126 PUSH32 0x9F2DF0FED2C77648DE5860A4CC508CD0818C85B8B8A1AB4CEEEF8D981C8956A6 PUSH3 0x11A PUSH3 0x1AF PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x1B7 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x167 PUSH32 0x65D7A28E3265B37A6474929F336521B332C1681B933F6CB9F3376673440D862A PUSH3 0x15B PUSH3 0x1AF PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x1B7 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP PUSH3 0x1A9 CALLER PUSH3 0x17E PUSH3 0x1CD PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0xA PUSH3 0x18C SWAP2 SWAP1 PUSH3 0xB5B JUMP JUMPDEST PUSH4 0x3B9ACA00 PUSH3 0x19D SWAP2 SWAP1 PUSH3 0xBAC JUMP JUMPDEST PUSH3 0x1D6 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0xD7B JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH3 0x1C9 DUP3 DUP3 PUSH3 0x344 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH3 0x248 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x23F SWAP1 PUSH3 0xC58 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH3 0x25C PUSH1 0x0 DUP4 DUP4 PUSH3 0x38C PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP1 PUSH1 0x4 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH3 0x270 SWAP2 SWAP1 PUSH3 0xC7A JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x2 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP4 PUSH1 0x40 MLOAD PUSH3 0x324 SWAP2 SWAP1 PUSH3 0xCC6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH3 0x340 PUSH1 0x0 DUP4 DUP4 PUSH3 0x3A9 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH3 0x35B DUP3 DUP3 PUSH3 0x3AE PUSH1 0x20 SHL PUSH3 0xD06 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x387 DUP2 PUSH1 0x1 PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH3 0x49F PUSH1 0x20 SHL PUSH3 0xDE6 OR SWAP1 SWAP2 SWAP1 PUSH1 0x20 SHR JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH3 0x3A4 DUP4 DUP4 DUP4 PUSH3 0x4D7 PUSH1 0x20 SHL PUSH3 0xE16 OR PUSH1 0x20 SHR JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH3 0x3C0 DUP3 DUP3 PUSH3 0x547 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x49B JUMPI PUSH1 0x1 PUSH1 0x0 DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH3 0x440 PUSH3 0x1AF PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x4CF DUP4 PUSH1 0x0 ADD DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 SHL PUSH3 0x5B1 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH3 0x4EF DUP4 DUP4 DUP4 PUSH3 0x62B PUSH1 0x20 SHL PUSH3 0xE6E OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x4FF PUSH3 0x630 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST ISZERO PUSH3 0x542 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x539 SWAP1 PUSH3 0xD59 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x5C5 DUP4 DUP4 PUSH3 0x647 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x620 JUMPI DUP3 PUSH1 0x0 ADD DUP3 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP SSTORE DUP3 PUSH1 0x0 ADD DUP1 SLOAD SWAP1 POP DUP4 PUSH1 0x1 ADD PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP PUSH1 0x1 SWAP1 POP PUSH3 0x625 JUMP JUMPDEST PUSH1 0x0 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x7 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1 ADD PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD EQ ISZERO SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x6EC JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH3 0x702 JUMPI PUSH3 0x701 PUSH3 0x6A4 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH3 0x76C PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH3 0x72D JUMP JUMPDEST PUSH3 0x778 DUP7 DUP4 PUSH3 0x72D JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7C5 PUSH3 0x7BF PUSH3 0x7B9 DUP5 PUSH3 0x790 JUMP JUMPDEST PUSH3 0x79A JUMP JUMPDEST PUSH3 0x790 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x7E1 DUP4 PUSH3 0x7A4 JUMP JUMPDEST PUSH3 0x7F9 PUSH3 0x7F0 DUP3 PUSH3 0x7CC JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH3 0x73A JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH3 0x810 PUSH3 0x801 JUMP JUMPDEST PUSH3 0x81D DUP2 DUP5 DUP5 PUSH3 0x7D6 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x845 JUMPI PUSH3 0x839 PUSH1 0x0 DUP3 PUSH3 0x806 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH3 0x823 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH3 0x894 JUMPI PUSH3 0x85E DUP2 PUSH3 0x708 JUMP JUMPDEST PUSH3 0x869 DUP5 PUSH3 0x71D JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH3 0x879 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH3 0x891 PUSH3 0x888 DUP6 PUSH3 0x71D JUMP JUMPDEST DUP4 ADD DUP3 PUSH3 0x822 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x8B9 PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH3 0x899 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x8D4 DUP4 DUP4 PUSH3 0x8A6 JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH3 0x8EF DUP3 PUSH3 0x66A JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x90B JUMPI PUSH3 0x90A PUSH3 0x675 JUMP JUMPDEST JUMPDEST PUSH3 0x917 DUP3 SLOAD PUSH3 0x6D3 JUMP JUMPDEST PUSH3 0x924 DUP3 DUP3 DUP6 PUSH3 0x849 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH3 0x95C JUMPI PUSH1 0x0 DUP5 ISZERO PUSH3 0x947 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH3 0x953 DUP6 DUP3 PUSH3 0x8C6 JUMP JUMPDEST DUP7 SSTORE POP PUSH3 0x9C3 JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH3 0x96C DUP7 PUSH3 0x708 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH3 0x996 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH3 0x96F JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH3 0x9B6 JUMPI DUP5 DUP10 ADD MLOAD PUSH3 0x9B2 PUSH1 0x1F DUP10 AND DUP3 PUSH3 0x8A6 JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 SHR SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP2 POP DUP4 SWAP1 POP JUMPDEST PUSH1 0x1 DUP6 GT ISZERO PUSH3 0xA59 JUMPI DUP1 DUP7 DIV DUP2 GT ISZERO PUSH3 0xA31 JUMPI PUSH3 0xA30 PUSH3 0x9CB JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 AND ISZERO PUSH3 0xA41 JUMPI DUP1 DUP3 MUL SWAP2 POP JUMPDEST DUP1 DUP2 MUL SWAP1 POP PUSH3 0xA51 DUP6 PUSH3 0x9FA JUMP JUMPDEST SWAP5 POP PUSH3 0xA11 JUMP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH3 0xA74 JUMPI PUSH1 0x1 SWAP1 POP PUSH3 0xB47 JUMP JUMPDEST DUP2 PUSH3 0xA84 JUMPI PUSH1 0x0 SWAP1 POP PUSH3 0xB47 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH3 0xA9D JUMPI PUSH1 0x2 DUP2 EQ PUSH3 0xAA8 JUMPI PUSH3 0xADE JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH3 0xB47 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH3 0xABD JUMPI PUSH3 0xABC PUSH3 0x9CB JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x2 EXP SWAP2 POP DUP5 DUP3 GT ISZERO PUSH3 0xAD7 JUMPI PUSH3 0xAD6 PUSH3 0x9CB JUMP JUMPDEST JUMPDEST POP PUSH3 0xB47 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH3 0xB18 JUMPI DUP3 DUP3 EXP SWAP1 POP DUP4 DUP2 GT ISZERO PUSH3 0xB12 JUMPI PUSH3 0xB11 PUSH3 0x9CB JUMP JUMPDEST JUMPDEST PUSH3 0xB47 JUMP JUMPDEST PUSH3 0xB27 DUP5 DUP5 DUP5 PUSH1 0x1 PUSH3 0xA07 JUMP JUMPDEST SWAP3 POP SWAP1 POP DUP2 DUP5 DIV DUP2 GT ISZERO PUSH3 0xB41 JUMPI PUSH3 0xB40 PUSH3 0x9CB JUMP JUMPDEST JUMPDEST DUP2 DUP2 MUL SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xB68 DUP3 PUSH3 0x790 JUMP JUMPDEST SWAP2 POP PUSH3 0xB75 DUP4 PUSH3 0xB4E JUMP JUMPDEST SWAP3 POP PUSH3 0xBA4 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP5 PUSH3 0xA62 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xBB9 DUP3 PUSH3 0x790 JUMP JUMPDEST SWAP2 POP PUSH3 0xBC6 DUP4 PUSH3 0x790 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH3 0xBD6 DUP2 PUSH3 0x790 JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH3 0xBF0 JUMPI PUSH3 0xBEF PUSH3 0x9CB JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332303A206D696E7420746F20746865207A65726F206164647265737300 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xC40 PUSH1 0x1F DUP4 PUSH3 0xBF7 JUMP JUMPDEST SWAP2 POP PUSH3 0xC4D DUP3 PUSH3 0xC08 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH3 0xC73 DUP2 PUSH3 0xC31 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xC87 DUP3 PUSH3 0x790 JUMP JUMPDEST SWAP2 POP PUSH3 0xC94 DUP4 PUSH3 0x790 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH3 0xCAF JUMPI PUSH3 0xCAE PUSH3 0x9CB JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH3 0xCC0 DUP2 PUSH3 0x790 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH3 0xCDD PUSH1 0x0 DUP4 ADD DUP5 PUSH3 0xCB5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332305061757361626C653A20746F6B656E207472616E73666572207768 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x696C652070617573656400000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xD41 PUSH1 0x2A DUP4 PUSH3 0xBF7 JUMP JUMPDEST SWAP2 POP PUSH3 0xD4E DUP3 PUSH3 0xCE3 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH3 0xD74 DUP2 PUSH3 0xD32 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x30D2 DUP1 PUSH3 0xD8B PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1C4 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x70A08231 GT PUSH2 0xF9 JUMPI DUP1 PUSH4 0xA457C2D7 GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xD5391393 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xD5391393 EQ PUSH2 0x52D JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x54B JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x567 JUMPI DUP1 PUSH4 0xE63AB1E9 EQ PUSH2 0x597 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x49D JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x4CD JUMPI DUP1 PUSH4 0xCA15C873 EQ PUSH2 0x4FD JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x9010D07C GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0x9010D07C EQ PUSH2 0x401 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x431 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x461 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x47F JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x70A08231 EQ PUSH2 0x3AB JUMPI DUP1 PUSH4 0x79CC6790 EQ PUSH2 0x3DB JUMPI DUP1 PUSH4 0x8456CB59 EQ PUSH2 0x3F7 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x313CE567 GT PUSH2 0x166 JUMPI DUP1 PUSH4 0x3F4BA83A GT PUSH2 0x140 JUMPI DUP1 PUSH4 0x3F4BA83A EQ PUSH2 0x34B JUMPI DUP1 PUSH4 0x40C10F19 EQ PUSH2 0x355 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x371 JUMPI DUP1 PUSH4 0x5C975ABB EQ PUSH2 0x38D JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x313CE567 EQ PUSH2 0x2E1 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x2FF JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x31B JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x18160DDD GT PUSH2 0x1A2 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x247 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x265 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x295 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x2C5 JUMPI PUSH2 0x1C4 JUMP JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1C9 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x1F9 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x217 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1E3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1DE SWAP2 SWAP1 PUSH2 0x1FAB JUMP JUMPDEST PUSH2 0x5B5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1F0 SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x201 PUSH2 0x62F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x20E SWAP2 SWAP1 PUSH2 0x209E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x231 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x22C SWAP2 SWAP1 PUSH2 0x2154 JUMP JUMPDEST PUSH2 0x6C1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x23E SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x24F PUSH2 0x6E4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x25C SWAP2 SWAP1 PUSH2 0x21A3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x27F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x27A SWAP2 SWAP1 PUSH2 0x21BE JUMP JUMPDEST PUSH2 0x6EE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x28C SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2AF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2AA SWAP2 SWAP1 PUSH2 0x2247 JUMP JUMPDEST PUSH2 0x71D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2BC SWAP2 SWAP1 PUSH2 0x2283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2DF PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2DA SWAP2 SWAP1 PUSH2 0x229E JUMP JUMPDEST PUSH2 0x73C JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2E9 PUSH2 0x75D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2F6 SWAP2 SWAP1 PUSH2 0x22FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x319 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x314 SWAP2 SWAP1 PUSH2 0x229E JUMP JUMPDEST PUSH2 0x766 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x335 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x330 SWAP2 SWAP1 PUSH2 0x2154 JUMP JUMPDEST PUSH2 0x7E9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x342 SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x353 PUSH2 0x820 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x36F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x36A SWAP2 SWAP1 PUSH2 0x2154 JUMP JUMPDEST PUSH2 0x89A JUMP JUMPDEST STOP JUMPDEST PUSH2 0x38B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x386 SWAP2 SWAP1 PUSH2 0x2315 JUMP JUMPDEST PUSH2 0x918 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x395 PUSH2 0x92C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x3A2 SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3C5 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3C0 SWAP2 SWAP1 PUSH2 0x2342 JUMP JUMPDEST PUSH2 0x943 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x3D2 SWAP2 SWAP1 PUSH2 0x21A3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3F5 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3F0 SWAP2 SWAP1 PUSH2 0x2154 JUMP JUMPDEST PUSH2 0x98C JUMP JUMPDEST STOP JUMPDEST PUSH2 0x3FF PUSH2 0x9AC JUMP JUMPDEST STOP JUMPDEST PUSH2 0x41B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x416 SWAP2 SWAP1 PUSH2 0x236F JUMP JUMPDEST PUSH2 0xA26 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x428 SWAP2 SWAP1 PUSH2 0x23BE JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x44B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x446 SWAP2 SWAP1 PUSH2 0x229E JUMP JUMPDEST PUSH2 0xA55 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x458 SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x469 PUSH2 0xABF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x476 SWAP2 SWAP1 PUSH2 0x209E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x487 PUSH2 0xB51 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x494 SWAP2 SWAP1 PUSH2 0x2283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x4B7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4B2 SWAP2 SWAP1 PUSH2 0x2154 JUMP JUMPDEST PUSH2 0xB58 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x4C4 SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x4E7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4E2 SWAP2 SWAP1 PUSH2 0x2154 JUMP JUMPDEST PUSH2 0xBCF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x4F4 SWAP2 SWAP1 PUSH2 0x1FF3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x517 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x512 SWAP2 SWAP1 PUSH2 0x2247 JUMP JUMPDEST PUSH2 0xBF2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x524 SWAP2 SWAP1 PUSH2 0x21A3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x535 PUSH2 0xC16 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x542 SWAP2 SWAP1 PUSH2 0x2283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x565 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x560 SWAP2 SWAP1 PUSH2 0x229E JUMP JUMPDEST PUSH2 0xC3A JUMP JUMPDEST STOP JUMPDEST PUSH2 0x581 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x57C SWAP2 SWAP1 PUSH2 0x23D9 JUMP JUMPDEST PUSH2 0xC5B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x58E SWAP2 SWAP1 PUSH2 0x21A3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x59F PUSH2 0xCE2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5AC SWAP2 SWAP1 PUSH2 0x2283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 PUSH32 0x5A05180F00000000000000000000000000000000000000000000000000000000 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND EQ DUP1 PUSH2 0x628 JUMPI POP PUSH2 0x627 DUP3 PUSH2 0xE73 JUMP JUMPDEST JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x5 DUP1 SLOAD PUSH2 0x63E SWAP1 PUSH2 0x2448 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 0x66A SWAP1 PUSH2 0x2448 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x6B7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x68C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x6B7 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 0x69A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x6CC PUSH2 0xEED JUMP JUMPDEST SWAP1 POP PUSH2 0x6D9 DUP2 DUP6 DUP6 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x4 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x6F9 PUSH2 0xEED JUMP JUMPDEST SWAP1 POP PUSH2 0x706 DUP6 DUP3 DUP6 PUSH2 0x10BE JUMP JUMPDEST PUSH2 0x711 DUP6 DUP6 DUP6 PUSH2 0x114A JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x745 DUP3 PUSH2 0x71D JUMP JUMPDEST PUSH2 0x74E DUP2 PUSH2 0x13C3 JUMP JUMPDEST PUSH2 0x758 DUP4 DUP4 PUSH2 0x13D7 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x76E PUSH2 0xEED JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x7DB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x7D2 SWAP1 PUSH2 0x24EB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x7E5 DUP3 DUP3 PUSH2 0x140B JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x7F4 PUSH2 0xEED JUMP JUMPDEST SWAP1 POP PUSH2 0x815 DUP2 DUP6 DUP6 PUSH2 0x806 DUP6 DUP10 PUSH2 0xC5B JUMP JUMPDEST PUSH2 0x810 SWAP2 SWAP1 PUSH2 0x253A JUMP JUMPDEST PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x851 PUSH32 0x65D7A28E3265B37A6474929F336521B332C1681B933F6CB9F3376673440D862A PUSH2 0x84C PUSH2 0xEED JUMP JUMPDEST PUSH2 0xA55 JUMP JUMPDEST PUSH2 0x890 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x887 SWAP1 PUSH2 0x25E0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x898 PUSH2 0x143F JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x8CB PUSH32 0x9F2DF0FED2C77648DE5860A4CC508CD0818C85B8B8A1AB4CEEEF8D981C8956A6 PUSH2 0x8C6 PUSH2 0xEED JUMP JUMPDEST PUSH2 0xA55 JUMP JUMPDEST PUSH2 0x90A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x901 SWAP1 PUSH2 0x2672 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x914 DUP3 DUP3 PUSH2 0x14A2 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x929 PUSH2 0x923 PUSH2 0xEED JUMP JUMPDEST DUP3 PUSH2 0x15F9 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x7 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x99E DUP3 PUSH2 0x998 PUSH2 0xEED JUMP JUMPDEST DUP4 PUSH2 0x10BE JUMP JUMPDEST PUSH2 0x9A8 DUP3 DUP3 PUSH2 0x15F9 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x9DD PUSH32 0x65D7A28E3265B37A6474929F336521B332C1681B933F6CB9F3376673440D862A PUSH2 0x9D8 PUSH2 0xEED JUMP JUMPDEST PUSH2 0xA55 JUMP JUMPDEST PUSH2 0xA1C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA13 SWAP1 PUSH2 0x2704 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xA24 PUSH2 0x17C8 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA4D DUP3 PUSH1 0x1 PUSH1 0x0 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH2 0x182B SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x6 DUP1 SLOAD PUSH2 0xACE SWAP1 PUSH2 0x2448 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 0xAFA SWAP1 PUSH2 0x2448 JUMP JUMPDEST DUP1 ISZERO PUSH2 0xB47 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xB1C JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xB47 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 0xB2A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SHL DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xB63 PUSH2 0xEED JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0xB71 DUP3 DUP7 PUSH2 0xC5B JUMP JUMPDEST SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0xBB6 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBAD SWAP1 PUSH2 0x2796 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xBC3 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x1 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xBDA PUSH2 0xEED JUMP JUMPDEST SWAP1 POP PUSH2 0xBE7 DUP2 DUP6 DUP6 PUSH2 0x114A JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC0F PUSH1 0x1 PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH2 0x1845 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x9F2DF0FED2C77648DE5860A4CC508CD0818C85B8B8A1AB4CEEEF8D981C8956A6 DUP2 JUMP JUMPDEST PUSH2 0xC43 DUP3 PUSH2 0x71D JUMP JUMPDEST PUSH2 0xC4C DUP2 PUSH2 0x13C3 JUMP JUMPDEST PUSH2 0xC56 DUP4 DUP4 PUSH2 0x140B JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x65D7A28E3265B37A6474929F336521B332C1681B933F6CB9F3376673440D862A DUP2 JUMP JUMPDEST PUSH2 0xD10 DUP3 DUP3 PUSH2 0xA55 JUMP JUMPDEST PUSH2 0xDE2 JUMPI PUSH1 0x1 PUSH1 0x0 DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH2 0xD87 PUSH2 0xEED JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE0E DUP4 PUSH1 0x0 ADD DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 SHL PUSH2 0x185A JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xE21 DUP4 DUP4 DUP4 PUSH2 0xE6E JUMP JUMPDEST PUSH2 0xE29 PUSH2 0x92C JUMP JUMPDEST ISZERO PUSH2 0xE69 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE60 SWAP1 PUSH2 0x2828 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0x7965DB0B00000000000000000000000000000000000000000000000000000000 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND EQ DUP1 PUSH2 0xEE6 JUMPI POP PUSH2 0xEE5 DUP3 PUSH2 0x18CA JUMP JUMPDEST JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xF64 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF5B SWAP1 PUSH2 0x28BA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xFD3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xFCA SWAP1 PUSH2 0x294C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x3 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP4 PUSH1 0x40 MLOAD PUSH2 0x10B1 SWAP2 SWAP1 PUSH2 0x21A3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x10CA DUP5 DUP5 PUSH2 0xC5B JUMP JUMPDEST SWAP1 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 EQ PUSH2 0x1144 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x1136 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x112D SWAP1 PUSH2 0x29B8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1143 DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0xEF5 JUMP JUMPDEST JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x11B9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x11B0 SWAP1 PUSH2 0x2A4A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1228 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x121F SWAP1 PUSH2 0x2ADC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1233 DUP4 DUP4 DUP4 PUSH2 0x1934 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0x12BA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x12B1 SWAP1 PUSH2 0x2B6E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x2 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x2 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x13AA SWAP2 SWAP1 PUSH2 0x21A
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.)

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.)

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.)

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.)

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.)

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.)

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.)

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.)

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.)

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.)

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